uni-sushi-flashloaner
uni-sushi-flashloaner copied to clipboard
Off-chain node.js flash loans handler
Struggling to understand this comparison: ```typescript const shouldTrade = spread > ( (shouldStartEth ? ETH_TRADE : DAI_TRADE) / Number( ethers.utils.formatEther(uniswapReserves[shouldStartEth ? 1 : 0]), )); ``` It seems that we...
HI , When I read your Code( uni-sushi-flashloaner/index.js ), I have a problem that I don't understand in Line 68 : Why the "spread" need subtract 0.6 ? How can...
reason: 'cannot estimate gas; transaction may fail or may require manual gas limit', code: 'UNPREDICTABLE_GAS_LIMIT', anyone have the same issue?
Hi Pedro, when it comes to run the application and the **profitable value is true** I get the ERROR: **reason: 'cannot estimate gas; transaction may fail or may require manual...
Hello, The prices retrieved with the code differs from https://app.sushi.com/swap while the blocknumber is the same. Any reason why?
Olá @pedrobergamini existe algum documento explicativo do seu código ? estou aprendendo a espeito mas tenho algumas dúvidas, por exemplo na linha 68: const spread = Math.abs((priceSushiswap / priceUniswap -...