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/
278 stars 150 forks source link

Fix for LIQUIDITYCHECK + log improvements #381

Closed tsarbuig closed 2 years ago

tsarbuig commented 2 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 :