Replies: 1 comment
-
hi @Schette20! I've run your code in Remix, the problem is indeed coming from your Flashloan function. That being said, after you've fixed it, if you try to remove these lines : success = POOL.flashLoanSimple(
receiverAddress,
asset,
amount,
params,
referralCode,
require(success, "Flash loan failed"));
return true; your code is compiling. So you need to fix this. I guess you're not calling your boolean the right way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, am facing to issues with this contract.
1 it does not want to deploy because there is something with the constructor.
2. the request flash loan function, the eequal sign is red highlighted, its says; expected ' , ' but got '='
Beta Was this translation helpful? Give feedback.
All reactions