This repository contains Aave V3 integration in Strateg protocol.
There is 3 blocks implemented:
-
contracts/StrategAaveV3DepositBlock.sol
for deposit action -
contracts/StrategAaveV3BorrowBlock.sol
for borrow action (need a position manager) -
contracts/StrategAaveV3LeverageBlock.sol
for leverage action (need a position manager)
There is 4 resolvers implemented:
-
AaveV3Deposit.ts
returning an ERC20 token list available to deposit on Aave V3 market -
AaveV3Dept.ts
returning an ERC20 token list available to borrow on Aave V3 market -
AaveV3Collateral.ts
returning an ERC20 token list available as collateral on Aave V3 market -
AaveV3EMode.ts
returning an list of available Emode config