1.0.8 • Published 9 months ago

@majora-finance/spark-blocks v1.0.8

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/StrategSparkDepositBlock.sol for deposit action
  • contracts/StrategSparkBorrowBlock.sol for borrow action (need a position manager)
  • contracts/StrategSparkLeverageBlock.sol for leverage action (need a position manager)

There is 4 resolvers implemented:

  • SparkDeposit.ts returning an ERC20 token list available to deposit on Aave V3 market
  • SparkDept.ts returning an ERC20 token list available to borrow on Aave V3 market
  • SparkCollateral.ts returning an ERC20 token list available as collateral on Aave V3 market
  • SparkEMode.ts returning an list of available Emode config