@raac/rpc 1.1.0-beta.2 → 1.1.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RPCLibrary.js +77 -21
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +83 -29
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +82 -31
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +114 -5
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +412 -0
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +465 -0
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +497 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1015 -351
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +180 -99
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +39 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +158 -38
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -81
- package/dist/artifacts/core/tokens/RWAIndexToken.sol/RWAIndexToken.json +591 -0
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +557 -223
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +354 -0
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +356 -0
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +1036 -0
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +622 -207
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +104 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +7 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +17 -2
- package/dist/assets/getSupply.js +3 -0
- package/dist/configs/chains/11155111.json +8 -3
- package/dist/configs/chains/17000.json +38 -3
- package/dist/configs/chains/8453.json +49 -14
- package/dist/configs/createConfig.js +3 -3
- package/dist/methods/approveToken.js +1 -9
- package/dist/minter/tick.js +3 -7
- package/dist/nfts/approveNFT.js +25 -0
- package/dist/nfts/getApprovalForAll.js +32 -0
- package/dist/nfts/getNFTApproval.js +33 -0
- package/dist/nfts/setApprovalForAll.js +34 -0
- package/dist/pools/lendingPool/_helpers.js +40 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.js +20 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.js +32 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.js +21 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +33 -0
- package/dist/pools/lendingPool/borrowFromLendingPool.js +11 -14
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +11 -29
- package/dist/pools/lendingPool/calculateInsuranceFee.js +12 -8
- package/dist/pools/lendingPool/closeLiquidation.js +16 -14
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +22 -0
- package/dist/pools/lendingPool/depositToLendingPool.js +4 -11
- package/dist/pools/lendingPool/getAdapterAddress.js +44 -0
- package/dist/pools/lendingPool/getAdapters.js +20 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +2 -5
- package/dist/pools/lendingPool/getHealthFactor.js +15 -13
- package/dist/pools/lendingPool/getLendingPoolInfo.js +18 -33
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +2 -6
- package/dist/pools/lendingPool/getParameters.js +29 -0
- package/dist/pools/lendingPool/getPositionDebt.js +12 -11
- package/dist/pools/lendingPool/getPositionScaledDebt.js +16 -13
- package/dist/pools/lendingPool/getPositionView.js +17 -10
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +3 -5
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +2 -5
- package/dist/pools/lendingPool/getUserCollateralValue.js +3 -5
- package/dist/pools/lendingPool/getWithdrawRequestInfo.js +22 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +12 -12
- package/dist/pools/lendingPool/openVaultPosition.js +39 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +11 -14
- package/dist/pools/lendingPool/requestWithdraw.js +28 -0
- package/dist/pools/lendingPool/types.js +2 -0
- package/dist/pools/lendingPool/vaultOpened.js +22 -0
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +21 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +9 -11
- package/dist/pools/rwaVault/_helpers.js +41 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/depositToRWAVault.js +23 -0
- package/dist/pools/rwaVault/getAdapterAddress.js +43 -0
- package/dist/pools/rwaVault/getAdapters.js +20 -0
- package/dist/pools/rwaVault/getNextRandomNFT.js +21 -0
- package/dist/pools/rwaVault/getRWAVaultInfo.js +48 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +23 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +23 -0
- package/dist/pools/rwaVault/types.js +2 -0
- package/dist/pools/stabilityPool/depositToStabilityPool.js +0 -6
- package/dist/pools/stabilityPool/withdrawFromStabilityPool.js +0 -6
- package/dist/scripts/index.js +29 -32
- package/dist/types/RPCLibrary.d.ts +68 -22
- package/dist/types/configs/createConfig.d.ts +1 -1
- package/dist/types/nfts/approveNFT.d.ts +9 -0
- package/dist/types/nfts/getApprovalForAll.d.ts +14 -0
- package/dist/types/nfts/getNFTApproval.d.ts +14 -0
- package/dist/types/nfts/setApprovalForAll.d.ts +14 -0
- package/dist/types/pools/lendingPool/_helpers.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +5 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +12 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -3
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +3 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +7 -5
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +5 -0
- package/dist/types/pools/lendingPool/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/lendingPool/getAdapters.d.ts +8 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +6 -4
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -3
- package/dist/types/pools/lendingPool/getParameters.d.ts +17 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +4 -3
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +8 -5
- package/dist/types/pools/lendingPool/getPositionView.d.ts +14 -16
- package/dist/types/pools/lendingPool/getWithdrawRequestInfo.d.ts +8 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +4 -3
- package/dist/types/pools/lendingPool/openVaultPosition.d.ts +4 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/requestWithdraw.d.ts +4 -0
- package/dist/types/pools/lendingPool/types.d.ts +7 -0
- package/dist/types/pools/lendingPool/vaultOpened.d.ts +11 -0
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +4 -0
- package/dist/types/pools/rwaVault/_helpers.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +5 -0
- package/dist/types/pools/rwaVault/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/rwaVault/getAdapters.d.ts +8 -0
- package/dist/types/pools/rwaVault/getNextRandomNFT.d.ts +8 -0
- package/dist/types/pools/rwaVault/getRWAVaultInfo.d.ts +20 -0
- package/dist/types/pools/rwaVault/redeemNFTFromRWAVault.d.ts +4 -0
- package/dist/types/pools/rwaVault/requestRandomSeed.d.ts +4 -0
- package/dist/types/pools/rwaVault/types.d.ts +7 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface.d.ts +143 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI.d.ts +529 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus.d.ts +109 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +6 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus.d.ts +192 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus.d.ts +45 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus.d.ts +155 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient.d.ts +25 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock.d.ts +731 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts +77 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +231 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC2981.d.ts +49 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +0 -1
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/MerkleProof.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +30 -1
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal.d.ts +53 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.d.ts +115 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +15 -1
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +616 -142
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +396 -108
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +623 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +609 -155
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +610 -156
- package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/governance/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/lockers/LLamaTemple.d.ts +721 -0
- package/dist/types/typechain-types/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +69 -12
- package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +22 -4
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +40 -2
- package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.d.ts +232 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +254 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +689 -213
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +440 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +538 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +485 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +7 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +158 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +124 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +135 -79
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +140 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +203 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +23 -1
- package/dist/types/typechain-types/contracts/core/primitives/WithCompliance.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +8 -8
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +94 -11
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -17
- package/dist/types/typechain-types/contracts/core/tokens/RWAIndexToken.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +433 -172
- package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +174 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +178 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/RWAVault.d.ts +511 -0
- package/dist/types/typechain-types/contracts/core/vaults/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/IComplianceRegistry.d.ts +63 -0
- package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +190 -23
- package/dist/types/typechain-types/contracts/interfaces/INFTWhitelist.d.ts +75 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +9 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +527 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +222 -40
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +351 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaLocker.d.ts +332 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaTemple.d.ts +302 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +30 -1
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +5 -1
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +31 -24
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IAssetAdapter.d.ts +143 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IERC721Adapter.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +330 -150
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage.d.ts +102 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +19 -64
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +6 -6
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +70 -7
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IVaultToken.d.ts +197 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +295 -36
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseHybridVault.d.ts +208 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IVaultAssetAdapter.d.ts +89 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveLiquidityGaugeV5.d.ts +357 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +18 -3
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +31 -1
- package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +9 -2
- package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +34 -1
- package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +1 -25
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockWETH.d.ts +225 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock.d.ts +56 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +2 -6
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker.d.ts +394 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +2 -2
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +349 -148
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +328 -140
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +68 -139
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +19 -9
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +37 -18
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +37 -8
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +62 -6
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface__factory.d.ts +191 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI__factory.d.ts +663 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus__factory.d.ts +139 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus__factory.d.ts +194 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus__factory.d.ts +27 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus__factory.d.ts +155 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +944 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +95 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +289 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC2981__factory.d.ts +43 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +1 -13
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +9 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.d.ts +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +65 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal__factory.d.ts +49 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +177 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +15 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/BoostController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +698 -144
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +461 -137
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +848 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +686 -162
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +689 -155
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +42 -80
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +1028 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +66 -25
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +37 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +90 -6
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +64 -9
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +369 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +393 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +578 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +863 -338
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +716 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +636 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +281 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +227 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +255 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +151 -85
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +276 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +29 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/WithCompliance__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +8 -8
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +124 -31
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +1 -61
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +465 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +446 -186
- package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +285 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +287 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +808 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts +67 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +213 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTWhitelist__factory.d.ts +77 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +643 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +239 -65
- package/dist/types/typechain-types/factories/{@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper__factory.d.ts → contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts} +209 -201
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +41 -79
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaLocker__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaTemple__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver__factory.d.ts +35 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +14 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +24 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IAssetAdapter__factory.d.ts +189 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IERC721Adapter__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage__factory.d.ts +183 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +398 -143
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +26 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +6 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +79 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IVaultToken__factory.d.ts +223 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +355 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IBaseHybridVault__factory.d.ts +256 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IVaultAssetAdapter__factory.d.ts +119 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveLiquidityGaugeV5__factory.d.ts +503 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +44 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/Checkpoints__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +47 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/RAACVoting__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -29
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockWETH__factory.d.ts +353 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +591 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +2 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +490 -166
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +67 -12
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +397 -132
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +8 -4
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockVeToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +53 -122
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/CheckpointsMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +21 -12
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +39 -14
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RAACVotingMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +83 -14
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +87 -31
- package/dist/types/typechain-types/index.d.ts +112 -42
- package/dist/types/utils/artifacts.d.ts +1733 -26
- package/dist/types/wallet/assets/approveNFT.d.ts +0 -0
- package/dist/types/wallet/assets/getAllowance.d.ts +1 -1
- package/dist/types/wallet/assets/getBalance.d.ts +5 -1
- package/dist/utils/artifacts.js +18 -5
- package/dist/wallet/assets/approveAsset.js +2 -6
- package/dist/wallet/assets/approveNFT.js +0 -0
- package/dist/wallet/assets/burnAsset.js +0 -6
- package/dist/wallet/assets/getAllowance.js +3 -3
- package/dist/wallet/assets/getBalance.js +20 -6
- package/dist/wallet/assets/mintAsset.js +1 -6
- package/dist/wallet/assets/transferAsset.js +0 -7
- package/package.json +2 -2
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +0 -770
- package/dist/contracts/indexToken/getNextRandomNFT.js +0 -30
- package/dist/contracts/indexToken/redeemNFT.js +0 -39
- package/dist/pools/lendingPool/claimReward.js +0 -22
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -50
- package/dist/pools/lendingPool/getAllUserData.js +0 -28
- package/dist/pools/lendingPool/getPendingReward.js +0 -20
- package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +0 -24
- package/dist/pools/stabilityPool/calculateRAACRewards.js +0 -21
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +0 -40
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +0 -7
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +0 -4
- package/dist/types/pools/lendingPool/claimReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +0 -4
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +0 -16
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +0 -4
- package/dist/types/pools/stabilityPool/calculateRAACRewards.d.ts +0 -4
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +0 -4
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper.d.ts +0 -261
|
@@ -2,9 +2,33 @@ import { type ContractRunner } from "ethers";
|
|
|
2
2
|
import type { ILendingPool, ILendingPoolInterface } from "../../../../../../contracts/interfaces/core/pools/LendingPool/ILendingPool";
|
|
3
3
|
export declare class ILendingPool__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "AccessDenied";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [];
|
|
10
|
+
readonly name: "AdapterAlreadySupported";
|
|
11
|
+
readonly type: "error";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [];
|
|
14
|
+
readonly name: "AdapterNotSupported";
|
|
15
|
+
readonly type: "error";
|
|
16
|
+
}, {
|
|
5
17
|
readonly inputs: readonly [];
|
|
6
18
|
readonly name: "AddressCannotBeZero";
|
|
7
19
|
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "AmountDifferentThanRequested";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "ApprovalFailed";
|
|
27
|
+
readonly type: "error";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly name: "BorrowCapReached";
|
|
31
|
+
readonly type: "error";
|
|
8
32
|
}, {
|
|
9
33
|
readonly inputs: readonly [];
|
|
10
34
|
readonly name: "CannotBorrowUnderLiquidation";
|
|
@@ -17,6 +41,14 @@ export declare class ILendingPool__factory {
|
|
|
17
41
|
readonly inputs: readonly [];
|
|
18
42
|
readonly name: "CannotWithdrawUnderLiquidation";
|
|
19
43
|
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "CapExceedSupply";
|
|
47
|
+
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "CapZero";
|
|
51
|
+
readonly type: "error";
|
|
20
52
|
}, {
|
|
21
53
|
readonly inputs: readonly [];
|
|
22
54
|
readonly name: "DebtNotZero";
|
|
@@ -41,10 +73,22 @@ export declare class ILendingPool__factory {
|
|
|
41
73
|
readonly inputs: readonly [];
|
|
42
74
|
readonly name: "InsufficientBalance";
|
|
43
75
|
readonly type: "error";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly name: "InsufficientLiquidityAfterWithdrawal";
|
|
79
|
+
readonly type: "error";
|
|
44
80
|
}, {
|
|
45
81
|
readonly inputs: readonly [];
|
|
46
82
|
readonly name: "InvalidAmount";
|
|
47
83
|
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [];
|
|
86
|
+
readonly name: "InvalidBoolean";
|
|
87
|
+
readonly type: "error";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [];
|
|
90
|
+
readonly name: "InvalidGracePeriod";
|
|
91
|
+
readonly type: "error";
|
|
48
92
|
}, {
|
|
49
93
|
readonly inputs: readonly [];
|
|
50
94
|
readonly name: "InvalidInterestRateMode";
|
|
@@ -59,19 +103,19 @@ export declare class ILendingPool__factory {
|
|
|
59
103
|
readonly type: "error";
|
|
60
104
|
}, {
|
|
61
105
|
readonly inputs: readonly [];
|
|
62
|
-
readonly name: "
|
|
106
|
+
readonly name: "InvalidPercentage";
|
|
63
107
|
readonly type: "error";
|
|
64
108
|
}, {
|
|
65
109
|
readonly inputs: readonly [];
|
|
66
|
-
readonly name: "
|
|
110
|
+
readonly name: "InvalidVaultAsset";
|
|
67
111
|
readonly type: "error";
|
|
68
112
|
}, {
|
|
69
113
|
readonly inputs: readonly [];
|
|
70
|
-
readonly name: "
|
|
114
|
+
readonly name: "NFTAlreadyDeposited";
|
|
71
115
|
readonly type: "error";
|
|
72
116
|
}, {
|
|
73
117
|
readonly inputs: readonly [];
|
|
74
|
-
readonly name: "
|
|
118
|
+
readonly name: "NFTNotDeposited";
|
|
75
119
|
readonly type: "error";
|
|
76
120
|
}, {
|
|
77
121
|
readonly inputs: readonly [];
|
|
@@ -85,14 +129,30 @@ export declare class ILendingPool__factory {
|
|
|
85
129
|
readonly inputs: readonly [];
|
|
86
130
|
readonly name: "NoDeposits";
|
|
87
131
|
readonly type: "error";
|
|
132
|
+
}, {
|
|
133
|
+
readonly inputs: readonly [];
|
|
134
|
+
readonly name: "NoPendingWithdraw";
|
|
135
|
+
readonly type: "error";
|
|
88
136
|
}, {
|
|
89
137
|
readonly inputs: readonly [];
|
|
90
138
|
readonly name: "NoRewardsToClaim";
|
|
91
139
|
readonly type: "error";
|
|
140
|
+
}, {
|
|
141
|
+
readonly inputs: readonly [];
|
|
142
|
+
readonly name: "NoVaultSet";
|
|
143
|
+
readonly type: "error";
|
|
92
144
|
}, {
|
|
93
145
|
readonly inputs: readonly [];
|
|
94
146
|
readonly name: "NotEnoughCollateralToBorrow";
|
|
95
147
|
readonly type: "error";
|
|
148
|
+
}, {
|
|
149
|
+
readonly inputs: readonly [];
|
|
150
|
+
readonly name: "NotEnoughLiquidity";
|
|
151
|
+
readonly type: "error";
|
|
152
|
+
}, {
|
|
153
|
+
readonly inputs: readonly [];
|
|
154
|
+
readonly name: "NotInsured";
|
|
155
|
+
readonly type: "error";
|
|
96
156
|
}, {
|
|
97
157
|
readonly inputs: readonly [];
|
|
98
158
|
readonly name: "NotOwnerOfNFT";
|
|
@@ -121,6 +181,18 @@ export declare class ILendingPool__factory {
|
|
|
121
181
|
readonly inputs: readonly [];
|
|
122
182
|
readonly name: "StalePrice";
|
|
123
183
|
readonly type: "error";
|
|
184
|
+
}, {
|
|
185
|
+
readonly inputs: readonly [];
|
|
186
|
+
readonly name: "SupplyCapReached";
|
|
187
|
+
readonly type: "error";
|
|
188
|
+
}, {
|
|
189
|
+
readonly inputs: readonly [];
|
|
190
|
+
readonly name: "TimelockDisabled";
|
|
191
|
+
readonly type: "error";
|
|
192
|
+
}, {
|
|
193
|
+
readonly inputs: readonly [];
|
|
194
|
+
readonly name: "TimelockNotExpired";
|
|
195
|
+
readonly type: "error";
|
|
124
196
|
}, {
|
|
125
197
|
readonly inputs: readonly [];
|
|
126
198
|
readonly name: "TransferFailed";
|
|
@@ -133,6 +205,14 @@ export declare class ILendingPool__factory {
|
|
|
133
205
|
readonly inputs: readonly [];
|
|
134
206
|
readonly name: "UserAlreadyUnderLiquidation";
|
|
135
207
|
readonly type: "error";
|
|
208
|
+
}, {
|
|
209
|
+
readonly inputs: readonly [];
|
|
210
|
+
readonly name: "VaultPositionAlreadyOpened";
|
|
211
|
+
readonly type: "error";
|
|
212
|
+
}, {
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly name: "VaultPositionNotOpened";
|
|
215
|
+
readonly type: "error";
|
|
136
216
|
}, {
|
|
137
217
|
readonly inputs: readonly [];
|
|
138
218
|
readonly name: "WithdrawalWouldLeaveUserUnderCollateralized";
|
|
@@ -156,6 +236,21 @@ export declare class ILendingPool__factory {
|
|
|
156
236
|
}];
|
|
157
237
|
readonly name: "Borrow";
|
|
158
238
|
readonly type: "event";
|
|
239
|
+
}, {
|
|
240
|
+
readonly anonymous: false;
|
|
241
|
+
readonly inputs: readonly [{
|
|
242
|
+
readonly indexed: false;
|
|
243
|
+
readonly internalType: "uint256";
|
|
244
|
+
readonly name: "oldalue";
|
|
245
|
+
readonly type: "uint256";
|
|
246
|
+
}, {
|
|
247
|
+
readonly indexed: false;
|
|
248
|
+
readonly internalType: "uint256";
|
|
249
|
+
readonly name: "newValue";
|
|
250
|
+
readonly type: "uint256";
|
|
251
|
+
}];
|
|
252
|
+
readonly name: "BorrowCapUpdated";
|
|
253
|
+
readonly type: "event";
|
|
159
254
|
}, {
|
|
160
255
|
readonly anonymous: false;
|
|
161
256
|
readonly inputs: readonly [{
|
|
@@ -240,16 +335,26 @@ export declare class ILendingPool__factory {
|
|
|
240
335
|
readonly anonymous: false;
|
|
241
336
|
readonly inputs: readonly [{
|
|
242
337
|
readonly indexed: true;
|
|
243
|
-
readonly internalType: "
|
|
244
|
-
readonly name: "
|
|
245
|
-
readonly type: "
|
|
338
|
+
readonly internalType: "address";
|
|
339
|
+
readonly name: "asset";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
}, {
|
|
342
|
+
readonly indexed: false;
|
|
343
|
+
readonly internalType: "address";
|
|
344
|
+
readonly name: "user";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
}, {
|
|
347
|
+
readonly indexed: false;
|
|
348
|
+
readonly internalType: "bytes";
|
|
349
|
+
readonly name: "data";
|
|
350
|
+
readonly type: "bytes";
|
|
246
351
|
}, {
|
|
247
352
|
readonly indexed: false;
|
|
248
353
|
readonly internalType: "uint256";
|
|
249
354
|
readonly name: "amount";
|
|
250
355
|
readonly type: "uint256";
|
|
251
356
|
}];
|
|
252
|
-
readonly name: "
|
|
357
|
+
readonly name: "InsuredAsset";
|
|
253
358
|
readonly type: "event";
|
|
254
359
|
}, {
|
|
255
360
|
readonly anonymous: false;
|
|
@@ -284,10 +389,15 @@ export declare class ILendingPool__factory {
|
|
|
284
389
|
readonly name: "user";
|
|
285
390
|
readonly type: "address";
|
|
286
391
|
}, {
|
|
287
|
-
readonly indexed:
|
|
288
|
-
readonly internalType: "
|
|
289
|
-
readonly name: "
|
|
290
|
-
readonly type: "
|
|
392
|
+
readonly indexed: false;
|
|
393
|
+
readonly internalType: "address";
|
|
394
|
+
readonly name: "adapter";
|
|
395
|
+
readonly type: "address";
|
|
396
|
+
}, {
|
|
397
|
+
readonly indexed: false;
|
|
398
|
+
readonly internalType: "bytes";
|
|
399
|
+
readonly name: "data";
|
|
400
|
+
readonly type: "bytes";
|
|
291
401
|
}];
|
|
292
402
|
readonly name: "LiquidationClosed";
|
|
293
403
|
readonly type: "event";
|
|
@@ -304,10 +414,15 @@ export declare class ILendingPool__factory {
|
|
|
304
414
|
readonly name: "user";
|
|
305
415
|
readonly type: "address";
|
|
306
416
|
}, {
|
|
307
|
-
readonly indexed:
|
|
308
|
-
readonly internalType: "
|
|
309
|
-
readonly name: "
|
|
310
|
-
readonly type: "
|
|
417
|
+
readonly indexed: false;
|
|
418
|
+
readonly internalType: "address";
|
|
419
|
+
readonly name: "adapter";
|
|
420
|
+
readonly type: "address";
|
|
421
|
+
}, {
|
|
422
|
+
readonly indexed: false;
|
|
423
|
+
readonly internalType: "bytes";
|
|
424
|
+
readonly name: "data";
|
|
425
|
+
readonly type: "bytes";
|
|
311
426
|
}, {
|
|
312
427
|
readonly indexed: false;
|
|
313
428
|
readonly internalType: "uint256";
|
|
@@ -334,10 +449,15 @@ export declare class ILendingPool__factory {
|
|
|
334
449
|
readonly name: "user";
|
|
335
450
|
readonly type: "address";
|
|
336
451
|
}, {
|
|
337
|
-
readonly indexed:
|
|
338
|
-
readonly internalType: "
|
|
339
|
-
readonly name: "
|
|
340
|
-
readonly type: "
|
|
452
|
+
readonly indexed: false;
|
|
453
|
+
readonly internalType: "address";
|
|
454
|
+
readonly name: "adapter";
|
|
455
|
+
readonly type: "address";
|
|
456
|
+
}, {
|
|
457
|
+
readonly indexed: false;
|
|
458
|
+
readonly internalType: "bytes";
|
|
459
|
+
readonly name: "data";
|
|
460
|
+
readonly type: "bytes";
|
|
341
461
|
}];
|
|
342
462
|
readonly name: "LiquidationInitiated";
|
|
343
463
|
readonly type: "event";
|
|
@@ -361,6 +481,21 @@ export declare class ILendingPool__factory {
|
|
|
361
481
|
}];
|
|
362
482
|
readonly name: "LiquidationParametersUpdated";
|
|
363
483
|
readonly type: "event";
|
|
484
|
+
}, {
|
|
485
|
+
readonly anonymous: false;
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly indexed: true;
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
readonly name: "oldLiquidationProxy";
|
|
490
|
+
readonly type: "address";
|
|
491
|
+
}, {
|
|
492
|
+
readonly indexed: true;
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
readonly name: "newLiquidationProxy";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}];
|
|
497
|
+
readonly name: "LiquidationProxyUpdated";
|
|
498
|
+
readonly type: "event";
|
|
364
499
|
}, {
|
|
365
500
|
readonly anonymous: false;
|
|
366
501
|
readonly inputs: readonly [{
|
|
@@ -426,6 +561,26 @@ export declare class ILendingPool__factory {
|
|
|
426
561
|
readonly inputs: readonly [];
|
|
427
562
|
readonly name: "NotFeeCollector";
|
|
428
563
|
readonly type: "event";
|
|
564
|
+
}, {
|
|
565
|
+
readonly anonymous: false;
|
|
566
|
+
readonly inputs: readonly [{
|
|
567
|
+
readonly indexed: false;
|
|
568
|
+
readonly internalType: "enum ILendingPool.OwnerParameter";
|
|
569
|
+
readonly name: "parameter";
|
|
570
|
+
readonly type: "uint8";
|
|
571
|
+
}, {
|
|
572
|
+
readonly indexed: false;
|
|
573
|
+
readonly internalType: "uint256";
|
|
574
|
+
readonly name: "oldalue";
|
|
575
|
+
readonly type: "uint256";
|
|
576
|
+
}, {
|
|
577
|
+
readonly indexed: false;
|
|
578
|
+
readonly internalType: "uint256";
|
|
579
|
+
readonly name: "newValue";
|
|
580
|
+
readonly type: "uint256";
|
|
581
|
+
}];
|
|
582
|
+
readonly name: "ParameterChanged";
|
|
583
|
+
readonly type: "event";
|
|
429
584
|
}, {
|
|
430
585
|
readonly anonymous: false;
|
|
431
586
|
readonly inputs: readonly [{
|
|
@@ -596,6 +751,51 @@ export declare class ILendingPool__factory {
|
|
|
596
751
|
}];
|
|
597
752
|
readonly name: "StabilityPoolUpdated";
|
|
598
753
|
readonly type: "event";
|
|
754
|
+
}, {
|
|
755
|
+
readonly anonymous: false;
|
|
756
|
+
readonly inputs: readonly [{
|
|
757
|
+
readonly indexed: false;
|
|
758
|
+
readonly internalType: "uint256";
|
|
759
|
+
readonly name: "oldalue";
|
|
760
|
+
readonly type: "uint256";
|
|
761
|
+
}, {
|
|
762
|
+
readonly indexed: false;
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
readonly name: "newValue";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}];
|
|
767
|
+
readonly name: "SupplyCapUpdated";
|
|
768
|
+
readonly type: "event";
|
|
769
|
+
}, {
|
|
770
|
+
readonly anonymous: false;
|
|
771
|
+
readonly inputs: readonly [{
|
|
772
|
+
readonly indexed: false;
|
|
773
|
+
readonly internalType: "address";
|
|
774
|
+
readonly name: "user";
|
|
775
|
+
readonly type: "address";
|
|
776
|
+
}, {
|
|
777
|
+
readonly indexed: false;
|
|
778
|
+
readonly internalType: "uint256";
|
|
779
|
+
readonly name: "fee";
|
|
780
|
+
readonly type: "uint256";
|
|
781
|
+
}];
|
|
782
|
+
readonly name: "VaultOpeningFeePaid";
|
|
783
|
+
readonly type: "event";
|
|
784
|
+
}, {
|
|
785
|
+
readonly anonymous: false;
|
|
786
|
+
readonly inputs: readonly [{
|
|
787
|
+
readonly indexed: false;
|
|
788
|
+
readonly internalType: "uint256";
|
|
789
|
+
readonly name: "oldalue";
|
|
790
|
+
readonly type: "uint256";
|
|
791
|
+
}, {
|
|
792
|
+
readonly indexed: false;
|
|
793
|
+
readonly internalType: "uint256";
|
|
794
|
+
readonly name: "newValue";
|
|
795
|
+
readonly type: "uint256";
|
|
796
|
+
}];
|
|
797
|
+
readonly name: "VaultOpeningFeeUpdated";
|
|
798
|
+
readonly type: "event";
|
|
599
799
|
}, {
|
|
600
800
|
readonly anonymous: false;
|
|
601
801
|
readonly inputs: readonly [{
|
|
@@ -646,6 +846,16 @@ export declare class ILendingPool__factory {
|
|
|
646
846
|
}];
|
|
647
847
|
readonly name: "Withdraw";
|
|
648
848
|
readonly type: "event";
|
|
849
|
+
}, {
|
|
850
|
+
readonly anonymous: false;
|
|
851
|
+
readonly inputs: readonly [{
|
|
852
|
+
readonly indexed: true;
|
|
853
|
+
readonly internalType: "address";
|
|
854
|
+
readonly name: "user";
|
|
855
|
+
readonly type: "address";
|
|
856
|
+
}];
|
|
857
|
+
readonly name: "WithdrawCancelled";
|
|
858
|
+
readonly type: "event";
|
|
649
859
|
}, {
|
|
650
860
|
readonly anonymous: false;
|
|
651
861
|
readonly inputs: readonly [{
|
|
@@ -661,6 +871,41 @@ export declare class ILendingPool__factory {
|
|
|
661
871
|
}];
|
|
662
872
|
readonly name: "WithdrawFeeUpdated";
|
|
663
873
|
readonly type: "event";
|
|
874
|
+
}, {
|
|
875
|
+
readonly anonymous: false;
|
|
876
|
+
readonly inputs: readonly [{
|
|
877
|
+
readonly indexed: true;
|
|
878
|
+
readonly internalType: "address";
|
|
879
|
+
readonly name: "user";
|
|
880
|
+
readonly type: "address";
|
|
881
|
+
}, {
|
|
882
|
+
readonly indexed: false;
|
|
883
|
+
readonly internalType: "uint256";
|
|
884
|
+
readonly name: "amount";
|
|
885
|
+
readonly type: "uint256";
|
|
886
|
+
}, {
|
|
887
|
+
readonly indexed: false;
|
|
888
|
+
readonly internalType: "uint256";
|
|
889
|
+
readonly name: "readyAt";
|
|
890
|
+
readonly type: "uint256";
|
|
891
|
+
}];
|
|
892
|
+
readonly name: "WithdrawQueued";
|
|
893
|
+
readonly type: "event";
|
|
894
|
+
}, {
|
|
895
|
+
readonly anonymous: false;
|
|
896
|
+
readonly inputs: readonly [{
|
|
897
|
+
readonly indexed: false;
|
|
898
|
+
readonly internalType: "uint256";
|
|
899
|
+
readonly name: "oldValue";
|
|
900
|
+
readonly type: "uint256";
|
|
901
|
+
}, {
|
|
902
|
+
readonly indexed: false;
|
|
903
|
+
readonly internalType: "uint256";
|
|
904
|
+
readonly name: "newValue";
|
|
905
|
+
readonly type: "uint256";
|
|
906
|
+
}];
|
|
907
|
+
readonly name: "WithdrawTimelockDurationUpdated";
|
|
908
|
+
readonly type: "event";
|
|
664
909
|
}, {
|
|
665
910
|
readonly anonymous: false;
|
|
666
911
|
readonly inputs: readonly [{
|
|
@@ -673,9 +918,13 @@ export declare class ILendingPool__factory {
|
|
|
673
918
|
readonly type: "event";
|
|
674
919
|
}, {
|
|
675
920
|
readonly inputs: readonly [{
|
|
676
|
-
readonly internalType: "
|
|
677
|
-
readonly name: "
|
|
678
|
-
readonly type: "
|
|
921
|
+
readonly internalType: "address";
|
|
922
|
+
readonly name: "adapter";
|
|
923
|
+
readonly type: "address";
|
|
924
|
+
}, {
|
|
925
|
+
readonly internalType: "bytes";
|
|
926
|
+
readonly name: "data";
|
|
927
|
+
readonly type: "bytes";
|
|
679
928
|
}, {
|
|
680
929
|
readonly internalType: "uint256";
|
|
681
930
|
readonly name: "amount";
|
|
@@ -688,12 +937,16 @@ export declare class ILendingPool__factory {
|
|
|
688
937
|
}, {
|
|
689
938
|
readonly inputs: readonly [{
|
|
690
939
|
readonly internalType: "address";
|
|
691
|
-
readonly name: "
|
|
940
|
+
readonly name: "adapter";
|
|
692
941
|
readonly type: "address";
|
|
693
942
|
}, {
|
|
694
|
-
readonly internalType: "
|
|
695
|
-
readonly name: "
|
|
696
|
-
readonly type: "
|
|
943
|
+
readonly internalType: "address";
|
|
944
|
+
readonly name: "user";
|
|
945
|
+
readonly type: "address";
|
|
946
|
+
}, {
|
|
947
|
+
readonly internalType: "bytes";
|
|
948
|
+
readonly name: "data";
|
|
949
|
+
readonly type: "bytes";
|
|
697
950
|
}];
|
|
698
951
|
readonly name: "calculateHealthFactor";
|
|
699
952
|
readonly outputs: readonly [{
|
|
@@ -725,9 +978,13 @@ export declare class ILendingPool__factory {
|
|
|
725
978
|
readonly type: "function";
|
|
726
979
|
}, {
|
|
727
980
|
readonly inputs: readonly [{
|
|
728
|
-
readonly internalType: "
|
|
729
|
-
readonly name: "
|
|
730
|
-
readonly type: "
|
|
981
|
+
readonly internalType: "address";
|
|
982
|
+
readonly name: "adapter";
|
|
983
|
+
readonly type: "address";
|
|
984
|
+
}, {
|
|
985
|
+
readonly internalType: "bytes";
|
|
986
|
+
readonly name: "data";
|
|
987
|
+
readonly type: "bytes";
|
|
731
988
|
}];
|
|
732
989
|
readonly name: "closeLiquidation";
|
|
733
990
|
readonly outputs: readonly [];
|
|
@@ -745,11 +1002,15 @@ export declare class ILendingPool__factory {
|
|
|
745
1002
|
readonly type: "function";
|
|
746
1003
|
}, {
|
|
747
1004
|
readonly inputs: readonly [{
|
|
748
|
-
readonly internalType: "
|
|
749
|
-
readonly name: "
|
|
750
|
-
readonly type: "
|
|
1005
|
+
readonly internalType: "address";
|
|
1006
|
+
readonly name: "adapter";
|
|
1007
|
+
readonly type: "address";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly internalType: "bytes";
|
|
1010
|
+
readonly name: "data";
|
|
1011
|
+
readonly type: "bytes";
|
|
751
1012
|
}];
|
|
752
|
-
readonly name: "
|
|
1013
|
+
readonly name: "depositAsset";
|
|
753
1014
|
readonly outputs: readonly [];
|
|
754
1015
|
readonly stateMutability: "nonpayable";
|
|
755
1016
|
readonly type: "function";
|
|
@@ -766,12 +1027,16 @@ export declare class ILendingPool__factory {
|
|
|
766
1027
|
}, {
|
|
767
1028
|
readonly inputs: readonly [{
|
|
768
1029
|
readonly internalType: "address";
|
|
769
|
-
readonly name: "
|
|
1030
|
+
readonly name: "adapter";
|
|
770
1031
|
readonly type: "address";
|
|
771
1032
|
}, {
|
|
772
|
-
readonly internalType: "
|
|
773
|
-
readonly name: "
|
|
774
|
-
readonly type: "
|
|
1033
|
+
readonly internalType: "address";
|
|
1034
|
+
readonly name: "user";
|
|
1035
|
+
readonly type: "address";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly internalType: "bytes";
|
|
1038
|
+
readonly name: "data";
|
|
1039
|
+
readonly type: "bytes";
|
|
775
1040
|
}];
|
|
776
1041
|
readonly name: "finalizeLiquidation";
|
|
777
1042
|
readonly outputs: readonly [];
|
|
@@ -780,70 +1045,18 @@ export declare class ILendingPool__factory {
|
|
|
780
1045
|
}, {
|
|
781
1046
|
readonly inputs: readonly [{
|
|
782
1047
|
readonly internalType: "address";
|
|
783
|
-
readonly name: "
|
|
1048
|
+
readonly name: "adapter";
|
|
784
1049
|
readonly type: "address";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly internalType: "address";
|
|
1052
|
+
readonly name: "user";
|
|
1053
|
+
readonly type: "address";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly internalType: "bytes";
|
|
1056
|
+
readonly name: "data";
|
|
1057
|
+
readonly type: "bytes";
|
|
785
1058
|
}];
|
|
786
|
-
readonly name: "
|
|
787
|
-
readonly outputs: readonly [{
|
|
788
|
-
readonly components: readonly [{
|
|
789
|
-
readonly internalType: "uint256[]";
|
|
790
|
-
readonly name: "nftTokenIds";
|
|
791
|
-
readonly type: "uint256[]";
|
|
792
|
-
}, {
|
|
793
|
-
readonly internalType: "uint256";
|
|
794
|
-
readonly name: "scaledDebtBalance";
|
|
795
|
-
readonly type: "uint256";
|
|
796
|
-
}, {
|
|
797
|
-
readonly internalType: "uint256";
|
|
798
|
-
readonly name: "collateralValue";
|
|
799
|
-
readonly type: "uint256";
|
|
800
|
-
}, {
|
|
801
|
-
readonly components: readonly [{
|
|
802
|
-
readonly internalType: "uint256";
|
|
803
|
-
readonly name: "rawDebtBalance";
|
|
804
|
-
readonly type: "uint256";
|
|
805
|
-
}, {
|
|
806
|
-
readonly internalType: "uint256";
|
|
807
|
-
readonly name: "scaledDebtBalance";
|
|
808
|
-
readonly type: "uint256";
|
|
809
|
-
}, {
|
|
810
|
-
readonly internalType: "uint256";
|
|
811
|
-
readonly name: "healthFactor";
|
|
812
|
-
readonly type: "uint256";
|
|
813
|
-
}, {
|
|
814
|
-
readonly internalType: "bool";
|
|
815
|
-
readonly name: "isUnderLiquidation";
|
|
816
|
-
readonly type: "bool";
|
|
817
|
-
}, {
|
|
818
|
-
readonly internalType: "uint256";
|
|
819
|
-
readonly name: "liquidationStartTime";
|
|
820
|
-
readonly type: "uint256";
|
|
821
|
-
}, {
|
|
822
|
-
readonly internalType: "uint256";
|
|
823
|
-
readonly name: "positionIndex";
|
|
824
|
-
readonly type: "uint256";
|
|
825
|
-
}, {
|
|
826
|
-
readonly internalType: "bool";
|
|
827
|
-
readonly name: "isInsured";
|
|
828
|
-
readonly type: "bool";
|
|
829
|
-
}];
|
|
830
|
-
readonly internalType: "struct ILendingPool.NFTPositionView[]";
|
|
831
|
-
readonly name: "positions";
|
|
832
|
-
readonly type: "tuple[]";
|
|
833
|
-
}];
|
|
834
|
-
readonly internalType: "struct ILendingPool.UserDataView";
|
|
835
|
-
readonly name: "";
|
|
836
|
-
readonly type: "tuple";
|
|
837
|
-
}];
|
|
838
|
-
readonly stateMutability: "view";
|
|
839
|
-
readonly type: "function";
|
|
840
|
-
}, {
|
|
841
|
-
readonly inputs: readonly [{
|
|
842
|
-
readonly internalType: "uint256";
|
|
843
|
-
readonly name: "tokenId";
|
|
844
|
-
readonly type: "uint256";
|
|
845
|
-
}];
|
|
846
|
-
readonly name: "getNFTPrice";
|
|
1059
|
+
readonly name: "getAssetValue";
|
|
847
1060
|
readonly outputs: readonly [{
|
|
848
1061
|
readonly internalType: "uint256";
|
|
849
1062
|
readonly name: "";
|
|
@@ -888,12 +1101,16 @@ export declare class ILendingPool__factory {
|
|
|
888
1101
|
}, {
|
|
889
1102
|
readonly inputs: readonly [{
|
|
890
1103
|
readonly internalType: "address";
|
|
891
|
-
readonly name: "
|
|
1104
|
+
readonly name: "adapter";
|
|
892
1105
|
readonly type: "address";
|
|
893
1106
|
}, {
|
|
894
|
-
readonly internalType: "
|
|
895
|
-
readonly name: "
|
|
896
|
-
readonly type: "
|
|
1107
|
+
readonly internalType: "address";
|
|
1108
|
+
readonly name: "user";
|
|
1109
|
+
readonly type: "address";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly internalType: "bytes";
|
|
1112
|
+
readonly name: "data";
|
|
1113
|
+
readonly type: "bytes";
|
|
897
1114
|
}];
|
|
898
1115
|
readonly name: "getPosition";
|
|
899
1116
|
readonly outputs: readonly [{
|
|
@@ -922,7 +1139,7 @@ export declare class ILendingPool__factory {
|
|
|
922
1139
|
readonly name: "rawInsuredBalance";
|
|
923
1140
|
readonly type: "uint256";
|
|
924
1141
|
}];
|
|
925
|
-
readonly internalType: "struct
|
|
1142
|
+
readonly internalType: "struct ILendingPoolStorage.CollateralPosition";
|
|
926
1143
|
readonly name: "";
|
|
927
1144
|
readonly type: "tuple";
|
|
928
1145
|
}];
|
|
@@ -931,12 +1148,16 @@ export declare class ILendingPool__factory {
|
|
|
931
1148
|
}, {
|
|
932
1149
|
readonly inputs: readonly [{
|
|
933
1150
|
readonly internalType: "address";
|
|
934
|
-
readonly name: "
|
|
1151
|
+
readonly name: "adapter";
|
|
935
1152
|
readonly type: "address";
|
|
936
1153
|
}, {
|
|
937
|
-
readonly internalType: "
|
|
938
|
-
readonly name: "
|
|
939
|
-
readonly type: "
|
|
1154
|
+
readonly internalType: "address";
|
|
1155
|
+
readonly name: "user";
|
|
1156
|
+
readonly type: "address";
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly internalType: "bytes";
|
|
1159
|
+
readonly name: "data";
|
|
1160
|
+
readonly type: "bytes";
|
|
940
1161
|
}];
|
|
941
1162
|
readonly name: "getPositionData";
|
|
942
1163
|
readonly outputs: readonly [{
|
|
@@ -953,12 +1174,16 @@ export declare class ILendingPool__factory {
|
|
|
953
1174
|
}, {
|
|
954
1175
|
readonly inputs: readonly [{
|
|
955
1176
|
readonly internalType: "address";
|
|
956
|
-
readonly name: "
|
|
1177
|
+
readonly name: "adapter";
|
|
957
1178
|
readonly type: "address";
|
|
958
1179
|
}, {
|
|
959
|
-
readonly internalType: "
|
|
960
|
-
readonly name: "
|
|
961
|
-
readonly type: "
|
|
1180
|
+
readonly internalType: "address";
|
|
1181
|
+
readonly name: "user";
|
|
1182
|
+
readonly type: "address";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly internalType: "bytes";
|
|
1185
|
+
readonly name: "data";
|
|
1186
|
+
readonly type: "bytes";
|
|
962
1187
|
}];
|
|
963
1188
|
readonly name: "getPositionDebt";
|
|
964
1189
|
readonly outputs: readonly [{
|
|
@@ -971,12 +1196,16 @@ export declare class ILendingPool__factory {
|
|
|
971
1196
|
}, {
|
|
972
1197
|
readonly inputs: readonly [{
|
|
973
1198
|
readonly internalType: "address";
|
|
974
|
-
readonly name: "
|
|
1199
|
+
readonly name: "adapter";
|
|
975
1200
|
readonly type: "address";
|
|
976
1201
|
}, {
|
|
977
|
-
readonly internalType: "
|
|
978
|
-
readonly name: "
|
|
979
|
-
readonly type: "
|
|
1202
|
+
readonly internalType: "address";
|
|
1203
|
+
readonly name: "user";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly internalType: "bytes";
|
|
1207
|
+
readonly name: "data";
|
|
1208
|
+
readonly type: "bytes";
|
|
980
1209
|
}];
|
|
981
1210
|
readonly name: "getPositionScaledDebt";
|
|
982
1211
|
readonly outputs: readonly [{
|
|
@@ -1000,20 +1229,10 @@ export declare class ILendingPool__factory {
|
|
|
1000
1229
|
}];
|
|
1001
1230
|
readonly stateMutability: "view";
|
|
1002
1231
|
readonly type: "function";
|
|
1003
|
-
}, {
|
|
1004
|
-
readonly inputs: readonly [];
|
|
1005
|
-
readonly name: "getRAACNFTAddress";
|
|
1006
|
-
readonly outputs: readonly [{
|
|
1007
|
-
readonly internalType: "address";
|
|
1008
|
-
readonly name: "";
|
|
1009
|
-
readonly type: "address";
|
|
1010
|
-
}];
|
|
1011
|
-
readonly stateMutability: "view";
|
|
1012
|
-
readonly type: "function";
|
|
1013
1232
|
}, {
|
|
1014
1233
|
readonly inputs: readonly [{
|
|
1015
1234
|
readonly internalType: "address";
|
|
1016
|
-
readonly name: "
|
|
1235
|
+
readonly name: "user";
|
|
1017
1236
|
readonly type: "address";
|
|
1018
1237
|
}];
|
|
1019
1238
|
readonly name: "getUserCollateralValue";
|
|
@@ -1027,7 +1246,7 @@ export declare class ILendingPool__factory {
|
|
|
1027
1246
|
}, {
|
|
1028
1247
|
readonly inputs: readonly [{
|
|
1029
1248
|
readonly internalType: "address";
|
|
1030
|
-
readonly name: "
|
|
1249
|
+
readonly name: "user";
|
|
1031
1250
|
readonly type: "address";
|
|
1032
1251
|
}];
|
|
1033
1252
|
readonly name: "getUserDebt";
|
|
@@ -1041,12 +1260,16 @@ export declare class ILendingPool__factory {
|
|
|
1041
1260
|
}, {
|
|
1042
1261
|
readonly inputs: readonly [{
|
|
1043
1262
|
readonly internalType: "address";
|
|
1044
|
-
readonly name: "
|
|
1263
|
+
readonly name: "adapter";
|
|
1045
1264
|
readonly type: "address";
|
|
1046
1265
|
}, {
|
|
1047
|
-
readonly internalType: "
|
|
1048
|
-
readonly name: "
|
|
1049
|
-
readonly type: "
|
|
1266
|
+
readonly internalType: "address";
|
|
1267
|
+
readonly name: "user";
|
|
1268
|
+
readonly type: "address";
|
|
1269
|
+
}, {
|
|
1270
|
+
readonly internalType: "bytes";
|
|
1271
|
+
readonly name: "data";
|
|
1272
|
+
readonly type: "bytes";
|
|
1050
1273
|
}];
|
|
1051
1274
|
readonly name: "initiateLiquidation";
|
|
1052
1275
|
readonly outputs: readonly [];
|
|
@@ -1078,11 +1301,21 @@ export declare class ILendingPool__factory {
|
|
|
1078
1301
|
}];
|
|
1079
1302
|
readonly stateMutability: "nonpayable";
|
|
1080
1303
|
readonly type: "function";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly inputs: readonly [];
|
|
1306
|
+
readonly name: "openVaultPosition";
|
|
1307
|
+
readonly outputs: readonly [];
|
|
1308
|
+
readonly stateMutability: "nonpayable";
|
|
1309
|
+
readonly type: "function";
|
|
1081
1310
|
}, {
|
|
1082
1311
|
readonly inputs: readonly [{
|
|
1083
|
-
readonly internalType: "
|
|
1084
|
-
readonly name: "
|
|
1085
|
-
readonly type: "
|
|
1312
|
+
readonly internalType: "address";
|
|
1313
|
+
readonly name: "adapter";
|
|
1314
|
+
readonly type: "address";
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly internalType: "bytes";
|
|
1317
|
+
readonly name: "data";
|
|
1318
|
+
readonly type: "bytes";
|
|
1086
1319
|
}, {
|
|
1087
1320
|
readonly internalType: "uint256";
|
|
1088
1321
|
readonly name: "amount";
|
|
@@ -1094,9 +1327,13 @@ export declare class ILendingPool__factory {
|
|
|
1094
1327
|
readonly type: "function";
|
|
1095
1328
|
}, {
|
|
1096
1329
|
readonly inputs: readonly [{
|
|
1097
|
-
readonly internalType: "
|
|
1098
|
-
readonly name: "
|
|
1099
|
-
readonly type: "
|
|
1330
|
+
readonly internalType: "address";
|
|
1331
|
+
readonly name: "adapter";
|
|
1332
|
+
readonly type: "address";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly internalType: "bytes";
|
|
1335
|
+
readonly name: "data";
|
|
1336
|
+
readonly type: "bytes";
|
|
1100
1337
|
}, {
|
|
1101
1338
|
readonly internalType: "uint256";
|
|
1102
1339
|
readonly name: "amount";
|
|
@@ -1144,6 +1381,20 @@ export declare class ILendingPool__factory {
|
|
|
1144
1381
|
readonly outputs: readonly [];
|
|
1145
1382
|
readonly stateMutability: "nonpayable";
|
|
1146
1383
|
readonly type: "function";
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly inputs: readonly [{
|
|
1386
|
+
readonly internalType: "address";
|
|
1387
|
+
readonly name: "_adapter";
|
|
1388
|
+
readonly type: "address";
|
|
1389
|
+
}];
|
|
1390
|
+
readonly name: "supportedAdapter";
|
|
1391
|
+
readonly outputs: readonly [{
|
|
1392
|
+
readonly internalType: "bool";
|
|
1393
|
+
readonly name: "";
|
|
1394
|
+
readonly type: "bool";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly stateMutability: "nonpayable";
|
|
1397
|
+
readonly type: "function";
|
|
1147
1398
|
}, {
|
|
1148
1399
|
readonly inputs: readonly [{
|
|
1149
1400
|
readonly internalType: "address";
|
|
@@ -1186,11 +1437,15 @@ export declare class ILendingPool__factory {
|
|
|
1186
1437
|
readonly type: "function";
|
|
1187
1438
|
}, {
|
|
1188
1439
|
readonly inputs: readonly [{
|
|
1189
|
-
readonly internalType: "
|
|
1190
|
-
readonly name: "
|
|
1191
|
-
readonly type: "
|
|
1440
|
+
readonly internalType: "address";
|
|
1441
|
+
readonly name: "adapter";
|
|
1442
|
+
readonly type: "address";
|
|
1443
|
+
}, {
|
|
1444
|
+
readonly internalType: "bytes";
|
|
1445
|
+
readonly name: "data";
|
|
1446
|
+
readonly type: "bytes";
|
|
1192
1447
|
}];
|
|
1193
|
-
readonly name: "
|
|
1448
|
+
readonly name: "withdrawAsset";
|
|
1194
1449
|
readonly outputs: readonly [];
|
|
1195
1450
|
readonly stateMutability: "nonpayable";
|
|
1196
1451
|
readonly type: "function";
|