This project consists of the development of a wrapper contract for the Aave V2 lending pool. It was built as an InstaDapp Evaluation task. The assignment can be found in Evaluation-Task.pdf.
I added the rateMode
parameter to the functions. The contract allows users to interact with the lending pool utilizing a collective collateral pool.
For testing, a mainnet fork is used. The provider is Infura.
Before running any command, make sure to install dependencies:
$ npm install
Compile the smart contracts with Hardhat:
$ npx hardhat compile
Run all the tests:
$ npx hardhat test