CryptoGnome / LimitSwap

LimitSwap is fully functional DeFi Trading Bot. No fees. You just need to hold LIMIT Utility token in your wallet to use.
https://www.limitswap.com/
280 stars 150 forks source link

Fix for LIQUIDITYCHECK + log improvements #381

Closed tsarbuig closed 3 years ago

tsarbuig commented 3 years ago

This pull request have several topics :

1/ I had broken the bot with a previous pull request ! line 596, it must be 'ether' and not 'ETH' or Buy do not work

2/ I fixed the LiquidityCheck amount : line 627, it's reserves[1] and not "reserves[-1]" as it was before --> LiquidityCheck work for every token ! Custom base pair or not

3/ Several logs improvements :