Closed y0unghe closed 1 year ago
I am keep getting code: 'CALL_EXCEPTION' when calling method method: 'estimateDualDexTrade(address,address,address,address,uint256)',
code: 'CALL_EXCEPTION'
method: 'estimateDualDexTrade(address,address,address,address,uint256)',
It seems IUniswapV2Router getAmountsOut keeps fail. Do I need some ETH as gas in the contract?
IUniswapV2Router
getAmountsOut
You would need some Eth in the wallet in .env file but the contract doesn't need Eth for gas. Check the token addresses and checksums
I am keep getting
code: 'CALL_EXCEPTION'
when calling methodmethod: 'estimateDualDexTrade(address,address,address,address,uint256)',
It seems
IUniswapV2Router
getAmountsOut
keeps fail. Do I need some ETH as gas in the contract?