yuichiroaoki / poly-flash

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

Fail with error 'TF' #37

Open nivk2110 opened 2 years ago

nivk2110 commented 2 years ago

Describe the bug Got an error Fail with error 'TF', and I couldn't find any explanation to what is the cause for this failure.

https://polygonscan.com/tx/0x65b9e482bcea72395bc7dfa108d3fc6b2d4630e4915a37cf82dc96dba2861afc https://polygonscan.com/tx/0xd683794ed3ad072a6bec9d6725363bce106bbc3b156b5aae7bf9a47557828b0e

royshahar commented 2 years ago

I am also experiencing this issue. Do you have any idea why does it happen @yuichiroaoki ?

yuichiroaoki commented 2 years ago

That error msg was from uniswap contract, TransferHelper.sol.

ref. https://docs.uniswap.org/protocol/reference/error-codes

I cannot tell what the cause of this error. Maybe fee wrong or the pool didn't have much liquidity?