1.0.8 • Published 10 months ago
@majora-finance/spark-blocks v1.0.8
Strateg. Aave V3 blocks
This repository contains Aave V3 integration in Strateg protocol.
There is 3 blocks implemented:
contracts/StrategSparkDepositBlock.solfor deposit actioncontracts/StrategSparkBorrowBlock.solfor borrow action (need a position manager)contracts/StrategSparkLeverageBlock.solfor leverage action (need a position manager)
There is 4 resolvers implemented:
SparkDeposit.tsreturning an ERC20 token list available to deposit on Aave V3 marketSparkDept.tsreturning an ERC20 token list available to borrow on Aave V3 marketSparkCollateral.tsreturning an ERC20 token list available as collateral on Aave V3 marketSparkEMode.tsreturning an list of available Emode config