lifinance / contracts Goto Github PK
View Code? Open in Web Editor NEWLI.FI Smart Contracts
Home Page: https://li.fi
License: MIT License
LI.FI Smart Contracts
Home Page: https://li.fi
License: MIT License
I noticed that in the PR #2 you added Milkomeda support, but have it commented out. Is there any plan to enable it?
Hey there! I've probably spotted a bug with the swapAndStartBridgeTokensViaHopL2ERC20
method ABI in https://github.com/lifinance/contracts/blob/main/diamondABI/diamond.json. If you flat the struct types you'll get
(bytes32,string,string,address,address,address,uint256,uint256,bool,bool),(address,address,address,address,uint256,bytes,bool)[],(uint256,uint256,uint256,uint256,uint256,address)
The function ID from that params will be 0x00d2aed6
what doesn't match the explorers (it says it should be 0xd40e64cc
). Looks like the ABI is missing 3 more types there (address
, uint256
and uint256
). After adding them the function arguments look like
(bytes32,string,string,address,address,address,uint256,uint256,bool,bool),(address,address,address,address,uint256,bytes,bool)[],(uint256,uint256,uint256,uint256,uint256,address,address,uint256,uint256)
and produce the proper method signature (0xd40e64cc
)
Hello,
Max approves in facets mean
https://github.com/lifinance/contracts/search?q=maxApproveERC20
that protocols are able to control assets of the proxy contract. Since integrated protocols could by buggy o malicious, isn't it too risky to give a maxApprove?
Thanks.
[error] invalid use case selected ('Did not find a Gradle, Maven, Bach, JBang or Ant project') - exiting script
Can someone guide me how to resolve this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.