@raac/rpc 1.1.0-beta.5 → 1.1.0-beta.7
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/dist/RPCLibrary.js +66 -23
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +83 -29
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +82 -31
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +114 -5
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +465 -0
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +497 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1065 -337
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +180 -99
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +20 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +158 -38
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -29
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +553 -224
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +354 -0
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +356 -0
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +1036 -0
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +622 -207
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +89 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +2 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +2 -2
- package/dist/configs/chains/11155111.json +8 -3
- package/dist/configs/chains/17000.json +38 -3
- package/dist/configs/chains/8453.json +49 -14
- package/dist/configs/createConfig.js +3 -3
- package/dist/pools/lendingPool/_helpers.js +41 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.js +20 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.js +32 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.js +20 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +32 -0
- package/dist/pools/lendingPool/borrowFromLendingPool.js +11 -14
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +11 -29
- package/dist/pools/lendingPool/calculateInsuranceFee.js +12 -8
- package/dist/pools/lendingPool/closeLiquidation.js +16 -14
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +22 -0
- package/dist/pools/lendingPool/depositToLendingPool.js +2 -5
- package/dist/pools/lendingPool/getAdapterAddress.js +44 -0
- package/dist/pools/lendingPool/getAdapters.js +20 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +2 -5
- package/dist/pools/lendingPool/getHealthFactor.js +15 -13
- package/dist/pools/lendingPool/getLendingPoolInfo.js +10 -25
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +2 -6
- package/dist/pools/lendingPool/getParameters.js +29 -0
- package/dist/pools/lendingPool/getPositionDebt.js +12 -11
- package/dist/pools/lendingPool/getPositionScaledDebt.js +16 -13
- package/dist/pools/lendingPool/getPositionView.js +16 -10
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +3 -5
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +2 -5
- package/dist/pools/lendingPool/getUserCollateralValue.js +3 -5
- package/dist/pools/lendingPool/getWithdrawRequestInfo.js +25 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +12 -12
- package/dist/pools/lendingPool/openVaultPosition.js +42 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +11 -14
- package/dist/pools/lendingPool/requestWithdraw.js +28 -0
- package/dist/pools/lendingPool/types.js +2 -0
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +22 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +3 -4
- package/dist/pools/rwaVault/_helpers.js +41 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/depositToRWAVault.js +23 -0
- package/dist/pools/rwaVault/getAdapterAddress.js +43 -0
- package/dist/pools/rwaVault/getAdapters.js +20 -0
- package/dist/pools/rwaVault/getNextRandomNFT.js +21 -0
- package/dist/pools/rwaVault/getRWAVaultInfo.js +48 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +23 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +23 -0
- package/dist/pools/rwaVault/types.js +2 -0
- package/dist/scripts/index.js +81 -64
- package/dist/types/RPCLibrary.d.ts +55 -22
- package/dist/types/configs/createConfig.d.ts +1 -1
- package/dist/types/pools/lendingPool/_helpers.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -3
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +3 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +7 -5
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +5 -0
- package/dist/types/pools/lendingPool/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/lendingPool/getAdapters.d.ts +8 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +6 -4
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -3
- package/dist/types/pools/lendingPool/getParameters.d.ts +17 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +4 -3
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +8 -5
- package/dist/types/pools/lendingPool/getPositionView.d.ts +14 -18
- package/dist/types/pools/lendingPool/getWithdrawRequestInfo.d.ts +8 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +4 -3
- package/dist/types/pools/lendingPool/openVaultPosition.d.ts +4 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/requestWithdraw.d.ts +4 -0
- package/dist/types/pools/lendingPool/types.d.ts +7 -0
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +5 -0
- package/dist/types/pools/rwaVault/_helpers.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +5 -0
- package/dist/types/pools/rwaVault/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/rwaVault/getAdapters.d.ts +8 -0
- package/dist/types/pools/rwaVault/getNextRandomNFT.d.ts +8 -0
- package/dist/types/pools/rwaVault/getRWAVaultInfo.d.ts +20 -0
- package/dist/types/pools/rwaVault/redeemNFTFromRWAVault.d.ts +4 -0
- package/dist/types/pools/rwaVault/requestRandomSeed.d.ts +4 -0
- package/dist/types/pools/rwaVault/types.d.ts +7 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface.d.ts +143 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI.d.ts +529 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus.d.ts +109 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +6 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus.d.ts +192 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus.d.ts +45 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus.d.ts +155 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient.d.ts +25 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock.d.ts +731 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts +77 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +231 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC2981.d.ts +49 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/MerkleProof.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +30 -1
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal.d.ts +53 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.d.ts +115 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +15 -1
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +616 -142
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +396 -108
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +623 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +609 -155
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +610 -156
- package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/governance/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/lockers/LLamaTemple.d.ts +721 -0
- package/dist/types/typechain-types/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +69 -12
- package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +22 -4
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +40 -2
- package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.d.ts +232 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +254 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +728 -205
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +440 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +538 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +485 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +7 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +158 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +124 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +135 -79
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +140 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +203 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +23 -1
- package/dist/types/typechain-types/contracts/core/primitives/WithCompliance.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +94 -11
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -17
- package/dist/types/typechain-types/contracts/core/tokens/RWAIndexToken.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +433 -172
- package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +174 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +178 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/RWAVault.d.ts +511 -0
- package/dist/types/typechain-types/contracts/core/vaults/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/IComplianceRegistry.d.ts +63 -0
- package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +190 -23
- package/dist/types/typechain-types/contracts/interfaces/INFTWhitelist.d.ts +75 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +9 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +527 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +222 -40
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +351 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaLocker.d.ts +332 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaTemple.d.ts +302 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +30 -1
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +5 -1
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +31 -24
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IAssetAdapter.d.ts +143 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IERC721Adapter.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +369 -150
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage.d.ts +102 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +19 -64
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +70 -7
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IVaultToken.d.ts +197 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +295 -36
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseHybridVault.d.ts +208 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IVaultAssetAdapter.d.ts +89 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveLiquidityGaugeV5.d.ts +357 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +18 -3
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +31 -1
- package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +9 -2
- package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +34 -1
- package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +1 -25
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockWETH.d.ts +225 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock.d.ts +56 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +2 -6
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker.d.ts +394 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +2 -2
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +349 -148
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +367 -140
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +68 -139
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +19 -9
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +37 -18
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +37 -8
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +62 -6
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface__factory.d.ts +191 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI__factory.d.ts +663 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus__factory.d.ts +139 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus__factory.d.ts +194 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus__factory.d.ts +27 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus__factory.d.ts +155 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +944 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +95 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +289 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC2981__factory.d.ts +43 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +1 -13
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +9 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.d.ts +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +65 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal__factory.d.ts +49 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +177 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +15 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +698 -144
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +461 -137
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +848 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +686 -162
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +689 -155
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +42 -80
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +1028 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +66 -25
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +37 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +90 -6
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +64 -9
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +369 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +393 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +578 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +881 -306
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +716 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +636 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +281 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +227 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +255 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +151 -85
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +276 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +29 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/WithCompliance__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +7 -11
- package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +124 -31
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +1 -61
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +465 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +446 -186
- package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +285 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +287 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +808 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts +67 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +213 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTWhitelist__factory.d.ts +77 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +643 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +239 -65
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +425 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +41 -79
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaLocker__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaTemple__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver__factory.d.ts +35 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +14 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +24 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IAssetAdapter__factory.d.ts +189 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IERC721Adapter__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage__factory.d.ts +183 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +428 -143
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +26 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +6 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +79 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IVaultToken__factory.d.ts +223 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +355 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IBaseHybridVault__factory.d.ts +256 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IVaultAssetAdapter__factory.d.ts +119 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveLiquidityGaugeV5__factory.d.ts +503 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +44 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +47 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -29
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockWETH__factory.d.ts +353 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +591 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +2 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +490 -166
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +67 -12
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +427 -132
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +8 -4
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +53 -122
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +21 -12
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +39 -14
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +83 -14
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +87 -31
- package/dist/types/typechain-types/index.d.ts +112 -40
- package/dist/types/utils/artifacts.d.ts +460 -44
- package/dist/utils/artifacts.js +13 -2
- package/package.json +1 -1
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +0 -770
- package/dist/contracts/indexToken/getNextRandomNFT.js +0 -30
- package/dist/contracts/indexToken/redeemNFT.js +0 -39
- package/dist/pools/lendingPool/claimReward.js +0 -22
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -50
- package/dist/pools/lendingPool/getAllUserData.js +0 -28
- package/dist/pools/lendingPool/getPendingReward.js +0 -20
- package/dist/pools/lendingPool/getUserOfDepositedNFT.js +0 -27
- package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +0 -24
- package/dist/pools/stabilityPool/calculateRAACRewards.js +0 -21
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +0 -40
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +0 -7
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +0 -4
- package/dist/types/pools/lendingPool/claimReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +0 -4
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +0 -17
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/getUserOfDepositedNFT.d.ts +0 -11
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +0 -4
- package/dist/types/pools/stabilityPool/calculateRAACRewards.d.ts +0 -4
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +0 -4
|
@@ -1,71 +1,60 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
-
export declare namespace
|
|
4
|
-
type
|
|
3
|
+
export declare namespace ILendingPoolStorage {
|
|
4
|
+
type CollateralPositionStruct = {
|
|
5
5
|
rawDebtBalance: BigNumberish;
|
|
6
|
-
scaledDebtBalance: BigNumberish;
|
|
7
|
-
healthFactor: BigNumberish;
|
|
8
6
|
isUnderLiquidation: boolean;
|
|
9
7
|
liquidationStartTime: BigNumberish;
|
|
10
8
|
positionIndex: BigNumberish;
|
|
11
9
|
isInsured: boolean;
|
|
10
|
+
rawInsuredBalance: BigNumberish;
|
|
12
11
|
};
|
|
13
|
-
type
|
|
12
|
+
type CollateralPositionStructOutput = [
|
|
14
13
|
rawDebtBalance: bigint,
|
|
15
|
-
scaledDebtBalance: bigint,
|
|
16
|
-
healthFactor: bigint,
|
|
17
14
|
isUnderLiquidation: boolean,
|
|
18
15
|
liquidationStartTime: bigint,
|
|
19
16
|
positionIndex: bigint,
|
|
20
|
-
isInsured: boolean
|
|
17
|
+
isInsured: boolean,
|
|
18
|
+
rawInsuredBalance: bigint
|
|
21
19
|
] & {
|
|
22
20
|
rawDebtBalance: bigint;
|
|
23
|
-
scaledDebtBalance: bigint;
|
|
24
|
-
healthFactor: bigint;
|
|
25
21
|
isUnderLiquidation: boolean;
|
|
26
22
|
liquidationStartTime: bigint;
|
|
27
23
|
positionIndex: bigint;
|
|
28
24
|
isInsured: boolean;
|
|
25
|
+
rawInsuredBalance: bigint;
|
|
29
26
|
};
|
|
30
|
-
type
|
|
31
|
-
nftTokenIds: BigNumberish[];
|
|
32
|
-
scaledDebtBalance: BigNumberish;
|
|
33
|
-
collateralValue: BigNumberish;
|
|
34
|
-
positions: ILendingPool.NFTPositionViewStruct[];
|
|
35
|
-
};
|
|
36
|
-
type UserDataViewStructOutput = [
|
|
37
|
-
nftTokenIds: bigint[],
|
|
38
|
-
scaledDebtBalance: bigint,
|
|
39
|
-
collateralValue: bigint,
|
|
40
|
-
positions: ILendingPool.NFTPositionViewStructOutput[]
|
|
41
|
-
] & {
|
|
42
|
-
nftTokenIds: bigint[];
|
|
43
|
-
scaledDebtBalance: bigint;
|
|
44
|
-
collateralValue: bigint;
|
|
45
|
-
positions: ILendingPool.NFTPositionViewStructOutput[];
|
|
46
|
-
};
|
|
47
|
-
type NFTPositionStruct = {
|
|
27
|
+
type CollateralPositionViewStruct = {
|
|
48
28
|
rawDebtBalance: BigNumberish;
|
|
29
|
+
scaledDebtBalance: BigNumberish;
|
|
30
|
+
healthFactor: BigNumberish;
|
|
49
31
|
isUnderLiquidation: boolean;
|
|
50
32
|
liquidationStartTime: BigNumberish;
|
|
51
33
|
positionIndex: BigNumberish;
|
|
52
34
|
isInsured: boolean;
|
|
53
|
-
|
|
35
|
+
adapter: AddressLike;
|
|
36
|
+
asset: AddressLike;
|
|
54
37
|
};
|
|
55
|
-
type
|
|
38
|
+
type CollateralPositionViewStructOutput = [
|
|
56
39
|
rawDebtBalance: bigint,
|
|
40
|
+
scaledDebtBalance: bigint,
|
|
41
|
+
healthFactor: bigint,
|
|
57
42
|
isUnderLiquidation: boolean,
|
|
58
43
|
liquidationStartTime: bigint,
|
|
59
44
|
positionIndex: bigint,
|
|
60
45
|
isInsured: boolean,
|
|
61
|
-
|
|
46
|
+
adapter: string,
|
|
47
|
+
asset: string
|
|
62
48
|
] & {
|
|
63
49
|
rawDebtBalance: bigint;
|
|
50
|
+
scaledDebtBalance: bigint;
|
|
51
|
+
healthFactor: bigint;
|
|
64
52
|
isUnderLiquidation: boolean;
|
|
65
53
|
liquidationStartTime: bigint;
|
|
66
54
|
positionIndex: bigint;
|
|
67
55
|
isInsured: boolean;
|
|
68
|
-
|
|
56
|
+
adapter: string;
|
|
57
|
+
asset: string;
|
|
69
58
|
};
|
|
70
59
|
}
|
|
71
60
|
export declare namespace ReserveLibrary {
|
|
@@ -129,72 +118,75 @@ export declare namespace ReserveLibrary {
|
|
|
129
118
|
};
|
|
130
119
|
}
|
|
131
120
|
export interface LendingPoolInterface extends Interface {
|
|
132
|
-
getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "
|
|
133
|
-
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit(address,uint256,uint256)" | "Deposit(address,uint256,uint256)" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "
|
|
121
|
+
getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "DEFAULT_ADMIN_ROLE" | "GOVERNANCE_ROLE" | "PROTOCOL_ROLE" | "adapters" | "borrow" | "borrowWithInsurance" | "calculateHealthFactor" | "calculateInsuranceFee" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "complianceRegistry" | "deposit" | "depositAsset" | "depositRewardTokens" | "feeCollector" | "finalizeLiquidation" | "getAdapters" | "getAssetValue" | "getEligibleUserDeposits" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionView" | "getPositionsScaledDebt" | "getPrimeRate" | "getReserveRateData" | "getReserveState" | "getRoleAdmin" | "getUnclaimedVaultRewards" | "getUninsuredBalance" | "getUserCollateralValue" | "getUserDebt" | "getUserDeposits" | "getUserDepositsInStabilityPool" | "grantRole" | "hasRole" | "initiateLiquidation" | "liquidationProxy" | "onERC721Received" | "openVaultPosition" | "owner" | "parameters" | "pause" | "paused" | "positions" | "primeRateOracle" | "rateData" | "registerAdapter" | "renounceOwnership" | "renounceRole" | "repay" | "repayOnBehalf" | "requestWithdraw" | "rescueToken" | "reserve" | "revokeRole" | "rewardData" | "setFeeCollector" | "setLiquidationProxy" | "setParameter" | "setPrimeRate" | "setPrimeRateOracle" | "setRewardToken" | "setStabilityPool" | "setVault" | "stabilityPool" | "supportedAdapter" | "supportedAdapters" | "supportsInterface" | "transferAccruedDust" | "transferOwnership" | "unpause" | "unregisterAdapter" | "updateState" | "updateUserReward" | "userData" | "vault" | "vaultOpened" | "vaultProxy" | "vaultRewards" | "withdraw" | "withdrawAsset" | "withdrawTimelock"): FunctionFragment;
|
|
122
|
+
getEvent(nameOrSignatureOrTopic: "AdapterRegistered" | "AdapterRemoved" | "Borrow" | "BorrowCapUpdated" | "CanPaybackDebtChanged" | "Deposit(address,uint256,uint256)" | "Deposit(address,uint256,uint256)" | "DepositFeeUpdated" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredAsset" | "InterestRatesUpdated" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidationProxyUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "OwnershipTransferred" | "ParameterChanged" | "Paused" | "PrimeRateUpdated" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "ReserveInterestsUpdated" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "StabilityPoolUpdated" | "SupplyCapUpdated" | "Unpaused" | "VaultOpeningFeePaid" | "VaultOpeningFeeUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw(address,uint256)" | "Withdraw(address,uint256,uint256)" | "WithdrawCancelled" | "WithdrawFeeUpdated" | "WithdrawQueued" | "WithdrawTimelockDurationUpdated" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
134
123
|
encodeFunctionData(functionFragment: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD", values?: undefined): string;
|
|
135
124
|
encodeFunctionData(functionFragment: "BASE_LIQUIDATION_GRACE_PERIOD", values?: undefined): string;
|
|
136
125
|
encodeFunctionData(functionFragment: "BASE_LIQUIDATION_THRESHOLD", values?: undefined): string;
|
|
137
|
-
encodeFunctionData(functionFragment: "
|
|
138
|
-
encodeFunctionData(functionFragment: "
|
|
139
|
-
encodeFunctionData(functionFragment: "
|
|
140
|
-
encodeFunctionData(functionFragment: "
|
|
141
|
-
encodeFunctionData(functionFragment: "
|
|
126
|
+
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
127
|
+
encodeFunctionData(functionFragment: "GOVERNANCE_ROLE", values?: undefined): string;
|
|
128
|
+
encodeFunctionData(functionFragment: "PROTOCOL_ROLE", values?: undefined): string;
|
|
129
|
+
encodeFunctionData(functionFragment: "adapters", values: [BigNumberish]): string;
|
|
130
|
+
encodeFunctionData(functionFragment: "borrow", values: [AddressLike, BytesLike, BigNumberish]): string;
|
|
131
|
+
encodeFunctionData(functionFragment: "borrowWithInsurance", values: [AddressLike, BytesLike, BigNumberish]): string;
|
|
132
|
+
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
133
|
+
encodeFunctionData(functionFragment: "calculateInsuranceFee", values: [AddressLike, AddressLike, BytesLike, BigNumberish]): string;
|
|
142
134
|
encodeFunctionData(functionFragment: "claimCollectorRewards", values?: undefined): string;
|
|
143
135
|
encodeFunctionData(functionFragment: "claimReward", values?: undefined): string;
|
|
144
|
-
encodeFunctionData(functionFragment: "closeLiquidation", values: [
|
|
145
|
-
encodeFunctionData(functionFragment: "
|
|
136
|
+
encodeFunctionData(functionFragment: "closeLiquidation", values: [AddressLike, BytesLike]): string;
|
|
137
|
+
encodeFunctionData(functionFragment: "complianceRegistry", values?: undefined): string;
|
|
146
138
|
encodeFunctionData(functionFragment: "deposit", values: [BigNumberish]): string;
|
|
147
|
-
encodeFunctionData(functionFragment: "
|
|
139
|
+
encodeFunctionData(functionFragment: "depositAsset", values: [AddressLike, BytesLike]): string;
|
|
148
140
|
encodeFunctionData(functionFragment: "depositRewardTokens", values: [BigNumberish]): string;
|
|
149
141
|
encodeFunctionData(functionFragment: "feeCollector", values?: undefined): string;
|
|
150
|
-
encodeFunctionData(functionFragment: "finalizeLiquidation", values: [AddressLike,
|
|
151
|
-
encodeFunctionData(functionFragment: "
|
|
142
|
+
encodeFunctionData(functionFragment: "finalizeLiquidation", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
143
|
+
encodeFunctionData(functionFragment: "getAdapters", values?: undefined): string;
|
|
144
|
+
encodeFunctionData(functionFragment: "getAssetValue", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
152
145
|
encodeFunctionData(functionFragment: "getEligibleUserDeposits", values: [AddressLike]): string;
|
|
153
|
-
encodeFunctionData(functionFragment: "getNFTPrice", values: [BigNumberish]): string;
|
|
154
146
|
encodeFunctionData(functionFragment: "getNormalizedDebt", values?: undefined): string;
|
|
155
147
|
encodeFunctionData(functionFragment: "getNormalizedIncome", values?: undefined): string;
|
|
156
148
|
encodeFunctionData(functionFragment: "getPendingReward", values: [AddressLike]): string;
|
|
157
|
-
encodeFunctionData(functionFragment: "getPosition", values: [AddressLike,
|
|
158
|
-
encodeFunctionData(functionFragment: "getPositionData", values: [AddressLike,
|
|
159
|
-
encodeFunctionData(functionFragment: "getPositionDebt", values: [AddressLike,
|
|
160
|
-
encodeFunctionData(functionFragment: "getPositionScaledDebt", values: [AddressLike,
|
|
161
|
-
encodeFunctionData(functionFragment: "getPositionView", values: [AddressLike,
|
|
149
|
+
encodeFunctionData(functionFragment: "getPosition", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
150
|
+
encodeFunctionData(functionFragment: "getPositionData", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
151
|
+
encodeFunctionData(functionFragment: "getPositionDebt", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
152
|
+
encodeFunctionData(functionFragment: "getPositionScaledDebt", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
153
|
+
encodeFunctionData(functionFragment: "getPositionView", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
162
154
|
encodeFunctionData(functionFragment: "getPositionsScaledDebt", values: [AddressLike]): string;
|
|
163
155
|
encodeFunctionData(functionFragment: "getPrimeRate", values?: undefined): string;
|
|
164
|
-
encodeFunctionData(functionFragment: "getRAACNFTAddress", values?: undefined): string;
|
|
165
156
|
encodeFunctionData(functionFragment: "getReserveRateData", values?: undefined): string;
|
|
166
157
|
encodeFunctionData(functionFragment: "getReserveState", values?: undefined): string;
|
|
158
|
+
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
167
159
|
encodeFunctionData(functionFragment: "getUnclaimedVaultRewards", values?: undefined): string;
|
|
168
|
-
encodeFunctionData(functionFragment: "getUninsuredBalance", values: [AddressLike,
|
|
160
|
+
encodeFunctionData(functionFragment: "getUninsuredBalance", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
169
161
|
encodeFunctionData(functionFragment: "getUserCollateralValue", values: [AddressLike]): string;
|
|
170
162
|
encodeFunctionData(functionFragment: "getUserDebt", values: [AddressLike]): string;
|
|
171
163
|
encodeFunctionData(functionFragment: "getUserDeposits", values: [AddressLike]): string;
|
|
172
164
|
encodeFunctionData(functionFragment: "getUserDepositsInStabilityPool", values: [AddressLike]): string;
|
|
173
|
-
encodeFunctionData(functionFragment: "
|
|
174
|
-
encodeFunctionData(functionFragment: "
|
|
175
|
-
encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike,
|
|
176
|
-
encodeFunctionData(functionFragment: "
|
|
177
|
-
encodeFunctionData(functionFragment: "liquidationGracePeriod", values?: undefined): string;
|
|
178
|
-
encodeFunctionData(functionFragment: "liquidationThreshold", values?: undefined): string;
|
|
179
|
-
encodeFunctionData(functionFragment: "liquidityBufferRatio", values?: undefined): string;
|
|
165
|
+
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
166
|
+
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
167
|
+
encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
168
|
+
encodeFunctionData(functionFragment: "liquidationProxy", values?: undefined): string;
|
|
180
169
|
encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
170
|
+
encodeFunctionData(functionFragment: "openVaultPosition", values?: undefined): string;
|
|
181
171
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
172
|
+
encodeFunctionData(functionFragment: "parameters", values?: undefined): string;
|
|
182
173
|
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
183
174
|
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
184
|
-
encodeFunctionData(functionFragment: "positions", values: [AddressLike,
|
|
185
|
-
encodeFunctionData(functionFragment: "priceOracle", values?: undefined): string;
|
|
175
|
+
encodeFunctionData(functionFragment: "positions", values: [AddressLike, BytesLike]): string;
|
|
186
176
|
encodeFunctionData(functionFragment: "primeRateOracle", values?: undefined): string;
|
|
187
|
-
encodeFunctionData(functionFragment: "rToken", values?: undefined): string;
|
|
188
|
-
encodeFunctionData(functionFragment: "raacNFT", values?: undefined): string;
|
|
189
177
|
encodeFunctionData(functionFragment: "rateData", values?: undefined): string;
|
|
178
|
+
encodeFunctionData(functionFragment: "registerAdapter", values: [AddressLike]): string;
|
|
190
179
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
191
|
-
encodeFunctionData(functionFragment: "
|
|
192
|
-
encodeFunctionData(functionFragment: "
|
|
180
|
+
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
181
|
+
encodeFunctionData(functionFragment: "repay", values: [AddressLike, BytesLike, BigNumberish]): string;
|
|
182
|
+
encodeFunctionData(functionFragment: "repayOnBehalf", values: [AddressLike, BytesLike, BigNumberish, AddressLike]): string;
|
|
183
|
+
encodeFunctionData(functionFragment: "requestWithdraw", values: [BigNumberish]): string;
|
|
193
184
|
encodeFunctionData(functionFragment: "rescueToken", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
194
185
|
encodeFunctionData(functionFragment: "reserve", values?: undefined): string;
|
|
195
|
-
encodeFunctionData(functionFragment: "
|
|
186
|
+
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
196
187
|
encodeFunctionData(functionFragment: "rewardData", values?: undefined): string;
|
|
197
188
|
encodeFunctionData(functionFragment: "setFeeCollector", values: [AddressLike]): string;
|
|
189
|
+
encodeFunctionData(functionFragment: "setLiquidationProxy", values: [AddressLike]): string;
|
|
198
190
|
encodeFunctionData(functionFragment: "setParameter", values: [BigNumberish, BigNumberish]): string;
|
|
199
191
|
encodeFunctionData(functionFragment: "setPrimeRate", values: [BigNumberish]): string;
|
|
200
192
|
encodeFunctionData(functionFragment: "setPrimeRateOracle", values: [AddressLike]): string;
|
|
@@ -202,37 +194,46 @@ export interface LendingPoolInterface extends Interface {
|
|
|
202
194
|
encodeFunctionData(functionFragment: "setStabilityPool", values: [AddressLike]): string;
|
|
203
195
|
encodeFunctionData(functionFragment: "setVault", values: [AddressLike]): string;
|
|
204
196
|
encodeFunctionData(functionFragment: "stabilityPool", values?: undefined): string;
|
|
197
|
+
encodeFunctionData(functionFragment: "supportedAdapter", values: [AddressLike]): string;
|
|
198
|
+
encodeFunctionData(functionFragment: "supportedAdapters", values: [AddressLike]): string;
|
|
199
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
205
200
|
encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
|
|
206
201
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
207
202
|
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
203
|
+
encodeFunctionData(functionFragment: "unregisterAdapter", values: [AddressLike]): string;
|
|
208
204
|
encodeFunctionData(functionFragment: "updateState", values?: undefined): string;
|
|
209
205
|
encodeFunctionData(functionFragment: "updateUserReward", values: [AddressLike]): string;
|
|
210
206
|
encodeFunctionData(functionFragment: "userData", values: [AddressLike]): string;
|
|
211
207
|
encodeFunctionData(functionFragment: "vault", values?: undefined): string;
|
|
208
|
+
encodeFunctionData(functionFragment: "vaultOpened", values: [AddressLike]): string;
|
|
209
|
+
encodeFunctionData(functionFragment: "vaultProxy", values?: undefined): string;
|
|
212
210
|
encodeFunctionData(functionFragment: "vaultRewards", values?: undefined): string;
|
|
213
211
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
214
|
-
encodeFunctionData(functionFragment: "
|
|
215
|
-
encodeFunctionData(functionFragment: "
|
|
212
|
+
encodeFunctionData(functionFragment: "withdrawAsset", values: [AddressLike, BytesLike]): string;
|
|
213
|
+
encodeFunctionData(functionFragment: "withdrawTimelock", values: [AddressLike]): string;
|
|
216
214
|
decodeFunctionResult(functionFragment: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD", data: BytesLike): Result;
|
|
217
215
|
decodeFunctionResult(functionFragment: "BASE_LIQUIDATION_GRACE_PERIOD", data: BytesLike): Result;
|
|
218
216
|
decodeFunctionResult(functionFragment: "BASE_LIQUIDATION_THRESHOLD", data: BytesLike): Result;
|
|
217
|
+
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
218
|
+
decodeFunctionResult(functionFragment: "GOVERNANCE_ROLE", data: BytesLike): Result;
|
|
219
|
+
decodeFunctionResult(functionFragment: "PROTOCOL_ROLE", data: BytesLike): Result;
|
|
220
|
+
decodeFunctionResult(functionFragment: "adapters", data: BytesLike): Result;
|
|
219
221
|
decodeFunctionResult(functionFragment: "borrow", data: BytesLike): Result;
|
|
220
222
|
decodeFunctionResult(functionFragment: "borrowWithInsurance", data: BytesLike): Result;
|
|
221
223
|
decodeFunctionResult(functionFragment: "calculateHealthFactor", data: BytesLike): Result;
|
|
222
224
|
decodeFunctionResult(functionFragment: "calculateInsuranceFee", data: BytesLike): Result;
|
|
223
|
-
decodeFunctionResult(functionFragment: "canPaybackDebt", data: BytesLike): Result;
|
|
224
225
|
decodeFunctionResult(functionFragment: "claimCollectorRewards", data: BytesLike): Result;
|
|
225
226
|
decodeFunctionResult(functionFragment: "claimReward", data: BytesLike): Result;
|
|
226
227
|
decodeFunctionResult(functionFragment: "closeLiquidation", data: BytesLike): Result;
|
|
227
|
-
decodeFunctionResult(functionFragment: "
|
|
228
|
+
decodeFunctionResult(functionFragment: "complianceRegistry", data: BytesLike): Result;
|
|
228
229
|
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
229
|
-
decodeFunctionResult(functionFragment: "
|
|
230
|
+
decodeFunctionResult(functionFragment: "depositAsset", data: BytesLike): Result;
|
|
230
231
|
decodeFunctionResult(functionFragment: "depositRewardTokens", data: BytesLike): Result;
|
|
231
232
|
decodeFunctionResult(functionFragment: "feeCollector", data: BytesLike): Result;
|
|
232
233
|
decodeFunctionResult(functionFragment: "finalizeLiquidation", data: BytesLike): Result;
|
|
233
|
-
decodeFunctionResult(functionFragment: "
|
|
234
|
+
decodeFunctionResult(functionFragment: "getAdapters", data: BytesLike): Result;
|
|
235
|
+
decodeFunctionResult(functionFragment: "getAssetValue", data: BytesLike): Result;
|
|
234
236
|
decodeFunctionResult(functionFragment: "getEligibleUserDeposits", data: BytesLike): Result;
|
|
235
|
-
decodeFunctionResult(functionFragment: "getNFTPrice", data: BytesLike): Result;
|
|
236
237
|
decodeFunctionResult(functionFragment: "getNormalizedDebt", data: BytesLike): Result;
|
|
237
238
|
decodeFunctionResult(functionFragment: "getNormalizedIncome", data: BytesLike): Result;
|
|
238
239
|
decodeFunctionResult(functionFragment: "getPendingReward", data: BytesLike): Result;
|
|
@@ -243,40 +244,40 @@ export interface LendingPoolInterface extends Interface {
|
|
|
243
244
|
decodeFunctionResult(functionFragment: "getPositionView", data: BytesLike): Result;
|
|
244
245
|
decodeFunctionResult(functionFragment: "getPositionsScaledDebt", data: BytesLike): Result;
|
|
245
246
|
decodeFunctionResult(functionFragment: "getPrimeRate", data: BytesLike): Result;
|
|
246
|
-
decodeFunctionResult(functionFragment: "getRAACNFTAddress", data: BytesLike): Result;
|
|
247
247
|
decodeFunctionResult(functionFragment: "getReserveRateData", data: BytesLike): Result;
|
|
248
248
|
decodeFunctionResult(functionFragment: "getReserveState", data: BytesLike): Result;
|
|
249
|
+
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
249
250
|
decodeFunctionResult(functionFragment: "getUnclaimedVaultRewards", data: BytesLike): Result;
|
|
250
251
|
decodeFunctionResult(functionFragment: "getUninsuredBalance", data: BytesLike): Result;
|
|
251
252
|
decodeFunctionResult(functionFragment: "getUserCollateralValue", data: BytesLike): Result;
|
|
252
253
|
decodeFunctionResult(functionFragment: "getUserDebt", data: BytesLike): Result;
|
|
253
254
|
decodeFunctionResult(functionFragment: "getUserDeposits", data: BytesLike): Result;
|
|
254
255
|
decodeFunctionResult(functionFragment: "getUserDepositsInStabilityPool", data: BytesLike): Result;
|
|
255
|
-
decodeFunctionResult(functionFragment: "
|
|
256
|
-
decodeFunctionResult(functionFragment: "
|
|
256
|
+
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
257
|
+
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
257
258
|
decodeFunctionResult(functionFragment: "initiateLiquidation", data: BytesLike): Result;
|
|
258
|
-
decodeFunctionResult(functionFragment: "
|
|
259
|
-
decodeFunctionResult(functionFragment: "liquidationGracePeriod", data: BytesLike): Result;
|
|
260
|
-
decodeFunctionResult(functionFragment: "liquidationThreshold", data: BytesLike): Result;
|
|
261
|
-
decodeFunctionResult(functionFragment: "liquidityBufferRatio", data: BytesLike): Result;
|
|
259
|
+
decodeFunctionResult(functionFragment: "liquidationProxy", data: BytesLike): Result;
|
|
262
260
|
decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
|
|
261
|
+
decodeFunctionResult(functionFragment: "openVaultPosition", data: BytesLike): Result;
|
|
263
262
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
263
|
+
decodeFunctionResult(functionFragment: "parameters", data: BytesLike): Result;
|
|
264
264
|
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
265
265
|
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
266
266
|
decodeFunctionResult(functionFragment: "positions", data: BytesLike): Result;
|
|
267
|
-
decodeFunctionResult(functionFragment: "priceOracle", data: BytesLike): Result;
|
|
268
267
|
decodeFunctionResult(functionFragment: "primeRateOracle", data: BytesLike): Result;
|
|
269
|
-
decodeFunctionResult(functionFragment: "rToken", data: BytesLike): Result;
|
|
270
|
-
decodeFunctionResult(functionFragment: "raacNFT", data: BytesLike): Result;
|
|
271
268
|
decodeFunctionResult(functionFragment: "rateData", data: BytesLike): Result;
|
|
269
|
+
decodeFunctionResult(functionFragment: "registerAdapter", data: BytesLike): Result;
|
|
272
270
|
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
271
|
+
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
273
272
|
decodeFunctionResult(functionFragment: "repay", data: BytesLike): Result;
|
|
274
273
|
decodeFunctionResult(functionFragment: "repayOnBehalf", data: BytesLike): Result;
|
|
274
|
+
decodeFunctionResult(functionFragment: "requestWithdraw", data: BytesLike): Result;
|
|
275
275
|
decodeFunctionResult(functionFragment: "rescueToken", data: BytesLike): Result;
|
|
276
276
|
decodeFunctionResult(functionFragment: "reserve", data: BytesLike): Result;
|
|
277
|
-
decodeFunctionResult(functionFragment: "
|
|
277
|
+
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
278
278
|
decodeFunctionResult(functionFragment: "rewardData", data: BytesLike): Result;
|
|
279
279
|
decodeFunctionResult(functionFragment: "setFeeCollector", data: BytesLike): Result;
|
|
280
|
+
decodeFunctionResult(functionFragment: "setLiquidationProxy", data: BytesLike): Result;
|
|
280
281
|
decodeFunctionResult(functionFragment: "setParameter", data: BytesLike): Result;
|
|
281
282
|
decodeFunctionResult(functionFragment: "setPrimeRate", data: BytesLike): Result;
|
|
282
283
|
decodeFunctionResult(functionFragment: "setPrimeRateOracle", data: BytesLike): Result;
|
|
@@ -284,17 +285,45 @@ export interface LendingPoolInterface extends Interface {
|
|
|
284
285
|
decodeFunctionResult(functionFragment: "setStabilityPool", data: BytesLike): Result;
|
|
285
286
|
decodeFunctionResult(functionFragment: "setVault", data: BytesLike): Result;
|
|
286
287
|
decodeFunctionResult(functionFragment: "stabilityPool", data: BytesLike): Result;
|
|
288
|
+
decodeFunctionResult(functionFragment: "supportedAdapter", data: BytesLike): Result;
|
|
289
|
+
decodeFunctionResult(functionFragment: "supportedAdapters", data: BytesLike): Result;
|
|
290
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
287
291
|
decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
|
|
288
292
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
289
293
|
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
294
|
+
decodeFunctionResult(functionFragment: "unregisterAdapter", data: BytesLike): Result;
|
|
290
295
|
decodeFunctionResult(functionFragment: "updateState", data: BytesLike): Result;
|
|
291
296
|
decodeFunctionResult(functionFragment: "updateUserReward", data: BytesLike): Result;
|
|
292
297
|
decodeFunctionResult(functionFragment: "userData", data: BytesLike): Result;
|
|
293
298
|
decodeFunctionResult(functionFragment: "vault", data: BytesLike): Result;
|
|
299
|
+
decodeFunctionResult(functionFragment: "vaultOpened", data: BytesLike): Result;
|
|
300
|
+
decodeFunctionResult(functionFragment: "vaultProxy", data: BytesLike): Result;
|
|
294
301
|
decodeFunctionResult(functionFragment: "vaultRewards", data: BytesLike): Result;
|
|
295
302
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
296
|
-
decodeFunctionResult(functionFragment: "
|
|
297
|
-
decodeFunctionResult(functionFragment: "
|
|
303
|
+
decodeFunctionResult(functionFragment: "withdrawAsset", data: BytesLike): Result;
|
|
304
|
+
decodeFunctionResult(functionFragment: "withdrawTimelock", data: BytesLike): Result;
|
|
305
|
+
}
|
|
306
|
+
export declare namespace AdapterRegisteredEvent {
|
|
307
|
+
type InputTuple = [adapter: AddressLike];
|
|
308
|
+
type OutputTuple = [adapter: string];
|
|
309
|
+
interface OutputObject {
|
|
310
|
+
adapter: string;
|
|
311
|
+
}
|
|
312
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
313
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
314
|
+
type Log = TypedEventLog<Event>;
|
|
315
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
316
|
+
}
|
|
317
|
+
export declare namespace AdapterRemovedEvent {
|
|
318
|
+
type InputTuple = [adapter: AddressLike];
|
|
319
|
+
type OutputTuple = [adapter: string];
|
|
320
|
+
interface OutputObject {
|
|
321
|
+
adapter: string;
|
|
322
|
+
}
|
|
323
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
324
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
325
|
+
type Log = TypedEventLog<Event>;
|
|
326
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
298
327
|
}
|
|
299
328
|
export declare namespace BorrowEvent {
|
|
300
329
|
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
@@ -308,6 +337,18 @@ export declare namespace BorrowEvent {
|
|
|
308
337
|
type Log = TypedEventLog<Event>;
|
|
309
338
|
type LogDescription = TypedLogDescription<Event>;
|
|
310
339
|
}
|
|
340
|
+
export declare namespace BorrowCapUpdatedEvent {
|
|
341
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
342
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
343
|
+
interface OutputObject {
|
|
344
|
+
oldalue: bigint;
|
|
345
|
+
newValue: bigint;
|
|
346
|
+
}
|
|
347
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
348
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
349
|
+
type Log = TypedEventLog<Event>;
|
|
350
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
351
|
+
}
|
|
311
352
|
export declare namespace CanPaybackDebtChangedEvent {
|
|
312
353
|
type InputTuple = [enabled: boolean];
|
|
313
354
|
type OutputTuple = [enabled: boolean];
|
|
@@ -361,6 +402,21 @@ export declare namespace Deposit_address_uint256_uint256_Event {
|
|
|
361
402
|
type Log = TypedEventLog<Event>;
|
|
362
403
|
type LogDescription = TypedLogDescription<Event>;
|
|
363
404
|
}
|
|
405
|
+
export declare namespace DepositFeeUpdatedEvent {
|
|
406
|
+
type InputTuple = [
|
|
407
|
+
oldDepositFee: BigNumberish,
|
|
408
|
+
newDepositFee: BigNumberish
|
|
409
|
+
];
|
|
410
|
+
type OutputTuple = [oldDepositFee: bigint, newDepositFee: bigint];
|
|
411
|
+
interface OutputObject {
|
|
412
|
+
oldDepositFee: bigint;
|
|
413
|
+
newDepositFee: bigint;
|
|
414
|
+
}
|
|
415
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
416
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
417
|
+
type Log = TypedEventLog<Event>;
|
|
418
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
419
|
+
}
|
|
364
420
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
365
421
|
type InputTuple = [
|
|
366
422
|
oldFeeCollector: AddressLike,
|
|
@@ -401,11 +457,23 @@ export declare namespace InsuranceFeeUpdatedEvent {
|
|
|
401
457
|
type Log = TypedEventLog<Event>;
|
|
402
458
|
type LogDescription = TypedLogDescription<Event>;
|
|
403
459
|
}
|
|
404
|
-
export declare namespace
|
|
405
|
-
type InputTuple = [
|
|
406
|
-
|
|
460
|
+
export declare namespace InsuredAssetEvent {
|
|
461
|
+
type InputTuple = [
|
|
462
|
+
asset: AddressLike,
|
|
463
|
+
user: AddressLike,
|
|
464
|
+
data: BytesLike,
|
|
465
|
+
amount: BigNumberish
|
|
466
|
+
];
|
|
467
|
+
type OutputTuple = [
|
|
468
|
+
asset: string,
|
|
469
|
+
user: string,
|
|
470
|
+
data: string,
|
|
471
|
+
amount: bigint
|
|
472
|
+
];
|
|
407
473
|
interface OutputObject {
|
|
408
|
-
|
|
474
|
+
asset: string;
|
|
475
|
+
user: string;
|
|
476
|
+
data: string;
|
|
409
477
|
amount: bigint;
|
|
410
478
|
}
|
|
411
479
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -453,11 +521,16 @@ export declare namespace LiquidationEvent {
|
|
|
453
521
|
type LogDescription = TypedLogDescription<Event>;
|
|
454
522
|
}
|
|
455
523
|
export declare namespace LiquidationClosedEvent {
|
|
456
|
-
type InputTuple = [
|
|
457
|
-
|
|
524
|
+
type InputTuple = [
|
|
525
|
+
user: AddressLike,
|
|
526
|
+
adapter: AddressLike,
|
|
527
|
+
data: BytesLike
|
|
528
|
+
];
|
|
529
|
+
type OutputTuple = [user: string, adapter: string, data: string];
|
|
458
530
|
interface OutputObject {
|
|
459
531
|
user: string;
|
|
460
|
-
|
|
532
|
+
adapter: string;
|
|
533
|
+
data: string;
|
|
461
534
|
}
|
|
462
535
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
463
536
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -468,21 +541,24 @@ export declare namespace LiquidationFinalizedEvent {
|
|
|
468
541
|
type InputTuple = [
|
|
469
542
|
liquidator: AddressLike,
|
|
470
543
|
user: AddressLike,
|
|
471
|
-
|
|
544
|
+
adapter: AddressLike,
|
|
545
|
+
data: BytesLike,
|
|
472
546
|
debtRepaid: BigNumberish,
|
|
473
547
|
collateralLiquidated: BigNumberish
|
|
474
548
|
];
|
|
475
549
|
type OutputTuple = [
|
|
476
550
|
liquidator: string,
|
|
477
551
|
user: string,
|
|
478
|
-
|
|
552
|
+
adapter: string,
|
|
553
|
+
data: string,
|
|
479
554
|
debtRepaid: bigint,
|
|
480
555
|
collateralLiquidated: bigint
|
|
481
556
|
];
|
|
482
557
|
interface OutputObject {
|
|
483
558
|
liquidator: string;
|
|
484
559
|
user: string;
|
|
485
|
-
|
|
560
|
+
adapter: string;
|
|
561
|
+
data: string;
|
|
486
562
|
debtRepaid: bigint;
|
|
487
563
|
collateralLiquidated: bigint;
|
|
488
564
|
}
|
|
@@ -495,13 +571,20 @@ export declare namespace LiquidationInitiatedEvent {
|
|
|
495
571
|
type InputTuple = [
|
|
496
572
|
liquidator: AddressLike,
|
|
497
573
|
user: AddressLike,
|
|
498
|
-
|
|
574
|
+
adapter: AddressLike,
|
|
575
|
+
data: BytesLike
|
|
576
|
+
];
|
|
577
|
+
type OutputTuple = [
|
|
578
|
+
liquidator: string,
|
|
579
|
+
user: string,
|
|
580
|
+
adapter: string,
|
|
581
|
+
data: string
|
|
499
582
|
];
|
|
500
|
-
type OutputTuple = [liquidator: string, user: string, tokenId: bigint];
|
|
501
583
|
interface OutputObject {
|
|
502
584
|
liquidator: string;
|
|
503
585
|
user: string;
|
|
504
|
-
|
|
586
|
+
adapter: string;
|
|
587
|
+
data: string;
|
|
505
588
|
}
|
|
506
589
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
507
590
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -529,6 +612,24 @@ export declare namespace LiquidationParametersUpdatedEvent {
|
|
|
529
612
|
type Log = TypedEventLog<Event>;
|
|
530
613
|
type LogDescription = TypedLogDescription<Event>;
|
|
531
614
|
}
|
|
615
|
+
export declare namespace LiquidationProxyUpdatedEvent {
|
|
616
|
+
type InputTuple = [
|
|
617
|
+
oldLiquidationProxy: AddressLike,
|
|
618
|
+
newLiquidationProxy: AddressLike
|
|
619
|
+
];
|
|
620
|
+
type OutputTuple = [
|
|
621
|
+
oldLiquidationProxy: string,
|
|
622
|
+
newLiquidationProxy: string
|
|
623
|
+
];
|
|
624
|
+
interface OutputObject {
|
|
625
|
+
oldLiquidationProxy: string;
|
|
626
|
+
newLiquidationProxy: string;
|
|
627
|
+
}
|
|
628
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
629
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
630
|
+
type Log = TypedEventLog<Event>;
|
|
631
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
632
|
+
}
|
|
532
633
|
export declare namespace LiquidityBufferRatioUpdatedEvent {
|
|
533
634
|
type InputTuple = [oldRatio: BigNumberish, newRatio: BigNumberish];
|
|
534
635
|
type OutputTuple = [oldRatio: bigint, newRatio: bigint];
|
|
@@ -602,6 +703,27 @@ export declare namespace OwnershipTransferredEvent {
|
|
|
602
703
|
type Log = TypedEventLog<Event>;
|
|
603
704
|
type LogDescription = TypedLogDescription<Event>;
|
|
604
705
|
}
|
|
706
|
+
export declare namespace ParameterChangedEvent {
|
|
707
|
+
type InputTuple = [
|
|
708
|
+
parameter: BigNumberish,
|
|
709
|
+
oldalue: BigNumberish,
|
|
710
|
+
newValue: BigNumberish
|
|
711
|
+
];
|
|
712
|
+
type OutputTuple = [
|
|
713
|
+
parameter: bigint,
|
|
714
|
+
oldalue: bigint,
|
|
715
|
+
newValue: bigint
|
|
716
|
+
];
|
|
717
|
+
interface OutputObject {
|
|
718
|
+
parameter: bigint;
|
|
719
|
+
oldalue: bigint;
|
|
720
|
+
newValue: bigint;
|
|
721
|
+
}
|
|
722
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
723
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
724
|
+
type Log = TypedEventLog<Event>;
|
|
725
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
726
|
+
}
|
|
605
727
|
export declare namespace PausedEvent {
|
|
606
728
|
type InputTuple = [account: AddressLike];
|
|
607
729
|
type OutputTuple = [account: string];
|
|
@@ -785,6 +907,61 @@ export declare namespace RewardTokensDepositedEvent {
|
|
|
785
907
|
type Log = TypedEventLog<Event>;
|
|
786
908
|
type LogDescription = TypedLogDescription<Event>;
|
|
787
909
|
}
|
|
910
|
+
export declare namespace RoleAdminChangedEvent {
|
|
911
|
+
type InputTuple = [
|
|
912
|
+
role: BytesLike,
|
|
913
|
+
previousAdminRole: BytesLike,
|
|
914
|
+
newAdminRole: BytesLike
|
|
915
|
+
];
|
|
916
|
+
type OutputTuple = [
|
|
917
|
+
role: string,
|
|
918
|
+
previousAdminRole: string,
|
|
919
|
+
newAdminRole: string
|
|
920
|
+
];
|
|
921
|
+
interface OutputObject {
|
|
922
|
+
role: string;
|
|
923
|
+
previousAdminRole: string;
|
|
924
|
+
newAdminRole: string;
|
|
925
|
+
}
|
|
926
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
927
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
928
|
+
type Log = TypedEventLog<Event>;
|
|
929
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
930
|
+
}
|
|
931
|
+
export declare namespace RoleGrantedEvent {
|
|
932
|
+
type InputTuple = [
|
|
933
|
+
role: BytesLike,
|
|
934
|
+
account: AddressLike,
|
|
935
|
+
sender: AddressLike
|
|
936
|
+
];
|
|
937
|
+
type OutputTuple = [role: string, account: string, sender: string];
|
|
938
|
+
interface OutputObject {
|
|
939
|
+
role: string;
|
|
940
|
+
account: string;
|
|
941
|
+
sender: string;
|
|
942
|
+
}
|
|
943
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
944
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
945
|
+
type Log = TypedEventLog<Event>;
|
|
946
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
947
|
+
}
|
|
948
|
+
export declare namespace RoleRevokedEvent {
|
|
949
|
+
type InputTuple = [
|
|
950
|
+
role: BytesLike,
|
|
951
|
+
account: AddressLike,
|
|
952
|
+
sender: AddressLike
|
|
953
|
+
];
|
|
954
|
+
type OutputTuple = [role: string, account: string, sender: string];
|
|
955
|
+
interface OutputObject {
|
|
956
|
+
role: string;
|
|
957
|
+
account: string;
|
|
958
|
+
sender: string;
|
|
959
|
+
}
|
|
960
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
961
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
962
|
+
type Log = TypedEventLog<Event>;
|
|
963
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
964
|
+
}
|
|
788
965
|
export declare namespace StabilityPoolUpdatedEvent {
|
|
789
966
|
type InputTuple = [
|
|
790
967
|
oldStabilityPool: AddressLike,
|
|
@@ -803,6 +980,18 @@ export declare namespace StabilityPoolUpdatedEvent {
|
|
|
803
980
|
type Log = TypedEventLog<Event>;
|
|
804
981
|
type LogDescription = TypedLogDescription<Event>;
|
|
805
982
|
}
|
|
983
|
+
export declare namespace SupplyCapUpdatedEvent {
|
|
984
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
985
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
986
|
+
interface OutputObject {
|
|
987
|
+
oldalue: bigint;
|
|
988
|
+
newValue: bigint;
|
|
989
|
+
}
|
|
990
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
991
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
992
|
+
type Log = TypedEventLog<Event>;
|
|
993
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
994
|
+
}
|
|
806
995
|
export declare namespace UnpausedEvent {
|
|
807
996
|
type InputTuple = [account: AddressLike];
|
|
808
997
|
type OutputTuple = [account: string];
|
|
@@ -814,6 +1003,30 @@ export declare namespace UnpausedEvent {
|
|
|
814
1003
|
type Log = TypedEventLog<Event>;
|
|
815
1004
|
type LogDescription = TypedLogDescription<Event>;
|
|
816
1005
|
}
|
|
1006
|
+
export declare namespace VaultOpeningFeePaidEvent {
|
|
1007
|
+
type InputTuple = [user: AddressLike, fee: BigNumberish];
|
|
1008
|
+
type OutputTuple = [user: string, fee: bigint];
|
|
1009
|
+
interface OutputObject {
|
|
1010
|
+
user: string;
|
|
1011
|
+
fee: bigint;
|
|
1012
|
+
}
|
|
1013
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1014
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1015
|
+
type Log = TypedEventLog<Event>;
|
|
1016
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1017
|
+
}
|
|
1018
|
+
export declare namespace VaultOpeningFeeUpdatedEvent {
|
|
1019
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
1020
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
1021
|
+
interface OutputObject {
|
|
1022
|
+
oldalue: bigint;
|
|
1023
|
+
newValue: bigint;
|
|
1024
|
+
}
|
|
1025
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1026
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1027
|
+
type Log = TypedEventLog<Event>;
|
|
1028
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1029
|
+
}
|
|
817
1030
|
export declare namespace VaultRewardsClaimedEvent {
|
|
818
1031
|
type InputTuple = [amount: BigNumberish];
|
|
819
1032
|
type OutputTuple = [amount: bigint];
|
|
@@ -881,6 +1094,64 @@ export declare namespace Withdraw_address_uint256_uint256_Event {
|
|
|
881
1094
|
type Log = TypedEventLog<Event>;
|
|
882
1095
|
type LogDescription = TypedLogDescription<Event>;
|
|
883
1096
|
}
|
|
1097
|
+
export declare namespace WithdrawCancelledEvent {
|
|
1098
|
+
type InputTuple = [user: AddressLike];
|
|
1099
|
+
type OutputTuple = [user: string];
|
|
1100
|
+
interface OutputObject {
|
|
1101
|
+
user: string;
|
|
1102
|
+
}
|
|
1103
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1104
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1105
|
+
type Log = TypedEventLog<Event>;
|
|
1106
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1107
|
+
}
|
|
1108
|
+
export declare namespace WithdrawFeeUpdatedEvent {
|
|
1109
|
+
type InputTuple = [
|
|
1110
|
+
oldWithdrawalFee: BigNumberish,
|
|
1111
|
+
newWithdrawalFee: BigNumberish
|
|
1112
|
+
];
|
|
1113
|
+
type OutputTuple = [
|
|
1114
|
+
oldWithdrawalFee: bigint,
|
|
1115
|
+
newWithdrawalFee: bigint
|
|
1116
|
+
];
|
|
1117
|
+
interface OutputObject {
|
|
1118
|
+
oldWithdrawalFee: bigint;
|
|
1119
|
+
newWithdrawalFee: bigint;
|
|
1120
|
+
}
|
|
1121
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1122
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1123
|
+
type Log = TypedEventLog<Event>;
|
|
1124
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1125
|
+
}
|
|
1126
|
+
export declare namespace WithdrawQueuedEvent {
|
|
1127
|
+
type InputTuple = [
|
|
1128
|
+
user: AddressLike,
|
|
1129
|
+
amount: BigNumberish,
|
|
1130
|
+
readyAt: BigNumberish
|
|
1131
|
+
];
|
|
1132
|
+
type OutputTuple = [user: string, amount: bigint, readyAt: bigint];
|
|
1133
|
+
interface OutputObject {
|
|
1134
|
+
user: string;
|
|
1135
|
+
amount: bigint;
|
|
1136
|
+
readyAt: bigint;
|
|
1137
|
+
}
|
|
1138
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1139
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1140
|
+
type Log = TypedEventLog<Event>;
|
|
1141
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1142
|
+
}
|
|
1143
|
+
export declare namespace WithdrawTimelockDurationUpdatedEvent {
|
|
1144
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
1145
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
1146
|
+
interface OutputObject {
|
|
1147
|
+
oldValue: bigint;
|
|
1148
|
+
newValue: bigint;
|
|
1149
|
+
}
|
|
1150
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1151
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1152
|
+
type Log = TypedEventLog<Event>;
|
|
1153
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1154
|
+
}
|
|
884
1155
|
export declare namespace WithdrawalsPauseStatusChangedEvent {
|
|
885
1156
|
type InputTuple = [isPaused: boolean];
|
|
886
1157
|
type OutputTuple = [isPaused: boolean];
|
|
@@ -911,43 +1182,52 @@ export interface LendingPool extends BaseContract {
|
|
|
911
1182
|
], "view">;
|
|
912
1183
|
BASE_LIQUIDATION_GRACE_PERIOD: TypedContractMethod<[], [bigint], "view">;
|
|
913
1184
|
BASE_LIQUIDATION_THRESHOLD: TypedContractMethod<[], [bigint], "view">;
|
|
1185
|
+
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
1186
|
+
GOVERNANCE_ROLE: TypedContractMethod<[], [string], "view">;
|
|
1187
|
+
PROTOCOL_ROLE: TypedContractMethod<[], [string], "view">;
|
|
1188
|
+
adapters: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
914
1189
|
borrow: TypedContractMethod<[
|
|
915
|
-
|
|
1190
|
+
adapter: AddressLike,
|
|
1191
|
+
data: BytesLike,
|
|
916
1192
|
amount: BigNumberish
|
|
917
1193
|
], [
|
|
918
1194
|
void
|
|
919
1195
|
], "nonpayable">;
|
|
920
1196
|
borrowWithInsurance: TypedContractMethod<[
|
|
921
|
-
|
|
1197
|
+
adapter: AddressLike,
|
|
1198
|
+
data: BytesLike,
|
|
922
1199
|
amount: BigNumberish
|
|
923
1200
|
], [
|
|
924
1201
|
void
|
|
925
1202
|
], "nonpayable">;
|
|
926
1203
|
calculateHealthFactor: TypedContractMethod<[
|
|
927
|
-
|
|
928
|
-
|
|
1204
|
+
adapter: AddressLike,
|
|
1205
|
+
user: AddressLike,
|
|
1206
|
+
data: BytesLike
|
|
929
1207
|
], [
|
|
930
1208
|
bigint
|
|
931
1209
|
], "view">;
|
|
932
1210
|
calculateInsuranceFee: TypedContractMethod<[
|
|
1211
|
+
adapter: AddressLike,
|
|
933
1212
|
user: AddressLike,
|
|
934
|
-
|
|
1213
|
+
data: BytesLike,
|
|
935
1214
|
amount: BigNumberish
|
|
936
1215
|
], [
|
|
937
1216
|
bigint
|
|
938
1217
|
], "view">;
|
|
939
|
-
canPaybackDebt: TypedContractMethod<[], [boolean], "view">;
|
|
940
1218
|
claimCollectorRewards: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
941
1219
|
claimReward: TypedContractMethod<[], [boolean], "nonpayable">;
|
|
942
1220
|
closeLiquidation: TypedContractMethod<[
|
|
943
|
-
|
|
1221
|
+
adapter: AddressLike,
|
|
1222
|
+
data: BytesLike
|
|
944
1223
|
], [
|
|
945
1224
|
void
|
|
946
1225
|
], "nonpayable">;
|
|
947
|
-
|
|
1226
|
+
complianceRegistry: TypedContractMethod<[], [string], "view">;
|
|
948
1227
|
deposit: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
949
|
-
|
|
950
|
-
|
|
1228
|
+
depositAsset: TypedContractMethod<[
|
|
1229
|
+
adapter: AddressLike,
|
|
1230
|
+
data: BytesLike
|
|
951
1231
|
], [
|
|
952
1232
|
void
|
|
953
1233
|
], "nonpayable">;
|
|
@@ -958,62 +1238,69 @@ export interface LendingPool extends BaseContract {
|
|
|
958
1238
|
], "nonpayable">;
|
|
959
1239
|
feeCollector: TypedContractMethod<[], [string], "view">;
|
|
960
1240
|
finalizeLiquidation: TypedContractMethod<[
|
|
961
|
-
|
|
962
|
-
|
|
1241
|
+
adapter: AddressLike,
|
|
1242
|
+
user: AddressLike,
|
|
1243
|
+
data: BytesLike
|
|
963
1244
|
], [
|
|
964
1245
|
void
|
|
965
1246
|
], "nonpayable">;
|
|
966
|
-
|
|
967
|
-
|
|
1247
|
+
getAdapters: TypedContractMethod<[], [string[]], "view">;
|
|
1248
|
+
getAssetValue: TypedContractMethod<[
|
|
1249
|
+
adapter: AddressLike,
|
|
1250
|
+
user: AddressLike,
|
|
1251
|
+
data: BytesLike
|
|
968
1252
|
], [
|
|
969
|
-
|
|
1253
|
+
bigint
|
|
970
1254
|
], "view">;
|
|
971
1255
|
getEligibleUserDeposits: TypedContractMethod<[
|
|
972
1256
|
user: AddressLike
|
|
973
1257
|
], [
|
|
974
1258
|
bigint
|
|
975
1259
|
], "view">;
|
|
976
|
-
getNFTPrice: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
977
1260
|
getNormalizedDebt: TypedContractMethod<[], [bigint], "view">;
|
|
978
1261
|
getNormalizedIncome: TypedContractMethod<[], [bigint], "view">;
|
|
979
1262
|
getPendingReward: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
980
1263
|
getPosition: TypedContractMethod<[
|
|
1264
|
+
adapter: AddressLike,
|
|
981
1265
|
user: AddressLike,
|
|
982
|
-
|
|
1266
|
+
data: BytesLike
|
|
983
1267
|
], [
|
|
984
|
-
|
|
1268
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
985
1269
|
], "view">;
|
|
986
1270
|
getPositionData: TypedContractMethod<[
|
|
1271
|
+
adapter: AddressLike,
|
|
987
1272
|
user: AddressLike,
|
|
988
|
-
|
|
1273
|
+
data: BytesLike
|
|
989
1274
|
], [
|
|
990
1275
|
[bigint, bigint]
|
|
991
1276
|
], "view">;
|
|
992
1277
|
getPositionDebt: TypedContractMethod<[
|
|
993
|
-
|
|
994
|
-
|
|
1278
|
+
adapter: AddressLike,
|
|
1279
|
+
user: AddressLike,
|
|
1280
|
+
data: BytesLike
|
|
995
1281
|
], [
|
|
996
1282
|
bigint
|
|
997
1283
|
], "view">;
|
|
998
1284
|
getPositionScaledDebt: TypedContractMethod<[
|
|
999
|
-
|
|
1000
|
-
|
|
1285
|
+
adapter: AddressLike,
|
|
1286
|
+
user: AddressLike,
|
|
1287
|
+
data: BytesLike
|
|
1001
1288
|
], [
|
|
1002
1289
|
bigint
|
|
1003
1290
|
], "view">;
|
|
1004
1291
|
getPositionView: TypedContractMethod<[
|
|
1292
|
+
adapter: AddressLike,
|
|
1005
1293
|
user: AddressLike,
|
|
1006
|
-
|
|
1294
|
+
data: BytesLike
|
|
1007
1295
|
], [
|
|
1008
|
-
|
|
1296
|
+
ILendingPoolStorage.CollateralPositionViewStructOutput
|
|
1009
1297
|
], "view">;
|
|
1010
1298
|
getPositionsScaledDebt: TypedContractMethod<[
|
|
1011
|
-
|
|
1299
|
+
user: AddressLike
|
|
1012
1300
|
], [
|
|
1013
1301
|
bigint
|
|
1014
1302
|
], "view">;
|
|
1015
1303
|
getPrimeRate: TypedContractMethod<[], [bigint], "view">;
|
|
1016
|
-
getRAACNFTAddress: TypedContractMethod<[], [string], "view">;
|
|
1017
1304
|
getReserveRateData: TypedContractMethod<[
|
|
1018
1305
|
], [
|
|
1019
1306
|
ReserveLibrary.ReserveRateDataStructOutput
|
|
@@ -1022,45 +1309,47 @@ export interface LendingPool extends BaseContract {
|
|
|
1022
1309
|
], [
|
|
1023
1310
|
ReserveLibrary.ReserveDataStructOutput
|
|
1024
1311
|
], "view">;
|
|
1312
|
+
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
1025
1313
|
getUnclaimedVaultRewards: TypedContractMethod<[], [bigint], "view">;
|
|
1026
1314
|
getUninsuredBalance: TypedContractMethod<[
|
|
1315
|
+
adapter: AddressLike,
|
|
1027
1316
|
user: AddressLike,
|
|
1028
|
-
|
|
1317
|
+
data: BytesLike
|
|
1029
1318
|
], [
|
|
1030
1319
|
bigint
|
|
1031
1320
|
], "view">;
|
|
1032
1321
|
getUserCollateralValue: TypedContractMethod<[
|
|
1033
|
-
|
|
1034
|
-
], [
|
|
1035
|
-
bigint
|
|
1036
|
-
], "view">;
|
|
1037
|
-
getUserDebt: TypedContractMethod<[
|
|
1038
|
-
userAddress: AddressLike
|
|
1322
|
+
user: AddressLike
|
|
1039
1323
|
], [
|
|
1040
1324
|
bigint
|
|
1041
1325
|
], "view">;
|
|
1326
|
+
getUserDebt: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1042
1327
|
getUserDeposits: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1043
1328
|
getUserDepositsInStabilityPool: TypedContractMethod<[
|
|
1044
1329
|
user: AddressLike
|
|
1045
1330
|
], [
|
|
1046
1331
|
bigint
|
|
1047
1332
|
], "view">;
|
|
1048
|
-
|
|
1049
|
-
|
|
1333
|
+
grantRole: TypedContractMethod<[
|
|
1334
|
+
role: BytesLike,
|
|
1335
|
+
account: AddressLike
|
|
1050
1336
|
], [
|
|
1051
|
-
|
|
1337
|
+
void
|
|
1338
|
+
], "nonpayable">;
|
|
1339
|
+
hasRole: TypedContractMethod<[
|
|
1340
|
+
role: BytesLike,
|
|
1341
|
+
account: AddressLike
|
|
1342
|
+
], [
|
|
1343
|
+
boolean
|
|
1052
1344
|
], "view">;
|
|
1053
|
-
healthFactorLiquidationThreshold: TypedContractMethod<[], [bigint], "view">;
|
|
1054
1345
|
initiateLiquidation: TypedContractMethod<[
|
|
1055
|
-
|
|
1056
|
-
|
|
1346
|
+
adapter: AddressLike,
|
|
1347
|
+
user: AddressLike,
|
|
1348
|
+
data: BytesLike
|
|
1057
1349
|
], [
|
|
1058
1350
|
void
|
|
1059
1351
|
], "nonpayable">;
|
|
1060
|
-
|
|
1061
|
-
liquidationGracePeriod: TypedContractMethod<[], [bigint], "view">;
|
|
1062
|
-
liquidationThreshold: TypedContractMethod<[], [bigint], "view">;
|
|
1063
|
-
liquidityBufferRatio: TypedContractMethod<[], [bigint], "view">;
|
|
1352
|
+
liquidationProxy: TypedContractMethod<[], [string], "view">;
|
|
1064
1353
|
onERC721Received: TypedContractMethod<[
|
|
1065
1354
|
arg0: AddressLike,
|
|
1066
1355
|
arg1: AddressLike,
|
|
@@ -1069,12 +1358,43 @@ export interface LendingPool extends BaseContract {
|
|
|
1069
1358
|
], [
|
|
1070
1359
|
string
|
|
1071
1360
|
], "nonpayable">;
|
|
1361
|
+
openVaultPosition: TypedContractMethod<[], [void], "nonpayable">;
|
|
1072
1362
|
owner: TypedContractMethod<[], [string], "view">;
|
|
1363
|
+
parameters: TypedContractMethod<[
|
|
1364
|
+
], [
|
|
1365
|
+
[
|
|
1366
|
+
boolean,
|
|
1367
|
+
boolean,
|
|
1368
|
+
bigint,
|
|
1369
|
+
bigint,
|
|
1370
|
+
bigint,
|
|
1371
|
+
bigint,
|
|
1372
|
+
bigint,
|
|
1373
|
+
bigint,
|
|
1374
|
+
bigint,
|
|
1375
|
+
bigint,
|
|
1376
|
+
bigint,
|
|
1377
|
+
bigint
|
|
1378
|
+
] & {
|
|
1379
|
+
canPaybackDebt: boolean;
|
|
1380
|
+
withdrawalsPaused: boolean;
|
|
1381
|
+
liquidationThreshold: bigint;
|
|
1382
|
+
healthFactorLiquidationThreshold: bigint;
|
|
1383
|
+
liquidationGracePeriod: bigint;
|
|
1384
|
+
insuranceFee: bigint;
|
|
1385
|
+
depositFee: bigint;
|
|
1386
|
+
liquidityBufferRatio: bigint;
|
|
1387
|
+
supplyCap: bigint;
|
|
1388
|
+
borrowCap: bigint;
|
|
1389
|
+
withdrawTimelockDuration: bigint;
|
|
1390
|
+
vaultOpeningFee: bigint;
|
|
1391
|
+
}
|
|
1392
|
+
], "view">;
|
|
1073
1393
|
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
1074
1394
|
paused: TypedContractMethod<[], [boolean], "view">;
|
|
1075
1395
|
positions: TypedContractMethod<[
|
|
1076
1396
|
arg0: AddressLike,
|
|
1077
|
-
arg1:
|
|
1397
|
+
arg1: BytesLike
|
|
1078
1398
|
], [
|
|
1079
1399
|
[
|
|
1080
1400
|
bigint,
|
|
@@ -1092,10 +1412,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1092
1412
|
rawInsuredBalance: bigint;
|
|
1093
1413
|
}
|
|
1094
1414
|
], "view">;
|
|
1095
|
-
priceOracle: TypedContractMethod<[], [string], "view">;
|
|
1096
1415
|
primeRateOracle: TypedContractMethod<[], [string], "view">;
|
|
1097
|
-
rToken: TypedContractMethod<[], [string], "view">;
|
|
1098
|
-
raacNFT: TypedContractMethod<[], [string], "view">;
|
|
1099
1416
|
rateData: TypedContractMethod<[
|
|
1100
1417
|
], [
|
|
1101
1418
|
[
|
|
@@ -1118,20 +1435,38 @@ export interface LendingPool extends BaseContract {
|
|
|
1118
1435
|
protocolFeeRate: bigint;
|
|
1119
1436
|
}
|
|
1120
1437
|
], "view">;
|
|
1438
|
+
registerAdapter: TypedContractMethod<[
|
|
1439
|
+
adapter: AddressLike
|
|
1440
|
+
], [
|
|
1441
|
+
void
|
|
1442
|
+
], "nonpayable">;
|
|
1121
1443
|
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
1444
|
+
renounceRole: TypedContractMethod<[
|
|
1445
|
+
role: BytesLike,
|
|
1446
|
+
callerConfirmation: AddressLike
|
|
1447
|
+
], [
|
|
1448
|
+
void
|
|
1449
|
+
], "nonpayable">;
|
|
1122
1450
|
repay: TypedContractMethod<[
|
|
1123
|
-
|
|
1451
|
+
adapter: AddressLike,
|
|
1452
|
+
data: BytesLike,
|
|
1124
1453
|
amount: BigNumberish
|
|
1125
1454
|
], [
|
|
1126
1455
|
void
|
|
1127
1456
|
], "nonpayable">;
|
|
1128
1457
|
repayOnBehalf: TypedContractMethod<[
|
|
1129
|
-
|
|
1458
|
+
adapter: AddressLike,
|
|
1459
|
+
data: BytesLike,
|
|
1130
1460
|
amount: BigNumberish,
|
|
1131
1461
|
onBehalfOf: AddressLike
|
|
1132
1462
|
], [
|
|
1133
1463
|
void
|
|
1134
1464
|
], "nonpayable">;
|
|
1465
|
+
requestWithdraw: TypedContractMethod<[
|
|
1466
|
+
amount: BigNumberish
|
|
1467
|
+
], [
|
|
1468
|
+
void
|
|
1469
|
+
], "nonpayable">;
|
|
1135
1470
|
rescueToken: TypedContractMethod<[
|
|
1136
1471
|
tokenAddress: AddressLike,
|
|
1137
1472
|
recipient: AddressLike,
|
|
@@ -1161,7 +1496,12 @@ export interface LendingPool extends BaseContract {
|
|
|
1161
1496
|
lastUpdateTimestamp: bigint;
|
|
1162
1497
|
}
|
|
1163
1498
|
], "view">;
|
|
1164
|
-
|
|
1499
|
+
revokeRole: TypedContractMethod<[
|
|
1500
|
+
role: BytesLike,
|
|
1501
|
+
account: AddressLike
|
|
1502
|
+
], [
|
|
1503
|
+
void
|
|
1504
|
+
], "nonpayable">;
|
|
1165
1505
|
rewardData: TypedContractMethod<[
|
|
1166
1506
|
], [
|
|
1167
1507
|
[
|
|
@@ -1179,6 +1519,11 @@ export interface LendingPool extends BaseContract {
|
|
|
1179
1519
|
], [
|
|
1180
1520
|
void
|
|
1181
1521
|
], "nonpayable">;
|
|
1522
|
+
setLiquidationProxy: TypedContractMethod<[
|
|
1523
|
+
_liquidationProxy: AddressLike
|
|
1524
|
+
], [
|
|
1525
|
+
void
|
|
1526
|
+
], "nonpayable">;
|
|
1182
1527
|
setParameter: TypedContractMethod<[
|
|
1183
1528
|
param: BigNumberish,
|
|
1184
1529
|
newValue: BigNumberish
|
|
@@ -1207,6 +1552,21 @@ export interface LendingPool extends BaseContract {
|
|
|
1207
1552
|
], "nonpayable">;
|
|
1208
1553
|
setVault: TypedContractMethod<[newVault: AddressLike], [void], "nonpayable">;
|
|
1209
1554
|
stabilityPool: TypedContractMethod<[], [string], "view">;
|
|
1555
|
+
supportedAdapter: TypedContractMethod<[
|
|
1556
|
+
adapter: AddressLike
|
|
1557
|
+
], [
|
|
1558
|
+
boolean
|
|
1559
|
+
], "view">;
|
|
1560
|
+
supportedAdapters: TypedContractMethod<[
|
|
1561
|
+
arg0: AddressLike
|
|
1562
|
+
], [
|
|
1563
|
+
boolean
|
|
1564
|
+
], "view">;
|
|
1565
|
+
supportsInterface: TypedContractMethod<[
|
|
1566
|
+
interfaceId: BytesLike
|
|
1567
|
+
], [
|
|
1568
|
+
boolean
|
|
1569
|
+
], "view">;
|
|
1210
1570
|
transferAccruedDust: TypedContractMethod<[
|
|
1211
1571
|
recipient: AddressLike,
|
|
1212
1572
|
amount: BigNumberish
|
|
@@ -1219,6 +1579,11 @@ export interface LendingPool extends BaseContract {
|
|
|
1219
1579
|
void
|
|
1220
1580
|
], "nonpayable">;
|
|
1221
1581
|
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
1582
|
+
unregisterAdapter: TypedContractMethod<[
|
|
1583
|
+
adapter: AddressLike
|
|
1584
|
+
], [
|
|
1585
|
+
void
|
|
1586
|
+
], "nonpayable">;
|
|
1222
1587
|
updateState: TypedContractMethod<[], [void], "nonpayable">;
|
|
1223
1588
|
updateUserReward: TypedContractMethod<[
|
|
1224
1589
|
user: AddressLike
|
|
@@ -1227,6 +1592,8 @@ export interface LendingPool extends BaseContract {
|
|
|
1227
1592
|
], "nonpayable">;
|
|
1228
1593
|
userData: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1229
1594
|
vault: TypedContractMethod<[], [string], "view">;
|
|
1595
|
+
vaultOpened: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1596
|
+
vaultProxy: TypedContractMethod<[], [string], "view">;
|
|
1230
1597
|
vaultRewards: TypedContractMethod<[
|
|
1231
1598
|
], [
|
|
1232
1599
|
[
|
|
@@ -1246,127 +1613,169 @@ export interface LendingPool extends BaseContract {
|
|
|
1246
1613
|
}
|
|
1247
1614
|
], "view">;
|
|
1248
1615
|
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1249
|
-
|
|
1250
|
-
|
|
1616
|
+
withdrawAsset: TypedContractMethod<[
|
|
1617
|
+
adapter: AddressLike,
|
|
1618
|
+
data: BytesLike
|
|
1251
1619
|
], [
|
|
1252
1620
|
void
|
|
1253
1621
|
], "nonpayable">;
|
|
1254
|
-
|
|
1622
|
+
withdrawTimelock: TypedContractMethod<[
|
|
1623
|
+
arg0: AddressLike
|
|
1624
|
+
], [
|
|
1625
|
+
[bigint, bigint] & {
|
|
1626
|
+
amount: bigint;
|
|
1627
|
+
readyAt: bigint;
|
|
1628
|
+
}
|
|
1629
|
+
], "view">;
|
|
1255
1630
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
1256
1631
|
getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD"): TypedContractMethod<[], [bigint], "view">;
|
|
1257
1632
|
getFunction(nameOrSignature: "BASE_LIQUIDATION_GRACE_PERIOD"): TypedContractMethod<[], [bigint], "view">;
|
|
1258
1633
|
getFunction(nameOrSignature: "BASE_LIQUIDATION_THRESHOLD"): TypedContractMethod<[], [bigint], "view">;
|
|
1634
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
1635
|
+
getFunction(nameOrSignature: "GOVERNANCE_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
1636
|
+
getFunction(nameOrSignature: "PROTOCOL_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
1637
|
+
getFunction(nameOrSignature: "adapters"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
1259
1638
|
getFunction(nameOrSignature: "borrow"): TypedContractMethod<[
|
|
1260
|
-
|
|
1639
|
+
adapter: AddressLike,
|
|
1640
|
+
data: BytesLike,
|
|
1261
1641
|
amount: BigNumberish
|
|
1262
1642
|
], [
|
|
1263
1643
|
void
|
|
1264
1644
|
], "nonpayable">;
|
|
1265
1645
|
getFunction(nameOrSignature: "borrowWithInsurance"): TypedContractMethod<[
|
|
1266
|
-
|
|
1646
|
+
adapter: AddressLike,
|
|
1647
|
+
data: BytesLike,
|
|
1267
1648
|
amount: BigNumberish
|
|
1268
1649
|
], [
|
|
1269
1650
|
void
|
|
1270
1651
|
], "nonpayable">;
|
|
1271
1652
|
getFunction(nameOrSignature: "calculateHealthFactor"): TypedContractMethod<[
|
|
1272
|
-
|
|
1273
|
-
|
|
1653
|
+
adapter: AddressLike,
|
|
1654
|
+
user: AddressLike,
|
|
1655
|
+
data: BytesLike
|
|
1274
1656
|
], [
|
|
1275
1657
|
bigint
|
|
1276
1658
|
], "view">;
|
|
1277
1659
|
getFunction(nameOrSignature: "calculateInsuranceFee"): TypedContractMethod<[
|
|
1660
|
+
adapter: AddressLike,
|
|
1278
1661
|
user: AddressLike,
|
|
1279
|
-
|
|
1662
|
+
data: BytesLike,
|
|
1280
1663
|
amount: BigNumberish
|
|
1281
1664
|
], [
|
|
1282
1665
|
bigint
|
|
1283
1666
|
], "view">;
|
|
1284
|
-
getFunction(nameOrSignature: "canPaybackDebt"): TypedContractMethod<[], [boolean], "view">;
|
|
1285
1667
|
getFunction(nameOrSignature: "claimCollectorRewards"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
1286
1668
|
getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[], [boolean], "nonpayable">;
|
|
1287
|
-
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
1288
|
-
|
|
1669
|
+
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
1670
|
+
adapter: AddressLike,
|
|
1671
|
+
data: BytesLike
|
|
1672
|
+
], [
|
|
1673
|
+
void
|
|
1674
|
+
], "nonpayable">;
|
|
1675
|
+
getFunction(nameOrSignature: "complianceRegistry"): TypedContractMethod<[], [string], "view">;
|
|
1289
1676
|
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1290
|
-
getFunction(nameOrSignature: "
|
|
1677
|
+
getFunction(nameOrSignature: "depositAsset"): TypedContractMethod<[
|
|
1678
|
+
adapter: AddressLike,
|
|
1679
|
+
data: BytesLike
|
|
1680
|
+
], [
|
|
1681
|
+
void
|
|
1682
|
+
], "nonpayable">;
|
|
1291
1683
|
getFunction(nameOrSignature: "depositRewardTokens"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1292
1684
|
getFunction(nameOrSignature: "feeCollector"): TypedContractMethod<[], [string], "view">;
|
|
1293
1685
|
getFunction(nameOrSignature: "finalizeLiquidation"): TypedContractMethod<[
|
|
1294
|
-
|
|
1295
|
-
|
|
1686
|
+
adapter: AddressLike,
|
|
1687
|
+
user: AddressLike,
|
|
1688
|
+
data: BytesLike
|
|
1296
1689
|
], [
|
|
1297
1690
|
void
|
|
1298
1691
|
], "nonpayable">;
|
|
1299
|
-
getFunction(nameOrSignature: "
|
|
1300
|
-
|
|
1692
|
+
getFunction(nameOrSignature: "getAdapters"): TypedContractMethod<[], [string[]], "view">;
|
|
1693
|
+
getFunction(nameOrSignature: "getAssetValue"): TypedContractMethod<[
|
|
1694
|
+
adapter: AddressLike,
|
|
1695
|
+
user: AddressLike,
|
|
1696
|
+
data: BytesLike
|
|
1301
1697
|
], [
|
|
1302
|
-
|
|
1698
|
+
bigint
|
|
1303
1699
|
], "view">;
|
|
1304
1700
|
getFunction(nameOrSignature: "getEligibleUserDeposits"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1305
|
-
getFunction(nameOrSignature: "getNFTPrice"): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
1306
1701
|
getFunction(nameOrSignature: "getNormalizedDebt"): TypedContractMethod<[], [bigint], "view">;
|
|
1307
1702
|
getFunction(nameOrSignature: "getNormalizedIncome"): TypedContractMethod<[], [bigint], "view">;
|
|
1308
1703
|
getFunction(nameOrSignature: "getPendingReward"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1309
1704
|
getFunction(nameOrSignature: "getPosition"): TypedContractMethod<[
|
|
1705
|
+
adapter: AddressLike,
|
|
1310
1706
|
user: AddressLike,
|
|
1311
|
-
|
|
1707
|
+
data: BytesLike
|
|
1312
1708
|
], [
|
|
1313
|
-
|
|
1709
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
1314
1710
|
], "view">;
|
|
1315
1711
|
getFunction(nameOrSignature: "getPositionData"): TypedContractMethod<[
|
|
1712
|
+
adapter: AddressLike,
|
|
1316
1713
|
user: AddressLike,
|
|
1317
|
-
|
|
1714
|
+
data: BytesLike
|
|
1318
1715
|
], [
|
|
1319
1716
|
[bigint, bigint]
|
|
1320
1717
|
], "view">;
|
|
1321
1718
|
getFunction(nameOrSignature: "getPositionDebt"): TypedContractMethod<[
|
|
1322
|
-
|
|
1323
|
-
|
|
1719
|
+
adapter: AddressLike,
|
|
1720
|
+
user: AddressLike,
|
|
1721
|
+
data: BytesLike
|
|
1324
1722
|
], [
|
|
1325
1723
|
bigint
|
|
1326
1724
|
], "view">;
|
|
1327
1725
|
getFunction(nameOrSignature: "getPositionScaledDebt"): TypedContractMethod<[
|
|
1328
|
-
|
|
1329
|
-
|
|
1726
|
+
adapter: AddressLike,
|
|
1727
|
+
user: AddressLike,
|
|
1728
|
+
data: BytesLike
|
|
1330
1729
|
], [
|
|
1331
1730
|
bigint
|
|
1332
1731
|
], "view">;
|
|
1333
1732
|
getFunction(nameOrSignature: "getPositionView"): TypedContractMethod<[
|
|
1733
|
+
adapter: AddressLike,
|
|
1334
1734
|
user: AddressLike,
|
|
1335
|
-
|
|
1735
|
+
data: BytesLike
|
|
1336
1736
|
], [
|
|
1337
|
-
|
|
1737
|
+
ILendingPoolStorage.CollateralPositionViewStructOutput
|
|
1338
1738
|
], "view">;
|
|
1339
|
-
getFunction(nameOrSignature: "getPositionsScaledDebt"): TypedContractMethod<[
|
|
1739
|
+
getFunction(nameOrSignature: "getPositionsScaledDebt"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1340
1740
|
getFunction(nameOrSignature: "getPrimeRate"): TypedContractMethod<[], [bigint], "view">;
|
|
1341
|
-
getFunction(nameOrSignature: "getRAACNFTAddress"): TypedContractMethod<[], [string], "view">;
|
|
1342
1741
|
getFunction(nameOrSignature: "getReserveRateData"): TypedContractMethod<[
|
|
1343
1742
|
], [
|
|
1344
1743
|
ReserveLibrary.ReserveRateDataStructOutput
|
|
1345
1744
|
], "view">;
|
|
1346
1745
|
getFunction(nameOrSignature: "getReserveState"): TypedContractMethod<[], [ReserveLibrary.ReserveDataStructOutput], "view">;
|
|
1746
|
+
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
1347
1747
|
getFunction(nameOrSignature: "getUnclaimedVaultRewards"): TypedContractMethod<[], [bigint], "view">;
|
|
1348
1748
|
getFunction(nameOrSignature: "getUninsuredBalance"): TypedContractMethod<[
|
|
1749
|
+
adapter: AddressLike,
|
|
1349
1750
|
user: AddressLike,
|
|
1350
|
-
|
|
1751
|
+
data: BytesLike
|
|
1351
1752
|
], [
|
|
1352
1753
|
bigint
|
|
1353
1754
|
], "view">;
|
|
1354
|
-
getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[
|
|
1355
|
-
getFunction(nameOrSignature: "getUserDebt"): TypedContractMethod<[
|
|
1755
|
+
getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1756
|
+
getFunction(nameOrSignature: "getUserDebt"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1356
1757
|
getFunction(nameOrSignature: "getUserDeposits"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1357
1758
|
getFunction(nameOrSignature: "getUserDepositsInStabilityPool"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1358
|
-
getFunction(nameOrSignature: "
|
|
1359
|
-
|
|
1759
|
+
getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
|
|
1760
|
+
role: BytesLike,
|
|
1761
|
+
account: AddressLike
|
|
1762
|
+
], [
|
|
1763
|
+
void
|
|
1764
|
+
], "nonpayable">;
|
|
1765
|
+
getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
|
|
1766
|
+
role: BytesLike,
|
|
1767
|
+
account: AddressLike
|
|
1768
|
+
], [
|
|
1769
|
+
boolean
|
|
1770
|
+
], "view">;
|
|
1360
1771
|
getFunction(nameOrSignature: "initiateLiquidation"): TypedContractMethod<[
|
|
1361
|
-
|
|
1362
|
-
|
|
1772
|
+
adapter: AddressLike,
|
|
1773
|
+
user: AddressLike,
|
|
1774
|
+
data: BytesLike
|
|
1363
1775
|
], [
|
|
1364
1776
|
void
|
|
1365
1777
|
], "nonpayable">;
|
|
1366
|
-
getFunction(nameOrSignature: "
|
|
1367
|
-
getFunction(nameOrSignature: "liquidationGracePeriod"): TypedContractMethod<[], [bigint], "view">;
|
|
1368
|
-
getFunction(nameOrSignature: "liquidationThreshold"): TypedContractMethod<[], [bigint], "view">;
|
|
1369
|
-
getFunction(nameOrSignature: "liquidityBufferRatio"): TypedContractMethod<[], [bigint], "view">;
|
|
1778
|
+
getFunction(nameOrSignature: "liquidationProxy"): TypedContractMethod<[], [string], "view">;
|
|
1370
1779
|
getFunction(nameOrSignature: "onERC721Received"): TypedContractMethod<[
|
|
1371
1780
|
arg0: AddressLike,
|
|
1372
1781
|
arg1: AddressLike,
|
|
@@ -1375,12 +1784,43 @@ export interface LendingPool extends BaseContract {
|
|
|
1375
1784
|
], [
|
|
1376
1785
|
string
|
|
1377
1786
|
], "nonpayable">;
|
|
1787
|
+
getFunction(nameOrSignature: "openVaultPosition"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1378
1788
|
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
1789
|
+
getFunction(nameOrSignature: "parameters"): TypedContractMethod<[
|
|
1790
|
+
], [
|
|
1791
|
+
[
|
|
1792
|
+
boolean,
|
|
1793
|
+
boolean,
|
|
1794
|
+
bigint,
|
|
1795
|
+
bigint,
|
|
1796
|
+
bigint,
|
|
1797
|
+
bigint,
|
|
1798
|
+
bigint,
|
|
1799
|
+
bigint,
|
|
1800
|
+
bigint,
|
|
1801
|
+
bigint,
|
|
1802
|
+
bigint,
|
|
1803
|
+
bigint
|
|
1804
|
+
] & {
|
|
1805
|
+
canPaybackDebt: boolean;
|
|
1806
|
+
withdrawalsPaused: boolean;
|
|
1807
|
+
liquidationThreshold: bigint;
|
|
1808
|
+
healthFactorLiquidationThreshold: bigint;
|
|
1809
|
+
liquidationGracePeriod: bigint;
|
|
1810
|
+
insuranceFee: bigint;
|
|
1811
|
+
depositFee: bigint;
|
|
1812
|
+
liquidityBufferRatio: bigint;
|
|
1813
|
+
supplyCap: bigint;
|
|
1814
|
+
borrowCap: bigint;
|
|
1815
|
+
withdrawTimelockDuration: bigint;
|
|
1816
|
+
vaultOpeningFee: bigint;
|
|
1817
|
+
}
|
|
1818
|
+
], "view">;
|
|
1379
1819
|
getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1380
1820
|
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
1381
1821
|
getFunction(nameOrSignature: "positions"): TypedContractMethod<[
|
|
1382
1822
|
arg0: AddressLike,
|
|
1383
|
-
arg1:
|
|
1823
|
+
arg1: BytesLike
|
|
1384
1824
|
], [
|
|
1385
1825
|
[
|
|
1386
1826
|
bigint,
|
|
@@ -1398,10 +1838,7 @@ export interface LendingPool extends BaseContract {
|
|
|
1398
1838
|
rawInsuredBalance: bigint;
|
|
1399
1839
|
}
|
|
1400
1840
|
], "view">;
|
|
1401
|
-
getFunction(nameOrSignature: "priceOracle"): TypedContractMethod<[], [string], "view">;
|
|
1402
1841
|
getFunction(nameOrSignature: "primeRateOracle"): TypedContractMethod<[], [string], "view">;
|
|
1403
|
-
getFunction(nameOrSignature: "rToken"): TypedContractMethod<[], [string], "view">;
|
|
1404
|
-
getFunction(nameOrSignature: "raacNFT"): TypedContractMethod<[], [string], "view">;
|
|
1405
1842
|
getFunction(nameOrSignature: "rateData"): TypedContractMethod<[
|
|
1406
1843
|
], [
|
|
1407
1844
|
[
|
|
@@ -1424,20 +1861,30 @@ export interface LendingPool extends BaseContract {
|
|
|
1424
1861
|
protocolFeeRate: bigint;
|
|
1425
1862
|
}
|
|
1426
1863
|
], "view">;
|
|
1864
|
+
getFunction(nameOrSignature: "registerAdapter"): TypedContractMethod<[adapter: AddressLike], [void], "nonpayable">;
|
|
1427
1865
|
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1866
|
+
getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
|
|
1867
|
+
role: BytesLike,
|
|
1868
|
+
callerConfirmation: AddressLike
|
|
1869
|
+
], [
|
|
1870
|
+
void
|
|
1871
|
+
], "nonpayable">;
|
|
1428
1872
|
getFunction(nameOrSignature: "repay"): TypedContractMethod<[
|
|
1429
|
-
|
|
1873
|
+
adapter: AddressLike,
|
|
1874
|
+
data: BytesLike,
|
|
1430
1875
|
amount: BigNumberish
|
|
1431
1876
|
], [
|
|
1432
1877
|
void
|
|
1433
1878
|
], "nonpayable">;
|
|
1434
1879
|
getFunction(nameOrSignature: "repayOnBehalf"): TypedContractMethod<[
|
|
1435
|
-
|
|
1880
|
+
adapter: AddressLike,
|
|
1881
|
+
data: BytesLike,
|
|
1436
1882
|
amount: BigNumberish,
|
|
1437
1883
|
onBehalfOf: AddressLike
|
|
1438
1884
|
], [
|
|
1439
1885
|
void
|
|
1440
1886
|
], "nonpayable">;
|
|
1887
|
+
getFunction(nameOrSignature: "requestWithdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1441
1888
|
getFunction(nameOrSignature: "rescueToken"): TypedContractMethod<[
|
|
1442
1889
|
tokenAddress: AddressLike,
|
|
1443
1890
|
recipient: AddressLike,
|
|
@@ -1467,7 +1914,12 @@ export interface LendingPool extends BaseContract {
|
|
|
1467
1914
|
lastUpdateTimestamp: bigint;
|
|
1468
1915
|
}
|
|
1469
1916
|
], "view">;
|
|
1470
|
-
getFunction(nameOrSignature: "
|
|
1917
|
+
getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
|
|
1918
|
+
role: BytesLike,
|
|
1919
|
+
account: AddressLike
|
|
1920
|
+
], [
|
|
1921
|
+
void
|
|
1922
|
+
], "nonpayable">;
|
|
1471
1923
|
getFunction(nameOrSignature: "rewardData"): TypedContractMethod<[
|
|
1472
1924
|
], [
|
|
1473
1925
|
[
|
|
@@ -1481,6 +1933,11 @@ export interface LendingPool extends BaseContract {
|
|
|
1481
1933
|
}
|
|
1482
1934
|
], "view">;
|
|
1483
1935
|
getFunction(nameOrSignature: "setFeeCollector"): TypedContractMethod<[newFeeCollector: AddressLike], [void], "nonpayable">;
|
|
1936
|
+
getFunction(nameOrSignature: "setLiquidationProxy"): TypedContractMethod<[
|
|
1937
|
+
_liquidationProxy: AddressLike
|
|
1938
|
+
], [
|
|
1939
|
+
void
|
|
1940
|
+
], "nonpayable">;
|
|
1484
1941
|
getFunction(nameOrSignature: "setParameter"): TypedContractMethod<[
|
|
1485
1942
|
param: BigNumberish,
|
|
1486
1943
|
newValue: BigNumberish
|
|
@@ -1493,6 +1950,9 @@ export interface LendingPool extends BaseContract {
|
|
|
1493
1950
|
getFunction(nameOrSignature: "setStabilityPool"): TypedContractMethod<[newStabilityPool: AddressLike], [void], "nonpayable">;
|
|
1494
1951
|
getFunction(nameOrSignature: "setVault"): TypedContractMethod<[newVault: AddressLike], [void], "nonpayable">;
|
|
1495
1952
|
getFunction(nameOrSignature: "stabilityPool"): TypedContractMethod<[], [string], "view">;
|
|
1953
|
+
getFunction(nameOrSignature: "supportedAdapter"): TypedContractMethod<[adapter: AddressLike], [boolean], "view">;
|
|
1954
|
+
getFunction(nameOrSignature: "supportedAdapters"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1955
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
1496
1956
|
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
1497
1957
|
recipient: AddressLike,
|
|
1498
1958
|
amount: BigNumberish
|
|
@@ -1501,10 +1961,13 @@ export interface LendingPool extends BaseContract {
|
|
|
1501
1961
|
], "nonpayable">;
|
|
1502
1962
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
1503
1963
|
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1964
|
+
getFunction(nameOrSignature: "unregisterAdapter"): TypedContractMethod<[adapter: AddressLike], [void], "nonpayable">;
|
|
1504
1965
|
getFunction(nameOrSignature: "updateState"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1505
1966
|
getFunction(nameOrSignature: "updateUserReward"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
1506
1967
|
getFunction(nameOrSignature: "userData"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1507
1968
|
getFunction(nameOrSignature: "vault"): TypedContractMethod<[], [string], "view">;
|
|
1969
|
+
getFunction(nameOrSignature: "vaultOpened"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1970
|
+
getFunction(nameOrSignature: "vaultProxy"): TypedContractMethod<[], [string], "view">;
|
|
1508
1971
|
getFunction(nameOrSignature: "vaultRewards"): TypedContractMethod<[
|
|
1509
1972
|
], [
|
|
1510
1973
|
[
|
|
@@ -1524,28 +1987,46 @@ export interface LendingPool extends BaseContract {
|
|
|
1524
1987
|
}
|
|
1525
1988
|
], "view">;
|
|
1526
1989
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1527
|
-
getFunction(nameOrSignature: "
|
|
1528
|
-
|
|
1990
|
+
getFunction(nameOrSignature: "withdrawAsset"): TypedContractMethod<[
|
|
1991
|
+
adapter: AddressLike,
|
|
1992
|
+
data: BytesLike
|
|
1993
|
+
], [
|
|
1994
|
+
void
|
|
1995
|
+
], "nonpayable">;
|
|
1996
|
+
getFunction(nameOrSignature: "withdrawTimelock"): TypedContractMethod<[
|
|
1997
|
+
arg0: AddressLike
|
|
1998
|
+
], [
|
|
1999
|
+
[bigint, bigint] & {
|
|
2000
|
+
amount: bigint;
|
|
2001
|
+
readyAt: bigint;
|
|
2002
|
+
}
|
|
2003
|
+
], "view">;
|
|
2004
|
+
getEvent(key: "AdapterRegistered"): TypedContractEvent<AdapterRegisteredEvent.InputTuple, AdapterRegisteredEvent.OutputTuple, AdapterRegisteredEvent.OutputObject>;
|
|
2005
|
+
getEvent(key: "AdapterRemoved"): TypedContractEvent<AdapterRemovedEvent.InputTuple, AdapterRemovedEvent.OutputTuple, AdapterRemovedEvent.OutputObject>;
|
|
1529
2006
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
2007
|
+
getEvent(key: "BorrowCapUpdated"): TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
1530
2008
|
getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
1531
2009
|
getEvent(key: "Deposit(address,uint256,uint256)"): TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
1532
2010
|
getEvent(key: "Deposit(address,uint256,uint256)"): TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
2011
|
+
getEvent(key: "DepositFeeUpdated"): TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
1533
2012
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
1534
2013
|
getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
1535
2014
|
getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
1536
|
-
getEvent(key: "
|
|
2015
|
+
getEvent(key: "InsuredAsset"): TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
1537
2016
|
getEvent(key: "InterestRatesUpdated"): TypedContractEvent<InterestRatesUpdatedEvent.InputTuple, InterestRatesUpdatedEvent.OutputTuple, InterestRatesUpdatedEvent.OutputObject>;
|
|
1538
2017
|
getEvent(key: "Liquidation"): TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
1539
2018
|
getEvent(key: "LiquidationClosed"): TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
1540
2019
|
getEvent(key: "LiquidationFinalized"): TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
1541
2020
|
getEvent(key: "LiquidationInitiated"): TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
1542
2021
|
getEvent(key: "LiquidationParametersUpdated"): TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
2022
|
+
getEvent(key: "LiquidationProxyUpdated"): TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
1543
2023
|
getEvent(key: "LiquidityBufferRatioUpdated"): TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
1544
2024
|
getEvent(key: "LiquidityRebalanced"): TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
1545
2025
|
getEvent(key: "NFTDeposited"): TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
|
|
1546
2026
|
getEvent(key: "NFTWithdrawn"): TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
|
|
1547
2027
|
getEvent(key: "NotFeeCollector"): TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
1548
2028
|
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
2029
|
+
getEvent(key: "ParameterChanged"): TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
1549
2030
|
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1550
2031
|
getEvent(key: "PrimeRateUpdated"): TypedContractEvent<PrimeRateUpdatedEvent.InputTuple, PrimeRateUpdatedEvent.OutputTuple, PrimeRateUpdatedEvent.OutputObject>;
|
|
1551
2032
|
getEvent(key: "ProtocolFeeRateUpdated"): TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
@@ -1558,41 +2039,61 @@ export interface LendingPool extends BaseContract {
|
|
|
1558
2039
|
getEvent(key: "RewardParametersUpdated"): TypedContractEvent<RewardParametersUpdatedEvent.InputTuple, RewardParametersUpdatedEvent.OutputTuple, RewardParametersUpdatedEvent.OutputObject>;
|
|
1559
2040
|
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
1560
2041
|
getEvent(key: "RewardTokensDeposited"): TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
2042
|
+
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
2043
|
+
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
2044
|
+
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
1561
2045
|
getEvent(key: "StabilityPoolUpdated"): TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
2046
|
+
getEvent(key: "SupplyCapUpdated"): TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1562
2047
|
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
2048
|
+
getEvent(key: "VaultOpeningFeePaid"): TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
2049
|
+
getEvent(key: "VaultOpeningFeeUpdated"): TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
1563
2050
|
getEvent(key: "VaultRewardsClaimed"): TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
1564
2051
|
getEvent(key: "VaultUpdated"): TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
1565
2052
|
getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
1566
2053
|
getEvent(key: "Withdraw(address,uint256)"): TypedContractEvent<Withdraw_address_uint256_Event.InputTuple, Withdraw_address_uint256_Event.OutputTuple, Withdraw_address_uint256_Event.OutputObject>;
|
|
1567
2054
|
getEvent(key: "Withdraw(address,uint256,uint256)"): TypedContractEvent<Withdraw_address_uint256_uint256_Event.InputTuple, Withdraw_address_uint256_uint256_Event.OutputTuple, Withdraw_address_uint256_uint256_Event.OutputObject>;
|
|
2055
|
+
getEvent(key: "WithdrawCancelled"): TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
2056
|
+
getEvent(key: "WithdrawFeeUpdated"): TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
2057
|
+
getEvent(key: "WithdrawQueued"): TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
2058
|
+
getEvent(key: "WithdrawTimelockDurationUpdated"): TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
1568
2059
|
getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1569
2060
|
filters: {
|
|
2061
|
+
"AdapterRegistered(address)": TypedContractEvent<AdapterRegisteredEvent.InputTuple, AdapterRegisteredEvent.OutputTuple, AdapterRegisteredEvent.OutputObject>;
|
|
2062
|
+
AdapterRegistered: TypedContractEvent<AdapterRegisteredEvent.InputTuple, AdapterRegisteredEvent.OutputTuple, AdapterRegisteredEvent.OutputObject>;
|
|
2063
|
+
"AdapterRemoved(address)": TypedContractEvent<AdapterRemovedEvent.InputTuple, AdapterRemovedEvent.OutputTuple, AdapterRemovedEvent.OutputObject>;
|
|
2064
|
+
AdapterRemoved: TypedContractEvent<AdapterRemovedEvent.InputTuple, AdapterRemovedEvent.OutputTuple, AdapterRemovedEvent.OutputObject>;
|
|
1570
2065
|
"Borrow(address,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
1571
2066
|
Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
2067
|
+
"BorrowCapUpdated(uint256,uint256)": TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
2068
|
+
BorrowCapUpdated: TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
1572
2069
|
"CanPaybackDebtChanged(bool)": TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
1573
2070
|
CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
1574
2071
|
"Deposit(address,uint256,uint256)": TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
1575
2072
|
"Deposit(address,uint256,uint256)": TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
|
|
2073
|
+
"DepositFeeUpdated(uint256,uint256)": TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
2074
|
+
DepositFeeUpdated: TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
1576
2075
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
1577
2076
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
1578
2077
|
"InsufficientFees()": TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
1579
2078
|
InsufficientFees: TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
1580
2079
|
"InsuranceFeeUpdated(uint256,uint256)": TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
1581
2080
|
InsuranceFeeUpdated: TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
1582
|
-
"
|
|
1583
|
-
|
|
2081
|
+
"InsuredAsset(address,address,bytes,uint256)": TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
2082
|
+
InsuredAsset: TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
1584
2083
|
"InterestRatesUpdated(uint256,uint256)": TypedContractEvent<InterestRatesUpdatedEvent.InputTuple, InterestRatesUpdatedEvent.OutputTuple, InterestRatesUpdatedEvent.OutputObject>;
|
|
1585
2084
|
InterestRatesUpdated: TypedContractEvent<InterestRatesUpdatedEvent.InputTuple, InterestRatesUpdatedEvent.OutputTuple, InterestRatesUpdatedEvent.OutputObject>;
|
|
1586
2085
|
"Liquidation(address,address,uint256,uint256)": TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
1587
2086
|
Liquidation: TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
1588
|
-
"LiquidationClosed(address,
|
|
2087
|
+
"LiquidationClosed(address,address,bytes)": TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
1589
2088
|
LiquidationClosed: TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
1590
|
-
"LiquidationFinalized(address,address,
|
|
2089
|
+
"LiquidationFinalized(address,address,address,bytes,uint256,uint256)": TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
1591
2090
|
LiquidationFinalized: TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
1592
|
-
"LiquidationInitiated(address,address,
|
|
2091
|
+
"LiquidationInitiated(address,address,address,bytes)": TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
1593
2092
|
LiquidationInitiated: TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
1594
2093
|
"LiquidationParametersUpdated(uint256,uint256,uint256)": TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
1595
2094
|
LiquidationParametersUpdated: TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
2095
|
+
"LiquidationProxyUpdated(address,address)": TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
2096
|
+
LiquidationProxyUpdated: TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
1596
2097
|
"LiquidityBufferRatioUpdated(uint256,uint256)": TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
1597
2098
|
LiquidityBufferRatioUpdated: TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
1598
2099
|
"LiquidityRebalanced(uint256,uint256)": TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
@@ -1605,6 +2106,8 @@ export interface LendingPool extends BaseContract {
|
|
|
1605
2106
|
NotFeeCollector: TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
1606
2107
|
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
1607
2108
|
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
2109
|
+
"ParameterChanged(uint8,uint256,uint256)": TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
2110
|
+
ParameterChanged: TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
1608
2111
|
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1609
2112
|
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1610
2113
|
"PrimeRateUpdated(uint256,uint256)": TypedContractEvent<PrimeRateUpdatedEvent.InputTuple, PrimeRateUpdatedEvent.OutputTuple, PrimeRateUpdatedEvent.OutputObject>;
|
|
@@ -1629,10 +2132,22 @@ export interface LendingPool extends BaseContract {
|
|
|
1629
2132
|
RewardTokenAdded: TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
1630
2133
|
"RewardTokensDeposited(address,uint256)": TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
1631
2134
|
RewardTokensDeposited: TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
2135
|
+
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
2136
|
+
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
2137
|
+
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
2138
|
+
RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
2139
|
+
"RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
2140
|
+
RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
1632
2141
|
"StabilityPoolUpdated(address,address)": TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
1633
2142
|
StabilityPoolUpdated: TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
2143
|
+
"SupplyCapUpdated(uint256,uint256)": TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
2144
|
+
SupplyCapUpdated: TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1634
2145
|
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
1635
2146
|
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
2147
|
+
"VaultOpeningFeePaid(address,uint256)": TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
2148
|
+
VaultOpeningFeePaid: TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
2149
|
+
"VaultOpeningFeeUpdated(uint256,uint256)": TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
2150
|
+
VaultOpeningFeeUpdated: TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
1636
2151
|
"VaultRewardsClaimed(uint256)": TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
1637
2152
|
VaultRewardsClaimed: TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
1638
2153
|
"VaultUpdated(address,address)": TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
@@ -1641,6 +2156,14 @@ export interface LendingPool extends BaseContract {
|
|
|
1641
2156
|
VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
1642
2157
|
"Withdraw(address,uint256)": TypedContractEvent<Withdraw_address_uint256_Event.InputTuple, Withdraw_address_uint256_Event.OutputTuple, Withdraw_address_uint256_Event.OutputObject>;
|
|
1643
2158
|
"Withdraw(address,uint256,uint256)": TypedContractEvent<Withdraw_address_uint256_uint256_Event.InputTuple, Withdraw_address_uint256_uint256_Event.OutputTuple, Withdraw_address_uint256_uint256_Event.OutputObject>;
|
|
2159
|
+
"WithdrawCancelled(address)": TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
2160
|
+
WithdrawCancelled: TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
2161
|
+
"WithdrawFeeUpdated(uint256,uint256)": TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
2162
|
+
WithdrawFeeUpdated: TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
2163
|
+
"WithdrawQueued(address,uint256,uint256)": TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
2164
|
+
WithdrawQueued: TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
2165
|
+
"WithdrawTimelockDurationUpdated(uint256,uint256)": TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
2166
|
+
WithdrawTimelockDurationUpdated: TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
1644
2167
|
"WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1645
2168
|
WithdrawalsPauseStatusChanged: TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1646
2169
|
};
|