@raac/rpc 1.1.0-beta.4 → 1.1.0-beta.40
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 +80 -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/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +409 -0
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +66 -4
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +465 -0
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +497 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1065 -337
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +180 -99
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +39 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +158 -38
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -81
- package/dist/artifacts/core/tokens/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/configs/chains/11155111.json +52 -22
- package/dist/configs/chains/17000.json +38 -3
- package/dist/configs/chains/18453.json +162 -0
- package/dist/configs/chains/8453.json +47 -12
- package/dist/configs/chains/index.js +2 -0
- package/dist/configs/createConfig.js +3 -3
- package/dist/nfts/approveNFT.js +25 -0
- package/dist/nfts/getApprovalForAll.js +32 -0
- package/dist/nfts/getNFTApproval.js +33 -0
- package/dist/nfts/getOwnerOfNFT.js +39 -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 -12
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +35 -22
- package/dist/pools/lendingPool/calculateInsuranceFee.js +12 -8
- package/dist/pools/lendingPool/closeLiquidation.js +16 -14
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +22 -0
- package/dist/pools/lendingPool/depositToLendingPool.js +2 -5
- package/dist/pools/lendingPool/getAdapterAddress.js +44 -0
- package/dist/pools/lendingPool/getAdapters.js +20 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +2 -5
- package/dist/pools/lendingPool/getHealthFactor.js +15 -13
- package/dist/pools/lendingPool/getLendingPoolInfo.js +18 -33
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +2 -6
- package/dist/pools/lendingPool/getParameters.js +30 -0
- package/dist/pools/lendingPool/getPositionDebt.js +12 -11
- package/dist/pools/lendingPool/getPositionScaledDebt.js +16 -13
- package/dist/pools/lendingPool/getPositionView.js +16 -10
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +3 -5
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +2 -5
- package/dist/pools/lendingPool/getUserCollateralValue.js +3 -5
- package/dist/pools/lendingPool/getWithdrawRequestInfo.js +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 +8 -6
- package/dist/pools/rwaVault/_helpers.js +40 -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 +31 -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 +45 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +23 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +23 -0
- package/dist/pools/rwaVault/types.js +2 -0
- package/dist/scripts/index.js +115 -46
- package/dist/types/RPCLibrary.d.ts +70 -21
- package/dist/types/configs/chains/index.d.ts +5 -3
- package/dist/types/configs/createConfig.d.ts +1 -1
- package/dist/types/configs/index.d.ts +2 -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/getOwnerOfNFT.d.ts +13 -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 +18 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +4 -3
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +8 -5
- package/dist/types/pools/lendingPool/getPositionView.d.ts +14 -18
- package/dist/types/pools/lendingPool/getWithdrawRequestInfo.d.ts +8 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +4 -3
- package/dist/types/pools/lendingPool/openVaultPosition.d.ts +4 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/requestWithdraw.d.ts +4 -0
- package/dist/types/pools/lendingPool/types.d.ts +7 -0
- package/dist/types/pools/lendingPool/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 +728 -205
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +440 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +538 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +485 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +7 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +158 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +124 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +135 -79
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +140 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +203 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +23 -1
- package/dist/types/typechain-types/contracts/core/primitives/WithCompliance.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +8 -8
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +94 -11
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -17
- package/dist/types/typechain-types/contracts/core/tokens/RWAIndexToken.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +433 -172
- package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +174 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +178 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/RWAVault.d.ts +511 -0
- package/dist/types/typechain-types/contracts/core/vaults/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/IComplianceRegistry.d.ts +63 -0
- package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +190 -23
- package/dist/types/typechain-types/contracts/interfaces/INFTWhitelist.d.ts +75 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +9 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +527 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +222 -40
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +351 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaLocker.d.ts +332 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaTemple.d.ts +302 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +30 -1
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +5 -1
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +31 -24
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IAssetAdapter.d.ts +143 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IERC721Adapter.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +369 -150
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage.d.ts +102 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +19 -64
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +6 -6
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +70 -7
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IVaultToken.d.ts +197 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +295 -36
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseHybridVault.d.ts +208 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IVaultAssetAdapter.d.ts +89 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveLiquidityGaugeV5.d.ts +357 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +18 -3
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +31 -1
- package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +9 -2
- package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +34 -1
- package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +1 -25
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockWETH.d.ts +225 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock.d.ts +56 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +2 -6
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker.d.ts +394 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +2 -2
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +349 -148
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +367 -140
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +68 -139
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +19 -9
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +37 -18
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +37 -8
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +62 -6
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface__factory.d.ts +191 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI__factory.d.ts +663 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus__factory.d.ts +139 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus__factory.d.ts +194 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus__factory.d.ts +27 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus__factory.d.ts +155 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +944 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +95 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +289 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC2981__factory.d.ts +43 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +1 -13
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +9 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.d.ts +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +65 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal__factory.d.ts +49 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +177 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +15 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +698 -144
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +461 -137
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +848 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +686 -162
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +689 -155
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +42 -80
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +1028 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +66 -25
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +37 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +90 -6
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +64 -9
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +369 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +393 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +578 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +881 -306
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +716 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +636 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +281 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +227 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +255 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +151 -85
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +276 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +29 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/WithCompliance__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +8 -8
- package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +124 -31
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +1 -61
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +465 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +446 -186
- package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +285 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +287 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +808 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts +67 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +213 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTWhitelist__factory.d.ts +77 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +643 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +239 -65
- package/dist/types/typechain-types/factories/{@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper__factory.d.ts → contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts} +209 -201
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +41 -79
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaLocker__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaTemple__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver__factory.d.ts +35 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +14 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +24 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IAssetAdapter__factory.d.ts +189 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IERC721Adapter__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage__factory.d.ts +183 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +428 -143
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +26 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +6 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +79 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IVaultToken__factory.d.ts +223 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +355 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IBaseHybridVault__factory.d.ts +256 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IVaultAssetAdapter__factory.d.ts +119 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveLiquidityGaugeV5__factory.d.ts +503 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +44 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +47 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -29
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockWETH__factory.d.ts +353 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +591 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +2 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +490 -166
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +67 -12
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +427 -132
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +8 -4
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +53 -122
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +21 -12
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +39 -14
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +83 -14
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +87 -31
- package/dist/types/typechain-types/index.d.ts +112 -42
- package/dist/types/utils/artifacts.d.ts +685 -78
- package/dist/types/utils/contracts.d.ts +4 -2
- 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 +19 -3
- package/dist/wallet/assets/approveNFT.js +0 -0
- package/dist/wallet/assets/getAllowance.js +3 -3
- package/dist/wallet/assets/getBalance.js +20 -6
- package/package.json +1 -1
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +0 -770
- package/dist/contracts/indexToken/getNextRandomNFT.js +0 -30
- package/dist/contracts/indexToken/redeemNFT.js +0 -39
- package/dist/pools/lendingPool/claimReward.js +0 -22
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -50
- package/dist/pools/lendingPool/getAllUserData.js +0 -28
- package/dist/pools/lendingPool/getPendingReward.js +0 -20
- package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +0 -24
- package/dist/pools/stabilityPool/calculateRAACRewards.js +0 -21
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +0 -40
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +0 -7
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +0 -4
- package/dist/types/pools/lendingPool/claimReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +0 -4
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +0 -17
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/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
package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts
CHANGED
|
@@ -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,53 +26,52 @@ export declare namespace ILendingPool {
|
|
|
69
26
|
};
|
|
70
27
|
}
|
|
71
28
|
export interface ILendingPoolInterface extends Interface {
|
|
72
|
-
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "deposit" | "
|
|
73
|
-
getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "
|
|
74
|
-
encodeFunctionData(functionFragment: "borrow", values: [
|
|
75
|
-
encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike,
|
|
29
|
+
getFunction(nameOrSignature: "borrow" | "calculateHealthFactor" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "deposit" | "depositAsset" | "depositRewardTokens" | "finalizeLiquidation" | "getAssetValue" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionsScaledDebt" | "getUserCollateralValue" | "getUserDebt" | "initiateLiquidation" | "onERC721Received" | "openVaultPosition" | "repay" | "repayOnBehalf" | "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
|
-
encodeFunctionData(functionFragment: "getRAACNFTAddress", values?: undefined): string;
|
|
94
49
|
encodeFunctionData(functionFragment: "getUserCollateralValue", values: [AddressLike]): string;
|
|
95
50
|
encodeFunctionData(functionFragment: "getUserDebt", values: [AddressLike]): string;
|
|
96
|
-
encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike,
|
|
51
|
+
encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
97
52
|
encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
98
|
-
encodeFunctionData(functionFragment: "
|
|
99
|
-
encodeFunctionData(functionFragment: "
|
|
53
|
+
encodeFunctionData(functionFragment: "openVaultPosition", values?: undefined): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "repay", values: [AddressLike, BytesLike, BigNumberish]): string;
|
|
55
|
+
encodeFunctionData(functionFragment: "repayOnBehalf", values: [AddressLike, BytesLike, BigNumberish, AddressLike]): string;
|
|
100
56
|
encodeFunctionData(functionFragment: "setParameter", values: [BigNumberish, BigNumberish]): string;
|
|
101
57
|
encodeFunctionData(functionFragment: "setPrimeRate", values: [BigNumberish]): string;
|
|
102
58
|
encodeFunctionData(functionFragment: "setStabilityPool", values: [AddressLike]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "supportedAdapter", values: [AddressLike]): string;
|
|
103
60
|
encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
|
|
104
61
|
encodeFunctionData(functionFragment: "updateState", values?: undefined): string;
|
|
105
62
|
encodeFunctionData(functionFragment: "updateUserReward", values: [AddressLike]): string;
|
|
106
63
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
107
|
-
encodeFunctionData(functionFragment: "
|
|
64
|
+
encodeFunctionData(functionFragment: "withdrawAsset", values: [AddressLike, BytesLike]): string;
|
|
108
65
|
decodeFunctionResult(functionFragment: "borrow", data: BytesLike): Result;
|
|
109
66
|
decodeFunctionResult(functionFragment: "calculateHealthFactor", data: BytesLike): Result;
|
|
110
67
|
decodeFunctionResult(functionFragment: "claimCollectorRewards", data: BytesLike): Result;
|
|
111
68
|
decodeFunctionResult(functionFragment: "claimReward", data: BytesLike): Result;
|
|
112
69
|
decodeFunctionResult(functionFragment: "closeLiquidation", data: BytesLike): Result;
|
|
113
70
|
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
|
|
114
|
-
decodeFunctionResult(functionFragment: "
|
|
71
|
+
decodeFunctionResult(functionFragment: "depositAsset", data: BytesLike): Result;
|
|
115
72
|
decodeFunctionResult(functionFragment: "depositRewardTokens", data: BytesLike): Result;
|
|
116
73
|
decodeFunctionResult(functionFragment: "finalizeLiquidation", data: BytesLike): Result;
|
|
117
|
-
decodeFunctionResult(functionFragment: "
|
|
118
|
-
decodeFunctionResult(functionFragment: "getNFTPrice", data: BytesLike): Result;
|
|
74
|
+
decodeFunctionResult(functionFragment: "getAssetValue", data: BytesLike): Result;
|
|
119
75
|
decodeFunctionResult(functionFragment: "getNormalizedDebt", data: BytesLike): Result;
|
|
120
76
|
decodeFunctionResult(functionFragment: "getNormalizedIncome", data: BytesLike): Result;
|
|
121
77
|
decodeFunctionResult(functionFragment: "getPendingReward", data: BytesLike): Result;
|
|
@@ -124,21 +80,22 @@ export interface ILendingPoolInterface extends Interface {
|
|
|
124
80
|
decodeFunctionResult(functionFragment: "getPositionDebt", data: BytesLike): Result;
|
|
125
81
|
decodeFunctionResult(functionFragment: "getPositionScaledDebt", data: BytesLike): Result;
|
|
126
82
|
decodeFunctionResult(functionFragment: "getPositionsScaledDebt", data: BytesLike): Result;
|
|
127
|
-
decodeFunctionResult(functionFragment: "getRAACNFTAddress", data: BytesLike): Result;
|
|
128
83
|
decodeFunctionResult(functionFragment: "getUserCollateralValue", data: BytesLike): Result;
|
|
129
84
|
decodeFunctionResult(functionFragment: "getUserDebt", data: BytesLike): Result;
|
|
130
85
|
decodeFunctionResult(functionFragment: "initiateLiquidation", data: BytesLike): Result;
|
|
131
86
|
decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "openVaultPosition", data: BytesLike): Result;
|
|
132
88
|
decodeFunctionResult(functionFragment: "repay", data: BytesLike): Result;
|
|
133
89
|
decodeFunctionResult(functionFragment: "repayOnBehalf", data: BytesLike): Result;
|
|
134
90
|
decodeFunctionResult(functionFragment: "setParameter", data: BytesLike): Result;
|
|
135
91
|
decodeFunctionResult(functionFragment: "setPrimeRate", data: BytesLike): Result;
|
|
136
92
|
decodeFunctionResult(functionFragment: "setStabilityPool", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "supportedAdapter", data: BytesLike): Result;
|
|
137
94
|
decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
|
|
138
95
|
decodeFunctionResult(functionFragment: "updateState", data: BytesLike): Result;
|
|
139
96
|
decodeFunctionResult(functionFragment: "updateUserReward", data: BytesLike): Result;
|
|
140
97
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
141
|
-
decodeFunctionResult(functionFragment: "
|
|
98
|
+
decodeFunctionResult(functionFragment: "withdrawAsset", data: BytesLike): Result;
|
|
142
99
|
}
|
|
143
100
|
export declare namespace BorrowEvent {
|
|
144
101
|
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
@@ -152,6 +109,18 @@ export declare namespace BorrowEvent {
|
|
|
152
109
|
type Log = TypedEventLog<Event>;
|
|
153
110
|
type LogDescription = TypedLogDescription<Event>;
|
|
154
111
|
}
|
|
112
|
+
export declare namespace BorrowCapUpdatedEvent {
|
|
113
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
114
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
115
|
+
interface OutputObject {
|
|
116
|
+
oldalue: bigint;
|
|
117
|
+
newValue: bigint;
|
|
118
|
+
}
|
|
119
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
120
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
121
|
+
type Log = TypedEventLog<Event>;
|
|
122
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
123
|
+
}
|
|
155
124
|
export declare namespace CanPaybackDebtChangedEvent {
|
|
156
125
|
type InputTuple = [enabled: boolean];
|
|
157
126
|
type OutputTuple = [enabled: boolean];
|
|
@@ -184,6 +153,21 @@ export declare namespace DepositEvent {
|
|
|
184
153
|
type Log = TypedEventLog<Event>;
|
|
185
154
|
type LogDescription = TypedLogDescription<Event>;
|
|
186
155
|
}
|
|
156
|
+
export declare namespace DepositFeeUpdatedEvent {
|
|
157
|
+
type InputTuple = [
|
|
158
|
+
oldDepositFee: BigNumberish,
|
|
159
|
+
newDepositFee: BigNumberish
|
|
160
|
+
];
|
|
161
|
+
type OutputTuple = [oldDepositFee: bigint, newDepositFee: bigint];
|
|
162
|
+
interface OutputObject {
|
|
163
|
+
oldDepositFee: bigint;
|
|
164
|
+
newDepositFee: bigint;
|
|
165
|
+
}
|
|
166
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
167
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
168
|
+
type Log = TypedEventLog<Event>;
|
|
169
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
170
|
+
}
|
|
187
171
|
export declare namespace FeeCollectorUpdatedEvent {
|
|
188
172
|
type InputTuple = [
|
|
189
173
|
oldFeeCollector: AddressLike,
|
|
@@ -224,11 +208,23 @@ export declare namespace InsuranceFeeUpdatedEvent {
|
|
|
224
208
|
type Log = TypedEventLog<Event>;
|
|
225
209
|
type LogDescription = TypedLogDescription<Event>;
|
|
226
210
|
}
|
|
227
|
-
export declare namespace
|
|
228
|
-
type InputTuple = [
|
|
229
|
-
|
|
211
|
+
export declare namespace InsuredAssetEvent {
|
|
212
|
+
type InputTuple = [
|
|
213
|
+
asset: AddressLike,
|
|
214
|
+
user: AddressLike,
|
|
215
|
+
data: BytesLike,
|
|
216
|
+
amount: BigNumberish
|
|
217
|
+
];
|
|
218
|
+
type OutputTuple = [
|
|
219
|
+
asset: string,
|
|
220
|
+
user: string,
|
|
221
|
+
data: string,
|
|
222
|
+
amount: bigint
|
|
223
|
+
];
|
|
230
224
|
interface OutputObject {
|
|
231
|
-
|
|
225
|
+
asset: string;
|
|
226
|
+
user: string;
|
|
227
|
+
data: string;
|
|
232
228
|
amount: bigint;
|
|
233
229
|
}
|
|
234
230
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -261,11 +257,16 @@ export declare namespace LiquidationEvent {
|
|
|
261
257
|
type LogDescription = TypedLogDescription<Event>;
|
|
262
258
|
}
|
|
263
259
|
export declare namespace LiquidationClosedEvent {
|
|
264
|
-
type InputTuple = [
|
|
265
|
-
|
|
260
|
+
type InputTuple = [
|
|
261
|
+
user: AddressLike,
|
|
262
|
+
adapter: AddressLike,
|
|
263
|
+
data: BytesLike
|
|
264
|
+
];
|
|
265
|
+
type OutputTuple = [user: string, adapter: string, data: string];
|
|
266
266
|
interface OutputObject {
|
|
267
267
|
user: string;
|
|
268
|
-
|
|
268
|
+
adapter: string;
|
|
269
|
+
data: string;
|
|
269
270
|
}
|
|
270
271
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
271
272
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -276,21 +277,24 @@ export declare namespace LiquidationFinalizedEvent {
|
|
|
276
277
|
type InputTuple = [
|
|
277
278
|
liquidator: AddressLike,
|
|
278
279
|
user: AddressLike,
|
|
279
|
-
|
|
280
|
+
adapter: AddressLike,
|
|
281
|
+
data: BytesLike,
|
|
280
282
|
debtRepaid: BigNumberish,
|
|
281
283
|
collateralLiquidated: BigNumberish
|
|
282
284
|
];
|
|
283
285
|
type OutputTuple = [
|
|
284
286
|
liquidator: string,
|
|
285
287
|
user: string,
|
|
286
|
-
|
|
288
|
+
adapter: string,
|
|
289
|
+
data: string,
|
|
287
290
|
debtRepaid: bigint,
|
|
288
291
|
collateralLiquidated: bigint
|
|
289
292
|
];
|
|
290
293
|
interface OutputObject {
|
|
291
294
|
liquidator: string;
|
|
292
295
|
user: string;
|
|
293
|
-
|
|
296
|
+
adapter: string;
|
|
297
|
+
data: string;
|
|
294
298
|
debtRepaid: bigint;
|
|
295
299
|
collateralLiquidated: bigint;
|
|
296
300
|
}
|
|
@@ -303,13 +307,20 @@ export declare namespace LiquidationInitiatedEvent {
|
|
|
303
307
|
type InputTuple = [
|
|
304
308
|
liquidator: AddressLike,
|
|
305
309
|
user: AddressLike,
|
|
306
|
-
|
|
310
|
+
adapter: AddressLike,
|
|
311
|
+
data: BytesLike
|
|
312
|
+
];
|
|
313
|
+
type OutputTuple = [
|
|
314
|
+
liquidator: string,
|
|
315
|
+
user: string,
|
|
316
|
+
adapter: string,
|
|
317
|
+
data: string
|
|
307
318
|
];
|
|
308
|
-
type OutputTuple = [liquidator: string, user: string, tokenId: bigint];
|
|
309
319
|
interface OutputObject {
|
|
310
320
|
liquidator: string;
|
|
311
321
|
user: string;
|
|
312
|
-
|
|
322
|
+
adapter: string;
|
|
323
|
+
data: string;
|
|
313
324
|
}
|
|
314
325
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
315
326
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -337,6 +348,24 @@ export declare namespace LiquidationParametersUpdatedEvent {
|
|
|
337
348
|
type Log = TypedEventLog<Event>;
|
|
338
349
|
type LogDescription = TypedLogDescription<Event>;
|
|
339
350
|
}
|
|
351
|
+
export declare namespace LiquidationProxyUpdatedEvent {
|
|
352
|
+
type InputTuple = [
|
|
353
|
+
oldLiquidationProxy: AddressLike,
|
|
354
|
+
newLiquidationProxy: AddressLike
|
|
355
|
+
];
|
|
356
|
+
type OutputTuple = [
|
|
357
|
+
oldLiquidationProxy: string,
|
|
358
|
+
newLiquidationProxy: string
|
|
359
|
+
];
|
|
360
|
+
interface OutputObject {
|
|
361
|
+
oldLiquidationProxy: string;
|
|
362
|
+
newLiquidationProxy: string;
|
|
363
|
+
}
|
|
364
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
365
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
366
|
+
type Log = TypedEventLog<Event>;
|
|
367
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
368
|
+
}
|
|
340
369
|
export declare namespace LiquidityBufferRatioUpdatedEvent {
|
|
341
370
|
type InputTuple = [oldRatio: BigNumberish, newRatio: BigNumberish];
|
|
342
371
|
type OutputTuple = [oldRatio: bigint, newRatio: bigint];
|
|
@@ -398,6 +427,27 @@ export declare namespace NotFeeCollectorEvent {
|
|
|
398
427
|
type Log = TypedEventLog<Event>;
|
|
399
428
|
type LogDescription = TypedLogDescription<Event>;
|
|
400
429
|
}
|
|
430
|
+
export declare namespace ParameterChangedEvent {
|
|
431
|
+
type InputTuple = [
|
|
432
|
+
parameter: BigNumberish,
|
|
433
|
+
oldalue: BigNumberish,
|
|
434
|
+
newValue: BigNumberish
|
|
435
|
+
];
|
|
436
|
+
type OutputTuple = [
|
|
437
|
+
parameter: bigint,
|
|
438
|
+
oldalue: bigint,
|
|
439
|
+
newValue: bigint
|
|
440
|
+
];
|
|
441
|
+
interface OutputObject {
|
|
442
|
+
parameter: bigint;
|
|
443
|
+
oldalue: bigint;
|
|
444
|
+
newValue: bigint;
|
|
445
|
+
}
|
|
446
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
447
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
448
|
+
type Log = TypedEventLog<Event>;
|
|
449
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
450
|
+
}
|
|
401
451
|
export declare namespace ProtocolFeeRateUpdatedEvent {
|
|
402
452
|
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
403
453
|
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
@@ -558,6 +608,42 @@ export declare namespace StabilityPoolUpdatedEvent {
|
|
|
558
608
|
type Log = TypedEventLog<Event>;
|
|
559
609
|
type LogDescription = TypedLogDescription<Event>;
|
|
560
610
|
}
|
|
611
|
+
export declare namespace SupplyCapUpdatedEvent {
|
|
612
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
613
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
614
|
+
interface OutputObject {
|
|
615
|
+
oldalue: bigint;
|
|
616
|
+
newValue: bigint;
|
|
617
|
+
}
|
|
618
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
619
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
620
|
+
type Log = TypedEventLog<Event>;
|
|
621
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
622
|
+
}
|
|
623
|
+
export declare namespace VaultOpeningFeePaidEvent {
|
|
624
|
+
type InputTuple = [user: AddressLike, fee: BigNumberish];
|
|
625
|
+
type OutputTuple = [user: string, fee: bigint];
|
|
626
|
+
interface OutputObject {
|
|
627
|
+
user: string;
|
|
628
|
+
fee: bigint;
|
|
629
|
+
}
|
|
630
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
631
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
632
|
+
type Log = TypedEventLog<Event>;
|
|
633
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
634
|
+
}
|
|
635
|
+
export declare namespace VaultOpeningFeeUpdatedEvent {
|
|
636
|
+
type InputTuple = [oldalue: BigNumberish, newValue: BigNumberish];
|
|
637
|
+
type OutputTuple = [oldalue: bigint, newValue: bigint];
|
|
638
|
+
interface OutputObject {
|
|
639
|
+
oldalue: bigint;
|
|
640
|
+
newValue: bigint;
|
|
641
|
+
}
|
|
642
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
643
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
644
|
+
type Log = TypedEventLog<Event>;
|
|
645
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
646
|
+
}
|
|
561
647
|
export declare namespace VaultRewardsClaimedEvent {
|
|
562
648
|
type InputTuple = [amount: BigNumberish];
|
|
563
649
|
type OutputTuple = [amount: bigint];
|
|
@@ -604,6 +690,64 @@ export declare namespace WithdrawEvent {
|
|
|
604
690
|
type Log = TypedEventLog<Event>;
|
|
605
691
|
type LogDescription = TypedLogDescription<Event>;
|
|
606
692
|
}
|
|
693
|
+
export declare namespace WithdrawCancelledEvent {
|
|
694
|
+
type InputTuple = [user: AddressLike];
|
|
695
|
+
type OutputTuple = [user: string];
|
|
696
|
+
interface OutputObject {
|
|
697
|
+
user: string;
|
|
698
|
+
}
|
|
699
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
700
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
701
|
+
type Log = TypedEventLog<Event>;
|
|
702
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
703
|
+
}
|
|
704
|
+
export declare namespace WithdrawFeeUpdatedEvent {
|
|
705
|
+
type InputTuple = [
|
|
706
|
+
oldWithdrawalFee: BigNumberish,
|
|
707
|
+
newWithdrawalFee: BigNumberish
|
|
708
|
+
];
|
|
709
|
+
type OutputTuple = [
|
|
710
|
+
oldWithdrawalFee: bigint,
|
|
711
|
+
newWithdrawalFee: bigint
|
|
712
|
+
];
|
|
713
|
+
interface OutputObject {
|
|
714
|
+
oldWithdrawalFee: bigint;
|
|
715
|
+
newWithdrawalFee: bigint;
|
|
716
|
+
}
|
|
717
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
718
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
719
|
+
type Log = TypedEventLog<Event>;
|
|
720
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
721
|
+
}
|
|
722
|
+
export declare namespace WithdrawQueuedEvent {
|
|
723
|
+
type InputTuple = [
|
|
724
|
+
user: AddressLike,
|
|
725
|
+
amount: BigNumberish,
|
|
726
|
+
readyAt: BigNumberish
|
|
727
|
+
];
|
|
728
|
+
type OutputTuple = [user: string, amount: bigint, readyAt: bigint];
|
|
729
|
+
interface OutputObject {
|
|
730
|
+
user: string;
|
|
731
|
+
amount: bigint;
|
|
732
|
+
readyAt: bigint;
|
|
733
|
+
}
|
|
734
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
735
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
736
|
+
type Log = TypedEventLog<Event>;
|
|
737
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
738
|
+
}
|
|
739
|
+
export declare namespace WithdrawTimelockDurationUpdatedEvent {
|
|
740
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
741
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
742
|
+
interface OutputObject {
|
|
743
|
+
oldValue: bigint;
|
|
744
|
+
newValue: bigint;
|
|
745
|
+
}
|
|
746
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
747
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
748
|
+
type Log = TypedEventLog<Event>;
|
|
749
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
750
|
+
}
|
|
607
751
|
export declare namespace WithdrawalsPauseStatusChangedEvent {
|
|
608
752
|
type InputTuple = [isPaused: boolean];
|
|
609
753
|
type OutputTuple = [isPaused: boolean];
|
|
@@ -629,27 +773,31 @@ export interface ILendingPool extends BaseContract {
|
|
|
629
773
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
630
774
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
631
775
|
borrow: TypedContractMethod<[
|
|
632
|
-
|
|
776
|
+
adapter: AddressLike,
|
|
777
|
+
data: BytesLike,
|
|
633
778
|
amount: BigNumberish
|
|
634
779
|
], [
|
|
635
780
|
void
|
|
636
781
|
], "nonpayable">;
|
|
637
782
|
calculateHealthFactor: TypedContractMethod<[
|
|
638
|
-
|
|
639
|
-
|
|
783
|
+
adapter: AddressLike,
|
|
784
|
+
user: AddressLike,
|
|
785
|
+
data: BytesLike
|
|
640
786
|
], [
|
|
641
787
|
bigint
|
|
642
788
|
], "view">;
|
|
643
789
|
claimCollectorRewards: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
644
790
|
claimReward: TypedContractMethod<[], [boolean], "nonpayable">;
|
|
645
791
|
closeLiquidation: TypedContractMethod<[
|
|
646
|
-
|
|
792
|
+
adapter: AddressLike,
|
|
793
|
+
data: BytesLike
|
|
647
794
|
], [
|
|
648
795
|
void
|
|
649
796
|
], "nonpayable">;
|
|
650
797
|
deposit: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
651
|
-
|
|
652
|
-
|
|
798
|
+
depositAsset: TypedContractMethod<[
|
|
799
|
+
adapter: AddressLike,
|
|
800
|
+
data: BytesLike
|
|
653
801
|
], [
|
|
654
802
|
void
|
|
655
803
|
], "nonpayable">;
|
|
@@ -659,41 +807,47 @@ export interface ILendingPool extends BaseContract {
|
|
|
659
807
|
void
|
|
660
808
|
], "nonpayable">;
|
|
661
809
|
finalizeLiquidation: TypedContractMethod<[
|
|
662
|
-
|
|
663
|
-
|
|
810
|
+
adapter: AddressLike,
|
|
811
|
+
user: AddressLike,
|
|
812
|
+
data: BytesLike
|
|
664
813
|
], [
|
|
665
814
|
void
|
|
666
815
|
], "nonpayable">;
|
|
667
|
-
|
|
668
|
-
|
|
816
|
+
getAssetValue: TypedContractMethod<[
|
|
817
|
+
adapter: AddressLike,
|
|
818
|
+
user: AddressLike,
|
|
819
|
+
data: BytesLike
|
|
669
820
|
], [
|
|
670
|
-
|
|
821
|
+
bigint
|
|
671
822
|
], "view">;
|
|
672
|
-
getNFTPrice: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
673
823
|
getNormalizedDebt: TypedContractMethod<[], [bigint], "view">;
|
|
674
824
|
getNormalizedIncome: TypedContractMethod<[], [bigint], "view">;
|
|
675
825
|
getPendingReward: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
676
826
|
getPosition: TypedContractMethod<[
|
|
677
|
-
|
|
678
|
-
|
|
827
|
+
adapter: AddressLike,
|
|
828
|
+
user: AddressLike,
|
|
829
|
+
data: BytesLike
|
|
679
830
|
], [
|
|
680
|
-
|
|
831
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
681
832
|
], "view">;
|
|
682
833
|
getPositionData: TypedContractMethod<[
|
|
683
|
-
|
|
684
|
-
|
|
834
|
+
adapter: AddressLike,
|
|
835
|
+
user: AddressLike,
|
|
836
|
+
data: BytesLike
|
|
685
837
|
], [
|
|
686
838
|
[bigint, bigint]
|
|
687
839
|
], "view">;
|
|
688
840
|
getPositionDebt: TypedContractMethod<[
|
|
689
|
-
|
|
690
|
-
|
|
841
|
+
adapter: AddressLike,
|
|
842
|
+
user: AddressLike,
|
|
843
|
+
data: BytesLike
|
|
691
844
|
], [
|
|
692
845
|
bigint
|
|
693
846
|
], "view">;
|
|
694
847
|
getPositionScaledDebt: TypedContractMethod<[
|
|
695
|
-
|
|
696
|
-
|
|
848
|
+
adapter: AddressLike,
|
|
849
|
+
user: AddressLike,
|
|
850
|
+
data: BytesLike
|
|
697
851
|
], [
|
|
698
852
|
bigint
|
|
699
853
|
], "view">;
|
|
@@ -702,20 +856,16 @@ export interface ILendingPool extends BaseContract {
|
|
|
702
856
|
], [
|
|
703
857
|
bigint
|
|
704
858
|
], "view">;
|
|
705
|
-
getRAACNFTAddress: TypedContractMethod<[], [string], "view">;
|
|
706
859
|
getUserCollateralValue: TypedContractMethod<[
|
|
707
|
-
|
|
708
|
-
], [
|
|
709
|
-
bigint
|
|
710
|
-
], "view">;
|
|
711
|
-
getUserDebt: TypedContractMethod<[
|
|
712
|
-
userAddress: AddressLike
|
|
860
|
+
user: AddressLike
|
|
713
861
|
], [
|
|
714
862
|
bigint
|
|
715
863
|
], "view">;
|
|
864
|
+
getUserDebt: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
716
865
|
initiateLiquidation: TypedContractMethod<[
|
|
717
|
-
|
|
718
|
-
|
|
866
|
+
adapter: AddressLike,
|
|
867
|
+
user: AddressLike,
|
|
868
|
+
data: BytesLike
|
|
719
869
|
], [
|
|
720
870
|
void
|
|
721
871
|
], "nonpayable">;
|
|
@@ -727,14 +877,17 @@ export interface ILendingPool extends BaseContract {
|
|
|
727
877
|
], [
|
|
728
878
|
string
|
|
729
879
|
], "nonpayable">;
|
|
880
|
+
openVaultPosition: TypedContractMethod<[], [void], "nonpayable">;
|
|
730
881
|
repay: TypedContractMethod<[
|
|
731
|
-
|
|
882
|
+
adapter: AddressLike,
|
|
883
|
+
data: BytesLike,
|
|
732
884
|
amount: BigNumberish
|
|
733
885
|
], [
|
|
734
886
|
void
|
|
735
887
|
], "nonpayable">;
|
|
736
888
|
repayOnBehalf: TypedContractMethod<[
|
|
737
|
-
|
|
889
|
+
adapter: AddressLike,
|
|
890
|
+
data: BytesLike,
|
|
738
891
|
amount: BigNumberish,
|
|
739
892
|
onBehalfOf: AddressLike
|
|
740
893
|
], [
|
|
@@ -756,6 +909,11 @@ export interface ILendingPool extends BaseContract {
|
|
|
756
909
|
], [
|
|
757
910
|
void
|
|
758
911
|
], "nonpayable">;
|
|
912
|
+
supportedAdapter: TypedContractMethod<[
|
|
913
|
+
_adapter: AddressLike
|
|
914
|
+
], [
|
|
915
|
+
boolean
|
|
916
|
+
], "nonpayable">;
|
|
759
917
|
transferAccruedDust: TypedContractMethod<[
|
|
760
918
|
recipient: AddressLike,
|
|
761
919
|
amountUnderlying: BigNumberish
|
|
@@ -769,76 +927,95 @@ export interface ILendingPool extends BaseContract {
|
|
|
769
927
|
void
|
|
770
928
|
], "nonpayable">;
|
|
771
929
|
withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
772
|
-
|
|
773
|
-
|
|
930
|
+
withdrawAsset: TypedContractMethod<[
|
|
931
|
+
adapter: AddressLike,
|
|
932
|
+
data: BytesLike
|
|
774
933
|
], [
|
|
775
934
|
void
|
|
776
935
|
], "nonpayable">;
|
|
777
936
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
778
937
|
getFunction(nameOrSignature: "borrow"): TypedContractMethod<[
|
|
779
|
-
|
|
938
|
+
adapter: AddressLike,
|
|
939
|
+
data: BytesLike,
|
|
780
940
|
amount: BigNumberish
|
|
781
941
|
], [
|
|
782
942
|
void
|
|
783
943
|
], "nonpayable">;
|
|
784
944
|
getFunction(nameOrSignature: "calculateHealthFactor"): TypedContractMethod<[
|
|
785
|
-
|
|
786
|
-
|
|
945
|
+
adapter: AddressLike,
|
|
946
|
+
user: AddressLike,
|
|
947
|
+
data: BytesLike
|
|
787
948
|
], [
|
|
788
949
|
bigint
|
|
789
950
|
], "view">;
|
|
790
951
|
getFunction(nameOrSignature: "claimCollectorRewards"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
791
952
|
getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[], [boolean], "nonpayable">;
|
|
792
|
-
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
953
|
+
getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[
|
|
954
|
+
adapter: AddressLike,
|
|
955
|
+
data: BytesLike
|
|
956
|
+
], [
|
|
957
|
+
void
|
|
958
|
+
], "nonpayable">;
|
|
793
959
|
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
794
|
-
getFunction(nameOrSignature: "
|
|
960
|
+
getFunction(nameOrSignature: "depositAsset"): TypedContractMethod<[
|
|
961
|
+
adapter: AddressLike,
|
|
962
|
+
data: BytesLike
|
|
963
|
+
], [
|
|
964
|
+
void
|
|
965
|
+
], "nonpayable">;
|
|
795
966
|
getFunction(nameOrSignature: "depositRewardTokens"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
796
967
|
getFunction(nameOrSignature: "finalizeLiquidation"): TypedContractMethod<[
|
|
797
|
-
|
|
798
|
-
|
|
968
|
+
adapter: AddressLike,
|
|
969
|
+
user: AddressLike,
|
|
970
|
+
data: BytesLike
|
|
799
971
|
], [
|
|
800
972
|
void
|
|
801
973
|
], "nonpayable">;
|
|
802
|
-
getFunction(nameOrSignature: "
|
|
803
|
-
|
|
974
|
+
getFunction(nameOrSignature: "getAssetValue"): TypedContractMethod<[
|
|
975
|
+
adapter: AddressLike,
|
|
976
|
+
user: AddressLike,
|
|
977
|
+
data: BytesLike
|
|
804
978
|
], [
|
|
805
|
-
|
|
979
|
+
bigint
|
|
806
980
|
], "view">;
|
|
807
|
-
getFunction(nameOrSignature: "getNFTPrice"): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
|
|
808
981
|
getFunction(nameOrSignature: "getNormalizedDebt"): TypedContractMethod<[], [bigint], "view">;
|
|
809
982
|
getFunction(nameOrSignature: "getNormalizedIncome"): TypedContractMethod<[], [bigint], "view">;
|
|
810
983
|
getFunction(nameOrSignature: "getPendingReward"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
811
984
|
getFunction(nameOrSignature: "getPosition"): TypedContractMethod<[
|
|
812
|
-
|
|
813
|
-
|
|
985
|
+
adapter: AddressLike,
|
|
986
|
+
user: AddressLike,
|
|
987
|
+
data: BytesLike
|
|
814
988
|
], [
|
|
815
|
-
|
|
989
|
+
ILendingPoolStorage.CollateralPositionStructOutput
|
|
816
990
|
], "view">;
|
|
817
991
|
getFunction(nameOrSignature: "getPositionData"): TypedContractMethod<[
|
|
818
|
-
|
|
819
|
-
|
|
992
|
+
adapter: AddressLike,
|
|
993
|
+
user: AddressLike,
|
|
994
|
+
data: BytesLike
|
|
820
995
|
], [
|
|
821
996
|
[bigint, bigint]
|
|
822
997
|
], "view">;
|
|
823
998
|
getFunction(nameOrSignature: "getPositionDebt"): TypedContractMethod<[
|
|
824
|
-
|
|
825
|
-
|
|
999
|
+
adapter: AddressLike,
|
|
1000
|
+
user: AddressLike,
|
|
1001
|
+
data: BytesLike
|
|
826
1002
|
], [
|
|
827
1003
|
bigint
|
|
828
1004
|
], "view">;
|
|
829
1005
|
getFunction(nameOrSignature: "getPositionScaledDebt"): TypedContractMethod<[
|
|
830
|
-
|
|
831
|
-
|
|
1006
|
+
adapter: AddressLike,
|
|
1007
|
+
user: AddressLike,
|
|
1008
|
+
data: BytesLike
|
|
832
1009
|
], [
|
|
833
1010
|
bigint
|
|
834
1011
|
], "view">;
|
|
835
1012
|
getFunction(nameOrSignature: "getPositionsScaledDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
|
|
836
|
-
getFunction(nameOrSignature: "
|
|
837
|
-
getFunction(nameOrSignature: "
|
|
838
|
-
getFunction(nameOrSignature: "getUserDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
|
|
1013
|
+
getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
1014
|
+
getFunction(nameOrSignature: "getUserDebt"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
839
1015
|
getFunction(nameOrSignature: "initiateLiquidation"): TypedContractMethod<[
|
|
840
|
-
|
|
841
|
-
|
|
1016
|
+
adapter: AddressLike,
|
|
1017
|
+
user: AddressLike,
|
|
1018
|
+
data: BytesLike
|
|
842
1019
|
], [
|
|
843
1020
|
void
|
|
844
1021
|
], "nonpayable">;
|
|
@@ -850,14 +1027,17 @@ export interface ILendingPool extends BaseContract {
|
|
|
850
1027
|
], [
|
|
851
1028
|
string
|
|
852
1029
|
], "nonpayable">;
|
|
1030
|
+
getFunction(nameOrSignature: "openVaultPosition"): TypedContractMethod<[], [void], "nonpayable">;
|
|
853
1031
|
getFunction(nameOrSignature: "repay"): TypedContractMethod<[
|
|
854
|
-
|
|
1032
|
+
adapter: AddressLike,
|
|
1033
|
+
data: BytesLike,
|
|
855
1034
|
amount: BigNumberish
|
|
856
1035
|
], [
|
|
857
1036
|
void
|
|
858
1037
|
], "nonpayable">;
|
|
859
1038
|
getFunction(nameOrSignature: "repayOnBehalf"): TypedContractMethod<[
|
|
860
|
-
|
|
1039
|
+
adapter: AddressLike,
|
|
1040
|
+
data: BytesLike,
|
|
861
1041
|
amount: BigNumberish,
|
|
862
1042
|
onBehalfOf: AddressLike
|
|
863
1043
|
], [
|
|
@@ -871,6 +1051,7 @@ export interface ILendingPool extends BaseContract {
|
|
|
871
1051
|
], "nonpayable">;
|
|
872
1052
|
getFunction(nameOrSignature: "setPrimeRate"): TypedContractMethod<[newPrimeRate: BigNumberish], [void], "nonpayable">;
|
|
873
1053
|
getFunction(nameOrSignature: "setStabilityPool"): TypedContractMethod<[newStabilityPool: AddressLike], [void], "nonpayable">;
|
|
1054
|
+
getFunction(nameOrSignature: "supportedAdapter"): TypedContractMethod<[_adapter: AddressLike], [boolean], "nonpayable">;
|
|
874
1055
|
getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
|
|
875
1056
|
recipient: AddressLike,
|
|
876
1057
|
amountUnderlying: BigNumberish
|
|
@@ -880,24 +1061,33 @@ export interface ILendingPool extends BaseContract {
|
|
|
880
1061
|
getFunction(nameOrSignature: "updateState"): TypedContractMethod<[], [void], "nonpayable">;
|
|
881
1062
|
getFunction(nameOrSignature: "updateUserReward"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
882
1063
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
883
|
-
getFunction(nameOrSignature: "
|
|
1064
|
+
getFunction(nameOrSignature: "withdrawAsset"): TypedContractMethod<[
|
|
1065
|
+
adapter: AddressLike,
|
|
1066
|
+
data: BytesLike
|
|
1067
|
+
], [
|
|
1068
|
+
void
|
|
1069
|
+
], "nonpayable">;
|
|
884
1070
|
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
1071
|
+
getEvent(key: "BorrowCapUpdated"): TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
885
1072
|
getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
886
1073
|
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
1074
|
+
getEvent(key: "DepositFeeUpdated"): TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
887
1075
|
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
888
1076
|
getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
889
1077
|
getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
890
|
-
getEvent(key: "
|
|
1078
|
+
getEvent(key: "InsuredAsset"): TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
891
1079
|
getEvent(key: "Liquidation"): TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
892
1080
|
getEvent(key: "LiquidationClosed"): TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
893
1081
|
getEvent(key: "LiquidationFinalized"): TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
894
1082
|
getEvent(key: "LiquidationInitiated"): TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
895
1083
|
getEvent(key: "LiquidationParametersUpdated"): TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
1084
|
+
getEvent(key: "LiquidationProxyUpdated"): TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
896
1085
|
getEvent(key: "LiquidityBufferRatioUpdated"): TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
897
1086
|
getEvent(key: "LiquidityRebalanced"): TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
898
1087
|
getEvent(key: "NFTDeposited"): TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
|
|
899
1088
|
getEvent(key: "NFTWithdrawn"): TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
|
|
900
1089
|
getEvent(key: "NotFeeCollector"): TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
1090
|
+
getEvent(key: "ParameterChanged"): TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
901
1091
|
getEvent(key: "ProtocolFeeRateUpdated"): TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
902
1092
|
getEvent(key: "ProtocolFeesCollected"): TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
|
|
903
1093
|
getEvent(key: "ProtocolFeesWithdrawn"): TypedContractEvent<ProtocolFeesWithdrawnEvent.InputTuple, ProtocolFeesWithdrawnEvent.OutputTuple, ProtocolFeesWithdrawnEvent.OutputObject>;
|
|
@@ -908,36 +1098,49 @@ export interface ILendingPool extends BaseContract {
|
|
|
908
1098
|
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
909
1099
|
getEvent(key: "RewardTokensDeposited"): TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
910
1100
|
getEvent(key: "StabilityPoolUpdated"): TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
1101
|
+
getEvent(key: "SupplyCapUpdated"): TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1102
|
+
getEvent(key: "VaultOpeningFeePaid"): TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
1103
|
+
getEvent(key: "VaultOpeningFeeUpdated"): TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
911
1104
|
getEvent(key: "VaultRewardsClaimed"): TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
912
1105
|
getEvent(key: "VaultUpdated"): TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
913
1106
|
getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
914
1107
|
getEvent(key: "Withdraw"): TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1108
|
+
getEvent(key: "WithdrawCancelled"): TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
1109
|
+
getEvent(key: "WithdrawFeeUpdated"): TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1110
|
+
getEvent(key: "WithdrawQueued"): TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
1111
|
+
getEvent(key: "WithdrawTimelockDurationUpdated"): TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
915
1112
|
getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
916
1113
|
filters: {
|
|
917
1114
|
"Borrow(address,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
918
1115
|
Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
1116
|
+
"BorrowCapUpdated(uint256,uint256)": TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
1117
|
+
BorrowCapUpdated: TypedContractEvent<BorrowCapUpdatedEvent.InputTuple, BorrowCapUpdatedEvent.OutputTuple, BorrowCapUpdatedEvent.OutputObject>;
|
|
919
1118
|
"CanPaybackDebtChanged(bool)": TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
920
1119
|
CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
|
|
921
1120
|
"Deposit(address,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
922
1121
|
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
1122
|
+
"DepositFeeUpdated(uint256,uint256)": TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
1123
|
+
DepositFeeUpdated: TypedContractEvent<DepositFeeUpdatedEvent.InputTuple, DepositFeeUpdatedEvent.OutputTuple, DepositFeeUpdatedEvent.OutputObject>;
|
|
923
1124
|
"FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
924
1125
|
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
925
1126
|
"InsufficientFees()": TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
926
1127
|
InsufficientFees: TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
|
|
927
1128
|
"InsuranceFeeUpdated(uint256,uint256)": TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
928
1129
|
InsuranceFeeUpdated: TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
|
|
929
|
-
"
|
|
930
|
-
|
|
1130
|
+
"InsuredAsset(address,address,bytes,uint256)": TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
1131
|
+
InsuredAsset: TypedContractEvent<InsuredAssetEvent.InputTuple, InsuredAssetEvent.OutputTuple, InsuredAssetEvent.OutputObject>;
|
|
931
1132
|
"Liquidation(address,address,uint256,uint256)": TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
932
1133
|
Liquidation: TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
|
|
933
|
-
"LiquidationClosed(address,
|
|
1134
|
+
"LiquidationClosed(address,address,bytes)": TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
934
1135
|
LiquidationClosed: TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
|
|
935
|
-
"LiquidationFinalized(address,address,
|
|
1136
|
+
"LiquidationFinalized(address,address,address,bytes,uint256,uint256)": TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
936
1137
|
LiquidationFinalized: TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
|
|
937
|
-
"LiquidationInitiated(address,address,
|
|
1138
|
+
"LiquidationInitiated(address,address,address,bytes)": TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
938
1139
|
LiquidationInitiated: TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
|
|
939
1140
|
"LiquidationParametersUpdated(uint256,uint256,uint256)": TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
940
1141
|
LiquidationParametersUpdated: TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
|
|
1142
|
+
"LiquidationProxyUpdated(address,address)": TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
1143
|
+
LiquidationProxyUpdated: TypedContractEvent<LiquidationProxyUpdatedEvent.InputTuple, LiquidationProxyUpdatedEvent.OutputTuple, LiquidationProxyUpdatedEvent.OutputObject>;
|
|
941
1144
|
"LiquidityBufferRatioUpdated(uint256,uint256)": TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
942
1145
|
LiquidityBufferRatioUpdated: TypedContractEvent<LiquidityBufferRatioUpdatedEvent.InputTuple, LiquidityBufferRatioUpdatedEvent.OutputTuple, LiquidityBufferRatioUpdatedEvent.OutputObject>;
|
|
943
1146
|
"LiquidityRebalanced(uint256,uint256)": TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
|
|
@@ -948,6 +1151,8 @@ export interface ILendingPool extends BaseContract {
|
|
|
948
1151
|
NFTWithdrawn: TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
|
|
949
1152
|
"NotFeeCollector()": TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
950
1153
|
NotFeeCollector: TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
|
|
1154
|
+
"ParameterChanged(uint8,uint256,uint256)": TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
1155
|
+
ParameterChanged: TypedContractEvent<ParameterChangedEvent.InputTuple, ParameterChangedEvent.OutputTuple, ParameterChangedEvent.OutputObject>;
|
|
951
1156
|
"ProtocolFeeRateUpdated(uint256,uint256)": TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
952
1157
|
ProtocolFeeRateUpdated: TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
|
|
953
1158
|
"ProtocolFeesCollected(uint256,uint256)": TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
|
|
@@ -968,6 +1173,12 @@ export interface ILendingPool extends BaseContract {
|
|
|
968
1173
|
RewardTokensDeposited: TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
|
|
969
1174
|
"StabilityPoolUpdated(address,address)": TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
970
1175
|
StabilityPoolUpdated: TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
|
|
1176
|
+
"SupplyCapUpdated(uint256,uint256)": TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1177
|
+
SupplyCapUpdated: TypedContractEvent<SupplyCapUpdatedEvent.InputTuple, SupplyCapUpdatedEvent.OutputTuple, SupplyCapUpdatedEvent.OutputObject>;
|
|
1178
|
+
"VaultOpeningFeePaid(address,uint256)": TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
1179
|
+
VaultOpeningFeePaid: TypedContractEvent<VaultOpeningFeePaidEvent.InputTuple, VaultOpeningFeePaidEvent.OutputTuple, VaultOpeningFeePaidEvent.OutputObject>;
|
|
1180
|
+
"VaultOpeningFeeUpdated(uint256,uint256)": TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
1181
|
+
VaultOpeningFeeUpdated: TypedContractEvent<VaultOpeningFeeUpdatedEvent.InputTuple, VaultOpeningFeeUpdatedEvent.OutputTuple, VaultOpeningFeeUpdatedEvent.OutputObject>;
|
|
971
1182
|
"VaultRewardsClaimed(uint256)": TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
972
1183
|
VaultRewardsClaimed: TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
|
|
973
1184
|
"VaultUpdated(address,address)": TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
|
|
@@ -976,6 +1187,14 @@ export interface ILendingPool extends BaseContract {
|
|
|
976
1187
|
VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
|
|
977
1188
|
"Withdraw(address,uint256)": TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
978
1189
|
Withdraw: TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
1190
|
+
"WithdrawCancelled(address)": TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
1191
|
+
WithdrawCancelled: TypedContractEvent<WithdrawCancelledEvent.InputTuple, WithdrawCancelledEvent.OutputTuple, WithdrawCancelledEvent.OutputObject>;
|
|
1192
|
+
"WithdrawFeeUpdated(uint256,uint256)": TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1193
|
+
WithdrawFeeUpdated: TypedContractEvent<WithdrawFeeUpdatedEvent.InputTuple, WithdrawFeeUpdatedEvent.OutputTuple, WithdrawFeeUpdatedEvent.OutputObject>;
|
|
1194
|
+
"WithdrawQueued(address,uint256,uint256)": TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
1195
|
+
WithdrawQueued: TypedContractEvent<WithdrawQueuedEvent.InputTuple, WithdrawQueuedEvent.OutputTuple, WithdrawQueuedEvent.OutputObject>;
|
|
1196
|
+
"WithdrawTimelockDurationUpdated(uint256,uint256)": TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
1197
|
+
WithdrawTimelockDurationUpdated: TypedContractEvent<WithdrawTimelockDurationUpdatedEvent.InputTuple, WithdrawTimelockDurationUpdatedEvent.OutputTuple, WithdrawTimelockDurationUpdatedEvent.OutputObject>;
|
|
979
1198
|
"WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
980
1199
|
WithdrawalsPauseStatusChanged: TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
|
|
981
1200
|
};
|