fifikobayashi / flashmintarbitrage Goto Github PK
View Code? Open in Web Editor NEWAn example of a Flash Mint powered arbitrage between a flash mint DEX, Kyber and Uniswap.
License: MIT License
An example of a Flash Mint powered arbitrage between a flash mint DEX, Kyber and Uniswap.
License: MIT License
I use remix and deployed both contracts (token and dex) on rinkeby. I have changed the address of the fWETH contract in the dex contract and I have fWETH tokens in my wallet. I don't see any approve function. Is this not needed?
token contract: 0x30fF03d611CE2C4ba7942f8c2ea17385218F522e
dex contract: 0xf5bcCca9c8c76d1c9844776e7FCD6f9464C2A632
Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
execution reverted: SafeERC20: low-level call failed { "originalError": { "code": 3, "data": "0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000205361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564", "message": "execution reverted: SafeERC20: low-level call failed" } }
browser/FlashMintDemo.sol:66:9: Warning: Unused local variable. uint256 DAIBought = executeSwapOnKyber(ETH_TOKEN_ADDRESS, srcQty, daiToken, platformWallet, maxDestAmount); ^---------------^
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.