Skip to content

Fixes the imports and other things particularly in aaveBorrow.js script.#1

Open
SyedAsadKazmi wants to merge 1 commit intoEddiePumpin:mainfrom
SyedAsadKazmi:fixes
Open

Fixes the imports and other things particularly in aaveBorrow.js script.#1
SyedAsadKazmi wants to merge 1 commit intoEddiePumpin:mainfrom
SyedAsadKazmi:fixes

Conversation

@SyedAsadKazmi
Copy link

  • Changed ethers import from ethers to hardhat package (as getContractAt is a function of ethers imported from hardhat).
  • Uninstalled the ethers package to avoid version conflicts.
  • Replaced { deployer } to [ deployer ] in the lvalue (or LHS) of await ethers.getSigners().
  • In the borrow and repay function calls of lendingPool, changed the argument value of 1 (i.e., denoting the interestRateMode and rateMode in the borrow and repay functions respectively) to 2. For this, you can refer to the explanation in this post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant