@raac/rpc 1.1.0-beta.4 → 1.1.0-beta.6
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 +52 -21
- 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 +66 -4
- 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 +39 -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 -81
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +557 -223
- 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 +104 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +7 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +17 -2
- package/dist/configs/chains/17000.json +36 -0
- package/dist/configs/chains/8453.json +36 -0
- package/dist/pools/lendingPool/_helpers.js +29 -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 +2 -2
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +4 -3
- package/dist/pools/lendingPool/calculateInsuranceFee.js +3 -2
- package/dist/pools/lendingPool/closeLiquidation.js +3 -2
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +60 -0
- package/dist/pools/lendingPool/{getPendingReward.js → getAdapters.js} +10 -6
- package/dist/pools/lendingPool/getHealthFactor.js +2 -2
- package/dist/pools/lendingPool/getLendingPoolInfo.js +4 -13
- package/dist/pools/lendingPool/getParameters.js +33 -0
- package/dist/pools/lendingPool/getPositionDebt.js +3 -2
- package/dist/pools/lendingPool/getPositionScaledDebt.js +3 -2
- package/dist/pools/lendingPool/getPositionView.js +5 -2
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +1 -0
- package/dist/pools/lendingPool/getUserCollateralValue.js +1 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +2 -2
- package/dist/pools/lendingPool/repayToLendingPool.js +2 -2
- package/dist/pools/lendingPool/{withdrawNFTFromLendingPool.js → withdrawAssetFromLendingPool.js} +5 -5
- 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 +27 -0
- package/dist/pools/rwaVault/getNextRandomNFT.js +25 -0
- package/dist/pools/rwaVault/getRWAVaultInfo.js +52 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +27 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +27 -0
- package/dist/scripts/index.js +219 -152
- package/dist/types/RPCLibrary.d.ts +40 -19
- package/dist/types/pools/lendingPool/_helpers.d.ts +8 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +4 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.d.ts +11 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +4 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +11 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +2 -2
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +2 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +2 -2
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/getAdapters.d.ts +8 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +2 -2
- 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 +2 -2
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +2 -2
- package/dist/types/pools/lendingPool/getPositionView.d.ts +17 -14
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +2 -2
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.d.ts +4 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +4 -0
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +4 -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/scripts/index.d.ts +0 -1
- 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/token/ERC721/extensions/index.d.ts +0 -1
- 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 +8 -8
- 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 -6
- 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/token/ERC721/extensions/index.d.ts +0 -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 +8 -8
- 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/{@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper__factory.d.ts → contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts} +209 -201
- 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 -6
- 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 -42
- package/dist/types/utils/artifacts.d.ts +767 -226
- package/dist/utils/artifacts.js +13 -0
- package/package.json +1 -1
- 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/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/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
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper.d.ts +0 -261
|
@@ -1,50 +1,7 @@
|
|
|
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
|
|
5
|
-
rawDebtBalance: BigNumberish;
|
|
6
|
-
scaledDebtBalance: BigNumberish;
|
|
7
|
-
healthFactor: BigNumberish;
|
|
8
|
-
isUnderLiquidation: boolean;
|
|
9
|
-
liquidationStartTime: BigNumberish;
|
|
10
|
-
positionIndex: BigNumberish;
|
|
11
|
-
isInsured: boolean;
|
|
12
|
-
};
|
|
13
|
-
type NFTPositionViewStructOutput = [
|
|
14
|
-
rawDebtBalance: bigint,
|
|
15
|
-
scaledDebtBalance: bigint,
|
|
16
|
-
healthFactor: bigint,
|
|
17
|
-
isUnderLiquidation: boolean,
|
|
18
|
-
liquidationStartTime: bigint,
|
|
19
|
-
positionIndex: bigint,
|
|
20
|
-
isInsured: boolean
|
|
21
|
-
] & {
|
|
22
|
-
rawDebtBalance: bigint;
|
|
23
|
-
scaledDebtBalance: bigint;
|
|
24
|
-
healthFactor: bigint;
|
|
25
|
-
isUnderLiquidation: boolean;
|
|
26
|
-
liquidationStartTime: bigint;
|
|
27
|
-
positionIndex: bigint;
|
|
28
|
-
isInsured: boolean;
|
|
29
|
-
};
|
|
30
|
-
type UserDataViewStruct = {
|
|
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 = {
|
|
3
|
+
export declare namespace ILendingPoolStorage {
|
|
4
|
+
type CollateralPositionStruct = {
|
|
48
5
|
rawDebtBalance: BigNumberish;
|
|
49
6
|
isUnderLiquidation: boolean;
|
|
50
7
|
liquidationStartTime: BigNumberish;
|
|
@@ -52,7 +9,7 @@ export declare namespace ILendingPool {
|
|
|
52
9
|
isInsured: boolean;
|
|
53
10
|
rawInsuredBalance: BigNumberish;
|
|
54
11
|
};
|
|
55
|
-
type
|
|
12
|
+
type CollateralPositionStructOutput = [
|
|
56
13
|
rawDebtBalance: bigint,
|
|
57
14
|
isUnderLiquidation: boolean,
|
|
58
15
|
liquidationStartTime: bigint,
|
|
@@ -69,54 +26,54 @@ export declare namespace ILendingPool {
|
|
|
69
26
|
};
|
|
70
27
|
}
|
|
71
28
|
export interface MockLendingPoolDebtTokenInterface extends Interface {
|
|
72
|
-
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "deposit" | "
|
|
73
|
-
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "
|
|
74
|
-
encodeFunctionData(functionFragment: "borrow", values: [
|
|
75
|
-
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike,
|
|
29
|
+
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "deposit" | "depositAsset" | "depositRewardTokens" | "finalizeLiquidation" | "getAssetValue" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionsScaledDebt" | "getRAACNFTAddress" | "getUserCollateralValue" | "getUserDebt" | "initiateLiquidation" | "onERC721Received" | "openVaultPosition" | "repay" | "repayOnBehalf" | "setNormalizedDebt" | "setParameter" | "setPrimeRate" | "setStabilityPool" | "supportedAdapter" | "transferAccruedDust" | "updateState" | "updateUserReward" | "withdraw" | "withdrawAsset"): FunctionFragment;
|
|
30
|
+
getEvent(nameOrSignatureOrTopic: "Borrow" | "BorrowCapUpdated" | "CanPaybackDebtChanged" | "Deposit" | "DepositFeeUpdated" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredAsset" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidationProxyUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "ParameterChanged" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "SupplyCapUpdated" | "VaultOpeningFeePaid" | "VaultOpeningFeeUpdated" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw" | "WithdrawCancelled" | "WithdrawFeeUpdated" | "WithdrawQueued" | "WithdrawTimelockDurationUpdated" | "WithdrawalsPauseStatusChanged"): EventFragment;
|
|
31
|
+
encodeFunctionData(functionFragment: "borrow", values: [AddressLike, BytesLike, BigNumberish]): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
76
33
|
encodeFunctionData(functionFragment: "claimCollectorRewards", values?: undefined): string;
|
|
77
34
|
encodeFunctionData(functionFragment: "claimReward", values?: undefined): string;
|
|
78
|
-
encodeFunctionData(functionFragment: "closeLiquidation", values: [
|
|
35
|
+
encodeFunctionData(functionFragment: "closeLiquidation", values: [AddressLike, BytesLike]): string;
|
|
79
36
|
encodeFunctionData(functionFragment: "deposit", values: [BigNumberish]): string;
|
|
80
|
-
encodeFunctionData(functionFragment: "
|
|
37
|
+
encodeFunctionData(functionFragment: "depositAsset", values: [AddressLike, BytesLike]): string;
|
|
81
38
|
encodeFunctionData(functionFragment: "depositRewardTokens", values: [BigNumberish]): string;
|
|
82
|
-
encodeFunctionData(functionFragment: "finalizeLiquidation", values: [AddressLike,
|
|
83
|
-
encodeFunctionData(functionFragment: "
|
|
84
|
-
encodeFunctionData(functionFragment: "getNFTPrice", values: [BigNumberish]): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "finalizeLiquidation", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "getAssetValue", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
85
41
|
encodeFunctionData(functionFragment: "getNormalizedDebt", values?: undefined): string;
|
|
86
42
|
encodeFunctionData(functionFragment: "getNormalizedIncome", values?: undefined): string;
|
|
87
43
|
encodeFunctionData(functionFragment: "getPendingReward", values: [AddressLike]): string;
|
|
88
|
-
encodeFunctionData(functionFragment: "getPosition", values: [AddressLike,
|
|
89
|
-
encodeFunctionData(functionFragment: "getPositionData", values: [AddressLike,
|
|
90
|
-
encodeFunctionData(functionFragment: "getPositionDebt", values: [AddressLike,
|
|
91
|
-
encodeFunctionData(functionFragment: "getPositionScaledDebt", values: [AddressLike,
|
|
44
|
+
encodeFunctionData(functionFragment: "getPosition", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "getPositionData", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "getPositionDebt", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "getPositionScaledDebt", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
92
48
|
encodeFunctionData(functionFragment: "getPositionsScaledDebt", values: [AddressLike]): string;
|
|
93
49
|
encodeFunctionData(functionFragment: "getRAACNFTAddress", values?: undefined): string;
|
|
94
50
|
encodeFunctionData(functionFragment: "getUserCollateralValue", values: [AddressLike]): string;
|
|
95
51
|
encodeFunctionData(functionFragment: "getUserDebt", values: [AddressLike]): string;
|
|
96
|
-
encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike,
|
|
52
|
+
encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
97
53
|
encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
98
|
-
encodeFunctionData(functionFragment: "
|
|
99
|
-
encodeFunctionData(functionFragment: "
|
|
54
|
+
encodeFunctionData(functionFragment: "openVaultPosition", values?: undefined): string;
|
|
55
|
+
encodeFunctionData(functionFragment: "repay", values: [AddressLike, BytesLike, BigNumberish]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "repayOnBehalf", values: [AddressLike, BytesLike, BigNumberish, AddressLike]): string;
|
|
100
57
|
encodeFunctionData(functionFragment: "setNormalizedDebt", values: [BigNumberish]): string;
|
|
101
58
|
encodeFunctionData(functionFragment: "setParameter", values: [BigNumberish, BigNumberish]): string;
|
|
102
59
|
encodeFunctionData(functionFragment: "setPrimeRate", values: [BigNumberish]): string;
|
|
103
60
|
encodeFunctionData(functionFragment: "setStabilityPool", values: [AddressLike]): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "supportedAdapter", values: [AddressLike]): string;
|
|
104
62
|
encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
|
|
105
63
|
encodeFunctionData(functionFragment: "updateState", values?: undefined): string;
|
|
106
64
|
encodeFunctionData(functionFragment: "updateUserReward", values: [AddressLike]): string;
|
|
107
65
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
108
|
-
encodeFunctionData(functionFragment: "
|
|
66
|
+
encodeFunctionData(functionFragment: "withdrawAsset", values: [AddressLike, BytesLike]): string;
|
|
109
67
|
decodeFunctionResult(functionFragment: "borrow", data: BytesLike): Result;
|
|
110
68
|
decodeFunctionResult(functionFragment: "calculateHealthFactor", data: BytesLike): Result;
|
|
111
69
|
decodeFunctionResult(functionFragment: "claimCollectorRewards", data: BytesLike): Result;
|
|
112
70
|
decodeFunctionResult(functionFragment: "claimReward", data: BytesLike): Result;
|
|
113
71
|
decodeFunctionResult(functionFragment: "closeLiquidation", data: BytesLike): Result;
|
|
114
72
|
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
115
|
-
decodeFunctionResult(functionFragment: "
|
|
73
|
+
decodeFunctionResult(functionFragment: "depositAsset", data: BytesLike): Result;
|
|
116
74
|
decodeFunctionResult(functionFragment: "depositRewardTokens", data: BytesLike): Result;
|
|
117
75
|
decodeFunctionResult(functionFragment: "finalizeLiquidation", data: BytesLike): Result;
|
|
118
|
-
decodeFunctionResult(functionFragment: "
|
|
119
|
-
decodeFunctionResult(functionFragment: "getNFTPrice", data: BytesLike): Result;
|
|
76
|
+
decodeFunctionResult(functionFragment: "getAssetValue", data: BytesLike): Result;
|
|
120
77
|
decodeFunctionResult(functionFragment: "getNormalizedDebt", data: BytesLike): Result;
|
|
121
78
|
decodeFunctionResult(functionFragment: "getNormalizedIncome", data: BytesLike): Result;
|
|
122
79
|
decodeFunctionResult(functionFragment: "getPendingReward", data: BytesLike): Result;
|
|
@@ -130,17 +87,19 @@ export interface MockLendingPoolDebtTokenInterface extends Interface {
|
|
|
130
87
|
decodeFunctionResult(functionFragment: "getUserDebt", data: BytesLike): Result;
|
|
131
88
|
decodeFunctionResult(functionFragment: "initiateLiquidation", data: BytesLike): Result;
|
|
132
89
|
decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "openVaultPosition", data: BytesLike): Result;
|
|
133
91
|
decodeFunctionResult(functionFragment: "repay", data: BytesLike): Result;
|
|
134
92
|
decodeFunctionResult(functionFragment: "repayOnBehalf", data: BytesLike): Result;
|
|
135
93
|
decodeFunctionResult(functionFragment: "setNormalizedDebt", data: BytesLike): Result;
|
|
136
94
|
decodeFunctionResult(functionFragment: "setParameter", data: BytesLike): Result;
|
|
137
95
|
decodeFunctionResult(functionFragment: "setPrimeRate", data: BytesLike): Result;
|
|
138
96
|
decodeFunctionResult(functionFragment: "setStabilityPool", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "supportedAdapter", data: BytesLike): Result;
|
|
139
98
|
decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
|
|
140
99
|
decodeFunctionResult(functionFragment: "updateState", data: BytesLike): Result;
|
|
141
100
|
decodeFunctionResult(functionFragment: "updateUserReward", data: BytesLike): Result;
|
|
142
101
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
143
|
-
decodeFunctionResult(functionFragment: "
|
|
102
|
+
decodeFunctionResult(functionFragment: "withdrawAsset", data: BytesLike): Result;
|
|
144
103
|
}
|
|
145
104
|
export declare namespace BorrowEvent {
|
|
146
105
|
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
@@ -154,6 +113,18 @@ export declare namespace BorrowEvent {
|
|
|
154
113
|
type Log = TypedEventLog<Event>;
|
|
155
114
|
type LogDescription = TypedLogDescription<Event>;
|
|
156
115
|
}
|
|
116
|
+
export declare namespace BorrowCapUpdatedEvent {
|
|
117
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
118
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
119
|
+
interface OutputObject {
|
|
120
|
+
oldalue: bigint;
|
|
121
|
+
newValue: bigint;
|
|
122
|
+
}
|
|
123
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
124
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
125
|
+
type Log = TypedEventLog<Event>;
|
|
126
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
127
|
+
}
|
|
157
128
|
export declare namespace CanPaybackDebtChangedEvent {
|
|
158
129
|
type InputTuple = [enabled: boolean];
|
|
159
130
|
type OutputTuple = [enabled: boolean];
|
|
@@ -186,6 +157,21 @@ export declare namespace DepositEvent {
|
|
|
186
157
|
type Log = TypedEventLog<Event>;
|
|
187
158
|
type LogDescription = TypedLogDescription<Event>;
|
|
188
159
|
}
|
|
160
|
+
export declare namespace DepositFeeUpdatedEvent {
|
|
161
|
+
type InputTuple = [
|
|
162
|
+
oldDepositFee: BigNumberish,
|
|
163
|
+
newDepositFee: BigNumberish
|
|
164
|
+
];
|
|
165
|
+
type OutputTuple = [oldDepositFee: bigint, newDepositFee: bigint];
|
|
166
|
+
interface OutputObject {
|
|
167
|
+
oldDepositFee: bigint;
|
|
168
|
+
newDepositFee: bigint;
|
|
169
|
+
}
|
|
170
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
171
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
172
|
+
type Log = TypedEventLog<Event>;
|
|
173
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
174
|
+
}
|
|
189
175
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
190
176
|
type InputTuple = [
|
|
191
177
|
oldFeeCollector: AddressLike,
|
|
@@ -226,11 +212,23 @@ export declare namespace InsuranceFeeUpdatedEvent {
|
|
|
226
212
|
type Log = TypedEventLog<Event>;
|
|
227
213
|
type LogDescription = TypedLogDescription<Event>;
|
|
228
214
|
}
|
|
229
|
-
export declare namespace
|
|
230
|
-
type InputTuple = [
|
|
231
|
-
|
|
215
|
+
export declare namespace InsuredAssetEvent {
|
|
216
|
+
type InputTuple = [
|
|
217
|
+
asset: AddressLike,
|
|
218
|
+
user: AddressLike,
|
|
219
|
+
data: BytesLike,
|
|
220
|
+
amount: BigNumberish
|
|
221
|
+
];
|
|
222
|
+
type OutputTuple = [
|
|
223
|
+
asset: string,
|
|
224
|
+
user: string,
|
|
225
|
+
data: string,
|
|
226
|
+
amount: bigint
|
|
227
|
+
];
|
|
232
228
|
interface OutputObject {
|
|
233
|
-
|
|
229
|
+
asset: string;
|
|
230
|
+
user: string;
|
|
231
|
+
data: string;
|
|
234
232
|
amount: bigint;
|
|
235
233
|
}
|
|
236
234
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -263,11 +261,16 @@ export declare namespace LiquidationEvent {
|
|
|
263
261
|
type LogDescription = TypedLogDescription<Event>;
|
|
264
262
|
}
|
|
265
263
|
export declare namespace LiquidationClosedEvent {
|
|
266
|
-
type InputTuple = [
|
|
267
|
-
|
|
264
|
+
type InputTuple = [
|
|
265
|
+
user: AddressLike,
|
|
266
|
+
adapter: AddressLike,
|
|
267
|
+
data: BytesLike
|
|
268
|
+
];
|
|
269
|
+
type OutputTuple = [user: string, adapter: string, data: string];
|
|
268
270
|
interface OutputObject {
|
|
269
271
|
user: string;
|
|
270
|
-
|
|
272
|
+
adapter: string;
|
|
273
|
+
data: string;
|
|
271
274
|
}
|
|
272
275
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
273
276
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -278,21 +281,24 @@ export declare namespace LiquidationFinalizedEvent {
|
|
|
278
281
|
type InputTuple = [
|
|
279
282
|
liquidator: AddressLike,
|
|
280
283
|
user: AddressLike,
|
|
281
|
-
|
|
284
|
+
adapter: AddressLike,
|
|
285
|
+
data: BytesLike,
|
|
282
286
|
debtRepaid: BigNumberish,
|
|
283
287
|
collateralLiquidated: BigNumberish
|
|
284
288
|
];
|
|
285
289
|
type OutputTuple = [
|
|
286
290
|
liquidator: string,
|
|
287
291
|
user: string,
|
|
288
|
-
|
|
292
|
+
adapter: string,
|
|
293
|
+
data: string,
|
|
289
294
|
debtRepaid: bigint,
|
|
290
295
|
collateralLiquidated: bigint
|
|
291
296
|
];
|
|
292
297
|
interface OutputObject {
|
|
293
298
|
liquidator: string;
|
|
294
299
|
user: string;
|
|
295
|
-
|
|
300
|
+
adapter: string;
|
|
301
|
+
data: string;
|
|
296
302
|
debtRepaid: bigint;
|
|
297
303
|
collateralLiquidated: bigint;
|
|
298
304
|
}
|
|
@@ -305,13 +311,20 @@ export declare namespace LiquidationInitiatedEvent {
|
|
|
305
311
|
type InputTuple = [
|
|
306
312
|
liquidator: AddressLike,
|
|
307
313
|
user: AddressLike,
|
|
308
|
-
|
|
314
|
+
adapter: AddressLike,
|
|
315
|
+
data: BytesLike
|
|
316
|
+
];
|
|
317
|
+
type OutputTuple = [
|
|
318
|
+
liquidator: string,
|
|
319
|
+
user: string,
|
|
320
|
+
adapter: string,
|
|
321
|
+
data: string
|
|
309
322
|
];
|
|
310
|
-
type OutputTuple = [liquidator: string, user: string, tokenId: bigint];
|
|
311
323
|
interface OutputObject {
|
|
312
324
|
liquidator: string;
|
|
313
325
|
user: string;
|
|
314
|
-
|
|
326
|
+
adapter: string;
|
|
327
|
+
data: string;
|
|
315
328
|
}
|
|
316
329
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
317
330
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -339,6 +352,24 @@ export declare namespace LiquidationParametersUpdatedEvent {
|
|
|
339
352
|
type Log = TypedEventLog<Event>;
|
|
340
353
|
type LogDescription = TypedLogDescription<Event>;
|
|
341
354
|
}
|
|
355
|
+
export declare namespace LiquidationProxyUpdatedEvent {
|
|
356
|
+
type InputTuple = [
|
|
357
|
+
oldLiquidationProxy: AddressLike,
|
|
358
|
+
newLiquidationProxy: AddressLike
|
|
359
|
+
];
|
|
360
|
+
type OutputTuple = [
|
|
361
|
+
oldLiquidationProxy: string,
|
|
362
|
+
newLiquidationProxy: string
|
|
363
|
+
];
|
|
364
|
+
interface OutputObject {
|
|
365
|
+
oldLiquidationProxy: string;
|
|
366
|
+
newLiquidationProxy: string;
|
|
367
|
+
}
|
|
368
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
369
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
370
|
+
type Log = TypedEventLog<Event>;
|
|
371
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
372
|
+
}
|
|
342
373
|
export declare namespace LiquidityBufferRatioUpdatedEvent {
|
|
343
374
|
type InputTuple = [oldRatio: BigNumberish, newRatio: BigNumberish];
|
|
344
375
|
type OutputTuple = [oldRatio: bigint, newRatio: bigint];
|
|
@@ -400,6 +431,27 @@ export declare namespace NotFeeCollectorEvent {
|
|
|
400
431
|
type Log = TypedEventLog<Event>;
|
|
401
432
|
type LogDescription = TypedLogDescription<Event>;
|
|
402
433
|
}
|
|
434
|
+
export declare namespace ParameterChangedEvent {
|
|
435
|
+
type InputTuple = [
|
|
436
|
+
parameter: BigNumberish,
|
|
437
|
+
oldalue: BigNumberish,
|
|
438
|
+
newValue: BigNumberish
|
|
439
|
+
];
|
|
440
|
+
type OutputTuple = [
|
|
441
|
+
parameter: bigint,
|
|
442
|
+
oldalue: bigint,
|
|
443
|
+
newValue: bigint
|
|
444
|
+
];
|
|
445
|
+
interface OutputObject {
|
|
446
|
+
parameter: bigint;
|
|
447
|
+
oldalue: bigint;
|
|
448
|
+
newValue: bigint;
|
|
449
|
+
}
|
|
450
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
451
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
452
|
+
type Log = TypedEventLog<Event>;
|
|
453
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
454
|
+
}
|
|
403
455
|
export declare namespace ProtocolFeeRateUpdatedEvent {
|
|
404
456
|
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
405
457
|
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
@@ -560,6 +612,42 @@ export declare namespace StabilityPoolUpdatedEvent {
|
|
|
560
612
|
type Log = TypedEventLog<Event>;
|
|
561
613
|
type LogDescription = TypedLogDescription<Event>;
|
|
562
614
|
}
|
|
615
|
+
export declare namespace SupplyCapUpdatedEvent {
|
|
616
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
617
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
618
|
+
interface OutputObject {
|
|
619
|
+
oldalue: bigint;
|
|
620
|
+
newValue: bigint;
|
|
621
|
+
}
|
|
622
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
623
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
624
|
+
type Log = TypedEventLog<Event>;
|
|
625
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
626
|
+
}
|
|
627
|
+
export declare namespace VaultOpeningFeePaidEvent {
|
|
628
|
+
type InputTuple = [user: AddressLike, fee: BigNumberish];
|
|
629
|
+
type OutputTuple = [user: string, fee: bigint];
|
|
630
|
+
interface OutputObject {
|
|
631
|
+
user: string;
|
|
632
|
+
fee: bigint;
|
|
633
|
+
}
|
|
634
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
635
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
636
|
+
type Log = TypedEventLog<Event>;
|
|
637
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
638
|
+
}
|
|
639
|
+
export declare namespace VaultOpeningFeeUpdatedEvent {
|
|
640
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
641
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
642
|
+
interface OutputObject {
|
|
643
|
+
oldalue: bigint;
|
|
644
|
+
newValue: bigint;
|
|
645
|
+
}
|
|
646
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
647
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
648
|
+
type Log = TypedEventLog<Event>;
|
|
649
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
650
|
+
}
|
|
563
651
|
export declare namespace VaultRewardsClaimedEvent {
|
|
564
652
|
type InputTuple = [amount: BigNumberish];
|
|
565
653
|
type OutputTuple = [amount: bigint];
|
|
@@ -606,6 +694,64 @@ export declare namespace WithdrawEvent {
|
|
|
606
694
|
type Log = TypedEventLog<Event>;
|
|
607
695
|
type LogDescription = TypedLogDescription<Event>;
|
|
608
696
|
}
|
|
697
|
+
export declare namespace WithdrawCancelledEvent {
|
|
698
|
+
type InputTuple = [user: AddressLike];
|
|
699
|
+
type OutputTuple = [user: string];
|
|
700
|
+
interface OutputObject {
|
|
701
|
+
user: string;
|
|
702
|
+
}
|
|
703
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
704
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
705
|
+
type Log = TypedEventLog<Event>;
|
|
706
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
707
|
+
}
|
|
708
|
+
export declare namespace WithdrawFeeUpdatedEvent {
|
|
709
|
+
type InputTuple = [
|
|
710
|
+
oldWithdrawalFee: BigNumberish,
|
|
711
|
+
newWithdrawalFee: BigNumberish
|
|
712
|
+
];
|
|
713
|
+
type OutputTuple = [
|
|
714
|
+
oldWithdrawalFee: bigint,
|
|
715
|
+
newWithdrawalFee: bigint
|
|
716
|
+
];
|
|
717
|
+
interface OutputObject {
|
|
718
|
+
oldWithdrawalFee: bigint;
|
|
719
|
+
newWithdrawalFee: bigint;
|
|
720
|
+
}
|
|
721
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
722
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
723
|
+
type Log = TypedEventLog<Event>;
|
|
724
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
725
|
+
}
|
|
726
|
+
export declare namespace WithdrawQueuedEvent {
|
|
727
|
+
type InputTuple = [
|
|
728
|
+
user: AddressLike,
|
|
729
|
+
amount: BigNumberish,
|
|
730
|
+
readyAt: BigNumberish
|
|
731
|
+
];
|
|
732
|
+
type OutputTuple = [user: string, amount: bigint, readyAt: bigint];
|
|
733
|
+
interface OutputObject {
|
|
734
|
+
user: string;
|
|
735
|
+
amount: bigint;
|
|
736
|
+
readyAt: bigint;
|
|
737
|
+
}
|
|
738
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
739
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
740
|
+
type Log = TypedEventLog<Event>;
|
|
741
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
742
|
+
}
|
|
743
|
+
export declare namespace WithdrawTimelockDurationUpdatedEvent {
|
|
744
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
745
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
746
|
+
interface OutputObject {
|
|
747
|
+
oldValue: bigint;
|
|
748
|
+
newValue: bigint;
|
|
749
|
+
}
|
|
750
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
751
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
752
|
+
type Log = TypedEventLog<Event>;
|
|
753
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
754
|
+
}
|
|
609
755
|
export declare namespace WithdrawalsPauseStatusChangedEvent {
|
|
610
756
|
type InputTuple = [isPaused: boolean];
|
|
611
757
|
type OutputTuple = [isPaused: boolean];
|
|
@@ -631,27 +777,31 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
631
777
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
632
778
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
633
779
|
borrow: TypedContractMethod<[
|
|
634
|
-
|
|
780
|
+
adapter: AddressLike,
|
|
781
|
+
data: BytesLike,
|
|
635
782
|
amount: BigNumberish
|
|
636
783
|
], [
|
|
637
784
|
void
|
|
638
785
|
], "nonpayable">;
|
|
639
786
|
calculateHealthFactor: TypedContractMethod<[
|
|
640
|
-
|
|
641
|
-
|
|
787
|
+
adapter: AddressLike,
|
|
788
|
+
user: AddressLike,
|
|
789
|
+
data: BytesLike
|
|
642
790
|
], [
|
|
643
791
|
bigint
|
|
644
792
|
], "view">;
|
|
645
793
|
claimCollectorRewards: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
646
794
|
claimReward: TypedContractMethod<[], [boolean], "nonpayable">;
|
|
647
795
|
closeLiquidation: TypedContractMethod<[
|
|
648
|
-
|
|
796
|
+
adapter: AddressLike,
|
|
797
|
+
data: BytesLike
|
|
649
798
|
], [
|
|
650
799
|
void
|
|
651
800
|
], "nonpayable">;
|
|
652
801
|
deposit: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
653
|
-
|
|
654
|
-
|
|
802
|
+
depositAsset: TypedContractMethod<[
|
|
803
|
+
adapter: AddressLike,
|
|
804
|
+
data: BytesLike
|
|
655
805
|
], [
|
|
656
806
|
void
|
|
657
807
|
], "nonpayable">;
|
|
@@ -661,41 +811,47 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
661
811
|
void
|
|
662
812
|
], "nonpayable">;
|
|
663
813
|
finalizeLiquidation: TypedContractMethod<[
|
|
664
|
-
|
|
665
|
-
|
|
814
|
+
adapter: AddressLike,
|
|
815
|
+
user: AddressLike,
|
|
816
|
+
data: BytesLike
|
|
666
817
|
], [
|
|
667
818
|
void
|
|
668
819
|
], "nonpayable">;
|
|
669
|
-
|
|
670
|
-
|
|
820
|
+
getAssetValue: TypedContractMethod<[
|
|
821
|
+
arg0: AddressLike,
|
|
822
|
+
arg1: AddressLike,
|
|
823
|
+
arg2: BytesLike
|
|
671
824
|
], [
|
|
672
|
-
|
|
825
|
+
bigint
|
|
673
826
|
], "view">;
|
|
674
|
-
getNFTPrice: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
675
827
|
getNormalizedDebt: TypedContractMethod<[], [bigint], "view">;
|
|
676
828
|
getNormalizedIncome: TypedContractMethod<[], [bigint], "view">;
|
|
677
829
|
getPendingReward: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
678
830
|
getPosition: TypedContractMethod<[
|
|
679
|
-
|
|
680
|
-
|
|
831
|
+
adapter: AddressLike,
|
|
832
|
+
user: AddressLike,
|
|
833
|
+
data: BytesLike
|
|
681
834
|
], [
|
|
682
|
-
|
|
835
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
683
836
|
], "view">;
|
|
684
837
|
getPositionData: TypedContractMethod<[
|
|
685
|
-
|
|
686
|
-
|
|
838
|
+
adapter: AddressLike,
|
|
839
|
+
user: AddressLike,
|
|
840
|
+
data: BytesLike
|
|
687
841
|
], [
|
|
688
842
|
[bigint, bigint]
|
|
689
843
|
], "view">;
|
|
690
844
|
getPositionDebt: TypedContractMethod<[
|
|
691
|
-
|
|
692
|
-
|
|
845
|
+
adapter: AddressLike,
|
|
846
|
+
user: AddressLike,
|
|
847
|
+
data: BytesLike
|
|
693
848
|
], [
|
|
694
849
|
bigint
|
|
695
850
|
], "view">;
|
|
696
851
|
getPositionScaledDebt: TypedContractMethod<[
|
|
697
|
-
|
|
698
|
-
|
|
852
|
+
adapter: AddressLike,
|
|
853
|
+
user: AddressLike,
|
|
854
|
+
data: BytesLike
|
|
699
855
|
], [
|
|
700
856
|
bigint
|
|
701
857
|
], "view">;
|
|
@@ -706,7 +862,7 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
706
862
|
], "view">;
|
|
707
863
|
getRAACNFTAddress: TypedContractMethod<[], [string], "view">;
|
|
708
864
|
getUserCollateralValue: TypedContractMethod<[
|
|
709
|
-
|
|
865
|
+
user: AddressLike
|
|
710
866
|
], [
|
|
711
867
|
bigint
|
|
712
868
|
], "view">;
|
|
@@ -716,8 +872,9 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
716
872
|
bigint
|
|
717
873
|
], "view">;
|
|
718
874
|
initiateLiquidation: TypedContractMethod<[
|
|
719
|
-
|
|
720
|
-
|
|
875
|
+
adapter: AddressLike,
|
|
876
|
+
user: AddressLike,
|
|
877
|
+
data: BytesLike
|
|
721
878
|
], [
|
|
722
879
|
void
|
|
723
880
|
], "nonpayable">;
|
|
@@ -729,14 +886,17 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
729
886
|
], [
|
|
730
887
|
string
|
|
731
888
|
], "view">;
|
|
889
|
+
openVaultPosition: TypedContractMethod<[], [void], "nonpayable">;
|
|
732
890
|
repay: TypedContractMethod<[
|
|
733
|
-
|
|
891
|
+
adapter: AddressLike,
|
|
892
|
+
data: BytesLike,
|
|
734
893
|
amount: BigNumberish
|
|
735
894
|
], [
|
|
736
895
|
void
|
|
737
896
|
], "nonpayable">;
|
|
738
897
|
repayOnBehalf: TypedContractMethod<[
|
|
739
|
-
|
|
898
|
+
adapter: AddressLike,
|
|
899
|
+
data: BytesLike,
|
|
740
900
|
amount: BigNumberish,
|
|
741
901
|
onBehalfOf: AddressLike
|
|
742
902
|
], [
|
|
@@ -763,6 +923,11 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
763
923
|
], [
|
|
764
924
|
void
|
|
765
925
|
], "nonpayable">;
|
|
926
|
+
supportedAdapter: TypedContractMethod<[
|
|
927
|
+
_adapter: AddressLike
|
|
928
|
+
], [
|
|
929
|
+
boolean
|
|
930
|
+
], "nonpayable">;
|
|
766
931
|
transferAccruedDust: TypedContractMethod<[
|
|
767
932
|
recipient: AddressLike,
|
|
768
933
|
amountUnderlying: BigNumberish
|
|
@@ -776,76 +941,96 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
776
941
|
void
|
|
777
942
|
], "nonpayable">;
|
|
778
943
|
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
779
|
-
|
|
780
|
-
|
|
944
|
+
withdrawAsset: TypedContractMethod<[
|
|
945
|
+
adapter: AddressLike,
|
|
946
|
+
data: BytesLike
|
|
781
947
|
], [
|
|
782
948
|
void
|
|
783
949
|
], "nonpayable">;
|
|
784
950
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
785
951
|
getFunction(nameOrSignature: "borrow"): TypedContractMethod<[
|
|
786
|
-
|
|
952
|
+
adapter: AddressLike,
|
|
953
|
+
data: BytesLike,
|
|
787
954
|
amount: BigNumberish
|
|
788
955
|
], [
|
|
789
956
|
void
|
|
790
957
|
], "nonpayable">;
|
|
791
958
|
getFunction(nameOrSignature: "calculateHealthFactor"): TypedContractMethod<[
|
|
792
|
-
|
|
793
|
-
|
|
959
|
+
adapter: AddressLike,
|
|
960
|
+
user: AddressLike,
|
|
961
|
+
data: BytesLike
|
|
794
962
|
], [
|
|
795
963
|
bigint
|
|
796
964
|
], "view">;
|
|
797
965
|
getFunction(nameOrSignature: "claimCollectorRewards"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
798
966
|
getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[], [boolean], "nonpayable">;
|
|
799
|
-
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
967
|
+
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
968
|
+
adapter: AddressLike,
|
|
969
|
+
data: BytesLike
|
|
970
|
+
], [
|
|
971
|
+
void
|
|
972
|
+
], "nonpayable">;
|
|
800
973
|
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
801
|
-
getFunction(nameOrSignature: "
|
|
974
|
+
getFunction(nameOrSignature: "depositAsset"): TypedContractMethod<[
|
|
975
|
+
adapter: AddressLike,
|
|
976
|
+
data: BytesLike
|
|
977
|
+
], [
|
|
978
|
+
void
|
|
979
|
+
], "nonpayable">;
|
|
802
980
|
getFunction(nameOrSignature: "depositRewardTokens"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
803
981
|
getFunction(nameOrSignature: "finalizeLiquidation"): TypedContractMethod<[
|
|
804
|
-
|
|
805
|
-
|
|
982
|
+
adapter: AddressLike,
|
|
983
|
+
user: AddressLike,
|
|
984
|
+
data: BytesLike
|
|
806
985
|
], [
|
|
807
986
|
void
|
|
808
987
|
], "nonpayable">;
|
|
809
|
-
getFunction(nameOrSignature: "
|
|
810
|
-
|
|
988
|
+
getFunction(nameOrSignature: "getAssetValue"): TypedContractMethod<[
|
|
989
|
+
arg0: AddressLike,
|
|
990
|
+
arg1: AddressLike,
|
|
991
|
+
arg2: BytesLike
|
|
811
992
|
], [
|
|
812
|
-
|
|
993
|
+
bigint
|
|
813
994
|
], "view">;
|
|
814
|
-
getFunction(nameOrSignature: "getNFTPrice"): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
815
995
|
getFunction(nameOrSignature: "getNormalizedDebt"): TypedContractMethod<[], [bigint], "view">;
|
|
816
996
|
getFunction(nameOrSignature: "getNormalizedIncome"): TypedContractMethod<[], [bigint], "view">;
|
|
817
997
|
getFunction(nameOrSignature: "getPendingReward"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
818
998
|
getFunction(nameOrSignature: "getPosition"): TypedContractMethod<[
|
|
819
|
-
|
|
820
|
-
|
|
999
|
+
adapter: AddressLike,
|
|
1000
|
+
user: AddressLike,
|
|
1001
|
+
data: BytesLike
|
|
821
1002
|
], [
|
|
822
|
-
|
|
1003
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
823
1004
|
], "view">;
|
|
824
1005
|
getFunction(nameOrSignature: "getPositionData"): TypedContractMethod<[
|
|
825
|
-
|
|
826
|
-
|
|
1006
|
+
adapter: AddressLike,
|
|
1007
|
+
user: AddressLike,
|
|
1008
|
+
data: BytesLike
|
|
827
1009
|
], [
|
|
828
1010
|
[bigint, bigint]
|
|
829
1011
|
], "view">;
|
|
830
1012
|
getFunction(nameOrSignature: "getPositionDebt"): TypedContractMethod<[
|
|
831
|
-
|
|
832
|
-
|
|
1013
|
+
adapter: AddressLike,
|
|
1014
|
+
user: AddressLike,
|
|
1015
|
+
data: BytesLike
|
|
833
1016
|
], [
|
|
834
1017
|
bigint
|
|
835
1018
|
], "view">;
|
|
836
1019
|
getFunction(nameOrSignature: "getPositionScaledDebt"): TypedContractMethod<[
|
|
837
|
-
|
|
838
|
-
|
|
1020
|
+
adapter: AddressLike,
|
|
1021
|
+
user: AddressLike,
|
|
1022
|
+
data: BytesLike
|
|
839
1023
|
], [
|
|
840
1024
|
bigint
|
|
841
1025
|
], "view">;
|
|
842
1026
|
getFunction(nameOrSignature: "getPositionsScaledDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
|
|
843
1027
|
getFunction(nameOrSignature: "getRAACNFTAddress"): TypedContractMethod<[], [string], "view">;
|
|
844
|
-
getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[
|
|
1028
|
+
getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
845
1029
|
getFunction(nameOrSignature: "getUserDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
|
|
846
1030
|
getFunction(nameOrSignature: "initiateLiquidation"): TypedContractMethod<[
|
|
847
|
-
|
|
848
|
-
|
|
1031
|
+
adapter: AddressLike,
|
|
1032
|
+
user: AddressLike,
|
|
1033
|
+
data: BytesLike
|
|
849
1034
|
], [
|
|
850
1035
|
void
|
|
851
1036
|
], "nonpayable">;
|
|
@@ -857,14 +1042,17 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
857
1042
|
], [
|
|
858
1043
|
string
|
|
859
1044
|
], "view">;
|
|
1045
|
+
getFunction(nameOrSignature: "openVaultPosition"): TypedContractMethod<[], [void], "nonpayable">;
|
|
860
1046
|
getFunction(nameOrSignature: "repay"): TypedContractMethod<[
|
|
861
|
-
|
|
1047
|
+
adapter: AddressLike,
|
|
1048
|
+
data: BytesLike,
|
|
862
1049
|
amount: BigNumberish
|
|
863
1050
|
], [
|
|
864
1051
|
void
|
|
865
1052
|
], "nonpayable">;
|
|
866
1053
|
getFunction(nameOrSignature: "repayOnBehalf"): TypedContractMethod<[
|
|
867
|
-
|
|
1054
|
+
adapter: AddressLike,
|
|
1055
|
+
data: BytesLike,
|
|
868
1056
|
amount: BigNumberish,
|
|
869
1057
|
onBehalfOf: AddressLike
|
|
870
1058
|
], [
|
|
@@ -883,6 +1071,7 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
883
1071
|
], "nonpayable">;
|
|
884
1072
|
getFunction(nameOrSignature: "setPrimeRate"): TypedContractMethod<[newPrimeRate: BigNumberish], [void], "nonpayable">;
|
|
885
1073
|
getFunction(nameOrSignature: "setStabilityPool"): TypedContractMethod<[newStabilityPool: AddressLike], [void], "nonpayable">;
|
|
1074
|
+
getFunction(nameOrSignature: "supportedAdapter"): TypedContractMethod<[_adapter: AddressLike], [boolean], "nonpayable">;
|
|
886
1075
|
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
887
1076
|
recipient: AddressLike,
|
|
888
1077
|
amountUnderlying: BigNumberish
|
|
@@ -892,24 +1081,33 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
892
1081
|
getFunction(nameOrSignature: "updateState"): TypedContractMethod<[], [void], "nonpayable">;
|
|
893
1082
|
getFunction(nameOrSignature: "updateUserReward"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
894
1083
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
895
|
-
getFunction(nameOrSignature: "
|
|
1084
|
+
getFunction(nameOrSignature: "withdrawAsset"): TypedContractMethod<[
|
|
1085
|
+
adapter: AddressLike,
|
|
1086
|
+
data: BytesLike
|
|
1087
|
+
], [
|
|
1088
|
+
void
|
|
1089
|
+
], "nonpayable">;
|
|
896
1090
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
1091
|
+
getEvent(key: "BorrowCapUpdated"): TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
897
1092
|
getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
898
1093
|
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
1094
|
+
getEvent(key: "DepositFeeUpdated"): TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
899
1095
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
900
1096
|
getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
901
1097
|
getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
902
|
-
getEvent(key: "
|
|
1098
|
+
getEvent(key: "InsuredAsset"): TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
903
1099
|
getEvent(key: "Liquidation"): TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
904
1100
|
getEvent(key: "LiquidationClosed"): TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
905
1101
|
getEvent(key: "LiquidationFinalized"): TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
906
1102
|
getEvent(key: "LiquidationInitiated"): TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
907
1103
|
getEvent(key: "LiquidationParametersUpdated"): TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
1104
|
+
getEvent(key: "LiquidationProxyUpdated"): TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
908
1105
|
getEvent(key: "LiquidityBufferRatioUpdated"): TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
909
1106
|
getEvent(key: "LiquidityRebalanced"): TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
910
1107
|
getEvent(key: "NFTDeposited"): TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
|
|
911
1108
|
getEvent(key: "NFTWithdrawn"): TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
|
|
912
1109
|
getEvent(key: "NotFeeCollector"): TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
1110
|
+
getEvent(key: "ParameterChanged"): TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
913
1111
|
getEvent(key: "ProtocolFeeRateUpdated"): TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
914
1112
|
getEvent(key: "ProtocolFeesCollected"): TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
|
|
915
1113
|
getEvent(key: "ProtocolFeesWithdrawn"): TypedContractEvent<ProtocolFeesWithdrawnEvent.InputTuple, ProtocolFeesWithdrawnEvent.OutputTuple, ProtocolFeesWithdrawnEvent.OutputObject>;
|
|
@@ -920,36 +1118,49 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
920
1118
|
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
921
1119
|
getEvent(key: "RewardTokensDeposited"): TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
922
1120
|
getEvent(key: "StabilityPoolUpdated"): TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
1121
|
+
getEvent(key: "SupplyCapUpdated"): TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1122
|
+
getEvent(key: "VaultOpeningFeePaid"): TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
1123
|
+
getEvent(key: "VaultOpeningFeeUpdated"): TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
923
1124
|
getEvent(key: "VaultRewardsClaimed"): TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
924
1125
|
getEvent(key: "VaultUpdated"): TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
925
1126
|
getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
926
1127
|
getEvent(key: "Withdraw"): TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1128
|
+
getEvent(key: "WithdrawCancelled"): TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
1129
|
+
getEvent(key: "WithdrawFeeUpdated"): TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1130
|
+
getEvent(key: "WithdrawQueued"): TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
1131
|
+
getEvent(key: "WithdrawTimelockDurationUpdated"): TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
927
1132
|
getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
928
1133
|
filters: {
|
|
929
1134
|
"Borrow(address,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
930
1135
|
Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
1136
|
+
"BorrowCapUpdated(uint256,uint256)": TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
1137
|
+
BorrowCapUpdated: TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
931
1138
|
"CanPaybackDebtChanged(bool)": TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
932
1139
|
CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
933
1140
|
"Deposit(address,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
934
1141
|
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
1142
|
+
"DepositFeeUpdated(uint256,uint256)": TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
1143
|
+
DepositFeeUpdated: TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
935
1144
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
936
1145
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
937
1146
|
"InsufficientFees()": TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
938
1147
|
InsufficientFees: TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
939
1148
|
"InsuranceFeeUpdated(uint256,uint256)": TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
940
1149
|
InsuranceFeeUpdated: TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
941
|
-
"
|
|
942
|
-
|
|
1150
|
+
"InsuredAsset(address,address,bytes,uint256)": TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
1151
|
+
InsuredAsset: TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
943
1152
|
"Liquidation(address,address,uint256,uint256)": TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
944
1153
|
Liquidation: TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
945
|
-
"LiquidationClosed(address,
|
|
1154
|
+
"LiquidationClosed(address,address,bytes)": TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
946
1155
|
LiquidationClosed: TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
947
|
-
"LiquidationFinalized(address,address,
|
|
1156
|
+
"LiquidationFinalized(address,address,address,bytes,uint256,uint256)": TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
948
1157
|
LiquidationFinalized: TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
949
|
-
"LiquidationInitiated(address,address,
|
|
1158
|
+
"LiquidationInitiated(address,address,address,bytes)": TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
950
1159
|
LiquidationInitiated: TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
951
1160
|
"LiquidationParametersUpdated(uint256,uint256,uint256)": TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
952
1161
|
LiquidationParametersUpdated: TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
1162
|
+
"LiquidationProxyUpdated(address,address)": TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
1163
|
+
LiquidationProxyUpdated: TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
953
1164
|
"LiquidityBufferRatioUpdated(uint256,uint256)": TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
954
1165
|
LiquidityBufferRatioUpdated: TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
955
1166
|
"LiquidityRebalanced(uint256,uint256)": TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
@@ -960,6 +1171,8 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
960
1171
|
NFTWithdrawn: TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
|
|
961
1172
|
"NotFeeCollector()": TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
962
1173
|
NotFeeCollector: TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
1174
|
+
"ParameterChanged(uint8,uint256,uint256)": TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
1175
|
+
ParameterChanged: TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
963
1176
|
"ProtocolFeeRateUpdated(uint256,uint256)": TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
964
1177
|
ProtocolFeeRateUpdated: TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
965
1178
|
"ProtocolFeesCollected(uint256,uint256)": TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
|
|
@@ -980,6 +1193,12 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
980
1193
|
RewardTokensDeposited: TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
981
1194
|
"StabilityPoolUpdated(address,address)": TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
982
1195
|
StabilityPoolUpdated: TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
1196
|
+
"SupplyCapUpdated(uint256,uint256)": TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1197
|
+
SupplyCapUpdated: TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1198
|
+
"VaultOpeningFeePaid(address,uint256)": TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
1199
|
+
VaultOpeningFeePaid: TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
1200
|
+
"VaultOpeningFeeUpdated(uint256,uint256)": TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
1201
|
+
VaultOpeningFeeUpdated: TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
983
1202
|
"VaultRewardsClaimed(uint256)": TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
984
1203
|
VaultRewardsClaimed: TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
985
1204
|
"VaultUpdated(address,address)": TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
@@ -988,6 +1207,14 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
988
1207
|
VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
989
1208
|
"Withdraw(address,uint256)": TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
990
1209
|
Withdraw: TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1210
|
+
"WithdrawCancelled(address)": TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
1211
|
+
WithdrawCancelled: TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
1212
|
+
"WithdrawFeeUpdated(uint256,uint256)": TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1213
|
+
WithdrawFeeUpdated: TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1214
|
+
"WithdrawQueued(address,uint256,uint256)": TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
1215
|
+
WithdrawQueued: TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
1216
|
+
"WithdrawTimelockDurationUpdated(uint256,uint256)": TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
1217
|
+
WithdrawTimelockDurationUpdated: TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
991
1218
|
"WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
992
1219
|
WithdrawalsPauseStatusChanged: TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
993
1220
|
};
|