yuichiroaoki / poly-flash

Flashloan on Polygon
https://yuichiroaoki.medium.com/no-flashloan-fee-with-dodo-cc78215d7f93
MIT License
291 stars 169 forks source link

Indicating use of CHI gas token #17

Open MetaNynja opened 2 years ago

MetaNynja commented 2 years ago

I was looking more at 1inch and noticed that they are use their own gas token for transactions.

One of my failed arbitrage attempts showed attempts to send to CHI in the transaction.

Self destruct CHI

Just wondering if we need to indicate the 1inch gas token anywhere in the contract or the bot?

Reference:

https://soliditydeveloper.com/chi-gas

https://polygonscan.com/token/0x0000000000004946c0e9f43f4dee607b0ef1fa1c

https://polygonscan.com/token/0x0000000000004946c0e9f43f4dee607b0ef1fa1c?a=0x0000000000000000000000000000000000000000

https://polygonscan.com/address/0x0000000000000000000000000000000000000000