jamesbachini / DEX-Arbitrage

Example arbitrage trading bot
GNU General Public License v3.0
615 stars 350 forks source link

Fixing the problem of receiving the native coin of the network in the smart contract #24

Closed ZigBalthazar closed 1 year ago

ZigBalthazar commented 1 year ago

The smart contract related to arbitrage is called "Arb.sol" receiving erc20 tokens, but transferring network coins to this contract such as ETH, MATIC, etc did not accept

Because the mentioned smart contract needs the receive or fallback function to receive these coins