flashloaner-contract
flashloaner-contract copied to clipboard
Solidity smart contracts that operate arbitrages between Sushiswap and Uniswap
provider.on('block', async (blockNumber) => { try { console.log(blockNumber); const sushiReserves = await sushiEthDai.getReserves(); const uniswapReserves = await uniswapEthDai.getReserves(); [...] } }
`project:/contracts/UniswapV2Library.sol:5:1: ParserError: Source "@openzeppelin/contracts/math/SafeMath.sol" not found import "@openzeppelin/contracts/math/SafeMath.sol"; ^-------------------------------------------------^` nothing in the package.json for openzeppelin
I successfully run this code in remix and I was confused about what type of value I can pass here to get the flash loan. I need an explanation about...
#4 fixing the issue of Contracts missing openzeppelin SafeMath dependency definition
Hey, I'm pretty new to the smart contract world - a lot of take in for sure. I've deployed your contract to mainnet and I'm trying to execute it but...