@raac/rpc 1.0.1 → 1.0.2-beta.2
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/11155111.json +132 -0
- package/dist/configs/chains/17000.json +127 -0
- package/dist/configs/chains/8453.json +26 -14
- package/dist/configs/chains/index.js +4 -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/methods/commons/estimateGasPrice.js +7 -2
- 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 +5 -1
- package/dist/types/configs/createConfig.d.ts +6 -0
- package/dist/types/configs/index.d.ts +2 -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 +4 -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
|
@@ -1,79 +1,7 @@
|
|
|
1
1
|
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type {
|
|
3
|
-
export declare class
|
|
2
|
+
import type { IIndexToken, IIndexTokenInterface } from "../../../../../contracts/interfaces/core/tokens/IIndexToken";
|
|
3
|
+
export declare class IIndexToken__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [];
|
|
6
|
-
readonly name: "ApprovalCallerNotOwnerNorApproved";
|
|
7
|
-
readonly type: "error";
|
|
8
|
-
}, {
|
|
9
|
-
readonly inputs: readonly [];
|
|
10
|
-
readonly name: "ApprovalQueryForNonexistentToken";
|
|
11
|
-
readonly type: "error";
|
|
12
|
-
}, {
|
|
13
|
-
readonly inputs: readonly [];
|
|
14
|
-
readonly name: "BalanceQueryForZeroAddress";
|
|
15
|
-
readonly type: "error";
|
|
16
|
-
}, {
|
|
17
|
-
readonly inputs: readonly [];
|
|
18
|
-
readonly name: "MintERC2309QuantityExceedsLimit";
|
|
19
|
-
readonly type: "error";
|
|
20
|
-
}, {
|
|
21
|
-
readonly inputs: readonly [];
|
|
22
|
-
readonly name: "MintToZeroAddress";
|
|
23
|
-
readonly type: "error";
|
|
24
|
-
}, {
|
|
25
|
-
readonly inputs: readonly [];
|
|
26
|
-
readonly name: "MintZeroQuantity";
|
|
27
|
-
readonly type: "error";
|
|
28
|
-
}, {
|
|
29
|
-
readonly inputs: readonly [];
|
|
30
|
-
readonly name: "NotCompatibleWithSpotMints";
|
|
31
|
-
readonly type: "error";
|
|
32
|
-
}, {
|
|
33
|
-
readonly inputs: readonly [];
|
|
34
|
-
readonly name: "OwnerQueryForNonexistentToken";
|
|
35
|
-
readonly type: "error";
|
|
36
|
-
}, {
|
|
37
|
-
readonly inputs: readonly [];
|
|
38
|
-
readonly name: "OwnershipNotInitializedForExtraData";
|
|
39
|
-
readonly type: "error";
|
|
40
|
-
}, {
|
|
41
|
-
readonly inputs: readonly [];
|
|
42
|
-
readonly name: "SequentialMintExceedsLimit";
|
|
43
|
-
readonly type: "error";
|
|
44
|
-
}, {
|
|
45
|
-
readonly inputs: readonly [];
|
|
46
|
-
readonly name: "SequentialUpToTooSmall";
|
|
47
|
-
readonly type: "error";
|
|
48
|
-
}, {
|
|
49
|
-
readonly inputs: readonly [];
|
|
50
|
-
readonly name: "SpotMintTokenIdTooSmall";
|
|
51
|
-
readonly type: "error";
|
|
52
|
-
}, {
|
|
53
|
-
readonly inputs: readonly [];
|
|
54
|
-
readonly name: "TokenAlreadyExists";
|
|
55
|
-
readonly type: "error";
|
|
56
|
-
}, {
|
|
57
|
-
readonly inputs: readonly [];
|
|
58
|
-
readonly name: "TransferCallerNotOwnerNorApproved";
|
|
59
|
-
readonly type: "error";
|
|
60
|
-
}, {
|
|
61
|
-
readonly inputs: readonly [];
|
|
62
|
-
readonly name: "TransferFromIncorrectOwner";
|
|
63
|
-
readonly type: "error";
|
|
64
|
-
}, {
|
|
65
|
-
readonly inputs: readonly [];
|
|
66
|
-
readonly name: "TransferToNonERC721ReceiverImplementer";
|
|
67
|
-
readonly type: "error";
|
|
68
|
-
}, {
|
|
69
|
-
readonly inputs: readonly [];
|
|
70
|
-
readonly name: "TransferToZeroAddress";
|
|
71
|
-
readonly type: "error";
|
|
72
|
-
}, {
|
|
73
|
-
readonly inputs: readonly [];
|
|
74
|
-
readonly name: "URIQueryForNonexistentToken";
|
|
75
|
-
readonly type: "error";
|
|
76
|
-
}, {
|
|
77
5
|
readonly anonymous: false;
|
|
78
6
|
readonly inputs: readonly [{
|
|
79
7
|
readonly indexed: true;
|
|
@@ -83,12 +11,12 @@ export declare class IERC721A__factory {
|
|
|
83
11
|
}, {
|
|
84
12
|
readonly indexed: true;
|
|
85
13
|
readonly internalType: "address";
|
|
86
|
-
readonly name: "
|
|
14
|
+
readonly name: "spender";
|
|
87
15
|
readonly type: "address";
|
|
88
16
|
}, {
|
|
89
|
-
readonly indexed:
|
|
17
|
+
readonly indexed: false;
|
|
90
18
|
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "
|
|
19
|
+
readonly name: "value";
|
|
92
20
|
readonly type: "uint256";
|
|
93
21
|
}];
|
|
94
22
|
readonly name: "Approval";
|
|
@@ -98,119 +26,96 @@ export declare class IERC721A__factory {
|
|
|
98
26
|
readonly inputs: readonly [{
|
|
99
27
|
readonly indexed: true;
|
|
100
28
|
readonly internalType: "address";
|
|
101
|
-
readonly name: "
|
|
29
|
+
readonly name: "from";
|
|
102
30
|
readonly type: "address";
|
|
103
31
|
}, {
|
|
104
32
|
readonly indexed: true;
|
|
105
33
|
readonly internalType: "address";
|
|
106
|
-
readonly name: "
|
|
34
|
+
readonly name: "to";
|
|
107
35
|
readonly type: "address";
|
|
108
|
-
}, {
|
|
109
|
-
readonly indexed: false;
|
|
110
|
-
readonly internalType: "bool";
|
|
111
|
-
readonly name: "approved";
|
|
112
|
-
readonly type: "bool";
|
|
113
|
-
}];
|
|
114
|
-
readonly name: "ApprovalForAll";
|
|
115
|
-
readonly type: "event";
|
|
116
|
-
}, {
|
|
117
|
-
readonly anonymous: false;
|
|
118
|
-
readonly inputs: readonly [{
|
|
119
|
-
readonly indexed: true;
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly name: "fromTokenId";
|
|
122
|
-
readonly type: "uint256";
|
|
123
36
|
}, {
|
|
124
37
|
readonly indexed: false;
|
|
125
38
|
readonly internalType: "uint256";
|
|
126
|
-
readonly name: "
|
|
39
|
+
readonly name: "value";
|
|
127
40
|
readonly type: "uint256";
|
|
128
|
-
}, {
|
|
129
|
-
readonly indexed: true;
|
|
130
|
-
readonly internalType: "address";
|
|
131
|
-
readonly name: "from";
|
|
132
|
-
readonly type: "address";
|
|
133
|
-
}, {
|
|
134
|
-
readonly indexed: true;
|
|
135
|
-
readonly internalType: "address";
|
|
136
|
-
readonly name: "to";
|
|
137
|
-
readonly type: "address";
|
|
138
41
|
}];
|
|
139
|
-
readonly name: "
|
|
42
|
+
readonly name: "Transfer";
|
|
140
43
|
readonly type: "event";
|
|
141
44
|
}, {
|
|
142
|
-
readonly anonymous: false;
|
|
143
45
|
readonly inputs: readonly [{
|
|
144
|
-
readonly indexed: true;
|
|
145
46
|
readonly internalType: "address";
|
|
146
|
-
readonly name: "
|
|
47
|
+
readonly name: "owner";
|
|
147
48
|
readonly type: "address";
|
|
148
49
|
}, {
|
|
149
|
-
readonly indexed: true;
|
|
150
50
|
readonly internalType: "address";
|
|
151
|
-
readonly name: "
|
|
51
|
+
readonly name: "spender";
|
|
152
52
|
readonly type: "address";
|
|
153
|
-
}
|
|
154
|
-
|
|
53
|
+
}];
|
|
54
|
+
readonly name: "allowance";
|
|
55
|
+
readonly outputs: readonly [{
|
|
155
56
|
readonly internalType: "uint256";
|
|
156
|
-
readonly name: "
|
|
57
|
+
readonly name: "";
|
|
157
58
|
readonly type: "uint256";
|
|
158
59
|
}];
|
|
159
|
-
readonly
|
|
160
|
-
readonly type: "
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
readonly type: "function";
|
|
161
62
|
}, {
|
|
162
63
|
readonly inputs: readonly [{
|
|
163
64
|
readonly internalType: "address";
|
|
164
|
-
readonly name: "
|
|
65
|
+
readonly name: "spender";
|
|
165
66
|
readonly type: "address";
|
|
166
67
|
}, {
|
|
167
68
|
readonly internalType: "uint256";
|
|
168
|
-
readonly name: "
|
|
69
|
+
readonly name: "value";
|
|
169
70
|
readonly type: "uint256";
|
|
170
71
|
}];
|
|
171
72
|
readonly name: "approve";
|
|
172
|
-
readonly outputs: readonly [
|
|
173
|
-
|
|
73
|
+
readonly outputs: readonly [{
|
|
74
|
+
readonly internalType: "bool";
|
|
75
|
+
readonly name: "";
|
|
76
|
+
readonly type: "bool";
|
|
77
|
+
}];
|
|
78
|
+
readonly stateMutability: "nonpayable";
|
|
174
79
|
readonly type: "function";
|
|
175
80
|
}, {
|
|
176
81
|
readonly inputs: readonly [{
|
|
177
82
|
readonly internalType: "address";
|
|
178
|
-
readonly name: "
|
|
83
|
+
readonly name: "account";
|
|
179
84
|
readonly type: "address";
|
|
180
85
|
}];
|
|
181
86
|
readonly name: "balanceOf";
|
|
182
87
|
readonly outputs: readonly [{
|
|
183
88
|
readonly internalType: "uint256";
|
|
184
|
-
readonly name: "
|
|
89
|
+
readonly name: "";
|
|
185
90
|
readonly type: "uint256";
|
|
186
91
|
}];
|
|
187
92
|
readonly stateMutability: "view";
|
|
188
93
|
readonly type: "function";
|
|
189
94
|
}, {
|
|
190
95
|
readonly inputs: readonly [{
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "nftContract";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}, {
|
|
191
100
|
readonly internalType: "uint256";
|
|
192
101
|
readonly name: "tokenId";
|
|
193
102
|
readonly type: "uint256";
|
|
194
103
|
}];
|
|
195
|
-
readonly name: "
|
|
104
|
+
readonly name: "getNFTPrice";
|
|
196
105
|
readonly outputs: readonly [{
|
|
197
|
-
readonly internalType: "
|
|
198
|
-
readonly name: "
|
|
199
|
-
readonly type: "
|
|
106
|
+
readonly internalType: "uint256";
|
|
107
|
+
readonly name: "";
|
|
108
|
+
readonly type: "uint256";
|
|
200
109
|
}];
|
|
201
110
|
readonly stateMutability: "view";
|
|
202
111
|
readonly type: "function";
|
|
203
112
|
}, {
|
|
204
113
|
readonly inputs: readonly [{
|
|
205
114
|
readonly internalType: "address";
|
|
206
|
-
readonly name: "
|
|
207
|
-
readonly type: "address";
|
|
208
|
-
}, {
|
|
209
|
-
readonly internalType: "address";
|
|
210
|
-
readonly name: "operator";
|
|
115
|
+
readonly name: "nft";
|
|
211
116
|
readonly type: "address";
|
|
212
117
|
}];
|
|
213
|
-
readonly name: "
|
|
118
|
+
readonly name: "isWhitelistedNFT";
|
|
214
119
|
readonly outputs: readonly [{
|
|
215
120
|
readonly internalType: "bool";
|
|
216
121
|
readonly name: "";
|
|
@@ -218,131 +123,81 @@ export declare class IERC721A__factory {
|
|
|
218
123
|
}];
|
|
219
124
|
readonly stateMutability: "view";
|
|
220
125
|
readonly type: "function";
|
|
221
|
-
}, {
|
|
222
|
-
readonly inputs: readonly [];
|
|
223
|
-
readonly name: "name";
|
|
224
|
-
readonly outputs: readonly [{
|
|
225
|
-
readonly internalType: "string";
|
|
226
|
-
readonly name: "";
|
|
227
|
-
readonly type: "string";
|
|
228
|
-
}];
|
|
229
|
-
readonly stateMutability: "view";
|
|
230
|
-
readonly type: "function";
|
|
231
|
-
}, {
|
|
232
|
-
readonly inputs: readonly [{
|
|
233
|
-
readonly internalType: "uint256";
|
|
234
|
-
readonly name: "tokenId";
|
|
235
|
-
readonly type: "uint256";
|
|
236
|
-
}];
|
|
237
|
-
readonly name: "ownerOf";
|
|
238
|
-
readonly outputs: readonly [{
|
|
239
|
-
readonly internalType: "address";
|
|
240
|
-
readonly name: "owner";
|
|
241
|
-
readonly type: "address";
|
|
242
|
-
}];
|
|
243
|
-
readonly stateMutability: "view";
|
|
244
|
-
readonly type: "function";
|
|
245
126
|
}, {
|
|
246
127
|
readonly inputs: readonly [{
|
|
247
|
-
readonly internalType: "address";
|
|
248
|
-
readonly name: "from";
|
|
249
|
-
readonly type: "address";
|
|
250
|
-
}, {
|
|
251
128
|
readonly internalType: "address";
|
|
252
129
|
readonly name: "to";
|
|
253
130
|
readonly type: "address";
|
|
254
131
|
}, {
|
|
255
132
|
readonly internalType: "uint256";
|
|
256
|
-
readonly name: "
|
|
133
|
+
readonly name: "amount";
|
|
257
134
|
readonly type: "uint256";
|
|
258
135
|
}];
|
|
259
|
-
readonly name: "
|
|
136
|
+
readonly name: "mint";
|
|
260
137
|
readonly outputs: readonly [];
|
|
261
|
-
readonly stateMutability: "
|
|
138
|
+
readonly stateMutability: "nonpayable";
|
|
262
139
|
readonly type: "function";
|
|
263
140
|
}, {
|
|
264
141
|
readonly inputs: readonly [{
|
|
265
142
|
readonly internalType: "address";
|
|
266
|
-
readonly name: "
|
|
267
|
-
readonly type: "address";
|
|
268
|
-
}, {
|
|
269
|
-
readonly internalType: "address";
|
|
270
|
-
readonly name: "to";
|
|
143
|
+
readonly name: "nft";
|
|
271
144
|
readonly type: "address";
|
|
272
145
|
}, {
|
|
273
146
|
readonly internalType: "uint256";
|
|
274
147
|
readonly name: "tokenId";
|
|
275
148
|
readonly type: "uint256";
|
|
276
|
-
}, {
|
|
277
|
-
readonly internalType: "bytes";
|
|
278
|
-
readonly name: "data";
|
|
279
|
-
readonly type: "bytes";
|
|
280
149
|
}];
|
|
281
|
-
readonly name: "
|
|
150
|
+
readonly name: "receiveNFT";
|
|
282
151
|
readonly outputs: readonly [];
|
|
283
|
-
readonly stateMutability: "
|
|
152
|
+
readonly stateMutability: "nonpayable";
|
|
284
153
|
readonly type: "function";
|
|
285
154
|
}, {
|
|
286
155
|
readonly inputs: readonly [{
|
|
287
|
-
readonly internalType: "
|
|
288
|
-
readonly name: "
|
|
289
|
-
readonly type: "
|
|
290
|
-
}, {
|
|
291
|
-
readonly internalType: "bool";
|
|
292
|
-
readonly name: "_approved";
|
|
293
|
-
readonly type: "bool";
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
readonly name: "amount";
|
|
158
|
+
readonly type: "uint256";
|
|
294
159
|
}];
|
|
295
|
-
readonly name: "
|
|
160
|
+
readonly name: "redeem";
|
|
296
161
|
readonly outputs: readonly [];
|
|
297
162
|
readonly stateMutability: "nonpayable";
|
|
298
163
|
readonly type: "function";
|
|
299
164
|
}, {
|
|
300
165
|
readonly inputs: readonly [{
|
|
301
|
-
readonly internalType: "
|
|
302
|
-
readonly name: "
|
|
303
|
-
readonly type: "
|
|
304
|
-
}];
|
|
305
|
-
readonly name: "supportsInterface";
|
|
306
|
-
readonly outputs: readonly [{
|
|
307
|
-
readonly internalType: "bool";
|
|
308
|
-
readonly name: "";
|
|
309
|
-
readonly type: "bool";
|
|
166
|
+
readonly internalType: "address";
|
|
167
|
+
readonly name: "_stabilityPool";
|
|
168
|
+
readonly type: "address";
|
|
310
169
|
}];
|
|
311
|
-
readonly
|
|
170
|
+
readonly name: "setStabilityPool";
|
|
171
|
+
readonly outputs: readonly [];
|
|
172
|
+
readonly stateMutability: "nonpayable";
|
|
312
173
|
readonly type: "function";
|
|
313
174
|
}, {
|
|
314
175
|
readonly inputs: readonly [];
|
|
315
|
-
readonly name: "
|
|
176
|
+
readonly name: "totalSupply";
|
|
316
177
|
readonly outputs: readonly [{
|
|
317
|
-
readonly internalType: "
|
|
178
|
+
readonly internalType: "uint256";
|
|
318
179
|
readonly name: "";
|
|
319
|
-
readonly type: "
|
|
180
|
+
readonly type: "uint256";
|
|
320
181
|
}];
|
|
321
182
|
readonly stateMutability: "view";
|
|
322
183
|
readonly type: "function";
|
|
323
184
|
}, {
|
|
324
185
|
readonly inputs: readonly [{
|
|
186
|
+
readonly internalType: "address";
|
|
187
|
+
readonly name: "to";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
}, {
|
|
325
190
|
readonly internalType: "uint256";
|
|
326
|
-
readonly name: "
|
|
191
|
+
readonly name: "value";
|
|
327
192
|
readonly type: "uint256";
|
|
328
193
|
}];
|
|
329
|
-
readonly name: "
|
|
330
|
-
readonly outputs: readonly [{
|
|
331
|
-
readonly internalType: "string";
|
|
332
|
-
readonly name: "";
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
}];
|
|
335
|
-
readonly stateMutability: "view";
|
|
336
|
-
readonly type: "function";
|
|
337
|
-
}, {
|
|
338
|
-
readonly inputs: readonly [];
|
|
339
|
-
readonly name: "totalSupply";
|
|
194
|
+
readonly name: "transfer";
|
|
340
195
|
readonly outputs: readonly [{
|
|
341
|
-
readonly internalType: "
|
|
196
|
+
readonly internalType: "bool";
|
|
342
197
|
readonly name: "";
|
|
343
|
-
readonly type: "
|
|
198
|
+
readonly type: "bool";
|
|
344
199
|
}];
|
|
345
|
-
readonly stateMutability: "
|
|
200
|
+
readonly stateMutability: "nonpayable";
|
|
346
201
|
readonly type: "function";
|
|
347
202
|
}, {
|
|
348
203
|
readonly inputs: readonly [{
|
|
@@ -355,14 +210,18 @@ export declare class IERC721A__factory {
|
|
|
355
210
|
readonly type: "address";
|
|
356
211
|
}, {
|
|
357
212
|
readonly internalType: "uint256";
|
|
358
|
-
readonly name: "
|
|
213
|
+
readonly name: "value";
|
|
359
214
|
readonly type: "uint256";
|
|
360
215
|
}];
|
|
361
216
|
readonly name: "transferFrom";
|
|
362
|
-
readonly outputs: readonly [
|
|
363
|
-
|
|
217
|
+
readonly outputs: readonly [{
|
|
218
|
+
readonly internalType: "bool";
|
|
219
|
+
readonly name: "";
|
|
220
|
+
readonly type: "bool";
|
|
221
|
+
}];
|
|
222
|
+
readonly stateMutability: "nonpayable";
|
|
364
223
|
readonly type: "function";
|
|
365
224
|
}];
|
|
366
|
-
static createInterface():
|
|
367
|
-
static connect(address: string, runner?: ContractRunner | null):
|
|
225
|
+
static createInterface(): IIndexTokenInterface;
|
|
226
|
+
static connect(address: string, runner?: ContractRunner | null): IIndexToken;
|
|
368
227
|
}
|