@raac/rpc 1.0.1 → 1.0.2-beta.1
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 +61 -8
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1743 -0
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +175 -67
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +279 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1231 -195
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +153 -199
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +72 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -2
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +770 -0
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +707 -49
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +23 -84
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +62 -62
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +2 -2
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +774 -0
- package/dist/artifacts/zeno/Auction.sol/Auction.json +34 -114
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +3 -3
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +3 -3
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +3 -3
- package/dist/configs/chains/17000.json +127 -0
- package/dist/configs/chains/8453.json +26 -14
- package/dist/configs/chains/index.js +2 -0
- package/dist/configs/createConfig.js +6 -0
- package/dist/contracts/feeCollector/claimRewardFromPool.js +24 -0
- package/dist/contracts/housePrices/getLatestPrice.js +1 -1
- package/dist/contracts/indexToken/getNextRandomNFT.js +30 -0
- package/dist/contracts/indexToken/redeemNFT.js +39 -0
- package/dist/nfts/getAllTokens.js +34 -0
- package/dist/nfts/{addNewBatch.js → getBaseUri.js} +7 -8
- package/dist/nfts/getMintFeePercentage.js +23 -0
- package/dist/nfts/getMintPrice.js +28 -0
- package/dist/nfts/getTokenURI.js +23 -0
- package/dist/nfts/getTokensByOwner.js +35 -0
- package/dist/nfts/getTotalPropertiesCount.js +23 -0
- package/dist/nfts/{getCurrentBatchSize.js → totalNFTSupply.js} +3 -3
- package/dist/pools/lendingPool/borrowFromLendingPool.js +4 -3
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +40 -0
- package/dist/pools/lendingPool/calculateInsuranceFee.js +20 -0
- package/dist/pools/lendingPool/claimReward.js +22 -0
- package/dist/pools/lendingPool/closeLiquidation.js +28 -0
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -1
- package/dist/pools/lendingPool/depositToLendingPool.js +2 -2
- package/dist/pools/lendingPool/getAllUserData.js +28 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +27 -0
- package/dist/pools/lendingPool/getHealthFactor.js +27 -0
- package/dist/pools/lendingPool/getLendingPoolInfo.js +8 -5
- package/dist/pools/lendingPool/getPendingReward.js +20 -0
- package/dist/pools/lendingPool/getPositionDebt.js +27 -0
- package/dist/pools/lendingPool/getPositionScaledDebt.js +27 -0
- package/dist/pools/lendingPool/getPositionView.js +38 -0
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +27 -0
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +21 -0
- package/dist/pools/lendingPool/getUserCollateralValue.js +27 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +28 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +4 -8
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +2 -2
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +40 -0
- package/dist/pools/stabilityPool/getRawUserDepositsInStabilityPool.js +21 -0
- package/dist/pools/stabilityPool/getStabilityPoolInfo.js +2 -12
- package/dist/scripts/index.js +90 -35
- package/dist/types/RPCLibrary.d.ts +61 -8
- package/dist/types/configs/chains/index.d.ts +2 -0
- package/dist/types/configs/createConfig.d.ts +6 -0
- package/dist/types/configs/index.d.ts +1 -0
- package/dist/types/contracts/feeCollector/claimRewardFromPool.d.ts +4 -0
- package/dist/types/contracts/housePrices/getLatestPrice.d.ts +1 -1
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +7 -0
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +4 -0
- package/dist/types/nfts/getAllTokens.d.ts +7 -0
- package/dist/types/nfts/getBaseUri.d.ts +4 -0
- package/dist/types/nfts/getMintFeePercentage.d.ts +4 -0
- package/dist/types/nfts/getMintPrice.d.ts +7 -0
- package/dist/types/nfts/getTokenURI.d.ts +4 -0
- package/dist/types/nfts/getTokensByOwner.d.ts +10 -0
- package/dist/types/nfts/getTotalPropertiesCount.d.ts +4 -0
- package/dist/types/nfts/totalNFTSupply.d.ts +4 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +1 -1
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -0
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +4 -0
- package/dist/types/pools/lendingPool/claimReward.d.ts +4 -0
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +11 -0
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +16 -0
- package/dist/types/pools/lendingPool/getEligibleUserDeposits.d.ts +11 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +11 -0
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +2 -1
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +4 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getPositionView.d.ts +27 -0
- package/dist/types/pools/lendingPool/getPositionsScaledDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getRawUserDepositsInLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/getUserCollateralValue.d.ts +11 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +11 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +1 -1
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getRawUserDepositsInStabilityPool.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +1 -3
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +35 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +156 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +446 -221
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +108 -20
- package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +6 -16
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +166 -0
- package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +811 -99
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +152 -148
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +29 -2
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +65 -51
- package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +187 -2
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +413 -19
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +40 -40
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IBaseCollector.d.ts +39 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +317 -130
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +58 -22
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +5 -3
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +86 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +83 -45
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +539 -54
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +92 -71
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +123 -27
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IIndexToken.d.ts +187 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +243 -17
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +37 -37
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseVault.d.ts +83 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +5 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +530 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolCollector.d.ts +156 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +557 -102
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLiquidityPool.d.ts +486 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockDistributableContract.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockCollectableUnderlying.d.ts +292 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/vaults/MockVault.d.ts +290 -0
- package/dist/types/typechain-types/contracts/mocks/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/MockStringUtils.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +33 -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/interfaces/VRFCoordinatorV2Interface__factory.d.ts +171 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +571 -194
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +138 -54
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -31
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +231 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +897 -64
- 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/StabilityPool__factory.d.ts +128 -161
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +54 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +47 -29
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +317 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +525 -17
- 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 +52 -52
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IBaseCollector__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +409 -90
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +59 -15
- 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 +78 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +119 -39
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +547 -19
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +68 -67
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +119 -6
- package/dist/types/typechain-types/factories/{erc721a/contracts/IERC721A__factory.d.ts → contracts/interfaces/core/tokens/IIndexToken__factory.d.ts} +74 -215
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +274 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +26 -26
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/{IMarketCreator__factory.d.ts → core/vaults/IBaseVault__factory.d.ts} +78 -42
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +16 -4
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +1 -0
- 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 +620 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
- 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 +234 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +539 -77
- 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 +795 -0
- 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/pools/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +68 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +451 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +525 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +40 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/index.d.ts +1 -0
- 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/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/index.d.ts +0 -1
- package/dist/types/typechain-types/index.d.ts +28 -10
- package/dist/types/utils/artifacts.d.ts +677 -39
- package/dist/types/utils/contracts.d.ts +2 -0
- package/dist/utils/artifacts.js +9 -0
- package/package.json +1 -1
- package/dist/nfts/getDepositedNFTs.js +0 -19
- package/dist/nfts/getOwnedNFTs.js +0 -34
- package/dist/types/nfts/addNewBatch.d.ts +0 -4
- package/dist/types/nfts/getCurrentBatchSize.d.ts +0 -4
- package/dist/types/nfts/getDepositedNFTs.d.ts +0 -7
- package/dist/types/nfts/getOwnedNFTs.d.ts +0 -7
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/MarketCreator.d.ts +0 -274
- package/dist/types/typechain-types/contracts/interfaces/IMarketCreator.d.ts +0 -85
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockFeeCollector.d.ts +0 -708
- package/dist/types/typechain-types/erc721a/contracts/IERC721A.d.ts +0 -242
- package/dist/types/typechain-types/erc721a/contracts/index.d.ts +0 -1
- package/dist/types/typechain-types/erc721a/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/MarketCreator__factory.d.ts +0 -405
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockFeeCollector__factory.d.ts +0 -985
- package/dist/types/typechain-types/factories/erc721a/contracts/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/erc721a/index.d.ts +0 -1
package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts
CHANGED
|
@@ -3,20 +3,46 @@ import type { IRAACNFT, IRAACNFTInterface } from "../../../../../contracts/inter
|
|
|
3
3
|
export declare class IRAACNFT__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
5
|
readonly inputs: readonly [];
|
|
6
|
-
readonly name: "
|
|
6
|
+
readonly name: "ExceedsMaxFee";
|
|
7
7
|
readonly type: "error";
|
|
8
8
|
}, {
|
|
9
9
|
readonly inputs: readonly [];
|
|
10
|
-
readonly name: "
|
|
10
|
+
readonly name: "HousePrice";
|
|
11
11
|
readonly type: "error";
|
|
12
12
|
}, {
|
|
13
13
|
readonly inputs: readonly [];
|
|
14
|
-
readonly name: "
|
|
14
|
+
readonly name: "InsufficientBalance";
|
|
15
15
|
readonly type: "error";
|
|
16
16
|
}, {
|
|
17
17
|
readonly inputs: readonly [];
|
|
18
|
-
readonly name: "
|
|
18
|
+
readonly name: "InsufficientFundsMint";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "InvalidAddress";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "InvalidRange";
|
|
27
|
+
readonly type: "error";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly name: "TokenAlreadyMinted";
|
|
31
|
+
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [];
|
|
34
|
+
readonly name: "ZeroAddress";
|
|
19
35
|
readonly type: "error";
|
|
36
|
+
}, {
|
|
37
|
+
readonly anonymous: false;
|
|
38
|
+
readonly inputs: readonly [{
|
|
39
|
+
readonly indexed: false;
|
|
40
|
+
readonly internalType: "bool";
|
|
41
|
+
readonly name: "allowBurning";
|
|
42
|
+
readonly type: "bool";
|
|
43
|
+
}];
|
|
44
|
+
readonly name: "AllowBurningUpdated";
|
|
45
|
+
readonly type: "event";
|
|
20
46
|
}, {
|
|
21
47
|
readonly anonymous: false;
|
|
22
48
|
readonly inputs: readonly [{
|
|
@@ -57,6 +83,81 @@ export declare class IRAACNFT__factory {
|
|
|
57
83
|
}];
|
|
58
84
|
readonly name: "ApprovalForAll";
|
|
59
85
|
readonly type: "event";
|
|
86
|
+
}, {
|
|
87
|
+
readonly anonymous: false;
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly indexed: false;
|
|
90
|
+
readonly internalType: "string";
|
|
91
|
+
readonly name: "uri";
|
|
92
|
+
readonly type: "string";
|
|
93
|
+
}];
|
|
94
|
+
readonly name: "BaseURIUpdated";
|
|
95
|
+
readonly type: "event";
|
|
96
|
+
}, {
|
|
97
|
+
readonly anonymous: false;
|
|
98
|
+
readonly inputs: readonly [{
|
|
99
|
+
readonly indexed: false;
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
readonly name: "maxFee";
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
readonly name: "MaxFeeUpdated";
|
|
105
|
+
readonly type: "event";
|
|
106
|
+
}, {
|
|
107
|
+
readonly anonymous: false;
|
|
108
|
+
readonly inputs: readonly [{
|
|
109
|
+
readonly indexed: false;
|
|
110
|
+
readonly internalType: "uint256";
|
|
111
|
+
readonly name: "mintFee";
|
|
112
|
+
readonly type: "uint256";
|
|
113
|
+
}];
|
|
114
|
+
readonly name: "MintFeeUpdated";
|
|
115
|
+
readonly type: "event";
|
|
116
|
+
}, {
|
|
117
|
+
readonly anonymous: false;
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly indexed: true;
|
|
120
|
+
readonly internalType: "bytes32";
|
|
121
|
+
readonly name: "role";
|
|
122
|
+
readonly type: "bytes32";
|
|
123
|
+
}, {
|
|
124
|
+
readonly indexed: true;
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
readonly name: "previousMinter";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}, {
|
|
129
|
+
readonly indexed: true;
|
|
130
|
+
readonly internalType: "address";
|
|
131
|
+
readonly name: "newMinter";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "MinterRoleTransferred";
|
|
135
|
+
readonly type: "event";
|
|
136
|
+
}, {
|
|
137
|
+
readonly anonymous: false;
|
|
138
|
+
readonly inputs: readonly [{
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "payer";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly indexed: false;
|
|
145
|
+
readonly internalType: "uint256";
|
|
146
|
+
readonly name: "fee";
|
|
147
|
+
readonly type: "uint256";
|
|
148
|
+
}];
|
|
149
|
+
readonly name: "NFTFeePaid";
|
|
150
|
+
readonly type: "event";
|
|
151
|
+
}, {
|
|
152
|
+
readonly anonymous: false;
|
|
153
|
+
readonly inputs: readonly [{
|
|
154
|
+
readonly indexed: false;
|
|
155
|
+
readonly internalType: "uint256";
|
|
156
|
+
readonly name: "fee";
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "NFTFeeUpdated";
|
|
160
|
+
readonly type: "event";
|
|
60
161
|
}, {
|
|
61
162
|
readonly anonymous: false;
|
|
62
163
|
readonly inputs: readonly [{
|
|
@@ -74,6 +175,11 @@ export declare class IRAACNFT__factory {
|
|
|
74
175
|
readonly internalType: "uint256";
|
|
75
176
|
readonly name: "price";
|
|
76
177
|
readonly type: "uint256";
|
|
178
|
+
}, {
|
|
179
|
+
readonly indexed: false;
|
|
180
|
+
readonly internalType: "uint256";
|
|
181
|
+
readonly name: "mintFee";
|
|
182
|
+
readonly type: "uint256";
|
|
77
183
|
}];
|
|
78
184
|
readonly name: "NFTMinted";
|
|
79
185
|
readonly type: "event";
|
|
@@ -99,11 +205,11 @@ export declare class IRAACNFT__factory {
|
|
|
99
205
|
readonly type: "event";
|
|
100
206
|
}, {
|
|
101
207
|
readonly inputs: readonly [{
|
|
102
|
-
readonly internalType: "
|
|
103
|
-
readonly name: "
|
|
104
|
-
readonly type: "
|
|
208
|
+
readonly internalType: "address";
|
|
209
|
+
readonly name: "minter";
|
|
210
|
+
readonly type: "address";
|
|
105
211
|
}];
|
|
106
|
-
readonly name: "
|
|
212
|
+
readonly name: "addMinter";
|
|
107
213
|
readonly outputs: readonly [];
|
|
108
214
|
readonly stateMutability: "nonpayable";
|
|
109
215
|
readonly type: "function";
|
|
@@ -137,12 +243,30 @@ export declare class IRAACNFT__factory {
|
|
|
137
243
|
readonly type: "function";
|
|
138
244
|
}, {
|
|
139
245
|
readonly inputs: readonly [];
|
|
140
|
-
readonly name: "
|
|
246
|
+
readonly name: "getAllTokens";
|
|
141
247
|
readonly outputs: readonly [{
|
|
142
|
-
readonly internalType: "uint256";
|
|
248
|
+
readonly internalType: "uint256[]";
|
|
143
249
|
readonly name: "";
|
|
250
|
+
readonly type: "uint256[]";
|
|
251
|
+
}];
|
|
252
|
+
readonly stateMutability: "view";
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
}, {
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly internalType: "uint256";
|
|
257
|
+
readonly name: "start";
|
|
258
|
+
readonly type: "uint256";
|
|
259
|
+
}, {
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
readonly name: "end";
|
|
144
262
|
readonly type: "uint256";
|
|
145
263
|
}];
|
|
264
|
+
readonly name: "getAllTokens";
|
|
265
|
+
readonly outputs: readonly [{
|
|
266
|
+
readonly internalType: "uint256[]";
|
|
267
|
+
readonly name: "";
|
|
268
|
+
readonly type: "uint256[]";
|
|
269
|
+
}];
|
|
146
270
|
readonly stateMutability: "view";
|
|
147
271
|
readonly type: "function";
|
|
148
272
|
}, {
|
|
@@ -173,6 +297,56 @@ export declare class IRAACNFT__factory {
|
|
|
173
297
|
}];
|
|
174
298
|
readonly stateMutability: "view";
|
|
175
299
|
readonly type: "function";
|
|
300
|
+
}, {
|
|
301
|
+
readonly inputs: readonly [{
|
|
302
|
+
readonly internalType: "uint256";
|
|
303
|
+
readonly name: "_tokenId";
|
|
304
|
+
readonly type: "uint256";
|
|
305
|
+
}];
|
|
306
|
+
readonly name: "getMintPrice";
|
|
307
|
+
readonly outputs: readonly [{
|
|
308
|
+
readonly internalType: "uint256";
|
|
309
|
+
readonly name: "";
|
|
310
|
+
readonly type: "uint256";
|
|
311
|
+
}];
|
|
312
|
+
readonly stateMutability: "view";
|
|
313
|
+
readonly type: "function";
|
|
314
|
+
}, {
|
|
315
|
+
readonly inputs: readonly [{
|
|
316
|
+
readonly internalType: "address";
|
|
317
|
+
readonly name: "owner";
|
|
318
|
+
readonly type: "address";
|
|
319
|
+
}];
|
|
320
|
+
readonly name: "getTokensByOwner";
|
|
321
|
+
readonly outputs: readonly [{
|
|
322
|
+
readonly internalType: "uint256[]";
|
|
323
|
+
readonly name: "";
|
|
324
|
+
readonly type: "uint256[]";
|
|
325
|
+
}];
|
|
326
|
+
readonly stateMutability: "view";
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
}, {
|
|
329
|
+
readonly inputs: readonly [{
|
|
330
|
+
readonly internalType: "address";
|
|
331
|
+
readonly name: "owner";
|
|
332
|
+
readonly type: "address";
|
|
333
|
+
}, {
|
|
334
|
+
readonly internalType: "uint256";
|
|
335
|
+
readonly name: "start";
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
}, {
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
readonly name: "end";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}];
|
|
342
|
+
readonly name: "getTokensByOwner";
|
|
343
|
+
readonly outputs: readonly [{
|
|
344
|
+
readonly internalType: "uint256[]";
|
|
345
|
+
readonly name: "";
|
|
346
|
+
readonly type: "uint256[]";
|
|
347
|
+
}];
|
|
348
|
+
readonly stateMutability: "view";
|
|
349
|
+
readonly type: "function";
|
|
176
350
|
}, {
|
|
177
351
|
readonly inputs: readonly [{
|
|
178
352
|
readonly internalType: "address";
|
|
@@ -205,6 +379,20 @@ export declare class IRAACNFT__factory {
|
|
|
205
379
|
readonly outputs: readonly [];
|
|
206
380
|
readonly stateMutability: "nonpayable";
|
|
207
381
|
readonly type: "function";
|
|
382
|
+
}, {
|
|
383
|
+
readonly inputs: readonly [{
|
|
384
|
+
readonly internalType: "address";
|
|
385
|
+
readonly name: "to";
|
|
386
|
+
readonly type: "address";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly name: "tokenId";
|
|
390
|
+
readonly type: "uint256";
|
|
391
|
+
}];
|
|
392
|
+
readonly name: "minterMint";
|
|
393
|
+
readonly outputs: readonly [];
|
|
394
|
+
readonly stateMutability: "nonpayable";
|
|
395
|
+
readonly type: "function";
|
|
208
396
|
}, {
|
|
209
397
|
readonly inputs: readonly [{
|
|
210
398
|
readonly internalType: "uint256";
|
|
@@ -219,6 +407,16 @@ export declare class IRAACNFT__factory {
|
|
|
219
407
|
}];
|
|
220
408
|
readonly stateMutability: "view";
|
|
221
409
|
readonly type: "function";
|
|
410
|
+
}, {
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly internalType: "address";
|
|
413
|
+
readonly name: "minter";
|
|
414
|
+
readonly type: "address";
|
|
415
|
+
}];
|
|
416
|
+
readonly name: "removeMinter";
|
|
417
|
+
readonly outputs: readonly [];
|
|
418
|
+
readonly stateMutability: "nonpayable";
|
|
419
|
+
readonly type: "function";
|
|
222
420
|
}, {
|
|
223
421
|
readonly inputs: readonly [{
|
|
224
422
|
readonly internalType: "address";
|
|
@@ -259,6 +457,16 @@ export declare class IRAACNFT__factory {
|
|
|
259
457
|
readonly outputs: readonly [];
|
|
260
458
|
readonly stateMutability: "nonpayable";
|
|
261
459
|
readonly type: "function";
|
|
460
|
+
}, {
|
|
461
|
+
readonly inputs: readonly [{
|
|
462
|
+
readonly internalType: "bool";
|
|
463
|
+
readonly name: "_allowBurning";
|
|
464
|
+
readonly type: "bool";
|
|
465
|
+
}];
|
|
466
|
+
readonly name: "setAllowBurning";
|
|
467
|
+
readonly outputs: readonly [];
|
|
468
|
+
readonly stateMutability: "nonpayable";
|
|
469
|
+
readonly type: "function";
|
|
262
470
|
}, {
|
|
263
471
|
readonly inputs: readonly [{
|
|
264
472
|
readonly internalType: "address";
|
|
@@ -283,6 +491,26 @@ export declare class IRAACNFT__factory {
|
|
|
283
491
|
readonly outputs: readonly [];
|
|
284
492
|
readonly stateMutability: "nonpayable";
|
|
285
493
|
readonly type: "function";
|
|
494
|
+
}, {
|
|
495
|
+
readonly inputs: readonly [{
|
|
496
|
+
readonly internalType: "uint256";
|
|
497
|
+
readonly name: "newFee";
|
|
498
|
+
readonly type: "uint256";
|
|
499
|
+
}];
|
|
500
|
+
readonly name: "setMintFee";
|
|
501
|
+
readonly outputs: readonly [];
|
|
502
|
+
readonly stateMutability: "nonpayable";
|
|
503
|
+
readonly type: "function";
|
|
504
|
+
}, {
|
|
505
|
+
readonly inputs: readonly [{
|
|
506
|
+
readonly internalType: "address";
|
|
507
|
+
readonly name: "_treasury";
|
|
508
|
+
readonly type: "address";
|
|
509
|
+
}];
|
|
510
|
+
readonly name: "setTreasury";
|
|
511
|
+
readonly outputs: readonly [];
|
|
512
|
+
readonly stateMutability: "nonpayable";
|
|
513
|
+
readonly type: "function";
|
|
286
514
|
}, {
|
|
287
515
|
readonly inputs: readonly [{
|
|
288
516
|
readonly internalType: "bytes4";
|
|
@@ -357,6 +585,42 @@ export declare class IRAACNFT__factory {
|
|
|
357
585
|
readonly outputs: readonly [];
|
|
358
586
|
readonly stateMutability: "nonpayable";
|
|
359
587
|
readonly type: "function";
|
|
588
|
+
}, {
|
|
589
|
+
readonly inputs: readonly [{
|
|
590
|
+
readonly internalType: "bytes32";
|
|
591
|
+
readonly name: "role";
|
|
592
|
+
readonly type: "bytes32";
|
|
593
|
+
}, {
|
|
594
|
+
readonly internalType: "address";
|
|
595
|
+
readonly name: "newMinter";
|
|
596
|
+
readonly type: "address";
|
|
597
|
+
}];
|
|
598
|
+
readonly name: "transferRole";
|
|
599
|
+
readonly outputs: readonly [];
|
|
600
|
+
readonly stateMutability: "nonpayable";
|
|
601
|
+
readonly type: "function";
|
|
602
|
+
}, {
|
|
603
|
+
readonly inputs: readonly [{
|
|
604
|
+
readonly internalType: "address";
|
|
605
|
+
readonly name: "tokenAddress";
|
|
606
|
+
readonly type: "address";
|
|
607
|
+
}, {
|
|
608
|
+
readonly internalType: "address";
|
|
609
|
+
readonly name: "to";
|
|
610
|
+
readonly type: "address";
|
|
611
|
+
}, {
|
|
612
|
+
readonly internalType: "uint256";
|
|
613
|
+
readonly name: "amount";
|
|
614
|
+
readonly type: "uint256";
|
|
615
|
+
}];
|
|
616
|
+
readonly name: "withdrawUnderlying";
|
|
617
|
+
readonly outputs: readonly [{
|
|
618
|
+
readonly internalType: "bool";
|
|
619
|
+
readonly name: "";
|
|
620
|
+
readonly type: "bool";
|
|
621
|
+
}];
|
|
622
|
+
readonly stateMutability: "nonpayable";
|
|
623
|
+
readonly type: "function";
|
|
360
624
|
}];
|
|
361
625
|
static createInterface(): IRAACNFTInterface;
|
|
362
626
|
static connect(address: string, runner?: ContractRunner | null): IRAACNFT;
|
package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare class IRToken__factory {
|
|
|
19
19
|
readonly type: "error";
|
|
20
20
|
}, {
|
|
21
21
|
readonly inputs: readonly [];
|
|
22
|
-
readonly name: "
|
|
22
|
+
readonly name: "OnlyLendingPool";
|
|
23
23
|
readonly type: "error";
|
|
24
24
|
}, {
|
|
25
25
|
readonly anonymous: false;
|
|
@@ -116,6 +116,21 @@ export declare class IRToken__factory {
|
|
|
116
116
|
}];
|
|
117
117
|
readonly name: "DustTransferred";
|
|
118
118
|
readonly type: "event";
|
|
119
|
+
}, {
|
|
120
|
+
readonly anonymous: false;
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly indexed: true;
|
|
123
|
+
readonly internalType: "address";
|
|
124
|
+
readonly name: "oldLendingPool";
|
|
125
|
+
readonly type: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly indexed: true;
|
|
128
|
+
readonly internalType: "address";
|
|
129
|
+
readonly name: "newLendingPool";
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
}];
|
|
132
|
+
readonly name: "LendingPoolUpdated";
|
|
133
|
+
readonly type: "event";
|
|
119
134
|
}, {
|
|
120
135
|
readonly anonymous: false;
|
|
121
136
|
readonly inputs: readonly [{
|
|
@@ -161,21 +176,6 @@ export declare class IRToken__factory {
|
|
|
161
176
|
}];
|
|
162
177
|
readonly name: "MinterSet";
|
|
163
178
|
readonly type: "event";
|
|
164
|
-
}, {
|
|
165
|
-
readonly anonymous: false;
|
|
166
|
-
readonly inputs: readonly [{
|
|
167
|
-
readonly indexed: true;
|
|
168
|
-
readonly internalType: "address";
|
|
169
|
-
readonly name: "oldReservePool";
|
|
170
|
-
readonly type: "address";
|
|
171
|
-
}, {
|
|
172
|
-
readonly indexed: true;
|
|
173
|
-
readonly internalType: "address";
|
|
174
|
-
readonly name: "newReservePool";
|
|
175
|
-
readonly type: "address";
|
|
176
|
-
}];
|
|
177
|
-
readonly name: "ReservePoolUpdated";
|
|
178
|
-
readonly type: "event";
|
|
179
179
|
}, {
|
|
180
180
|
readonly anonymous: false;
|
|
181
181
|
readonly inputs: readonly [{
|
|
@@ -312,21 +312,21 @@ export declare class IRToken__factory {
|
|
|
312
312
|
readonly type: "function";
|
|
313
313
|
}, {
|
|
314
314
|
readonly inputs: readonly [];
|
|
315
|
-
readonly name: "
|
|
315
|
+
readonly name: "getLendingPool";
|
|
316
316
|
readonly outputs: readonly [{
|
|
317
|
-
readonly internalType: "
|
|
317
|
+
readonly internalType: "address";
|
|
318
318
|
readonly name: "";
|
|
319
|
-
readonly type: "
|
|
319
|
+
readonly type: "address";
|
|
320
320
|
}];
|
|
321
321
|
readonly stateMutability: "view";
|
|
322
322
|
readonly type: "function";
|
|
323
323
|
}, {
|
|
324
324
|
readonly inputs: readonly [];
|
|
325
|
-
readonly name: "
|
|
325
|
+
readonly name: "getLiquidityIndex";
|
|
326
326
|
readonly outputs: readonly [{
|
|
327
|
-
readonly internalType: "
|
|
327
|
+
readonly internalType: "uint256";
|
|
328
328
|
readonly name: "";
|
|
329
|
-
readonly type: "
|
|
329
|
+
readonly type: "uint256";
|
|
330
330
|
}];
|
|
331
331
|
readonly stateMutability: "view";
|
|
332
332
|
readonly type: "function";
|
|
@@ -374,7 +374,7 @@ export declare class IRToken__factory {
|
|
|
374
374
|
readonly name: "user";
|
|
375
375
|
readonly type: "address";
|
|
376
376
|
}];
|
|
377
|
-
readonly name: "
|
|
377
|
+
readonly name: "rawBalanceOf";
|
|
378
378
|
readonly outputs: readonly [{
|
|
379
379
|
readonly internalType: "uint256";
|
|
380
380
|
readonly name: "";
|
|
@@ -384,7 +384,7 @@ export declare class IRToken__factory {
|
|
|
384
384
|
readonly type: "function";
|
|
385
385
|
}, {
|
|
386
386
|
readonly inputs: readonly [];
|
|
387
|
-
readonly name: "
|
|
387
|
+
readonly name: "rawTotalSupply";
|
|
388
388
|
readonly outputs: readonly [{
|
|
389
389
|
readonly internalType: "uint256";
|
|
390
390
|
readonly name: "";
|
|
@@ -395,10 +395,10 @@ export declare class IRToken__factory {
|
|
|
395
395
|
}, {
|
|
396
396
|
readonly inputs: readonly [{
|
|
397
397
|
readonly internalType: "address";
|
|
398
|
-
readonly name: "
|
|
398
|
+
readonly name: "_lendingPool";
|
|
399
399
|
readonly type: "address";
|
|
400
400
|
}];
|
|
401
|
-
readonly name: "
|
|
401
|
+
readonly name: "setLendingPool";
|
|
402
402
|
readonly outputs: readonly [];
|
|
403
403
|
readonly stateMutability: "nonpayable";
|
|
404
404
|
readonly type: "function";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { IDEToken__factory } from "./IDEToken__factory";
|
|
2
2
|
export { IDebtToken__factory } from "./IDebtToken__factory";
|
|
3
|
+
export { IIndexToken__factory } from "./IIndexToken__factory";
|
|
3
4
|
export { IRAACNFT__factory } from "./IRAACNFT__factory";
|
|
4
5
|
export { IRAACToken__factory } from "./IRAACToken__factory";
|
|
5
6
|
export { IRToken__factory } from "./IRToken__factory";
|
|
@@ -1,44 +1,70 @@
|
|
|
1
1
|
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type {
|
|
3
|
-
export declare class
|
|
2
|
+
import type { IBaseVault, IBaseVaultInterface } from "../../../../../contracts/interfaces/core/vaults/IBaseVault";
|
|
3
|
+
export declare class IBaseVault__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "asset";
|
|
7
|
+
readonly outputs: readonly [{
|
|
6
8
|
readonly internalType: "address";
|
|
7
|
-
readonly name: "
|
|
9
|
+
readonly name: "";
|
|
8
10
|
readonly type: "address";
|
|
9
|
-
}
|
|
11
|
+
}];
|
|
12
|
+
readonly stateMutability: "view";
|
|
13
|
+
readonly type: "function";
|
|
14
|
+
}, {
|
|
15
|
+
readonly inputs: readonly [{
|
|
10
16
|
readonly internalType: "uint256";
|
|
11
|
-
readonly name: "
|
|
17
|
+
readonly name: "assets";
|
|
12
18
|
readonly type: "uint256";
|
|
13
19
|
}, {
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "receiver";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}];
|
|
24
|
+
readonly name: "deposit";
|
|
25
|
+
readonly outputs: readonly [{
|
|
14
26
|
readonly internalType: "uint256";
|
|
15
|
-
readonly name: "
|
|
27
|
+
readonly name: "";
|
|
16
28
|
readonly type: "uint256";
|
|
17
29
|
}];
|
|
18
|
-
readonly name: "createMarket";
|
|
19
|
-
readonly outputs: readonly [];
|
|
20
30
|
readonly stateMutability: "nonpayable";
|
|
21
31
|
readonly type: "function";
|
|
22
32
|
}, {
|
|
23
33
|
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
readonly name: "receiver";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "maxDeposit";
|
|
39
|
+
readonly outputs: readonly [{
|
|
24
40
|
readonly internalType: "uint256";
|
|
25
|
-
readonly name: "
|
|
41
|
+
readonly name: "";
|
|
26
42
|
readonly type: "uint256";
|
|
27
43
|
}];
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
44
|
+
readonly stateMutability: "view";
|
|
45
|
+
readonly type: "function";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [{
|
|
30
48
|
readonly internalType: "address";
|
|
31
|
-
readonly name: "";
|
|
49
|
+
readonly name: "owner";
|
|
32
50
|
readonly type: "address";
|
|
33
|
-
}
|
|
51
|
+
}];
|
|
52
|
+
readonly name: "maxWithdraw";
|
|
53
|
+
readonly outputs: readonly [{
|
|
34
54
|
readonly internalType: "uint256";
|
|
35
55
|
readonly name: "";
|
|
36
56
|
readonly type: "uint256";
|
|
37
|
-
}
|
|
57
|
+
}];
|
|
58
|
+
readonly stateMutability: "view";
|
|
59
|
+
readonly type: "function";
|
|
60
|
+
}, {
|
|
61
|
+
readonly inputs: readonly [{
|
|
38
62
|
readonly internalType: "uint256";
|
|
39
|
-
readonly name: "";
|
|
63
|
+
readonly name: "assets";
|
|
40
64
|
readonly type: "uint256";
|
|
41
|
-
}
|
|
65
|
+
}];
|
|
66
|
+
readonly name: "previewDeposit";
|
|
67
|
+
readonly outputs: readonly [{
|
|
42
68
|
readonly internalType: "uint256";
|
|
43
69
|
readonly name: "";
|
|
44
70
|
readonly type: "uint256";
|
|
@@ -48,54 +74,64 @@ export declare class IMarketCreator__factory {
|
|
|
48
74
|
}, {
|
|
49
75
|
readonly inputs: readonly [{
|
|
50
76
|
readonly internalType: "uint256";
|
|
51
|
-
readonly name: "
|
|
77
|
+
readonly name: "assets";
|
|
52
78
|
readonly type: "uint256";
|
|
53
|
-
}, {
|
|
54
|
-
readonly internalType: "address";
|
|
55
|
-
readonly name: "user";
|
|
56
|
-
readonly type: "address";
|
|
57
79
|
}];
|
|
58
|
-
readonly name: "
|
|
80
|
+
readonly name: "previewWithdraw";
|
|
59
81
|
readonly outputs: readonly [{
|
|
60
82
|
readonly internalType: "uint256";
|
|
61
83
|
readonly name: "";
|
|
62
84
|
readonly type: "uint256";
|
|
63
|
-
}, {
|
|
64
|
-
readonly internalType: "uint256";
|
|
65
|
-
readonly name: "";
|
|
66
|
-
readonly type: "uint256";
|
|
67
|
-
}, {
|
|
68
|
-
readonly internalType: "bool";
|
|
69
|
-
readonly name: "";
|
|
70
|
-
readonly type: "bool";
|
|
71
85
|
}];
|
|
72
86
|
readonly stateMutability: "view";
|
|
73
87
|
readonly type: "function";
|
|
74
88
|
}, {
|
|
75
89
|
readonly inputs: readonly [{
|
|
90
|
+
readonly internalType: "bool";
|
|
91
|
+
readonly name: "isFloor";
|
|
92
|
+
readonly type: "bool";
|
|
93
|
+
}];
|
|
94
|
+
readonly name: "pricePerShare";
|
|
95
|
+
readonly outputs: readonly [{
|
|
76
96
|
readonly internalType: "uint256";
|
|
77
|
-
readonly name: "
|
|
97
|
+
readonly name: "";
|
|
78
98
|
readonly type: "uint256";
|
|
79
|
-
}
|
|
99
|
+
}];
|
|
100
|
+
readonly stateMutability: "view";
|
|
101
|
+
readonly type: "function";
|
|
102
|
+
}, {
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "totalAssets";
|
|
105
|
+
readonly outputs: readonly [{
|
|
80
106
|
readonly internalType: "uint256";
|
|
81
|
-
readonly name: "
|
|
107
|
+
readonly name: "";
|
|
82
108
|
readonly type: "uint256";
|
|
83
109
|
}];
|
|
84
|
-
readonly
|
|
85
|
-
readonly outputs: readonly [];
|
|
86
|
-
readonly stateMutability: "nonpayable";
|
|
110
|
+
readonly stateMutability: "view";
|
|
87
111
|
readonly type: "function";
|
|
88
112
|
}, {
|
|
89
113
|
readonly inputs: readonly [{
|
|
90
114
|
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "
|
|
115
|
+
readonly name: "assets";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
}, {
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
readonly name: "receiver";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
}, {
|
|
122
|
+
readonly internalType: "address";
|
|
123
|
+
readonly name: "owner";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
}];
|
|
126
|
+
readonly name: "withdraw";
|
|
127
|
+
readonly outputs: readonly [{
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
readonly name: "";
|
|
92
130
|
readonly type: "uint256";
|
|
93
131
|
}];
|
|
94
|
-
readonly name: "redeemFromMarket";
|
|
95
|
-
readonly outputs: readonly [];
|
|
96
132
|
readonly stateMutability: "nonpayable";
|
|
97
133
|
readonly type: "function";
|
|
98
134
|
}];
|
|
99
|
-
static createInterface():
|
|
100
|
-
static connect(address: string, runner?: ContractRunner | null):
|
|
135
|
+
static createInterface(): IBaseVaultInterface;
|
|
136
|
+
static connect(address: string, runner?: ContractRunner | null): IBaseVault;
|
|
101
137
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IBaseVault__factory } from "./IBaseVault__factory";
|
|
@@ -3,7 +3,6 @@ export * as curve from "./curve";
|
|
|
3
3
|
export * as zeno from "./zeno";
|
|
4
4
|
export { IERC20__factory } from "./IERC20__factory";
|
|
5
5
|
export { IHousePrices__factory } from "./IHousePrices__factory";
|
|
6
|
-
export { IMarketCreator__factory } from "./IMarketCreator__factory";
|
|
7
6
|
export { INFTLiquidator__factory } from "./INFTLiquidator__factory";
|
|
8
7
|
export { IPoolManager__factory } from "./IPoolManager__factory";
|
|
9
8
|
export { IReserveAllocationLibraryMock__factory } from "./IReserveAllocationLibraryMock__factory";
|