0.0.46 • Published 9 months ago

@majora-finance/aave-v3-blocks v0.0.46

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Strateg. Aave V3 blocks

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