eattheblocks icon indicating copy to clipboard operation
eattheblocks copied to clipboard

Warning when trying to compile Equalizer Finance loan using Remix

Open Benjam6 opened this issue 3 years ago • 0 comments

Hi everyone. So I'm trying to deploy a flash loan using the equalizer finance flashloan script.

When I compile it, I get four warning messages like this:

from solidity: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. --> tests/Equalizer flashloan.sol:71:9: | 71 | bytes calldata data | ^^^^^^^^^^^^^^^^^^^

I get them for address initiator, uint256 amount, uint256 fee and the one above.

Do I need to fill these in with my own parameters, such as "uint256 amount 5"?

Benjam6 avatar Jun 04 '22 21:06 Benjam6