jklepatch / eattheblocks

Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers

Home Page:https://eattheblocks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning when trying to compile Equalizer Finance loan using Remix

Benjam6 opened this issue · 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"?