@defisaver/positions-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/aaveV2/index.d.ts +9 -0
- package/cjs/aaveV2/index.js +184 -0
- package/cjs/aaveV3/index.d.ts +33 -0
- package/cjs/aaveV3/index.js +395 -0
- package/cjs/assets/index.d.ts +4 -0
- package/cjs/assets/index.js +54 -0
- package/cjs/chickenBonds/index.d.ts +3 -0
- package/cjs/chickenBonds/index.js +24 -0
- package/cjs/compoundV2/index.d.ts +21 -0
- package/cjs/compoundV2/index.js +168 -0
- package/cjs/compoundV3/index.d.ts +37 -0
- package/cjs/compoundV3/index.js +208 -0
- package/cjs/config/contracts.d.ts +3028 -0
- package/cjs/config/contracts.js +596 -0
- package/cjs/constants/index.d.ts +4 -0
- package/cjs/constants/index.js +7 -0
- package/cjs/contracts.d.ts +40 -0
- package/cjs/contracts.js +65 -0
- package/cjs/curveUsd/index.d.ts +7 -0
- package/cjs/curveUsd/index.js +199 -0
- package/cjs/exchange/index.d.ts +3 -0
- package/cjs/exchange/index.js +23 -0
- package/cjs/helpers/aaveHelpers/index.d.ts +37 -0
- package/cjs/helpers/aaveHelpers/index.js +118 -0
- package/cjs/helpers/compoundHelpers/index.d.ts +20 -0
- package/cjs/helpers/compoundHelpers/index.js +141 -0
- package/cjs/helpers/curveUsdHelpers/index.d.ts +8 -0
- package/cjs/helpers/curveUsdHelpers/index.js +42 -0
- package/cjs/helpers/index.d.ts +5 -0
- package/cjs/helpers/index.js +31 -0
- package/cjs/helpers/makerHelpers/index.d.ts +5 -0
- package/cjs/helpers/makerHelpers/index.js +100 -0
- package/cjs/helpers/sparkHelpers/index.d.ts +21 -0
- package/cjs/helpers/sparkHelpers/index.js +96 -0
- package/cjs/index.d.ts +19 -0
- package/cjs/index.js +64 -0
- package/cjs/liquity/index.d.ts +7 -0
- package/cjs/liquity/index.js +103 -0
- package/cjs/maker/index.d.ts +5 -0
- package/cjs/maker/index.js +103 -0
- package/cjs/markets/aave/index.d.ts +12 -0
- package/cjs/markets/aave/index.js +76 -0
- package/cjs/markets/aave/marketAssets.d.ts +9 -0
- package/cjs/markets/aave/marketAssets.js +31 -0
- package/cjs/markets/compound/index.d.ts +12 -0
- package/cjs/markets/compound/index.js +85 -0
- package/cjs/markets/compound/marketsAssets.d.ts +19 -0
- package/cjs/markets/compound/marketsAssets.js +35 -0
- package/cjs/markets/curveUsd/index.d.ts +10 -0
- package/cjs/markets/curveUsd/index.js +47 -0
- package/cjs/markets/index.d.ts +4 -0
- package/cjs/markets/index.js +11 -0
- package/cjs/markets/spark/index.d.ts +9 -0
- package/cjs/markets/spark/index.js +31 -0
- package/cjs/markets/spark/marketAssets.d.ts +6 -0
- package/cjs/markets/spark/marketAssets.js +12 -0
- package/cjs/moneymarket/index.d.ts +1 -0
- package/cjs/moneymarket/index.js +17 -0
- package/cjs/moneymarket/moneymarketCommonService.d.ts +12 -0
- package/cjs/moneymarket/moneymarketCommonService.js +83 -0
- package/cjs/morphoAaveV2/index.d.ts +7 -0
- package/cjs/morphoAaveV2/index.js +209 -0
- package/cjs/morphoAaveV3/index.d.ts +7 -0
- package/cjs/morphoAaveV3/index.js +442 -0
- package/cjs/multicall/index.d.ts +3 -0
- package/cjs/multicall/index.js +31 -0
- package/cjs/services/dsrService.d.ts +3 -0
- package/cjs/services/dsrService.js +28 -0
- package/cjs/services/utils.d.ts +16 -0
- package/cjs/services/utils.js +41 -0
- package/cjs/spark/index.d.ts +34 -0
- package/cjs/spark/index.js +337 -0
- package/cjs/staking/index.d.ts +1 -0
- package/cjs/staking/index.js +17 -0
- package/cjs/staking/staking.d.ts +15 -0
- package/cjs/staking/staking.js +162 -0
- package/cjs/types/aave.d.ts +229 -0
- package/cjs/types/aave.js +10 -0
- package/cjs/types/common.d.ts +77 -0
- package/cjs/types/common.js +10 -0
- package/cjs/types/compound.d.ts +109 -0
- package/cjs/types/compound.js +10 -0
- package/cjs/types/contracts/generated/AaveLendingPoolV2.d.ts +312 -0
- package/cjs/types/contracts/generated/AaveLendingPoolV2.js +5 -0
- package/cjs/types/contracts/generated/AaveLoanInfoV2.d.ts +137 -0
- package/cjs/types/contracts/generated/AaveLoanInfoV2.js +5 -0
- package/cjs/types/contracts/generated/AaveProtocolDataProvider.d.ts +110 -0
- package/cjs/types/contracts/generated/AaveProtocolDataProvider.js +5 -0
- package/cjs/types/contracts/generated/AaveUiIncentiveDataProviderV3.d.ts +196 -0
- package/cjs/types/contracts/generated/AaveUiIncentiveDataProviderV3.js +5 -0
- package/cjs/types/contracts/generated/AaveV3LendingPool.d.ts +429 -0
- package/cjs/types/contracts/generated/AaveV3LendingPool.js +5 -0
- package/cjs/types/contracts/generated/AaveV3PoolAddressesProvider.d.ts +169 -0
- package/cjs/types/contracts/generated/AaveV3PoolAddressesProvider.js +5 -0
- package/cjs/types/contracts/generated/AaveV3ProtocolDataProvider.d.ts +131 -0
- package/cjs/types/contracts/generated/AaveV3ProtocolDataProvider.js +5 -0
- package/cjs/types/contracts/generated/AaveV3View.d.ts +301 -0
- package/cjs/types/contracts/generated/AaveV3View.js +5 -0
- package/cjs/types/contracts/generated/BalanceScanner.d.ts +37 -0
- package/cjs/types/contracts/generated/BalanceScanner.js +5 -0
- package/cjs/types/contracts/generated/CETHv3.d.ts +441 -0
- package/cjs/types/contracts/generated/CETHv3.js +5 -0
- package/cjs/types/contracts/generated/CUSDCv3.d.ts +441 -0
- package/cjs/types/contracts/generated/CUSDCv3.js +5 -0
- package/cjs/types/contracts/generated/CUSDbCv3.d.ts +441 -0
- package/cjs/types/contracts/generated/CUSDbCv3.js +5 -0
- package/cjs/types/contracts/generated/CbEth.d.ts +20 -0
- package/cjs/types/contracts/generated/CbEth.js +5 -0
- package/cjs/types/contracts/generated/ChickenBondsView.d.ts +67 -0
- package/cjs/types/contracts/generated/ChickenBondsView.js +5 -0
- package/cjs/types/contracts/generated/CollSurplusPool.d.ts +85 -0
- package/cjs/types/contracts/generated/CollSurplusPool.js +5 -0
- package/cjs/types/contracts/generated/CompV3ETHBulker.d.ts +45 -0
- package/cjs/types/contracts/generated/CompV3ETHBulker.js +5 -0
- package/cjs/types/contracts/generated/CompV3USDCBulker.d.ts +31 -0
- package/cjs/types/contracts/generated/CompV3USDCBulker.js +5 -0
- package/cjs/types/contracts/generated/CompV3USDbCBulker.d.ts +41 -0
- package/cjs/types/contracts/generated/CompV3USDbCBulker.js +5 -0
- package/cjs/types/contracts/generated/CompV3View.d.ts +249 -0
- package/cjs/types/contracts/generated/CompV3View.js +5 -0
- package/cjs/types/contracts/generated/CompoundLoanInfo.d.ts +128 -0
- package/cjs/types/contracts/generated/CompoundLoanInfo.js +5 -0
- package/cjs/types/contracts/generated/Comptroller.d.ts +317 -0
- package/cjs/types/contracts/generated/Comptroller.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDETHAmm.d.ts +139 -0
- package/cjs/types/contracts/generated/CrvUSDETHAmm.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDETHController.d.ts +204 -0
- package/cjs/types/contracts/generated/CrvUSDETHController.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDFactory.d.ts +117 -0
- package/cjs/types/contracts/generated/CrvUSDFactory.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDView.d.ts +209 -0
- package/cjs/types/contracts/generated/CrvUSDView.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDWBTCAmm.d.ts +139 -0
- package/cjs/types/contracts/generated/CrvUSDWBTCAmm.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDWBTCController.d.ts +204 -0
- package/cjs/types/contracts/generated/CrvUSDWBTCController.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDwstETHAmm.d.ts +139 -0
- package/cjs/types/contracts/generated/CrvUSDwstETHAmm.js +5 -0
- package/cjs/types/contracts/generated/CrvUSDwstETHController.d.ts +204 -0
- package/cjs/types/contracts/generated/CrvUSDwstETHController.js +5 -0
- package/cjs/types/contracts/generated/Erc20.d.ts +119 -0
- package/cjs/types/contracts/generated/Erc20.js +5 -0
- package/cjs/types/contracts/generated/GHO.d.ts +136 -0
- package/cjs/types/contracts/generated/GHO.js +5 -0
- package/cjs/types/contracts/generated/GhoDiscountRateStrategy.d.ts +25 -0
- package/cjs/types/contracts/generated/GhoDiscountRateStrategy.js +5 -0
- package/cjs/types/contracts/generated/IAToken.d.ts +21 -0
- package/cjs/types/contracts/generated/IAToken.js +5 -0
- package/cjs/types/contracts/generated/IVariableDebtToken.d.ts +21 -0
- package/cjs/types/contracts/generated/IVariableDebtToken.js +5 -0
- package/cjs/types/contracts/generated/LendingPoolAddressesProvider.d.ts +135 -0
- package/cjs/types/contracts/generated/LendingPoolAddressesProvider.js +5 -0
- package/cjs/types/contracts/generated/Lido.d.ts +38 -0
- package/cjs/types/contracts/generated/Lido.js +5 -0
- package/cjs/types/contracts/generated/LiquityActivePool.d.ts +21 -0
- package/cjs/types/contracts/generated/LiquityActivePool.js +5 -0
- package/cjs/types/contracts/generated/LiquityView.d.ts +51 -0
- package/cjs/types/contracts/generated/LiquityView.js +5 -0
- package/cjs/types/contracts/generated/McdDog.d.ts +134 -0
- package/cjs/types/contracts/generated/McdDog.js +5 -0
- package/cjs/types/contracts/generated/McdJug.d.ts +50 -0
- package/cjs/types/contracts/generated/McdJug.js +5 -0
- package/cjs/types/contracts/generated/McdSpotter.d.ts +27 -0
- package/cjs/types/contracts/generated/McdSpotter.js +5 -0
- package/cjs/types/contracts/generated/McdVat.d.ts +78 -0
- package/cjs/types/contracts/generated/McdVat.js +5 -0
- package/cjs/types/contracts/generated/McdView.d.ts +61 -0
- package/cjs/types/contracts/generated/McdView.js +5 -0
- package/cjs/types/contracts/generated/MorphoAaveV2Proxy.d.ts +418 -0
- package/cjs/types/contracts/generated/MorphoAaveV2Proxy.js +5 -0
- package/cjs/types/contracts/generated/MorphoAaveV2View.d.ts +274 -0
- package/cjs/types/contracts/generated/MorphoAaveV2View.js +5 -0
- package/cjs/types/contracts/generated/MorphoAaveV3ProxyEthMarket.d.ts +202 -0
- package/cjs/types/contracts/generated/MorphoAaveV3ProxyEthMarket.js +5 -0
- package/cjs/types/contracts/generated/Pot.d.ts +49 -0
- package/cjs/types/contracts/generated/Pot.js +5 -0
- package/cjs/types/contracts/generated/PriceFeed.d.ts +61 -0
- package/cjs/types/contracts/generated/PriceFeed.js +5 -0
- package/cjs/types/contracts/generated/REth.d.ts +20 -0
- package/cjs/types/contracts/generated/REth.js +5 -0
- package/cjs/types/contracts/generated/SparkIncentiveDataProvider.d.ts +200 -0
- package/cjs/types/contracts/generated/SparkIncentiveDataProvider.js +5 -0
- package/cjs/types/contracts/generated/SparkLendingPool.d.ts +420 -0
- package/cjs/types/contracts/generated/SparkLendingPool.js +5 -0
- package/cjs/types/contracts/generated/SparkPoolAddressesProvider.d.ts +169 -0
- package/cjs/types/contracts/generated/SparkPoolAddressesProvider.js +5 -0
- package/cjs/types/contracts/generated/SparkProtocolDataProvider.d.ts +132 -0
- package/cjs/types/contracts/generated/SparkProtocolDataProvider.js +5 -0
- package/cjs/types/contracts/generated/SparkView.d.ts +300 -0
- package/cjs/types/contracts/generated/SparkView.js +5 -0
- package/cjs/types/contracts/generated/TroveManager.d.ts +346 -0
- package/cjs/types/contracts/generated/TroveManager.js +5 -0
- package/cjs/types/contracts/generated/UniMulticall.d.ts +55 -0
- package/cjs/types/contracts/generated/UniMulticall.js +5 -0
- package/cjs/types/contracts/generated/WstETH.d.ts +65 -0
- package/cjs/types/contracts/generated/WstETH.js +5 -0
- package/cjs/types/contracts/generated/index.d.ts +57 -0
- package/cjs/types/contracts/generated/index.js +2 -0
- package/cjs/types/contracts/generated/types.d.ts +54 -0
- package/cjs/types/contracts/generated/types.js +2 -0
- package/cjs/types/curveUsd.d.ts +101 -0
- package/cjs/types/curveUsd.js +17 -0
- package/cjs/types/index.d.ts +6 -0
- package/cjs/types/index.js +22 -0
- package/cjs/types/liquity.d.ts +28 -0
- package/cjs/types/liquity.js +18 -0
- package/cjs/types/maker.d.ts +49 -0
- package/cjs/types/maker.js +2 -0
- package/cjs/types/spark.d.ts +100 -0
- package/cjs/types/spark.js +7 -0
- package/esm/aaveV2/index.d.ts +9 -0
- package/esm/aaveV2/index.js +174 -0
- package/esm/aaveV3/index.d.ts +33 -0
- package/esm/aaveV3/index.js +382 -0
- package/esm/assets/index.d.ts +4 -0
- package/esm/assets/index.js +49 -0
- package/esm/chickenBonds/index.d.ts +3 -0
- package/esm/chickenBonds/index.js +20 -0
- package/esm/compoundV2/index.d.ts +21 -0
- package/esm/compoundV2/index.js +157 -0
- package/esm/compoundV3/index.d.ts +37 -0
- package/esm/compoundV3/index.js +198 -0
- package/esm/config/contracts.d.ts +3028 -0
- package/esm/config/contracts.js +595 -0
- package/esm/constants/index.d.ts +4 -0
- package/esm/constants/index.js +4 -0
- package/esm/contracts.d.ts +40 -0
- package/esm/contracts.js +55 -0
- package/esm/curveUsd/index.d.ts +7 -0
- package/esm/curveUsd/index.js +189 -0
- package/esm/exchange/index.d.ts +3 -0
- package/esm/exchange/index.js +19 -0
- package/esm/helpers/aaveHelpers/index.d.ts +37 -0
- package/esm/helpers/aaveHelpers/index.js +101 -0
- package/esm/helpers/compoundHelpers/index.d.ts +20 -0
- package/esm/helpers/compoundHelpers/index.js +130 -0
- package/esm/helpers/curveUsdHelpers/index.d.ts +8 -0
- package/esm/helpers/curveUsdHelpers/index.js +35 -0
- package/esm/helpers/index.d.ts +5 -0
- package/esm/helpers/index.js +5 -0
- package/esm/helpers/makerHelpers/index.d.ts +5 -0
- package/esm/helpers/makerHelpers/index.js +92 -0
- package/esm/helpers/sparkHelpers/index.d.ts +21 -0
- package/esm/helpers/sparkHelpers/index.js +84 -0
- package/esm/index.d.ts +19 -0
- package/esm/index.js +19 -0
- package/esm/liquity/index.d.ts +7 -0
- package/esm/liquity/index.js +95 -0
- package/esm/maker/index.d.ts +5 -0
- package/esm/maker/index.js +95 -0
- package/esm/markets/aave/index.d.ts +12 -0
- package/esm/markets/aave/index.js +70 -0
- package/esm/markets/aave/marketAssets.d.ts +9 -0
- package/esm/markets/aave/marketAssets.js +28 -0
- package/esm/markets/compound/index.d.ts +12 -0
- package/esm/markets/compound/index.js +78 -0
- package/esm/markets/compound/marketsAssets.d.ts +19 -0
- package/esm/markets/compound/marketsAssets.js +32 -0
- package/esm/markets/curveUsd/index.d.ts +10 -0
- package/esm/markets/curveUsd/index.js +40 -0
- package/esm/markets/index.d.ts +4 -0
- package/esm/markets/index.js +4 -0
- package/esm/markets/spark/index.d.ts +9 -0
- package/esm/markets/spark/index.js +26 -0
- package/esm/markets/spark/marketAssets.d.ts +6 -0
- package/esm/markets/spark/marketAssets.js +9 -0
- package/esm/moneymarket/index.d.ts +1 -0
- package/esm/moneymarket/index.js +1 -0
- package/esm/moneymarket/moneymarketCommonService.d.ts +12 -0
- package/esm/moneymarket/moneymarketCommonService.js +70 -0
- package/esm/morphoAaveV2/index.d.ts +7 -0
- package/esm/morphoAaveV2/index.js +199 -0
- package/esm/morphoAaveV3/index.d.ts +7 -0
- package/esm/morphoAaveV3/index.js +432 -0
- package/esm/multicall/index.d.ts +3 -0
- package/esm/multicall/index.js +27 -0
- package/esm/services/dsrService.d.ts +3 -0
- package/esm/services/dsrService.js +21 -0
- package/esm/services/utils.d.ts +16 -0
- package/esm/services/utils.js +21 -0
- package/esm/spark/index.d.ts +34 -0
- package/esm/spark/index.js +326 -0
- package/esm/staking/index.d.ts +1 -0
- package/esm/staking/index.js +1 -0
- package/esm/staking/staking.d.ts +15 -0
- package/esm/staking/staking.js +147 -0
- package/esm/types/aave.d.ts +229 -0
- package/esm/types/aave.js +7 -0
- package/esm/types/common.d.ts +77 -0
- package/esm/types/common.js +7 -0
- package/esm/types/compound.d.ts +109 -0
- package/esm/types/compound.js +7 -0
- package/esm/types/contracts/generated/AaveLendingPoolV2.d.ts +312 -0
- package/esm/types/contracts/generated/AaveLendingPoolV2.js +4 -0
- package/esm/types/contracts/generated/AaveLoanInfoV2.d.ts +137 -0
- package/esm/types/contracts/generated/AaveLoanInfoV2.js +4 -0
- package/esm/types/contracts/generated/AaveProtocolDataProvider.d.ts +110 -0
- package/esm/types/contracts/generated/AaveProtocolDataProvider.js +4 -0
- package/esm/types/contracts/generated/AaveUiIncentiveDataProviderV3.d.ts +196 -0
- package/esm/types/contracts/generated/AaveUiIncentiveDataProviderV3.js +4 -0
- package/esm/types/contracts/generated/AaveV3LendingPool.d.ts +429 -0
- package/esm/types/contracts/generated/AaveV3LendingPool.js +4 -0
- package/esm/types/contracts/generated/AaveV3PoolAddressesProvider.d.ts +169 -0
- package/esm/types/contracts/generated/AaveV3PoolAddressesProvider.js +4 -0
- package/esm/types/contracts/generated/AaveV3ProtocolDataProvider.d.ts +131 -0
- package/esm/types/contracts/generated/AaveV3ProtocolDataProvider.js +4 -0
- package/esm/types/contracts/generated/AaveV3View.d.ts +301 -0
- package/esm/types/contracts/generated/AaveV3View.js +4 -0
- package/esm/types/contracts/generated/BalanceScanner.d.ts +37 -0
- package/esm/types/contracts/generated/BalanceScanner.js +4 -0
- package/esm/types/contracts/generated/CETHv3.d.ts +441 -0
- package/esm/types/contracts/generated/CETHv3.js +4 -0
- package/esm/types/contracts/generated/CUSDCv3.d.ts +441 -0
- package/esm/types/contracts/generated/CUSDCv3.js +4 -0
- package/esm/types/contracts/generated/CUSDbCv3.d.ts +441 -0
- package/esm/types/contracts/generated/CUSDbCv3.js +4 -0
- package/esm/types/contracts/generated/CbEth.d.ts +20 -0
- package/esm/types/contracts/generated/CbEth.js +4 -0
- package/esm/types/contracts/generated/ChickenBondsView.d.ts +67 -0
- package/esm/types/contracts/generated/ChickenBondsView.js +4 -0
- package/esm/types/contracts/generated/CollSurplusPool.d.ts +85 -0
- package/esm/types/contracts/generated/CollSurplusPool.js +4 -0
- package/esm/types/contracts/generated/CompV3ETHBulker.d.ts +45 -0
- package/esm/types/contracts/generated/CompV3ETHBulker.js +4 -0
- package/esm/types/contracts/generated/CompV3USDCBulker.d.ts +31 -0
- package/esm/types/contracts/generated/CompV3USDCBulker.js +4 -0
- package/esm/types/contracts/generated/CompV3USDbCBulker.d.ts +41 -0
- package/esm/types/contracts/generated/CompV3USDbCBulker.js +4 -0
- package/esm/types/contracts/generated/CompV3View.d.ts +249 -0
- package/esm/types/contracts/generated/CompV3View.js +4 -0
- package/esm/types/contracts/generated/CompoundLoanInfo.d.ts +128 -0
- package/esm/types/contracts/generated/CompoundLoanInfo.js +4 -0
- package/esm/types/contracts/generated/Comptroller.d.ts +317 -0
- package/esm/types/contracts/generated/Comptroller.js +4 -0
- package/esm/types/contracts/generated/CrvUSDETHAmm.d.ts +139 -0
- package/esm/types/contracts/generated/CrvUSDETHAmm.js +4 -0
- package/esm/types/contracts/generated/CrvUSDETHController.d.ts +204 -0
- package/esm/types/contracts/generated/CrvUSDETHController.js +4 -0
- package/esm/types/contracts/generated/CrvUSDFactory.d.ts +117 -0
- package/esm/types/contracts/generated/CrvUSDFactory.js +4 -0
- package/esm/types/contracts/generated/CrvUSDView.d.ts +209 -0
- package/esm/types/contracts/generated/CrvUSDView.js +4 -0
- package/esm/types/contracts/generated/CrvUSDWBTCAmm.d.ts +139 -0
- package/esm/types/contracts/generated/CrvUSDWBTCAmm.js +4 -0
- package/esm/types/contracts/generated/CrvUSDWBTCController.d.ts +204 -0
- package/esm/types/contracts/generated/CrvUSDWBTCController.js +4 -0
- package/esm/types/contracts/generated/CrvUSDwstETHAmm.d.ts +139 -0
- package/esm/types/contracts/generated/CrvUSDwstETHAmm.js +4 -0
- package/esm/types/contracts/generated/CrvUSDwstETHController.d.ts +204 -0
- package/esm/types/contracts/generated/CrvUSDwstETHController.js +4 -0
- package/esm/types/contracts/generated/Erc20.d.ts +119 -0
- package/esm/types/contracts/generated/Erc20.js +4 -0
- package/esm/types/contracts/generated/GHO.d.ts +136 -0
- package/esm/types/contracts/generated/GHO.js +4 -0
- package/esm/types/contracts/generated/GhoDiscountRateStrategy.d.ts +25 -0
- package/esm/types/contracts/generated/GhoDiscountRateStrategy.js +4 -0
- package/esm/types/contracts/generated/IAToken.d.ts +21 -0
- package/esm/types/contracts/generated/IAToken.js +4 -0
- package/esm/types/contracts/generated/IVariableDebtToken.d.ts +21 -0
- package/esm/types/contracts/generated/IVariableDebtToken.js +4 -0
- package/esm/types/contracts/generated/LendingPoolAddressesProvider.d.ts +135 -0
- package/esm/types/contracts/generated/LendingPoolAddressesProvider.js +4 -0
- package/esm/types/contracts/generated/Lido.d.ts +38 -0
- package/esm/types/contracts/generated/Lido.js +4 -0
- package/esm/types/contracts/generated/LiquityActivePool.d.ts +21 -0
- package/esm/types/contracts/generated/LiquityActivePool.js +4 -0
- package/esm/types/contracts/generated/LiquityView.d.ts +51 -0
- package/esm/types/contracts/generated/LiquityView.js +4 -0
- package/esm/types/contracts/generated/McdDog.d.ts +134 -0
- package/esm/types/contracts/generated/McdDog.js +4 -0
- package/esm/types/contracts/generated/McdJug.d.ts +50 -0
- package/esm/types/contracts/generated/McdJug.js +4 -0
- package/esm/types/contracts/generated/McdSpotter.d.ts +27 -0
- package/esm/types/contracts/generated/McdSpotter.js +4 -0
- package/esm/types/contracts/generated/McdVat.d.ts +78 -0
- package/esm/types/contracts/generated/McdVat.js +4 -0
- package/esm/types/contracts/generated/McdView.d.ts +61 -0
- package/esm/types/contracts/generated/McdView.js +4 -0
- package/esm/types/contracts/generated/MorphoAaveV2Proxy.d.ts +418 -0
- package/esm/types/contracts/generated/MorphoAaveV2Proxy.js +4 -0
- package/esm/types/contracts/generated/MorphoAaveV2View.d.ts +274 -0
- package/esm/types/contracts/generated/MorphoAaveV2View.js +4 -0
- package/esm/types/contracts/generated/MorphoAaveV3ProxyEthMarket.d.ts +202 -0
- package/esm/types/contracts/generated/MorphoAaveV3ProxyEthMarket.js +4 -0
- package/esm/types/contracts/generated/Pot.d.ts +49 -0
- package/esm/types/contracts/generated/Pot.js +4 -0
- package/esm/types/contracts/generated/PriceFeed.d.ts +61 -0
- package/esm/types/contracts/generated/PriceFeed.js +4 -0
- package/esm/types/contracts/generated/REth.d.ts +20 -0
- package/esm/types/contracts/generated/REth.js +4 -0
- package/esm/types/contracts/generated/SparkIncentiveDataProvider.d.ts +200 -0
- package/esm/types/contracts/generated/SparkIncentiveDataProvider.js +4 -0
- package/esm/types/contracts/generated/SparkLendingPool.d.ts +420 -0
- package/esm/types/contracts/generated/SparkLendingPool.js +4 -0
- package/esm/types/contracts/generated/SparkPoolAddressesProvider.d.ts +169 -0
- package/esm/types/contracts/generated/SparkPoolAddressesProvider.js +4 -0
- package/esm/types/contracts/generated/SparkProtocolDataProvider.d.ts +132 -0
- package/esm/types/contracts/generated/SparkProtocolDataProvider.js +4 -0
- package/esm/types/contracts/generated/SparkView.d.ts +300 -0
- package/esm/types/contracts/generated/SparkView.js +4 -0
- package/esm/types/contracts/generated/TroveManager.d.ts +346 -0
- package/esm/types/contracts/generated/TroveManager.js +4 -0
- package/esm/types/contracts/generated/UniMulticall.d.ts +55 -0
- package/esm/types/contracts/generated/UniMulticall.js +4 -0
- package/esm/types/contracts/generated/WstETH.d.ts +65 -0
- package/esm/types/contracts/generated/WstETH.js +4 -0
- package/esm/types/contracts/generated/index.d.ts +57 -0
- package/esm/types/contracts/generated/index.js +1 -0
- package/esm/types/contracts/generated/types.d.ts +54 -0
- package/esm/types/contracts/generated/types.js +1 -0
- package/esm/types/curveUsd.d.ts +101 -0
- package/esm/types/curveUsd.js +14 -0
- package/esm/types/index.d.ts +6 -0
- package/esm/types/index.js +6 -0
- package/esm/types/liquity.d.ts +28 -0
- package/esm/types/liquity.js +15 -0
- package/esm/types/maker.d.ts +49 -0
- package/esm/types/maker.js +1 -0
- package/esm/types/spark.d.ts +100 -0
- package/esm/types/spark.js +4 -0
- package/package.json +40 -0
- package/src/aaveV2/index.ts +219 -0
- package/src/aaveV3/index.ts +538 -0
- package/src/assets/index.ts +61 -0
- package/src/chickenBonds/index.ts +20 -0
- package/src/compoundV2/index.ts +207 -0
- package/src/compoundV3/index.ts +259 -0
- package/src/config/contracts.js +595 -0
- package/src/constants/index.ts +4 -0
- package/src/contracts.ts +95 -0
- package/src/curveUsd/index.ts +229 -0
- package/src/exchange/index.ts +17 -0
- package/src/helpers/aaveHelpers/index.ts +138 -0
- package/src/helpers/compoundHelpers/index.ts +178 -0
- package/src/helpers/curveUsdHelpers/index.ts +33 -0
- package/src/helpers/index.ts +5 -0
- package/src/helpers/makerHelpers/index.ts +95 -0
- package/src/helpers/sparkHelpers/index.ts +119 -0
- package/src/index.ts +40 -0
- package/src/liquity/index.ts +104 -0
- package/src/maker/index.ts +102 -0
- package/src/markets/aave/index.ts +80 -0
- package/src/markets/aave/marketAssets.ts +33 -0
- package/src/markets/compound/index.ts +86 -0
- package/src/markets/compound/marketsAssets.ts +36 -0
- package/src/markets/curveUsd/index.ts +43 -0
- package/src/markets/index.ts +4 -0
- package/src/markets/spark/index.ts +30 -0
- package/src/markets/spark/marketAssets.ts +10 -0
- package/src/moneymarket/index.ts +1 -0
- package/src/moneymarket/moneymarketCommonService.ts +76 -0
- package/src/morpho/markets.ts +39 -0
- package/src/morphoAaveV2/index.ts +253 -0
- package/src/morphoAaveV3/index.ts +615 -0
- package/src/multicall/index.ts +23 -0
- package/src/services/dsrService.ts +16 -0
- package/src/services/utils.ts +35 -0
- package/src/spark/index.ts +414 -0
- package/src/staking/index.ts +1 -0
- package/src/staking/staking.ts +157 -0
- package/src/types/aave.ts +256 -0
- package/src/types/common.ts +84 -0
- package/src/types/compound.ts +122 -0
- package/src/types/contracts/generated/AaveLendingPoolV2.ts +510 -0
- package/src/types/contracts/generated/AaveLoanInfoV2.ts +175 -0
- package/src/types/contracts/generated/AaveProtocolDataProvider.ts +152 -0
- package/src/types/contracts/generated/AaveUiIncentiveDataProviderV3.ts +254 -0
- package/src/types/contracts/generated/AaveV3LendingPool.ts +805 -0
- package/src/types/contracts/generated/AaveV3PoolAddressesProvider.ts +340 -0
- package/src/types/contracts/generated/AaveV3ProtocolDataProvider.ts +186 -0
- package/src/types/contracts/generated/AaveV3View.ts +402 -0
- package/src/types/contracts/generated/BalanceScanner.ts +71 -0
- package/src/types/contracts/generated/CETHv3.ts +685 -0
- package/src/types/contracts/generated/CUSDCv3.ts +688 -0
- package/src/types/contracts/generated/CUSDbCv3.ts +685 -0
- package/src/types/contracts/generated/CbEth.ts +37 -0
- package/src/types/contracts/generated/ChickenBondsView.ts +90 -0
- package/src/types/contracts/generated/CollSurplusPool.ts +185 -0
- package/src/types/contracts/generated/CompV3ETHBulker.ts +93 -0
- package/src/types/contracts/generated/CompV3USDCBulker.ts +63 -0
- package/src/types/contracts/generated/CompV3USDbCBulker.ts +85 -0
- package/src/types/contracts/generated/CompV3View.ts +325 -0
- package/src/types/contracts/generated/CompoundLoanInfo.ts +160 -0
- package/src/types/contracts/generated/Comptroller.ts +727 -0
- package/src/types/contracts/generated/CrvUSDETHAmm.ts +286 -0
- package/src/types/contracts/generated/CrvUSDETHController.ts +397 -0
- package/src/types/contracts/generated/CrvUSDFactory.ts +242 -0
- package/src/types/contracts/generated/CrvUSDView.ts +277 -0
- package/src/types/contracts/generated/CrvUSDWBTCAmm.ts +286 -0
- package/src/types/contracts/generated/CrvUSDWBTCController.ts +397 -0
- package/src/types/contracts/generated/CrvUSDwstETHAmm.ts +286 -0
- package/src/types/contracts/generated/CrvUSDwstETHController.ts +397 -0
- package/src/types/contracts/generated/Erc20.ts +216 -0
- package/src/types/contracts/generated/GHO.ts +274 -0
- package/src/types/contracts/generated/GhoDiscountRateStrategy.ts +48 -0
- package/src/types/contracts/generated/IAToken.ts +39 -0
- package/src/types/contracts/generated/IVariableDebtToken.ts +39 -0
- package/src/types/contracts/generated/LendingPoolAddressesProvider.ts +308 -0
- package/src/types/contracts/generated/Lido.ts +65 -0
- package/src/types/contracts/generated/LiquityActivePool.ts +39 -0
- package/src/types/contracts/generated/LiquityView.ts +66 -0
- package/src/types/contracts/generated/McdDog.ts +217 -0
- package/src/types/contracts/generated/McdJug.ts +86 -0
- package/src/types/contracts/generated/McdSpotter.ts +43 -0
- package/src/types/contracts/generated/McdVat.ts +170 -0
- package/src/types/contracts/generated/McdView.ts +100 -0
- package/src/types/contracts/generated/MorphoAaveV2Proxy.ts +870 -0
- package/src/types/contracts/generated/MorphoAaveV2View.ts +330 -0
- package/src/types/contracts/generated/MorphoAaveV3ProxyEthMarket.ts +338 -0
- package/src/types/contracts/generated/Pot.ts +88 -0
- package/src/types/contracts/generated/PriceFeed.ts +127 -0
- package/src/types/contracts/generated/REth.ts +37 -0
- package/src/types/contracts/generated/SparkIncentiveDataProvider.ts +264 -0
- package/src/types/contracts/generated/SparkLendingPool.ts +760 -0
- package/src/types/contracts/generated/SparkPoolAddressesProvider.ts +340 -0
- package/src/types/contracts/generated/SparkProtocolDataProvider.ts +188 -0
- package/src/types/contracts/generated/SparkView.ts +400 -0
- package/src/types/contracts/generated/TroveManager.ts +760 -0
- package/src/types/contracts/generated/UniMulticall.ts +83 -0
- package/src/types/contracts/generated/WstETH.ts +141 -0
- package/src/types/contracts/generated/index.ts +60 -0
- package/src/types/contracts/generated/types.ts +73 -0
- package/src/types/curveUsd.ts +111 -0
- package/src/types/index.ts +6 -0
- package/src/types/liquity.ts +30 -0
- package/src/types/maker.ts +51 -0
- package/src/types/spark.ts +107 -0
|
@@ -0,0 +1,870 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type BN from "bn.js";
|
|
6
|
+
import type { ContractOptions } from "web3-eth-contract";
|
|
7
|
+
import type { EventLog } from "web3-core";
|
|
8
|
+
import type { EventEmitter } from "events";
|
|
9
|
+
import type {
|
|
10
|
+
Callback,
|
|
11
|
+
PayableTransactionObject,
|
|
12
|
+
NonPayableTransactionObject,
|
|
13
|
+
BlockType,
|
|
14
|
+
ContractEventLog,
|
|
15
|
+
BaseContract,
|
|
16
|
+
} from "./types";
|
|
17
|
+
|
|
18
|
+
export interface EventOptions {
|
|
19
|
+
filter?: object;
|
|
20
|
+
fromBlock?: BlockType;
|
|
21
|
+
topics?: string[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare namespace Types {
|
|
25
|
+
export type MaxGasForMatchingStruct =
|
|
26
|
+
| [
|
|
27
|
+
number | string | BN,
|
|
28
|
+
number | string | BN,
|
|
29
|
+
number | string | BN,
|
|
30
|
+
number | string | BN
|
|
31
|
+
]
|
|
32
|
+
| {
|
|
33
|
+
supply: number | string | BN;
|
|
34
|
+
borrow: number | string | BN;
|
|
35
|
+
withdraw: number | string | BN;
|
|
36
|
+
repay: number | string | BN;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type MaxGasForMatchingStructOutputArray = [
|
|
40
|
+
string,
|
|
41
|
+
string,
|
|
42
|
+
string,
|
|
43
|
+
string
|
|
44
|
+
];
|
|
45
|
+
export type MaxGasForMatchingStructOutputStruct = {
|
|
46
|
+
supply: string;
|
|
47
|
+
borrow: string;
|
|
48
|
+
withdraw: string;
|
|
49
|
+
repay: string;
|
|
50
|
+
};
|
|
51
|
+
export type MaxGasForMatchingStructOutput =
|
|
52
|
+
MaxGasForMatchingStructOutputArray & MaxGasForMatchingStructOutputStruct;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type AaveIncentivesControllerSet = ContractEventLog<{
|
|
56
|
+
_aaveIncentivesController: string;
|
|
57
|
+
0: string;
|
|
58
|
+
}>;
|
|
59
|
+
export type ClaimRewardsPauseStatusSet = ContractEventLog<{
|
|
60
|
+
_isPaused: boolean;
|
|
61
|
+
0: boolean;
|
|
62
|
+
}>;
|
|
63
|
+
export type DefaultMaxGasForMatchingSet = ContractEventLog<{
|
|
64
|
+
_defaultMaxGasForMatching: Types.MaxGasForMatchingStructOutput;
|
|
65
|
+
0: Types.MaxGasForMatchingStructOutput;
|
|
66
|
+
}>;
|
|
67
|
+
export type EntryPositionsManagerSet = ContractEventLog<{
|
|
68
|
+
_entryPositionsManager: string;
|
|
69
|
+
0: string;
|
|
70
|
+
}>;
|
|
71
|
+
export type ExitPositionsManagerSet = ContractEventLog<{
|
|
72
|
+
_exitPositionsManager: string;
|
|
73
|
+
0: string;
|
|
74
|
+
}>;
|
|
75
|
+
export type IncentivesVaultSet = ContractEventLog<{
|
|
76
|
+
_newIncentivesVaultAddress: string;
|
|
77
|
+
0: string;
|
|
78
|
+
}>;
|
|
79
|
+
export type InterestRatesSet = ContractEventLog<{
|
|
80
|
+
_interestRatesManager: string;
|
|
81
|
+
0: string;
|
|
82
|
+
}>;
|
|
83
|
+
export type IsBorrowPausedSet = ContractEventLog<{
|
|
84
|
+
_poolToken: string;
|
|
85
|
+
_isPaused: boolean;
|
|
86
|
+
0: string;
|
|
87
|
+
1: boolean;
|
|
88
|
+
}>;
|
|
89
|
+
export type IsDeprecatedSet = ContractEventLog<{
|
|
90
|
+
_poolToken: string;
|
|
91
|
+
_isDeprecated: boolean;
|
|
92
|
+
0: string;
|
|
93
|
+
1: boolean;
|
|
94
|
+
}>;
|
|
95
|
+
export type IsLiquidateBorrowPausedSet = ContractEventLog<{
|
|
96
|
+
_poolToken: string;
|
|
97
|
+
_isPaused: boolean;
|
|
98
|
+
0: string;
|
|
99
|
+
1: boolean;
|
|
100
|
+
}>;
|
|
101
|
+
export type IsLiquidateCollateralPausedSet = ContractEventLog<{
|
|
102
|
+
_poolToken: string;
|
|
103
|
+
_isPaused: boolean;
|
|
104
|
+
0: string;
|
|
105
|
+
1: boolean;
|
|
106
|
+
}>;
|
|
107
|
+
export type IsRepayPausedSet = ContractEventLog<{
|
|
108
|
+
_poolToken: string;
|
|
109
|
+
_isPaused: boolean;
|
|
110
|
+
0: string;
|
|
111
|
+
1: boolean;
|
|
112
|
+
}>;
|
|
113
|
+
export type IsSupplyPausedSet = ContractEventLog<{
|
|
114
|
+
_poolToken: string;
|
|
115
|
+
_isPaused: boolean;
|
|
116
|
+
0: string;
|
|
117
|
+
1: boolean;
|
|
118
|
+
}>;
|
|
119
|
+
export type IsWithdrawPausedSet = ContractEventLog<{
|
|
120
|
+
_poolToken: string;
|
|
121
|
+
_isPaused: boolean;
|
|
122
|
+
0: string;
|
|
123
|
+
1: boolean;
|
|
124
|
+
}>;
|
|
125
|
+
export type MarketCreated = ContractEventLog<{
|
|
126
|
+
_poolToken: string;
|
|
127
|
+
_reserveFactor: string;
|
|
128
|
+
_p2pIndexCursor: string;
|
|
129
|
+
0: string;
|
|
130
|
+
1: string;
|
|
131
|
+
2: string;
|
|
132
|
+
}>;
|
|
133
|
+
export type MaxSortedUsersSet = ContractEventLog<{
|
|
134
|
+
_newValue: string;
|
|
135
|
+
0: string;
|
|
136
|
+
}>;
|
|
137
|
+
export type OwnershipTransferred = ContractEventLog<{
|
|
138
|
+
previousOwner: string;
|
|
139
|
+
newOwner: string;
|
|
140
|
+
0: string;
|
|
141
|
+
1: string;
|
|
142
|
+
}>;
|
|
143
|
+
export type P2PIndexCursorSet = ContractEventLog<{
|
|
144
|
+
_poolToken: string;
|
|
145
|
+
_newValue: string;
|
|
146
|
+
0: string;
|
|
147
|
+
1: string;
|
|
148
|
+
}>;
|
|
149
|
+
export type P2PStatusSet = ContractEventLog<{
|
|
150
|
+
_poolToken: string;
|
|
151
|
+
_isP2PDisabled: boolean;
|
|
152
|
+
0: string;
|
|
153
|
+
1: boolean;
|
|
154
|
+
}>;
|
|
155
|
+
export type ReserveFactorSet = ContractEventLog<{
|
|
156
|
+
_poolToken: string;
|
|
157
|
+
_newValue: string;
|
|
158
|
+
0: string;
|
|
159
|
+
1: string;
|
|
160
|
+
}>;
|
|
161
|
+
export type ReserveFeeClaimed = ContractEventLog<{
|
|
162
|
+
_poolToken: string;
|
|
163
|
+
_amountClaimed: string;
|
|
164
|
+
0: string;
|
|
165
|
+
1: string;
|
|
166
|
+
}>;
|
|
167
|
+
export type RewardsClaimed = ContractEventLog<{
|
|
168
|
+
_user: string;
|
|
169
|
+
_amountClaimed: string;
|
|
170
|
+
_traded: boolean;
|
|
171
|
+
0: string;
|
|
172
|
+
1: string;
|
|
173
|
+
2: boolean;
|
|
174
|
+
}>;
|
|
175
|
+
export type RewardsManagerSet = ContractEventLog<{
|
|
176
|
+
_newRewardsManagerAddress: string;
|
|
177
|
+
0: string;
|
|
178
|
+
}>;
|
|
179
|
+
export type TreasuryVaultSet = ContractEventLog<{
|
|
180
|
+
_newTreasuryVaultAddress: string;
|
|
181
|
+
0: string;
|
|
182
|
+
}>;
|
|
183
|
+
|
|
184
|
+
export interface MorphoAaveV2Proxy extends BaseContract {
|
|
185
|
+
constructor(
|
|
186
|
+
jsonInterface: any[],
|
|
187
|
+
address?: string,
|
|
188
|
+
options?: ContractOptions
|
|
189
|
+
): MorphoAaveV2Proxy;
|
|
190
|
+
clone(): MorphoAaveV2Proxy;
|
|
191
|
+
methods: {
|
|
192
|
+
BORROWING_MASK(): NonPayableTransactionObject<string>;
|
|
193
|
+
|
|
194
|
+
DEFAULT_LIQUIDATION_CLOSE_FACTOR(): NonPayableTransactionObject<string>;
|
|
195
|
+
|
|
196
|
+
HEALTH_FACTOR_LIQUIDATION_THRESHOLD(): NonPayableTransactionObject<string>;
|
|
197
|
+
|
|
198
|
+
MAX_BASIS_POINTS(): NonPayableTransactionObject<string>;
|
|
199
|
+
|
|
200
|
+
MAX_NB_OF_MARKETS(): NonPayableTransactionObject<string>;
|
|
201
|
+
|
|
202
|
+
NO_REFERRAL_CODE(): NonPayableTransactionObject<string>;
|
|
203
|
+
|
|
204
|
+
ONE(): NonPayableTransactionObject<string>;
|
|
205
|
+
|
|
206
|
+
ST_ETH(): NonPayableTransactionObject<string>;
|
|
207
|
+
|
|
208
|
+
ST_ETH_BASE_REBASE_INDEX(): NonPayableTransactionObject<string>;
|
|
209
|
+
|
|
210
|
+
VARIABLE_INTEREST_MODE(): NonPayableTransactionObject<string>;
|
|
211
|
+
|
|
212
|
+
aaveIncentivesController(): NonPayableTransactionObject<string>;
|
|
213
|
+
|
|
214
|
+
addressesProvider(): NonPayableTransactionObject<string>;
|
|
215
|
+
|
|
216
|
+
"borrow(address,uint256)"(
|
|
217
|
+
_poolToken: string,
|
|
218
|
+
_amount: number | string | BN
|
|
219
|
+
): NonPayableTransactionObject<void>;
|
|
220
|
+
|
|
221
|
+
"borrow(address,uint256,uint256)"(
|
|
222
|
+
_poolToken: string,
|
|
223
|
+
_amount: number | string | BN,
|
|
224
|
+
_maxGasForMatching: number | string | BN
|
|
225
|
+
): NonPayableTransactionObject<void>;
|
|
226
|
+
|
|
227
|
+
borrowBalanceInOf(
|
|
228
|
+
arg0: string,
|
|
229
|
+
arg1: string
|
|
230
|
+
): NonPayableTransactionObject<
|
|
231
|
+
[string, string] & { inP2P: string; onPool: string }
|
|
232
|
+
>;
|
|
233
|
+
|
|
234
|
+
borrowMask(arg0: string): NonPayableTransactionObject<string>;
|
|
235
|
+
|
|
236
|
+
claimRewards(
|
|
237
|
+
_assets: string[],
|
|
238
|
+
_tradeForMorphoToken: boolean
|
|
239
|
+
): NonPayableTransactionObject<string>;
|
|
240
|
+
|
|
241
|
+
claimToTreasury(
|
|
242
|
+
_poolTokens: string[],
|
|
243
|
+
_amounts: number | string | BN[]
|
|
244
|
+
): NonPayableTransactionObject<void>;
|
|
245
|
+
|
|
246
|
+
createMarket(
|
|
247
|
+
_underlyingToken: string,
|
|
248
|
+
_reserveFactor: number | string | BN,
|
|
249
|
+
_p2pIndexCursor: number | string | BN
|
|
250
|
+
): NonPayableTransactionObject<void>;
|
|
251
|
+
|
|
252
|
+
defaultMaxGasForMatching(): NonPayableTransactionObject<
|
|
253
|
+
[string, string, string, string] & {
|
|
254
|
+
supply: string;
|
|
255
|
+
borrow: string;
|
|
256
|
+
withdraw: string;
|
|
257
|
+
repay: string;
|
|
258
|
+
}
|
|
259
|
+
>;
|
|
260
|
+
|
|
261
|
+
deltas(
|
|
262
|
+
arg0: string
|
|
263
|
+
): NonPayableTransactionObject<
|
|
264
|
+
[string, string, string, string] & {
|
|
265
|
+
p2pSupplyDelta: string;
|
|
266
|
+
p2pBorrowDelta: string;
|
|
267
|
+
p2pSupplyAmount: string;
|
|
268
|
+
p2pBorrowAmount: string;
|
|
269
|
+
}
|
|
270
|
+
>;
|
|
271
|
+
|
|
272
|
+
entryPositionsManager(): NonPayableTransactionObject<string>;
|
|
273
|
+
|
|
274
|
+
exitPositionsManager(): NonPayableTransactionObject<string>;
|
|
275
|
+
|
|
276
|
+
getHead(
|
|
277
|
+
_poolToken: string,
|
|
278
|
+
_positionType: number | string | BN
|
|
279
|
+
): NonPayableTransactionObject<string>;
|
|
280
|
+
|
|
281
|
+
getMarketsCreated(): NonPayableTransactionObject<string[]>;
|
|
282
|
+
|
|
283
|
+
getNext(
|
|
284
|
+
_poolToken: string,
|
|
285
|
+
_positionType: number | string | BN,
|
|
286
|
+
_user: string
|
|
287
|
+
): NonPayableTransactionObject<string>;
|
|
288
|
+
|
|
289
|
+
incentivesVault(): NonPayableTransactionObject<string>;
|
|
290
|
+
|
|
291
|
+
increaseP2PDeltas(
|
|
292
|
+
_poolToken: string,
|
|
293
|
+
_amount: number | string | BN
|
|
294
|
+
): NonPayableTransactionObject<void>;
|
|
295
|
+
|
|
296
|
+
initialize(
|
|
297
|
+
_entryPositionsManager: string,
|
|
298
|
+
_exitPositionsManager: string,
|
|
299
|
+
_interestRatesManager: string,
|
|
300
|
+
_lendingPoolAddressesProvider: string,
|
|
301
|
+
_defaultMaxGasForMatching: Types.MaxGasForMatchingStruct,
|
|
302
|
+
_maxSortedUsers: number | string | BN
|
|
303
|
+
): NonPayableTransactionObject<void>;
|
|
304
|
+
|
|
305
|
+
interestRatesManager(): NonPayableTransactionObject<string>;
|
|
306
|
+
|
|
307
|
+
isClaimRewardsPaused(): NonPayableTransactionObject<boolean>;
|
|
308
|
+
|
|
309
|
+
liquidate(
|
|
310
|
+
_poolTokenBorrowed: string,
|
|
311
|
+
_poolTokenCollateral: string,
|
|
312
|
+
_borrower: string,
|
|
313
|
+
_amount: number | string | BN
|
|
314
|
+
): NonPayableTransactionObject<void>;
|
|
315
|
+
|
|
316
|
+
market(
|
|
317
|
+
arg0: string
|
|
318
|
+
): NonPayableTransactionObject<
|
|
319
|
+
[string, string, string, boolean, boolean, boolean, boolean] & {
|
|
320
|
+
underlyingToken: string;
|
|
321
|
+
reserveFactor: string;
|
|
322
|
+
p2pIndexCursor: string;
|
|
323
|
+
isCreated: boolean;
|
|
324
|
+
isPaused: boolean;
|
|
325
|
+
isPartiallyPaused: boolean;
|
|
326
|
+
isP2PDisabled: boolean;
|
|
327
|
+
}
|
|
328
|
+
>;
|
|
329
|
+
|
|
330
|
+
marketPauseStatus(
|
|
331
|
+
arg0: string
|
|
332
|
+
): NonPayableTransactionObject<
|
|
333
|
+
[boolean, boolean, boolean, boolean, boolean, boolean, boolean] & {
|
|
334
|
+
isSupplyPaused: boolean;
|
|
335
|
+
isBorrowPaused: boolean;
|
|
336
|
+
isWithdrawPaused: boolean;
|
|
337
|
+
isRepayPaused: boolean;
|
|
338
|
+
isLiquidateCollateralPaused: boolean;
|
|
339
|
+
isLiquidateBorrowPaused: boolean;
|
|
340
|
+
isDeprecated: boolean;
|
|
341
|
+
}
|
|
342
|
+
>;
|
|
343
|
+
|
|
344
|
+
maxSortedUsers(): NonPayableTransactionObject<string>;
|
|
345
|
+
|
|
346
|
+
owner(): NonPayableTransactionObject<string>;
|
|
347
|
+
|
|
348
|
+
p2pBorrowIndex(arg0: string): NonPayableTransactionObject<string>;
|
|
349
|
+
|
|
350
|
+
p2pSupplyIndex(arg0: string): NonPayableTransactionObject<string>;
|
|
351
|
+
|
|
352
|
+
pool(): NonPayableTransactionObject<string>;
|
|
353
|
+
|
|
354
|
+
poolIndexes(
|
|
355
|
+
arg0: string
|
|
356
|
+
): NonPayableTransactionObject<
|
|
357
|
+
[string, string, string] & {
|
|
358
|
+
lastUpdateTimestamp: string;
|
|
359
|
+
poolSupplyIndex: string;
|
|
360
|
+
poolBorrowIndex: string;
|
|
361
|
+
}
|
|
362
|
+
>;
|
|
363
|
+
|
|
364
|
+
renounceOwnership(): NonPayableTransactionObject<void>;
|
|
365
|
+
|
|
366
|
+
"repay(address,address,uint256)"(
|
|
367
|
+
_poolToken: string,
|
|
368
|
+
_onBehalf: string,
|
|
369
|
+
_amount: number | string | BN
|
|
370
|
+
): NonPayableTransactionObject<void>;
|
|
371
|
+
|
|
372
|
+
"repay(address,uint256)"(
|
|
373
|
+
_poolToken: string,
|
|
374
|
+
_amount: number | string | BN
|
|
375
|
+
): NonPayableTransactionObject<void>;
|
|
376
|
+
|
|
377
|
+
rewardsManager(): NonPayableTransactionObject<string>;
|
|
378
|
+
|
|
379
|
+
setAaveIncentivesController(
|
|
380
|
+
_aaveIncentivesController: string
|
|
381
|
+
): NonPayableTransactionObject<void>;
|
|
382
|
+
|
|
383
|
+
setAssetAsCollateral(
|
|
384
|
+
_poolToken: string,
|
|
385
|
+
_assetAsCollateral: boolean
|
|
386
|
+
): NonPayableTransactionObject<void>;
|
|
387
|
+
|
|
388
|
+
setDefaultMaxGasForMatching(
|
|
389
|
+
_defaultMaxGasForMatching: Types.MaxGasForMatchingStruct
|
|
390
|
+
): NonPayableTransactionObject<void>;
|
|
391
|
+
|
|
392
|
+
setEntryPositionsManager(
|
|
393
|
+
_entryPositionsManager: string
|
|
394
|
+
): NonPayableTransactionObject<void>;
|
|
395
|
+
|
|
396
|
+
setExitPositionsManager(
|
|
397
|
+
_exitPositionsManager: string
|
|
398
|
+
): NonPayableTransactionObject<void>;
|
|
399
|
+
|
|
400
|
+
setIncentivesVault(
|
|
401
|
+
_incentivesVault: string
|
|
402
|
+
): NonPayableTransactionObject<void>;
|
|
403
|
+
|
|
404
|
+
setInterestRatesManager(
|
|
405
|
+
_interestRatesManager: string
|
|
406
|
+
): NonPayableTransactionObject<void>;
|
|
407
|
+
|
|
408
|
+
setIsBorrowPaused(
|
|
409
|
+
_poolToken: string,
|
|
410
|
+
_isPaused: boolean
|
|
411
|
+
): NonPayableTransactionObject<void>;
|
|
412
|
+
|
|
413
|
+
setIsClaimRewardsPaused(
|
|
414
|
+
_isPaused: boolean
|
|
415
|
+
): NonPayableTransactionObject<void>;
|
|
416
|
+
|
|
417
|
+
setIsDeprecated(
|
|
418
|
+
_poolToken: string,
|
|
419
|
+
_isDeprecated: boolean
|
|
420
|
+
): NonPayableTransactionObject<void>;
|
|
421
|
+
|
|
422
|
+
setIsLiquidateBorrowPaused(
|
|
423
|
+
_poolToken: string,
|
|
424
|
+
_isPaused: boolean
|
|
425
|
+
): NonPayableTransactionObject<void>;
|
|
426
|
+
|
|
427
|
+
setIsLiquidateCollateralPaused(
|
|
428
|
+
_poolToken: string,
|
|
429
|
+
_isPaused: boolean
|
|
430
|
+
): NonPayableTransactionObject<void>;
|
|
431
|
+
|
|
432
|
+
setIsP2PDisabled(
|
|
433
|
+
_poolToken: string,
|
|
434
|
+
_isP2PDisabled: boolean
|
|
435
|
+
): NonPayableTransactionObject<void>;
|
|
436
|
+
|
|
437
|
+
setIsPausedForAllMarkets(
|
|
438
|
+
_isPaused: boolean
|
|
439
|
+
): NonPayableTransactionObject<void>;
|
|
440
|
+
|
|
441
|
+
setIsRepayPaused(
|
|
442
|
+
_poolToken: string,
|
|
443
|
+
_isPaused: boolean
|
|
444
|
+
): NonPayableTransactionObject<void>;
|
|
445
|
+
|
|
446
|
+
setIsSupplyPaused(
|
|
447
|
+
_poolToken: string,
|
|
448
|
+
_isPaused: boolean
|
|
449
|
+
): NonPayableTransactionObject<void>;
|
|
450
|
+
|
|
451
|
+
setIsWithdrawPaused(
|
|
452
|
+
_poolToken: string,
|
|
453
|
+
_isPaused: boolean
|
|
454
|
+
): NonPayableTransactionObject<void>;
|
|
455
|
+
|
|
456
|
+
setMaxSortedUsers(
|
|
457
|
+
_newMaxSortedUsers: number | string | BN
|
|
458
|
+
): NonPayableTransactionObject<void>;
|
|
459
|
+
|
|
460
|
+
setP2PIndexCursor(
|
|
461
|
+
_poolToken: string,
|
|
462
|
+
_p2pIndexCursor: number | string | BN
|
|
463
|
+
): NonPayableTransactionObject<void>;
|
|
464
|
+
|
|
465
|
+
setReserveFactor(
|
|
466
|
+
_poolToken: string,
|
|
467
|
+
_newReserveFactor: number | string | BN
|
|
468
|
+
): NonPayableTransactionObject<void>;
|
|
469
|
+
|
|
470
|
+
setRewardsManager(
|
|
471
|
+
_rewardsManager: string
|
|
472
|
+
): NonPayableTransactionObject<void>;
|
|
473
|
+
|
|
474
|
+
setTreasuryVault(_treasuryVault: string): NonPayableTransactionObject<void>;
|
|
475
|
+
|
|
476
|
+
"supply(address,address,uint256)"(
|
|
477
|
+
_poolToken: string,
|
|
478
|
+
_onBehalf: string,
|
|
479
|
+
_amount: number | string | BN
|
|
480
|
+
): NonPayableTransactionObject<void>;
|
|
481
|
+
|
|
482
|
+
"supply(address,uint256)"(
|
|
483
|
+
_poolToken: string,
|
|
484
|
+
_amount: number | string | BN
|
|
485
|
+
): NonPayableTransactionObject<void>;
|
|
486
|
+
|
|
487
|
+
"supply(address,address,uint256,uint256)"(
|
|
488
|
+
_poolToken: string,
|
|
489
|
+
_onBehalf: string,
|
|
490
|
+
_amount: number | string | BN,
|
|
491
|
+
_maxGasForMatching: number | string | BN
|
|
492
|
+
): NonPayableTransactionObject<void>;
|
|
493
|
+
|
|
494
|
+
supplyBalanceInOf(
|
|
495
|
+
arg0: string,
|
|
496
|
+
arg1: string
|
|
497
|
+
): NonPayableTransactionObject<
|
|
498
|
+
[string, string] & { inP2P: string; onPool: string }
|
|
499
|
+
>;
|
|
500
|
+
|
|
501
|
+
transferOwnership(newOwner: string): NonPayableTransactionObject<void>;
|
|
502
|
+
|
|
503
|
+
treasuryVault(): NonPayableTransactionObject<string>;
|
|
504
|
+
|
|
505
|
+
updateIndexes(_poolToken: string): NonPayableTransactionObject<void>;
|
|
506
|
+
|
|
507
|
+
userMarkets(arg0: string): NonPayableTransactionObject<string>;
|
|
508
|
+
|
|
509
|
+
"withdraw(address,uint256,address)"(
|
|
510
|
+
_poolToken: string,
|
|
511
|
+
_amount: number | string | BN,
|
|
512
|
+
_receiver: string
|
|
513
|
+
): NonPayableTransactionObject<void>;
|
|
514
|
+
|
|
515
|
+
"withdraw(address,uint256)"(
|
|
516
|
+
_poolToken: string,
|
|
517
|
+
_amount: number | string | BN
|
|
518
|
+
): NonPayableTransactionObject<void>;
|
|
519
|
+
};
|
|
520
|
+
events: {
|
|
521
|
+
AaveIncentivesControllerSet(
|
|
522
|
+
cb?: Callback<AaveIncentivesControllerSet>
|
|
523
|
+
): EventEmitter;
|
|
524
|
+
AaveIncentivesControllerSet(
|
|
525
|
+
options?: EventOptions,
|
|
526
|
+
cb?: Callback<AaveIncentivesControllerSet>
|
|
527
|
+
): EventEmitter;
|
|
528
|
+
|
|
529
|
+
ClaimRewardsPauseStatusSet(
|
|
530
|
+
cb?: Callback<ClaimRewardsPauseStatusSet>
|
|
531
|
+
): EventEmitter;
|
|
532
|
+
ClaimRewardsPauseStatusSet(
|
|
533
|
+
options?: EventOptions,
|
|
534
|
+
cb?: Callback<ClaimRewardsPauseStatusSet>
|
|
535
|
+
): EventEmitter;
|
|
536
|
+
|
|
537
|
+
DefaultMaxGasForMatchingSet(
|
|
538
|
+
cb?: Callback<DefaultMaxGasForMatchingSet>
|
|
539
|
+
): EventEmitter;
|
|
540
|
+
DefaultMaxGasForMatchingSet(
|
|
541
|
+
options?: EventOptions,
|
|
542
|
+
cb?: Callback<DefaultMaxGasForMatchingSet>
|
|
543
|
+
): EventEmitter;
|
|
544
|
+
|
|
545
|
+
EntryPositionsManagerSet(
|
|
546
|
+
cb?: Callback<EntryPositionsManagerSet>
|
|
547
|
+
): EventEmitter;
|
|
548
|
+
EntryPositionsManagerSet(
|
|
549
|
+
options?: EventOptions,
|
|
550
|
+
cb?: Callback<EntryPositionsManagerSet>
|
|
551
|
+
): EventEmitter;
|
|
552
|
+
|
|
553
|
+
ExitPositionsManagerSet(
|
|
554
|
+
cb?: Callback<ExitPositionsManagerSet>
|
|
555
|
+
): EventEmitter;
|
|
556
|
+
ExitPositionsManagerSet(
|
|
557
|
+
options?: EventOptions,
|
|
558
|
+
cb?: Callback<ExitPositionsManagerSet>
|
|
559
|
+
): EventEmitter;
|
|
560
|
+
|
|
561
|
+
IncentivesVaultSet(cb?: Callback<IncentivesVaultSet>): EventEmitter;
|
|
562
|
+
IncentivesVaultSet(
|
|
563
|
+
options?: EventOptions,
|
|
564
|
+
cb?: Callback<IncentivesVaultSet>
|
|
565
|
+
): EventEmitter;
|
|
566
|
+
|
|
567
|
+
InterestRatesSet(cb?: Callback<InterestRatesSet>): EventEmitter;
|
|
568
|
+
InterestRatesSet(
|
|
569
|
+
options?: EventOptions,
|
|
570
|
+
cb?: Callback<InterestRatesSet>
|
|
571
|
+
): EventEmitter;
|
|
572
|
+
|
|
573
|
+
IsBorrowPausedSet(cb?: Callback<IsBorrowPausedSet>): EventEmitter;
|
|
574
|
+
IsBorrowPausedSet(
|
|
575
|
+
options?: EventOptions,
|
|
576
|
+
cb?: Callback<IsBorrowPausedSet>
|
|
577
|
+
): EventEmitter;
|
|
578
|
+
|
|
579
|
+
IsDeprecatedSet(cb?: Callback<IsDeprecatedSet>): EventEmitter;
|
|
580
|
+
IsDeprecatedSet(
|
|
581
|
+
options?: EventOptions,
|
|
582
|
+
cb?: Callback<IsDeprecatedSet>
|
|
583
|
+
): EventEmitter;
|
|
584
|
+
|
|
585
|
+
IsLiquidateBorrowPausedSet(
|
|
586
|
+
cb?: Callback<IsLiquidateBorrowPausedSet>
|
|
587
|
+
): EventEmitter;
|
|
588
|
+
IsLiquidateBorrowPausedSet(
|
|
589
|
+
options?: EventOptions,
|
|
590
|
+
cb?: Callback<IsLiquidateBorrowPausedSet>
|
|
591
|
+
): EventEmitter;
|
|
592
|
+
|
|
593
|
+
IsLiquidateCollateralPausedSet(
|
|
594
|
+
cb?: Callback<IsLiquidateCollateralPausedSet>
|
|
595
|
+
): EventEmitter;
|
|
596
|
+
IsLiquidateCollateralPausedSet(
|
|
597
|
+
options?: EventOptions,
|
|
598
|
+
cb?: Callback<IsLiquidateCollateralPausedSet>
|
|
599
|
+
): EventEmitter;
|
|
600
|
+
|
|
601
|
+
IsRepayPausedSet(cb?: Callback<IsRepayPausedSet>): EventEmitter;
|
|
602
|
+
IsRepayPausedSet(
|
|
603
|
+
options?: EventOptions,
|
|
604
|
+
cb?: Callback<IsRepayPausedSet>
|
|
605
|
+
): EventEmitter;
|
|
606
|
+
|
|
607
|
+
IsSupplyPausedSet(cb?: Callback<IsSupplyPausedSet>): EventEmitter;
|
|
608
|
+
IsSupplyPausedSet(
|
|
609
|
+
options?: EventOptions,
|
|
610
|
+
cb?: Callback<IsSupplyPausedSet>
|
|
611
|
+
): EventEmitter;
|
|
612
|
+
|
|
613
|
+
IsWithdrawPausedSet(cb?: Callback<IsWithdrawPausedSet>): EventEmitter;
|
|
614
|
+
IsWithdrawPausedSet(
|
|
615
|
+
options?: EventOptions,
|
|
616
|
+
cb?: Callback<IsWithdrawPausedSet>
|
|
617
|
+
): EventEmitter;
|
|
618
|
+
|
|
619
|
+
MarketCreated(cb?: Callback<MarketCreated>): EventEmitter;
|
|
620
|
+
MarketCreated(
|
|
621
|
+
options?: EventOptions,
|
|
622
|
+
cb?: Callback<MarketCreated>
|
|
623
|
+
): EventEmitter;
|
|
624
|
+
|
|
625
|
+
MaxSortedUsersSet(cb?: Callback<MaxSortedUsersSet>): EventEmitter;
|
|
626
|
+
MaxSortedUsersSet(
|
|
627
|
+
options?: EventOptions,
|
|
628
|
+
cb?: Callback<MaxSortedUsersSet>
|
|
629
|
+
): EventEmitter;
|
|
630
|
+
|
|
631
|
+
OwnershipTransferred(cb?: Callback<OwnershipTransferred>): EventEmitter;
|
|
632
|
+
OwnershipTransferred(
|
|
633
|
+
options?: EventOptions,
|
|
634
|
+
cb?: Callback<OwnershipTransferred>
|
|
635
|
+
): EventEmitter;
|
|
636
|
+
|
|
637
|
+
P2PIndexCursorSet(cb?: Callback<P2PIndexCursorSet>): EventEmitter;
|
|
638
|
+
P2PIndexCursorSet(
|
|
639
|
+
options?: EventOptions,
|
|
640
|
+
cb?: Callback<P2PIndexCursorSet>
|
|
641
|
+
): EventEmitter;
|
|
642
|
+
|
|
643
|
+
P2PStatusSet(cb?: Callback<P2PStatusSet>): EventEmitter;
|
|
644
|
+
P2PStatusSet(
|
|
645
|
+
options?: EventOptions,
|
|
646
|
+
cb?: Callback<P2PStatusSet>
|
|
647
|
+
): EventEmitter;
|
|
648
|
+
|
|
649
|
+
ReserveFactorSet(cb?: Callback<ReserveFactorSet>): EventEmitter;
|
|
650
|
+
ReserveFactorSet(
|
|
651
|
+
options?: EventOptions,
|
|
652
|
+
cb?: Callback<ReserveFactorSet>
|
|
653
|
+
): EventEmitter;
|
|
654
|
+
|
|
655
|
+
ReserveFeeClaimed(cb?: Callback<ReserveFeeClaimed>): EventEmitter;
|
|
656
|
+
ReserveFeeClaimed(
|
|
657
|
+
options?: EventOptions,
|
|
658
|
+
cb?: Callback<ReserveFeeClaimed>
|
|
659
|
+
): EventEmitter;
|
|
660
|
+
|
|
661
|
+
RewardsClaimed(cb?: Callback<RewardsClaimed>): EventEmitter;
|
|
662
|
+
RewardsClaimed(
|
|
663
|
+
options?: EventOptions,
|
|
664
|
+
cb?: Callback<RewardsClaimed>
|
|
665
|
+
): EventEmitter;
|
|
666
|
+
|
|
667
|
+
RewardsManagerSet(cb?: Callback<RewardsManagerSet>): EventEmitter;
|
|
668
|
+
RewardsManagerSet(
|
|
669
|
+
options?: EventOptions,
|
|
670
|
+
cb?: Callback<RewardsManagerSet>
|
|
671
|
+
): EventEmitter;
|
|
672
|
+
|
|
673
|
+
TreasuryVaultSet(cb?: Callback<TreasuryVaultSet>): EventEmitter;
|
|
674
|
+
TreasuryVaultSet(
|
|
675
|
+
options?: EventOptions,
|
|
676
|
+
cb?: Callback<TreasuryVaultSet>
|
|
677
|
+
): EventEmitter;
|
|
678
|
+
|
|
679
|
+
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
once(
|
|
683
|
+
event: "AaveIncentivesControllerSet",
|
|
684
|
+
cb: Callback<AaveIncentivesControllerSet>
|
|
685
|
+
): void;
|
|
686
|
+
once(
|
|
687
|
+
event: "AaveIncentivesControllerSet",
|
|
688
|
+
options: EventOptions,
|
|
689
|
+
cb: Callback<AaveIncentivesControllerSet>
|
|
690
|
+
): void;
|
|
691
|
+
|
|
692
|
+
once(
|
|
693
|
+
event: "ClaimRewardsPauseStatusSet",
|
|
694
|
+
cb: Callback<ClaimRewardsPauseStatusSet>
|
|
695
|
+
): void;
|
|
696
|
+
once(
|
|
697
|
+
event: "ClaimRewardsPauseStatusSet",
|
|
698
|
+
options: EventOptions,
|
|
699
|
+
cb: Callback<ClaimRewardsPauseStatusSet>
|
|
700
|
+
): void;
|
|
701
|
+
|
|
702
|
+
once(
|
|
703
|
+
event: "DefaultMaxGasForMatchingSet",
|
|
704
|
+
cb: Callback<DefaultMaxGasForMatchingSet>
|
|
705
|
+
): void;
|
|
706
|
+
once(
|
|
707
|
+
event: "DefaultMaxGasForMatchingSet",
|
|
708
|
+
options: EventOptions,
|
|
709
|
+
cb: Callback<DefaultMaxGasForMatchingSet>
|
|
710
|
+
): void;
|
|
711
|
+
|
|
712
|
+
once(
|
|
713
|
+
event: "EntryPositionsManagerSet",
|
|
714
|
+
cb: Callback<EntryPositionsManagerSet>
|
|
715
|
+
): void;
|
|
716
|
+
once(
|
|
717
|
+
event: "EntryPositionsManagerSet",
|
|
718
|
+
options: EventOptions,
|
|
719
|
+
cb: Callback<EntryPositionsManagerSet>
|
|
720
|
+
): void;
|
|
721
|
+
|
|
722
|
+
once(
|
|
723
|
+
event: "ExitPositionsManagerSet",
|
|
724
|
+
cb: Callback<ExitPositionsManagerSet>
|
|
725
|
+
): void;
|
|
726
|
+
once(
|
|
727
|
+
event: "ExitPositionsManagerSet",
|
|
728
|
+
options: EventOptions,
|
|
729
|
+
cb: Callback<ExitPositionsManagerSet>
|
|
730
|
+
): void;
|
|
731
|
+
|
|
732
|
+
once(event: "IncentivesVaultSet", cb: Callback<IncentivesVaultSet>): void;
|
|
733
|
+
once(
|
|
734
|
+
event: "IncentivesVaultSet",
|
|
735
|
+
options: EventOptions,
|
|
736
|
+
cb: Callback<IncentivesVaultSet>
|
|
737
|
+
): void;
|
|
738
|
+
|
|
739
|
+
once(event: "InterestRatesSet", cb: Callback<InterestRatesSet>): void;
|
|
740
|
+
once(
|
|
741
|
+
event: "InterestRatesSet",
|
|
742
|
+
options: EventOptions,
|
|
743
|
+
cb: Callback<InterestRatesSet>
|
|
744
|
+
): void;
|
|
745
|
+
|
|
746
|
+
once(event: "IsBorrowPausedSet", cb: Callback<IsBorrowPausedSet>): void;
|
|
747
|
+
once(
|
|
748
|
+
event: "IsBorrowPausedSet",
|
|
749
|
+
options: EventOptions,
|
|
750
|
+
cb: Callback<IsBorrowPausedSet>
|
|
751
|
+
): void;
|
|
752
|
+
|
|
753
|
+
once(event: "IsDeprecatedSet", cb: Callback<IsDeprecatedSet>): void;
|
|
754
|
+
once(
|
|
755
|
+
event: "IsDeprecatedSet",
|
|
756
|
+
options: EventOptions,
|
|
757
|
+
cb: Callback<IsDeprecatedSet>
|
|
758
|
+
): void;
|
|
759
|
+
|
|
760
|
+
once(
|
|
761
|
+
event: "IsLiquidateBorrowPausedSet",
|
|
762
|
+
cb: Callback<IsLiquidateBorrowPausedSet>
|
|
763
|
+
): void;
|
|
764
|
+
once(
|
|
765
|
+
event: "IsLiquidateBorrowPausedSet",
|
|
766
|
+
options: EventOptions,
|
|
767
|
+
cb: Callback<IsLiquidateBorrowPausedSet>
|
|
768
|
+
): void;
|
|
769
|
+
|
|
770
|
+
once(
|
|
771
|
+
event: "IsLiquidateCollateralPausedSet",
|
|
772
|
+
cb: Callback<IsLiquidateCollateralPausedSet>
|
|
773
|
+
): void;
|
|
774
|
+
once(
|
|
775
|
+
event: "IsLiquidateCollateralPausedSet",
|
|
776
|
+
options: EventOptions,
|
|
777
|
+
cb: Callback<IsLiquidateCollateralPausedSet>
|
|
778
|
+
): void;
|
|
779
|
+
|
|
780
|
+
once(event: "IsRepayPausedSet", cb: Callback<IsRepayPausedSet>): void;
|
|
781
|
+
once(
|
|
782
|
+
event: "IsRepayPausedSet",
|
|
783
|
+
options: EventOptions,
|
|
784
|
+
cb: Callback<IsRepayPausedSet>
|
|
785
|
+
): void;
|
|
786
|
+
|
|
787
|
+
once(event: "IsSupplyPausedSet", cb: Callback<IsSupplyPausedSet>): void;
|
|
788
|
+
once(
|
|
789
|
+
event: "IsSupplyPausedSet",
|
|
790
|
+
options: EventOptions,
|
|
791
|
+
cb: Callback<IsSupplyPausedSet>
|
|
792
|
+
): void;
|
|
793
|
+
|
|
794
|
+
once(event: "IsWithdrawPausedSet", cb: Callback<IsWithdrawPausedSet>): void;
|
|
795
|
+
once(
|
|
796
|
+
event: "IsWithdrawPausedSet",
|
|
797
|
+
options: EventOptions,
|
|
798
|
+
cb: Callback<IsWithdrawPausedSet>
|
|
799
|
+
): void;
|
|
800
|
+
|
|
801
|
+
once(event: "MarketCreated", cb: Callback<MarketCreated>): void;
|
|
802
|
+
once(
|
|
803
|
+
event: "MarketCreated",
|
|
804
|
+
options: EventOptions,
|
|
805
|
+
cb: Callback<MarketCreated>
|
|
806
|
+
): void;
|
|
807
|
+
|
|
808
|
+
once(event: "MaxSortedUsersSet", cb: Callback<MaxSortedUsersSet>): void;
|
|
809
|
+
once(
|
|
810
|
+
event: "MaxSortedUsersSet",
|
|
811
|
+
options: EventOptions,
|
|
812
|
+
cb: Callback<MaxSortedUsersSet>
|
|
813
|
+
): void;
|
|
814
|
+
|
|
815
|
+
once(event: "OwnershipTransferred", cb: Callback<OwnershipTransferred>): void;
|
|
816
|
+
once(
|
|
817
|
+
event: "OwnershipTransferred",
|
|
818
|
+
options: EventOptions,
|
|
819
|
+
cb: Callback<OwnershipTransferred>
|
|
820
|
+
): void;
|
|
821
|
+
|
|
822
|
+
once(event: "P2PIndexCursorSet", cb: Callback<P2PIndexCursorSet>): void;
|
|
823
|
+
once(
|
|
824
|
+
event: "P2PIndexCursorSet",
|
|
825
|
+
options: EventOptions,
|
|
826
|
+
cb: Callback<P2PIndexCursorSet>
|
|
827
|
+
): void;
|
|
828
|
+
|
|
829
|
+
once(event: "P2PStatusSet", cb: Callback<P2PStatusSet>): void;
|
|
830
|
+
once(
|
|
831
|
+
event: "P2PStatusSet",
|
|
832
|
+
options: EventOptions,
|
|
833
|
+
cb: Callback<P2PStatusSet>
|
|
834
|
+
): void;
|
|
835
|
+
|
|
836
|
+
once(event: "ReserveFactorSet", cb: Callback<ReserveFactorSet>): void;
|
|
837
|
+
once(
|
|
838
|
+
event: "ReserveFactorSet",
|
|
839
|
+
options: EventOptions,
|
|
840
|
+
cb: Callback<ReserveFactorSet>
|
|
841
|
+
): void;
|
|
842
|
+
|
|
843
|
+
once(event: "ReserveFeeClaimed", cb: Callback<ReserveFeeClaimed>): void;
|
|
844
|
+
once(
|
|
845
|
+
event: "ReserveFeeClaimed",
|
|
846
|
+
options: EventOptions,
|
|
847
|
+
cb: Callback<ReserveFeeClaimed>
|
|
848
|
+
): void;
|
|
849
|
+
|
|
850
|
+
once(event: "RewardsClaimed", cb: Callback<RewardsClaimed>): void;
|
|
851
|
+
once(
|
|
852
|
+
event: "RewardsClaimed",
|
|
853
|
+
options: EventOptions,
|
|
854
|
+
cb: Callback<RewardsClaimed>
|
|
855
|
+
): void;
|
|
856
|
+
|
|
857
|
+
once(event: "RewardsManagerSet", cb: Callback<RewardsManagerSet>): void;
|
|
858
|
+
once(
|
|
859
|
+
event: "RewardsManagerSet",
|
|
860
|
+
options: EventOptions,
|
|
861
|
+
cb: Callback<RewardsManagerSet>
|
|
862
|
+
): void;
|
|
863
|
+
|
|
864
|
+
once(event: "TreasuryVaultSet", cb: Callback<TreasuryVaultSet>): void;
|
|
865
|
+
once(
|
|
866
|
+
event: "TreasuryVaultSet",
|
|
867
|
+
options: EventOptions,
|
|
868
|
+
cb: Callback<TreasuryVaultSet>
|
|
869
|
+
): void;
|
|
870
|
+
}
|