poly-flash icon indicating copy to clipboard operation
poly-flash copied to clipboard

Fail with error 'SafeERC20: low-level call failed'

Open adedade opened this issue 2 years ago • 2 comments

Describe the bug

Two arbitrage opportunities have been logged but failed with error Fail with error 'SafeERC20: low-level call failed'

The transactions are:

  • 0x14986633cd0901dc74987cd6e9e3ef3d75a42e9e70f4830bf53a441a66b4e25f
  • 0xe091044cfc55130d4855526cb9b99aaa7954c8a7284071b648c0cffd53bd76c9

I suspect there might be a bug with the contract, or maybe with these specific pairs?

adedade avatar Feb 23 '22 04:02 adedade

@yuichiroaoki do you happen to know why this would fail?

adedade avatar Feb 26 '22 23:02 adedade

That error message is ambiguous, but it happens when you try to borrow more tokens than the dodo pool has.

yuichiroaoki avatar Feb 28 '22 06:02 yuichiroaoki