You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a failed txHash I can help you find the exact error, but without it, I'm just making an educated guess since this is a general error.
If your contract does not return the borrowed amount plus the flashloan fee (0.09% in V2), then it will fail. So in your contract, you are borrowing 50ETH so your contract balance must be > 50.045 ETH by the end of the transaction.
I don't know if here is the best place to ask but sure is the place with more experienced dev on the subject.
I have this contract:
When i call
flashloan()
using truffle CLI i receive this error:SafeERC20: low-level call failed when calling
Could someone give me a hint over this?
The text was updated successfully, but these errors were encountered: