jklepatch / eattheblocks

Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers
https://eattheblocks.com
4k stars 3.2k forks source link

Warning when trying to compile Equalizer Finance loan using Remix #174

Open Benjam6 opened 2 years ago

Benjam6 commented 2 years ago

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"?