Call deposit/withdrawal calls of lendingPool contract and getting error


Hello guys! I'm trying to integrate Aave v2 with in order to call deposit/withdrawal calls of `lendingPool` contract and getting error like dropped by blockchain (; Is there any chance you have experience with it and can share some hints or advice. Thanks in advance.

Answers 1

Well looks like you are trying to supply weth but looks like you don't have weth in that account. You need to have enough funds in the account from which you are initiating the tx and also need to approve `lendingPool` before supply