TypeError: Member “safeApprove” not found or not visible after argument-dependent lookup in contract IERC20.
–> contracts/MyBot808.sol:37:13:
|
37 | IERC20(assets[i]).safeApprove(address(LENDING_POOL), amountOwing);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I have tried everything i can think of but I’m stuck. Any assistance would be greatly appreciated.
New contributor
Keith Crolley is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.