@raac/rpc 1.1.0-beta.2 → 1.1.0-beta.21
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 +77 -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 +412 -0
- 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 +1015 -351
- 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/RWAIndexToken.sol/RWAIndexToken.json +591 -0
- 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/assets/getSupply.js +3 -0
- package/dist/configs/chains/11155111.json +8 -3
- package/dist/configs/chains/17000.json +38 -3
- package/dist/configs/chains/8453.json +49 -14
- package/dist/configs/createConfig.js +3 -3
- package/dist/methods/approveToken.js +1 -9
- package/dist/minter/tick.js +3 -7
- package/dist/nfts/approveNFT.js +25 -0
- package/dist/nfts/getApprovalForAll.js +32 -0
- package/dist/nfts/getNFTApproval.js +33 -0
- package/dist/nfts/setApprovalForAll.js +34 -0
- package/dist/pools/lendingPool/_helpers.js +40 -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 +21 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +33 -0
- package/dist/pools/lendingPool/borrowFromLendingPool.js +11 -14
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +11 -29
- package/dist/pools/lendingPool/calculateInsuranceFee.js +12 -8
- package/dist/pools/lendingPool/closeLiquidation.js +16 -14
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +22 -0
- package/dist/pools/lendingPool/depositToLendingPool.js +4 -11
- package/dist/pools/lendingPool/getAdapterAddress.js +44 -0
- package/dist/pools/lendingPool/getAdapters.js +20 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +2 -5
- package/dist/pools/lendingPool/getHealthFactor.js +15 -13
- package/dist/pools/lendingPool/getLendingPoolInfo.js +18 -33
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +2 -6
- package/dist/pools/lendingPool/getParameters.js +29 -0
- package/dist/pools/lendingPool/getPositionDebt.js +12 -11
- package/dist/pools/lendingPool/getPositionScaledDebt.js +16 -13
- package/dist/pools/lendingPool/getPositionView.js +17 -10
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +3 -5
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +2 -5
- package/dist/pools/lendingPool/getUserCollateralValue.js +3 -5
- package/dist/pools/lendingPool/getWithdrawRequestInfo.js +22 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +12 -12
- package/dist/pools/lendingPool/openVaultPosition.js +39 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +11 -14
- package/dist/pools/lendingPool/requestWithdraw.js +28 -0
- package/dist/pools/lendingPool/types.js +2 -0
- package/dist/pools/lendingPool/vaultOpened.js +22 -0
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +21 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +9 -11
- package/dist/pools/rwaVault/_helpers.js +41 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/depositToRWAVault.js +23 -0
- package/dist/pools/rwaVault/getAdapterAddress.js +43 -0
- package/dist/pools/rwaVault/getAdapters.js +20 -0
- package/dist/pools/rwaVault/getNextRandomNFT.js +21 -0
- package/dist/pools/rwaVault/getRWAVaultInfo.js +48 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +23 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +23 -0
- package/dist/pools/rwaVault/types.js +2 -0
- package/dist/pools/stabilityPool/depositToStabilityPool.js +0 -6
- package/dist/pools/stabilityPool/withdrawFromStabilityPool.js +0 -6
- package/dist/scripts/index.js +29 -32
- package/dist/types/RPCLibrary.d.ts +68 -22
- package/dist/types/configs/createConfig.d.ts +1 -1
- package/dist/types/nfts/approveNFT.d.ts +9 -0
- package/dist/types/nfts/getApprovalForAll.d.ts +14 -0
- package/dist/types/nfts/getNFTApproval.d.ts +14 -0
- package/dist/types/nfts/setApprovalForAll.d.ts +14 -0
- package/dist/types/pools/lendingPool/_helpers.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +5 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +12 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -3
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +3 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +7 -5
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +5 -0
- package/dist/types/pools/lendingPool/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/lendingPool/getAdapters.d.ts +8 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +6 -4
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -3
- package/dist/types/pools/lendingPool/getParameters.d.ts +17 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +4 -3
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +8 -5
- package/dist/types/pools/lendingPool/getPositionView.d.ts +14 -16
- package/dist/types/pools/lendingPool/getWithdrawRequestInfo.d.ts +8 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +4 -3
- package/dist/types/pools/lendingPool/openVaultPosition.d.ts +4 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/requestWithdraw.d.ts +4 -0
- package/dist/types/pools/lendingPool/types.d.ts +7 -0
- package/dist/types/pools/lendingPool/vaultOpened.d.ts +11 -0
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +4 -0
- package/dist/types/pools/rwaVault/_helpers.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +5 -0
- package/dist/types/pools/rwaVault/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/rwaVault/getAdapters.d.ts +8 -0
- package/dist/types/pools/rwaVault/getNextRandomNFT.d.ts +8 -0
- package/dist/types/pools/rwaVault/getRWAVaultInfo.d.ts +20 -0
- package/dist/types/pools/rwaVault/redeemNFTFromRWAVault.d.ts +4 -0
- package/dist/types/pools/rwaVault/requestRandomSeed.d.ts +4 -0
- package/dist/types/pools/rwaVault/types.d.ts +7 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface.d.ts +143 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI.d.ts +529 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus.d.ts +109 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +6 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus.d.ts +192 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus.d.ts +45 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus.d.ts +155 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient.d.ts +25 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock.d.ts +731 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts +77 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +231 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC2981.d.ts +49 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/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 +689 -213
- 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 +330 -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 +328 -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/Math__factory.d.ts +1 -1
- 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/boost/BoostController__factory.d.ts +1 -1
- 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 +863 -338
- 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/NFTLiquidator__factory.d.ts +1 -1
- 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/IndexToken__factory.d.ts +1 -1
- 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 +398 -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/Checkpoints__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/RAACVoting__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +1 -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/MockBaseGauge__factory.d.ts +1 -1
- 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 +397 -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/MockVeToken__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/CheckpointsMock__factory.d.ts +1 -1
- 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/RAACVotingMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +1 -1
- 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/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__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 +1733 -26
- package/dist/types/wallet/assets/approveNFT.d.ts +0 -0
- package/dist/types/wallet/assets/getAllowance.d.ts +1 -1
- package/dist/types/wallet/assets/getBalance.d.ts +5 -1
- package/dist/utils/artifacts.js +18 -5
- package/dist/wallet/assets/approveAsset.js +2 -6
- package/dist/wallet/assets/approveNFT.js +0 -0
- package/dist/wallet/assets/burnAsset.js +0 -6
- package/dist/wallet/assets/getAllowance.js +3 -3
- package/dist/wallet/assets/getBalance.js +20 -6
- package/dist/wallet/assets/mintAsset.js +1 -6
- package/dist/wallet/assets/transferAsset.js +0 -7
- package/package.json +2 -2
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +0 -770
- package/dist/contracts/indexToken/getNextRandomNFT.js +0 -30
- package/dist/contracts/indexToken/redeemNFT.js +0 -39
- package/dist/pools/lendingPool/claimReward.js +0 -22
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -50
- package/dist/pools/lendingPool/getAllUserData.js +0 -28
- package/dist/pools/lendingPool/getPendingReward.js +0 -20
- package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +0 -24
- package/dist/pools/stabilityPool/calculateRAACRewards.js +0 -21
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +0 -40
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +0 -7
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +0 -4
- package/dist/types/pools/lendingPool/claimReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +0 -4
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +0 -16
- 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" | "DepositFeeUpdated" | "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];
|
|
@@ -241,11 +212,23 @@ export declare namespace InsuranceFeeUpdatedEvent {
|
|
|
241
212
|
type Log = TypedEventLog<Event>;
|
|
242
213
|
type LogDescription = TypedLogDescription<Event>;
|
|
243
214
|
}
|
|
244
|
-
export declare namespace
|
|
245
|
-
type InputTuple = [
|
|
246
|
-
|
|
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
|
+
];
|
|
247
228
|
interface OutputObject {
|
|
248
|
-
|
|
229
|
+
asset: string;
|
|
230
|
+
user: string;
|
|
231
|
+
data: string;
|
|
249
232
|
amount: bigint;
|
|
250
233
|
}
|
|
251
234
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -278,11 +261,16 @@ export declare namespace LiquidationEvent {
|
|
|
278
261
|
type LogDescription = TypedLogDescription<Event>;
|
|
279
262
|
}
|
|
280
263
|
export declare namespace LiquidationClosedEvent {
|
|
281
|
-
type InputTuple = [
|
|
282
|
-
|
|
264
|
+
type InputTuple = [
|
|
265
|
+
user: AddressLike,
|
|
266
|
+
adapter: AddressLike,
|
|
267
|
+
data: BytesLike
|
|
268
|
+
];
|
|
269
|
+
type OutputTuple = [user: string, adapter: string, data: string];
|
|
283
270
|
interface OutputObject {
|
|
284
271
|
user: string;
|
|
285
|
-
|
|
272
|
+
adapter: string;
|
|
273
|
+
data: string;
|
|
286
274
|
}
|
|
287
275
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
288
276
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -293,21 +281,24 @@ export declare namespace LiquidationFinalizedEvent {
|
|
|
293
281
|
type InputTuple = [
|
|
294
282
|
liquidator: AddressLike,
|
|
295
283
|
user: AddressLike,
|
|
296
|
-
|
|
284
|
+
adapter: AddressLike,
|
|
285
|
+
data: BytesLike,
|
|
297
286
|
debtRepaid: BigNumberish,
|
|
298
287
|
collateralLiquidated: BigNumberish
|
|
299
288
|
];
|
|
300
289
|
type OutputTuple = [
|
|
301
290
|
liquidator: string,
|
|
302
291
|
user: string,
|
|
303
|
-
|
|
292
|
+
adapter: string,
|
|
293
|
+
data: string,
|
|
304
294
|
debtRepaid: bigint,
|
|
305
295
|
collateralLiquidated: bigint
|
|
306
296
|
];
|
|
307
297
|
interface OutputObject {
|
|
308
298
|
liquidator: string;
|
|
309
299
|
user: string;
|
|
310
|
-
|
|
300
|
+
adapter: string;
|
|
301
|
+
data: string;
|
|
311
302
|
debtRepaid: bigint;
|
|
312
303
|
collateralLiquidated: bigint;
|
|
313
304
|
}
|
|
@@ -320,13 +311,20 @@ export declare namespace LiquidationInitiatedEvent {
|
|
|
320
311
|
type InputTuple = [
|
|
321
312
|
liquidator: AddressLike,
|
|
322
313
|
user: AddressLike,
|
|
323
|
-
|
|
314
|
+
adapter: AddressLike,
|
|
315
|
+
data: BytesLike
|
|
316
|
+
];
|
|
317
|
+
type OutputTuple = [
|
|
318
|
+
liquidator: string,
|
|
319
|
+
user: string,
|
|
320
|
+
adapter: string,
|
|
321
|
+
data: string
|
|
324
322
|
];
|
|
325
|
-
type OutputTuple = [liquidator: string, user: string, tokenId: bigint];
|
|
326
323
|
interface OutputObject {
|
|
327
324
|
liquidator: string;
|
|
328
325
|
user: string;
|
|
329
|
-
|
|
326
|
+
adapter: string;
|
|
327
|
+
data: string;
|
|
330
328
|
}
|
|
331
329
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
332
330
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -354,6 +352,24 @@ export declare namespace LiquidationParametersUpdatedEvent {
|
|
|
354
352
|
type Log = TypedEventLog<Event>;
|
|
355
353
|
type LogDescription = TypedLogDescription<Event>;
|
|
356
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
|
+
}
|
|
357
373
|
export declare namespace LiquidityBufferRatioUpdatedEvent {
|
|
358
374
|
type InputTuple = [oldRatio: BigNumberish, newRatio: BigNumberish];
|
|
359
375
|
type OutputTuple = [oldRatio: bigint, newRatio: bigint];
|
|
@@ -415,6 +431,27 @@ export declare namespace NotFeeCollectorEvent {
|
|
|
415
431
|
type Log = TypedEventLog<Event>;
|
|
416
432
|
type LogDescription = TypedLogDescription<Event>;
|
|
417
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
|
+
}
|
|
418
455
|
export declare namespace ProtocolFeeRateUpdatedEvent {
|
|
419
456
|
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
420
457
|
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
@@ -575,6 +612,42 @@ export declare namespace StabilityPoolUpdatedEvent {
|
|
|
575
612
|
type Log = TypedEventLog<Event>;
|
|
576
613
|
type LogDescription = TypedLogDescription<Event>;
|
|
577
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
|
+
}
|
|
578
651
|
export declare namespace VaultRewardsClaimedEvent {
|
|
579
652
|
type InputTuple = [amount: BigNumberish];
|
|
580
653
|
type OutputTuple = [amount: bigint];
|
|
@@ -621,6 +694,17 @@ export declare namespace WithdrawEvent {
|
|
|
621
694
|
type Log = TypedEventLog<Event>;
|
|
622
695
|
type LogDescription = TypedLogDescription<Event>;
|
|
623
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
|
+
}
|
|
624
708
|
export declare namespace WithdrawFeeUpdatedEvent {
|
|
625
709
|
type InputTuple = [
|
|
626
710
|
oldWithdrawalFee: BigNumberish,
|
|
@@ -639,6 +723,35 @@ export declare namespace WithdrawFeeUpdatedEvent {
|
|
|
639
723
|
type Log = TypedEventLog<Event>;
|
|
640
724
|
type LogDescription = TypedLogDescription<Event>;
|
|
641
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
|
+
}
|
|
642
755
|
export declare namespace WithdrawalsPauseStatusChangedEvent {
|
|
643
756
|
type InputTuple = [isPaused: boolean];
|
|
644
757
|
type OutputTuple = [isPaused: boolean];
|
|
@@ -664,27 +777,31 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
664
777
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
665
778
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
666
779
|
borrow: TypedContractMethod<[
|
|
667
|
-
|
|
780
|
+
adapter: AddressLike,
|
|
781
|
+
data: BytesLike,
|
|
668
782
|
amount: BigNumberish
|
|
669
783
|
], [
|
|
670
784
|
void
|
|
671
785
|
], "nonpayable">;
|
|
672
786
|
calculateHealthFactor: TypedContractMethod<[
|
|
673
|
-
|
|
674
|
-
|
|
787
|
+
adapter: AddressLike,
|
|
788
|
+
user: AddressLike,
|
|
789
|
+
data: BytesLike
|
|
675
790
|
], [
|
|
676
791
|
bigint
|
|
677
792
|
], "view">;
|
|
678
793
|
claimCollectorRewards: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
679
794
|
claimReward: TypedContractMethod<[], [boolean], "nonpayable">;
|
|
680
795
|
closeLiquidation: TypedContractMethod<[
|
|
681
|
-
|
|
796
|
+
adapter: AddressLike,
|
|
797
|
+
data: BytesLike
|
|
682
798
|
], [
|
|
683
799
|
void
|
|
684
800
|
], "nonpayable">;
|
|
685
801
|
deposit: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
686
|
-
|
|
687
|
-
|
|
802
|
+
depositAsset: TypedContractMethod<[
|
|
803
|
+
adapter: AddressLike,
|
|
804
|
+
data: BytesLike
|
|
688
805
|
], [
|
|
689
806
|
void
|
|
690
807
|
], "nonpayable">;
|
|
@@ -694,41 +811,47 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
694
811
|
void
|
|
695
812
|
], "nonpayable">;
|
|
696
813
|
finalizeLiquidation: TypedContractMethod<[
|
|
697
|
-
|
|
698
|
-
|
|
814
|
+
adapter: AddressLike,
|
|
815
|
+
user: AddressLike,
|
|
816
|
+
data: BytesLike
|
|
699
817
|
], [
|
|
700
818
|
void
|
|
701
819
|
], "nonpayable">;
|
|
702
|
-
|
|
703
|
-
|
|
820
|
+
getAssetValue: TypedContractMethod<[
|
|
821
|
+
arg0: AddressLike,
|
|
822
|
+
arg1: AddressLike,
|
|
823
|
+
arg2: BytesLike
|
|
704
824
|
], [
|
|
705
|
-
|
|
825
|
+
bigint
|
|
706
826
|
], "view">;
|
|
707
|
-
getNFTPrice: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
708
827
|
getNormalizedDebt: TypedContractMethod<[], [bigint], "view">;
|
|
709
828
|
getNormalizedIncome: TypedContractMethod<[], [bigint], "view">;
|
|
710
829
|
getPendingReward: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
711
830
|
getPosition: TypedContractMethod<[
|
|
712
|
-
|
|
713
|
-
|
|
831
|
+
adapter: AddressLike,
|
|
832
|
+
user: AddressLike,
|
|
833
|
+
data: BytesLike
|
|
714
834
|
], [
|
|
715
|
-
|
|
835
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
716
836
|
], "view">;
|
|
717
837
|
getPositionData: TypedContractMethod<[
|
|
718
|
-
|
|
719
|
-
|
|
838
|
+
adapter: AddressLike,
|
|
839
|
+
user: AddressLike,
|
|
840
|
+
data: BytesLike
|
|
720
841
|
], [
|
|
721
842
|
[bigint, bigint]
|
|
722
843
|
], "view">;
|
|
723
844
|
getPositionDebt: TypedContractMethod<[
|
|
724
|
-
|
|
725
|
-
|
|
845
|
+
adapter: AddressLike,
|
|
846
|
+
user: AddressLike,
|
|
847
|
+
data: BytesLike
|
|
726
848
|
], [
|
|
727
849
|
bigint
|
|
728
850
|
], "view">;
|
|
729
851
|
getPositionScaledDebt: TypedContractMethod<[
|
|
730
|
-
|
|
731
|
-
|
|
852
|
+
adapter: AddressLike,
|
|
853
|
+
user: AddressLike,
|
|
854
|
+
data: BytesLike
|
|
732
855
|
], [
|
|
733
856
|
bigint
|
|
734
857
|
], "view">;
|
|
@@ -739,7 +862,7 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
739
862
|
], "view">;
|
|
740
863
|
getRAACNFTAddress: TypedContractMethod<[], [string], "view">;
|
|
741
864
|
getUserCollateralValue: TypedContractMethod<[
|
|
742
|
-
|
|
865
|
+
user: AddressLike
|
|
743
866
|
], [
|
|
744
867
|
bigint
|
|
745
868
|
], "view">;
|
|
@@ -749,8 +872,9 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
749
872
|
bigint
|
|
750
873
|
], "view">;
|
|
751
874
|
initiateLiquidation: TypedContractMethod<[
|
|
752
|
-
|
|
753
|
-
|
|
875
|
+
adapter: AddressLike,
|
|
876
|
+
user: AddressLike,
|
|
877
|
+
data: BytesLike
|
|
754
878
|
], [
|
|
755
879
|
void
|
|
756
880
|
], "nonpayable">;
|
|
@@ -762,14 +886,17 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
762
886
|
], [
|
|
763
887
|
string
|
|
764
888
|
], "view">;
|
|
889
|
+
openVaultPosition: TypedContractMethod<[], [void], "nonpayable">;
|
|
765
890
|
repay: TypedContractMethod<[
|
|
766
|
-
|
|
891
|
+
adapter: AddressLike,
|
|
892
|
+
data: BytesLike,
|
|
767
893
|
amount: BigNumberish
|
|
768
894
|
], [
|
|
769
895
|
void
|
|
770
896
|
], "nonpayable">;
|
|
771
897
|
repayOnBehalf: TypedContractMethod<[
|
|
772
|
-
|
|
898
|
+
adapter: AddressLike,
|
|
899
|
+
data: BytesLike,
|
|
773
900
|
amount: BigNumberish,
|
|
774
901
|
onBehalfOf: AddressLike
|
|
775
902
|
], [
|
|
@@ -796,6 +923,11 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
796
923
|
], [
|
|
797
924
|
void
|
|
798
925
|
], "nonpayable">;
|
|
926
|
+
supportedAdapter: TypedContractMethod<[
|
|
927
|
+
_adapter: AddressLike
|
|
928
|
+
], [
|
|
929
|
+
boolean
|
|
930
|
+
], "nonpayable">;
|
|
799
931
|
transferAccruedDust: TypedContractMethod<[
|
|
800
932
|
recipient: AddressLike,
|
|
801
933
|
amountUnderlying: BigNumberish
|
|
@@ -809,76 +941,96 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
809
941
|
void
|
|
810
942
|
], "nonpayable">;
|
|
811
943
|
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
812
|
-
|
|
813
|
-
|
|
944
|
+
withdrawAsset: TypedContractMethod<[
|
|
945
|
+
adapter: AddressLike,
|
|
946
|
+
data: BytesLike
|
|
814
947
|
], [
|
|
815
948
|
void
|
|
816
949
|
], "nonpayable">;
|
|
817
950
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
818
951
|
getFunction(nameOrSignature: "borrow"): TypedContractMethod<[
|
|
819
|
-
|
|
952
|
+
adapter: AddressLike,
|
|
953
|
+
data: BytesLike,
|
|
820
954
|
amount: BigNumberish
|
|
821
955
|
], [
|
|
822
956
|
void
|
|
823
957
|
], "nonpayable">;
|
|
824
958
|
getFunction(nameOrSignature: "calculateHealthFactor"): TypedContractMethod<[
|
|
825
|
-
|
|
826
|
-
|
|
959
|
+
adapter: AddressLike,
|
|
960
|
+
user: AddressLike,
|
|
961
|
+
data: BytesLike
|
|
827
962
|
], [
|
|
828
963
|
bigint
|
|
829
964
|
], "view">;
|
|
830
965
|
getFunction(nameOrSignature: "claimCollectorRewards"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
831
966
|
getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[], [boolean], "nonpayable">;
|
|
832
|
-
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
967
|
+
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
968
|
+
adapter: AddressLike,
|
|
969
|
+
data: BytesLike
|
|
970
|
+
], [
|
|
971
|
+
void
|
|
972
|
+
], "nonpayable">;
|
|
833
973
|
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
834
|
-
getFunction(nameOrSignature: "
|
|
974
|
+
getFunction(nameOrSignature: "depositAsset"): TypedContractMethod<[
|
|
975
|
+
adapter: AddressLike,
|
|
976
|
+
data: BytesLike
|
|
977
|
+
], [
|
|
978
|
+
void
|
|
979
|
+
], "nonpayable">;
|
|
835
980
|
getFunction(nameOrSignature: "depositRewardTokens"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
836
981
|
getFunction(nameOrSignature: "finalizeLiquidation"): TypedContractMethod<[
|
|
837
|
-
|
|
838
|
-
|
|
982
|
+
adapter: AddressLike,
|
|
983
|
+
user: AddressLike,
|
|
984
|
+
data: BytesLike
|
|
839
985
|
], [
|
|
840
986
|
void
|
|
841
987
|
], "nonpayable">;
|
|
842
|
-
getFunction(nameOrSignature: "
|
|
843
|
-
|
|
988
|
+
getFunction(nameOrSignature: "getAssetValue"): TypedContractMethod<[
|
|
989
|
+
arg0: AddressLike,
|
|
990
|
+
arg1: AddressLike,
|
|
991
|
+
arg2: BytesLike
|
|
844
992
|
], [
|
|
845
|
-
|
|
993
|
+
bigint
|
|
846
994
|
], "view">;
|
|
847
|
-
getFunction(nameOrSignature: "getNFTPrice"): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
848
995
|
getFunction(nameOrSignature: "getNormalizedDebt"): TypedContractMethod<[], [bigint], "view">;
|
|
849
996
|
getFunction(nameOrSignature: "getNormalizedIncome"): TypedContractMethod<[], [bigint], "view">;
|
|
850
997
|
getFunction(nameOrSignature: "getPendingReward"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
851
998
|
getFunction(nameOrSignature: "getPosition"): TypedContractMethod<[
|
|
852
|
-
|
|
853
|
-
|
|
999
|
+
adapter: AddressLike,
|
|
1000
|
+
user: AddressLike,
|
|
1001
|
+
data: BytesLike
|
|
854
1002
|
], [
|
|
855
|
-
|
|
1003
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
856
1004
|
], "view">;
|
|
857
1005
|
getFunction(nameOrSignature: "getPositionData"): TypedContractMethod<[
|
|
858
|
-
|
|
859
|
-
|
|
1006
|
+
adapter: AddressLike,
|
|
1007
|
+
user: AddressLike,
|
|
1008
|
+
data: BytesLike
|
|
860
1009
|
], [
|
|
861
1010
|
[bigint, bigint]
|
|
862
1011
|
], "view">;
|
|
863
1012
|
getFunction(nameOrSignature: "getPositionDebt"): TypedContractMethod<[
|
|
864
|
-
|
|
865
|
-
|
|
1013
|
+
adapter: AddressLike,
|
|
1014
|
+
user: AddressLike,
|
|
1015
|
+
data: BytesLike
|
|
866
1016
|
], [
|
|
867
1017
|
bigint
|
|
868
1018
|
], "view">;
|
|
869
1019
|
getFunction(nameOrSignature: "getPositionScaledDebt"): TypedContractMethod<[
|
|
870
|
-
|
|
871
|
-
|
|
1020
|
+
adapter: AddressLike,
|
|
1021
|
+
user: AddressLike,
|
|
1022
|
+
data: BytesLike
|
|
872
1023
|
], [
|
|
873
1024
|
bigint
|
|
874
1025
|
], "view">;
|
|
875
1026
|
getFunction(nameOrSignature: "getPositionsScaledDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
|
|
876
1027
|
getFunction(nameOrSignature: "getRAACNFTAddress"): TypedContractMethod<[], [string], "view">;
|
|
877
|
-
getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[
|
|
1028
|
+
getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
878
1029
|
getFunction(nameOrSignature: "getUserDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
|
|
879
1030
|
getFunction(nameOrSignature: "initiateLiquidation"): TypedContractMethod<[
|
|
880
|
-
|
|
881
|
-
|
|
1031
|
+
adapter: AddressLike,
|
|
1032
|
+
user: AddressLike,
|
|
1033
|
+
data: BytesLike
|
|
882
1034
|
], [
|
|
883
1035
|
void
|
|
884
1036
|
], "nonpayable">;
|
|
@@ -890,14 +1042,17 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
890
1042
|
], [
|
|
891
1043
|
string
|
|
892
1044
|
], "view">;
|
|
1045
|
+
getFunction(nameOrSignature: "openVaultPosition"): TypedContractMethod<[], [void], "nonpayable">;
|
|
893
1046
|
getFunction(nameOrSignature: "repay"): TypedContractMethod<[
|
|
894
|
-
|
|
1047
|
+
adapter: AddressLike,
|
|
1048
|
+
data: BytesLike,
|
|
895
1049
|
amount: BigNumberish
|
|
896
1050
|
], [
|
|
897
1051
|
void
|
|
898
1052
|
], "nonpayable">;
|
|
899
1053
|
getFunction(nameOrSignature: "repayOnBehalf"): TypedContractMethod<[
|
|
900
|
-
|
|
1054
|
+
adapter: AddressLike,
|
|
1055
|
+
data: BytesLike,
|
|
901
1056
|
amount: BigNumberish,
|
|
902
1057
|
onBehalfOf: AddressLike
|
|
903
1058
|
], [
|
|
@@ -916,6 +1071,7 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
916
1071
|
], "nonpayable">;
|
|
917
1072
|
getFunction(nameOrSignature: "setPrimeRate"): TypedContractMethod<[newPrimeRate: BigNumberish], [void], "nonpayable">;
|
|
918
1073
|
getFunction(nameOrSignature: "setStabilityPool"): TypedContractMethod<[newStabilityPool: AddressLike], [void], "nonpayable">;
|
|
1074
|
+
getFunction(nameOrSignature: "supportedAdapter"): TypedContractMethod<[_adapter: AddressLike], [boolean], "nonpayable">;
|
|
919
1075
|
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
920
1076
|
recipient: AddressLike,
|
|
921
1077
|
amountUnderlying: BigNumberish
|
|
@@ -925,25 +1081,33 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
925
1081
|
getFunction(nameOrSignature: "updateState"): TypedContractMethod<[], [void], "nonpayable">;
|
|
926
1082
|
getFunction(nameOrSignature: "updateUserReward"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
927
1083
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
928
|
-
getFunction(nameOrSignature: "
|
|
1084
|
+
getFunction(nameOrSignature: "withdrawAsset"): TypedContractMethod<[
|
|
1085
|
+
adapter: AddressLike,
|
|
1086
|
+
data: BytesLike
|
|
1087
|
+
], [
|
|
1088
|
+
void
|
|
1089
|
+
], "nonpayable">;
|
|
929
1090
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
1091
|
+
getEvent(key: "BorrowCapUpdated"): TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
930
1092
|
getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
931
1093
|
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
932
1094
|
getEvent(key: "DepositFeeUpdated"): TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
933
1095
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
934
1096
|
getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
935
1097
|
getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
936
|
-
getEvent(key: "
|
|
1098
|
+
getEvent(key: "InsuredAsset"): TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
937
1099
|
getEvent(key: "Liquidation"): TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
938
1100
|
getEvent(key: "LiquidationClosed"): TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
939
1101
|
getEvent(key: "LiquidationFinalized"): TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
940
1102
|
getEvent(key: "LiquidationInitiated"): TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
941
1103
|
getEvent(key: "LiquidationParametersUpdated"): TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
1104
|
+
getEvent(key: "LiquidationProxyUpdated"): TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
942
1105
|
getEvent(key: "LiquidityBufferRatioUpdated"): TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
943
1106
|
getEvent(key: "LiquidityRebalanced"): TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
944
1107
|
getEvent(key: "NFTDeposited"): TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
|
|
945
1108
|
getEvent(key: "NFTWithdrawn"): TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
|
|
946
1109
|
getEvent(key: "NotFeeCollector"): TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
1110
|
+
getEvent(key: "ParameterChanged"): TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
947
1111
|
getEvent(key: "ProtocolFeeRateUpdated"): TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
948
1112
|
getEvent(key: "ProtocolFeesCollected"): TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
|
|
949
1113
|
getEvent(key: "ProtocolFeesWithdrawn"): TypedContractEvent<ProtocolFeesWithdrawnEvent.InputTuple, ProtocolFeesWithdrawnEvent.OutputTuple, ProtocolFeesWithdrawnEvent.OutputObject>;
|
|
@@ -954,15 +1118,23 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
954
1118
|
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
955
1119
|
getEvent(key: "RewardTokensDeposited"): TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
956
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>;
|
|
957
1124
|
getEvent(key: "VaultRewardsClaimed"): TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
958
1125
|
getEvent(key: "VaultUpdated"): TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
959
1126
|
getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
960
1127
|
getEvent(key: "Withdraw"): TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1128
|
+
getEvent(key: "WithdrawCancelled"): TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
961
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>;
|
|
962
1132
|
getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
963
1133
|
filters: {
|
|
964
1134
|
"Borrow(address,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
965
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>;
|
|
966
1138
|
"CanPaybackDebtChanged(bool)": TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
967
1139
|
CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
968
1140
|
"Deposit(address,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
@@ -975,18 +1147,20 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
975
1147
|
InsufficientFees: TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
976
1148
|
"InsuranceFeeUpdated(uint256,uint256)": TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
977
1149
|
InsuranceFeeUpdated: TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
978
|
-
"
|
|
979
|
-
|
|
1150
|
+
"InsuredAsset(address,address,bytes,uint256)": TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
1151
|
+
InsuredAsset: TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
980
1152
|
"Liquidation(address,address,uint256,uint256)": TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
981
1153
|
Liquidation: TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
982
|
-
"LiquidationClosed(address,
|
|
1154
|
+
"LiquidationClosed(address,address,bytes)": TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
983
1155
|
LiquidationClosed: TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
984
|
-
"LiquidationFinalized(address,address,
|
|
1156
|
+
"LiquidationFinalized(address,address,address,bytes,uint256,uint256)": TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
985
1157
|
LiquidationFinalized: TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
986
|
-
"LiquidationInitiated(address,address,
|
|
1158
|
+
"LiquidationInitiated(address,address,address,bytes)": TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
987
1159
|
LiquidationInitiated: TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
988
1160
|
"LiquidationParametersUpdated(uint256,uint256,uint256)": TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
989
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>;
|
|
990
1164
|
"LiquidityBufferRatioUpdated(uint256,uint256)": TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
991
1165
|
LiquidityBufferRatioUpdated: TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
992
1166
|
"LiquidityRebalanced(uint256,uint256)": TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
@@ -997,6 +1171,8 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
997
1171
|
NFTWithdrawn: TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
|
|
998
1172
|
"NotFeeCollector()": TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
999
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>;
|
|
1000
1176
|
"ProtocolFeeRateUpdated(uint256,uint256)": TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
1001
1177
|
ProtocolFeeRateUpdated: TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
1002
1178
|
"ProtocolFeesCollected(uint256,uint256)": TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
|
|
@@ -1017,6 +1193,12 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
1017
1193
|
RewardTokensDeposited: TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
1018
1194
|
"StabilityPoolUpdated(address,address)": TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
1019
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>;
|
|
1020
1202
|
"VaultRewardsClaimed(uint256)": TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
1021
1203
|
VaultRewardsClaimed: TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
1022
1204
|
"VaultUpdated(address,address)": TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
@@ -1025,8 +1207,14 @@ export interface MockLendingPoolDebtToken extends BaseContract {
|
|
|
1025
1207
|
VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
1026
1208
|
"Withdraw(address,uint256)": TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1027
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>;
|
|
1028
1212
|
"WithdrawFeeUpdated(uint256,uint256)": TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1029
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>;
|
|
1030
1218
|
"WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1031
1219
|
WithdrawalsPauseStatusChanged: TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
1032
1220
|
};
|