@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
|
@@ -2,6 +2,14 @@ import { type ContractRunner } from "ethers";
|
|
|
2
2
|
import type { IFeeCollector, IFeeCollectorInterface } from "../../../../../contracts/interfaces/core/collectors/IFeeCollector";
|
|
3
3
|
export declare class IFeeCollector__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "ClaimCollectorRewardsFailed";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [];
|
|
10
|
+
readonly name: "ClaimCollectorUnderlyingFailed";
|
|
11
|
+
readonly type: "error";
|
|
12
|
+
}, {
|
|
5
13
|
readonly inputs: readonly [];
|
|
6
14
|
readonly name: "ClaimingDisabled";
|
|
7
15
|
readonly type: "error";
|
|
@@ -21,6 +29,14 @@ export declare class IFeeCollector__factory {
|
|
|
21
29
|
readonly inputs: readonly [];
|
|
22
30
|
readonly name: "ExcessiveAmount";
|
|
23
31
|
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [];
|
|
34
|
+
readonly name: "FeeTypeAlreadyExists";
|
|
35
|
+
readonly type: "error";
|
|
36
|
+
}, {
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly name: "FeeTypeDoesNotExist";
|
|
39
|
+
readonly type: "error";
|
|
24
40
|
}, {
|
|
25
41
|
readonly inputs: readonly [];
|
|
26
42
|
readonly name: "InsufficientBalance";
|
|
@@ -29,6 +45,10 @@ export declare class IFeeCollector__factory {
|
|
|
29
45
|
readonly inputs: readonly [];
|
|
30
46
|
readonly name: "InvalidAddress";
|
|
31
47
|
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "InvalidAddressType";
|
|
51
|
+
readonly type: "error";
|
|
32
52
|
}, {
|
|
33
53
|
readonly inputs: readonly [];
|
|
34
54
|
readonly name: "InvalidDistributionParams";
|
|
@@ -43,7 +63,11 @@ export declare class IFeeCollector__factory {
|
|
|
43
63
|
readonly type: "error";
|
|
44
64
|
}, {
|
|
45
65
|
readonly inputs: readonly [];
|
|
46
|
-
readonly name: "
|
|
66
|
+
readonly name: "TokenAlreadySupported";
|
|
67
|
+
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [];
|
|
70
|
+
readonly name: "TokenNotSupported";
|
|
47
71
|
readonly type: "error";
|
|
48
72
|
}, {
|
|
49
73
|
readonly inputs: readonly [];
|
|
@@ -53,33 +77,21 @@ export declare class IFeeCollector__factory {
|
|
|
53
77
|
readonly anonymous: false;
|
|
54
78
|
readonly inputs: readonly [{
|
|
55
79
|
readonly indexed: true;
|
|
56
|
-
readonly internalType: "
|
|
57
|
-
readonly name: "
|
|
58
|
-
readonly type: "
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
readonly name: "token";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}, {
|
|
84
|
+
readonly indexed: true;
|
|
85
|
+
readonly internalType: "address";
|
|
86
|
+
readonly name: "target";
|
|
87
|
+
readonly type: "address";
|
|
59
88
|
}, {
|
|
60
|
-
readonly components: readonly [{
|
|
61
|
-
readonly internalType: "uint256";
|
|
62
|
-
readonly name: "veRAACShare";
|
|
63
|
-
readonly type: "uint256";
|
|
64
|
-
}, {
|
|
65
|
-
readonly internalType: "uint256";
|
|
66
|
-
readonly name: "burnShare";
|
|
67
|
-
readonly type: "uint256";
|
|
68
|
-
}, {
|
|
69
|
-
readonly internalType: "uint256";
|
|
70
|
-
readonly name: "repairShare";
|
|
71
|
-
readonly type: "uint256";
|
|
72
|
-
}, {
|
|
73
|
-
readonly internalType: "uint256";
|
|
74
|
-
readonly name: "treasuryShare";
|
|
75
|
-
readonly type: "uint256";
|
|
76
|
-
}];
|
|
77
89
|
readonly indexed: false;
|
|
78
|
-
readonly internalType: "
|
|
79
|
-
readonly name: "
|
|
80
|
-
readonly type: "
|
|
90
|
+
readonly internalType: "uint256";
|
|
91
|
+
readonly name: "amount";
|
|
92
|
+
readonly type: "uint256";
|
|
81
93
|
}];
|
|
82
|
-
readonly name: "
|
|
94
|
+
readonly name: "CollectorRewardsClaimed";
|
|
83
95
|
readonly type: "event";
|
|
84
96
|
}, {
|
|
85
97
|
readonly anonymous: false;
|
|
@@ -88,65 +100,103 @@ export declare class IFeeCollector__factory {
|
|
|
88
100
|
readonly internalType: "address";
|
|
89
101
|
readonly name: "token";
|
|
90
102
|
readonly type: "address";
|
|
103
|
+
}, {
|
|
104
|
+
readonly indexed: true;
|
|
105
|
+
readonly internalType: "address";
|
|
106
|
+
readonly name: "target";
|
|
107
|
+
readonly type: "address";
|
|
91
108
|
}, {
|
|
92
109
|
readonly indexed: false;
|
|
93
110
|
readonly internalType: "uint256";
|
|
94
111
|
readonly name: "amount";
|
|
95
112
|
readonly type: "uint256";
|
|
96
113
|
}];
|
|
97
|
-
readonly name: "
|
|
114
|
+
readonly name: "CollectorUnderlyingClaimed";
|
|
98
115
|
readonly type: "event";
|
|
99
116
|
}, {
|
|
100
117
|
readonly anonymous: false;
|
|
101
118
|
readonly inputs: readonly [{
|
|
102
119
|
readonly indexed: true;
|
|
103
|
-
readonly internalType: "
|
|
104
|
-
readonly name: "
|
|
105
|
-
readonly type: "
|
|
120
|
+
readonly internalType: "address";
|
|
121
|
+
readonly name: "token";
|
|
122
|
+
readonly type: "address";
|
|
106
123
|
}, {
|
|
107
124
|
readonly indexed: false;
|
|
108
125
|
readonly internalType: "uint256";
|
|
109
126
|
readonly name: "amount";
|
|
110
127
|
readonly type: "uint256";
|
|
111
128
|
}];
|
|
112
|
-
readonly name: "
|
|
129
|
+
readonly name: "EmergencyWithdrawal";
|
|
113
130
|
readonly type: "event";
|
|
114
131
|
}, {
|
|
115
132
|
readonly anonymous: false;
|
|
116
133
|
readonly inputs: readonly [{
|
|
117
|
-
readonly indexed:
|
|
118
|
-
readonly internalType: "
|
|
119
|
-
readonly name: "
|
|
120
|
-
readonly type: "
|
|
134
|
+
readonly indexed: true;
|
|
135
|
+
readonly internalType: "bytes32";
|
|
136
|
+
readonly name: "feeType";
|
|
137
|
+
readonly type: "bytes32";
|
|
121
138
|
}, {
|
|
122
139
|
readonly indexed: false;
|
|
123
140
|
readonly internalType: "uint256";
|
|
124
|
-
readonly name: "
|
|
141
|
+
readonly name: "amount";
|
|
125
142
|
readonly type: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly name: "FeeCollected";
|
|
145
|
+
readonly type: "event";
|
|
146
|
+
}, {
|
|
147
|
+
readonly anonymous: false;
|
|
148
|
+
readonly inputs: readonly [{
|
|
149
|
+
readonly indexed: true;
|
|
150
|
+
readonly internalType: "bytes32";
|
|
151
|
+
readonly name: "feeType";
|
|
152
|
+
readonly type: "bytes32";
|
|
126
153
|
}, {
|
|
127
|
-
readonly indexed:
|
|
128
|
-
readonly internalType: "
|
|
129
|
-
readonly name: "
|
|
130
|
-
readonly type: "
|
|
154
|
+
readonly indexed: true;
|
|
155
|
+
readonly internalType: "bytes32";
|
|
156
|
+
readonly name: "target";
|
|
157
|
+
readonly type: "bytes32";
|
|
158
|
+
}, {
|
|
159
|
+
readonly indexed: true;
|
|
160
|
+
readonly internalType: "address";
|
|
161
|
+
readonly name: "token";
|
|
162
|
+
readonly type: "address";
|
|
131
163
|
}, {
|
|
132
164
|
readonly indexed: false;
|
|
133
165
|
readonly internalType: "uint256";
|
|
134
|
-
readonly name: "
|
|
166
|
+
readonly name: "amount";
|
|
135
167
|
readonly type: "uint256";
|
|
136
168
|
}];
|
|
137
169
|
readonly name: "FeeDistributed";
|
|
138
170
|
readonly type: "event";
|
|
171
|
+
}, {
|
|
172
|
+
readonly anonymous: false;
|
|
173
|
+
readonly inputs: readonly [{
|
|
174
|
+
readonly indexed: false;
|
|
175
|
+
readonly internalType: "bytes32";
|
|
176
|
+
readonly name: "feeType";
|
|
177
|
+
readonly type: "bytes32";
|
|
178
|
+
}];
|
|
179
|
+
readonly name: "FeeTypeAdded";
|
|
180
|
+
readonly type: "event";
|
|
139
181
|
}, {
|
|
140
182
|
readonly anonymous: false;
|
|
141
183
|
readonly inputs: readonly [{
|
|
142
184
|
readonly indexed: true;
|
|
143
|
-
readonly internalType: "
|
|
185
|
+
readonly internalType: "bytes32";
|
|
144
186
|
readonly name: "feeType";
|
|
145
|
-
readonly type: "
|
|
187
|
+
readonly type: "bytes32";
|
|
146
188
|
}, {
|
|
147
189
|
readonly components: readonly [{
|
|
190
|
+
readonly internalType: "bytes32";
|
|
191
|
+
readonly name: "feeType";
|
|
192
|
+
readonly type: "bytes32";
|
|
193
|
+
}, {
|
|
148
194
|
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "
|
|
195
|
+
readonly name: "treasuryShare";
|
|
196
|
+
readonly type: "uint256";
|
|
197
|
+
}, {
|
|
198
|
+
readonly internalType: "uint256";
|
|
199
|
+
readonly name: "repairFundShare";
|
|
150
200
|
readonly type: "uint256";
|
|
151
201
|
}, {
|
|
152
202
|
readonly internalType: "uint256";
|
|
@@ -154,11 +204,11 @@ export declare class IFeeCollector__factory {
|
|
|
154
204
|
readonly type: "uint256";
|
|
155
205
|
}, {
|
|
156
206
|
readonly internalType: "uint256";
|
|
157
|
-
readonly name: "
|
|
207
|
+
readonly name: "veRAACTokenShare";
|
|
158
208
|
readonly type: "uint256";
|
|
159
209
|
}, {
|
|
160
210
|
readonly internalType: "uint256";
|
|
161
|
-
readonly name: "
|
|
211
|
+
readonly name: "otherShare";
|
|
162
212
|
readonly type: "uint256";
|
|
163
213
|
}];
|
|
164
214
|
readonly indexed: false;
|
|
@@ -171,61 +221,121 @@ export declare class IFeeCollector__factory {
|
|
|
171
221
|
}, {
|
|
172
222
|
readonly anonymous: false;
|
|
173
223
|
readonly inputs: readonly [{
|
|
224
|
+
readonly indexed: false;
|
|
225
|
+
readonly internalType: "bytes32";
|
|
226
|
+
readonly name: "target";
|
|
227
|
+
readonly type: "bytes32";
|
|
228
|
+
}, {
|
|
174
229
|
readonly indexed: true;
|
|
175
230
|
readonly internalType: "address";
|
|
176
|
-
readonly name: "
|
|
231
|
+
readonly name: "newAddress";
|
|
177
232
|
readonly type: "address";
|
|
178
233
|
}];
|
|
179
|
-
readonly name: "
|
|
234
|
+
readonly name: "TargetAddressUpdated";
|
|
180
235
|
readonly type: "event";
|
|
181
236
|
}, {
|
|
182
237
|
readonly anonymous: false;
|
|
183
238
|
readonly inputs: readonly [{
|
|
184
239
|
readonly indexed: true;
|
|
185
240
|
readonly internalType: "address";
|
|
186
|
-
readonly name: "
|
|
241
|
+
readonly name: "token";
|
|
187
242
|
readonly type: "address";
|
|
188
|
-
}, {
|
|
189
|
-
readonly indexed: false;
|
|
190
|
-
readonly internalType: "uint256";
|
|
191
|
-
readonly name: "amount";
|
|
192
|
-
readonly type: "uint256";
|
|
193
243
|
}];
|
|
194
|
-
readonly name: "
|
|
244
|
+
readonly name: "TokenAdded";
|
|
195
245
|
readonly type: "event";
|
|
196
246
|
}, {
|
|
197
247
|
readonly anonymous: false;
|
|
198
248
|
readonly inputs: readonly [{
|
|
199
249
|
readonly indexed: true;
|
|
200
250
|
readonly internalType: "address";
|
|
201
|
-
readonly name: "
|
|
251
|
+
readonly name: "token";
|
|
202
252
|
readonly type: "address";
|
|
203
253
|
}];
|
|
204
|
-
readonly name: "
|
|
254
|
+
readonly name: "TokenRemoved";
|
|
205
255
|
readonly type: "event";
|
|
206
256
|
}, {
|
|
207
257
|
readonly inputs: readonly [{
|
|
208
258
|
readonly internalType: "address";
|
|
209
|
-
readonly name: "
|
|
259
|
+
readonly name: "token";
|
|
210
260
|
readonly type: "address";
|
|
211
261
|
}];
|
|
212
|
-
readonly name: "
|
|
213
|
-
readonly outputs: readonly [
|
|
262
|
+
readonly name: "addClaimableToken";
|
|
263
|
+
readonly outputs: readonly [];
|
|
264
|
+
readonly stateMutability: "nonpayable";
|
|
265
|
+
readonly type: "function";
|
|
266
|
+
}, {
|
|
267
|
+
readonly inputs: readonly [{
|
|
268
|
+
readonly internalType: "bytes32";
|
|
269
|
+
readonly name: "feeType";
|
|
270
|
+
readonly type: "bytes32";
|
|
271
|
+
}, {
|
|
214
272
|
readonly internalType: "uint256";
|
|
215
|
-
readonly name: "";
|
|
273
|
+
readonly name: "treasuryShare";
|
|
274
|
+
readonly type: "uint256";
|
|
275
|
+
}, {
|
|
276
|
+
readonly internalType: "uint256";
|
|
277
|
+
readonly name: "repairFundShare";
|
|
278
|
+
readonly type: "uint256";
|
|
279
|
+
}, {
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
readonly name: "burnShare";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}, {
|
|
284
|
+
readonly internalType: "uint256";
|
|
285
|
+
readonly name: "veRAACTokenShare";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
}, {
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
readonly name: "otherShare";
|
|
216
290
|
readonly type: "uint256";
|
|
217
291
|
}];
|
|
292
|
+
readonly name: "addFeeType";
|
|
293
|
+
readonly outputs: readonly [{
|
|
294
|
+
readonly internalType: "bool";
|
|
295
|
+
readonly name: "";
|
|
296
|
+
readonly type: "bool";
|
|
297
|
+
}];
|
|
218
298
|
readonly stateMutability: "nonpayable";
|
|
219
299
|
readonly type: "function";
|
|
220
300
|
}, {
|
|
221
301
|
readonly inputs: readonly [{
|
|
302
|
+
readonly internalType: "address";
|
|
303
|
+
readonly name: "token";
|
|
304
|
+
readonly type: "address";
|
|
305
|
+
}, {
|
|
306
|
+
readonly internalType: "address";
|
|
307
|
+
readonly name: "target";
|
|
308
|
+
readonly type: "address";
|
|
309
|
+
}, {
|
|
310
|
+
readonly internalType: "bytes32";
|
|
311
|
+
readonly name: "feeType";
|
|
312
|
+
readonly type: "bytes32";
|
|
313
|
+
}];
|
|
314
|
+
readonly name: "claimCollectorRewards";
|
|
315
|
+
readonly outputs: readonly [{
|
|
316
|
+
readonly internalType: "bool";
|
|
317
|
+
readonly name: "";
|
|
318
|
+
readonly type: "bool";
|
|
319
|
+
}];
|
|
320
|
+
readonly stateMutability: "nonpayable";
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
}, {
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly internalType: "address";
|
|
325
|
+
readonly name: "token";
|
|
326
|
+
readonly type: "address";
|
|
327
|
+
}, {
|
|
328
|
+
readonly internalType: "address";
|
|
329
|
+
readonly name: "target";
|
|
330
|
+
readonly type: "address";
|
|
331
|
+
}, {
|
|
222
332
|
readonly internalType: "uint256";
|
|
223
333
|
readonly name: "amount";
|
|
224
334
|
readonly type: "uint256";
|
|
225
335
|
}, {
|
|
226
|
-
readonly internalType: "
|
|
336
|
+
readonly internalType: "bytes32";
|
|
227
337
|
readonly name: "feeType";
|
|
228
|
-
readonly type: "
|
|
338
|
+
readonly type: "bytes32";
|
|
229
339
|
}];
|
|
230
340
|
readonly name: "collectFee";
|
|
231
341
|
readonly outputs: readonly [{
|
|
@@ -236,8 +346,20 @@ export declare class IFeeCollector__factory {
|
|
|
236
346
|
readonly stateMutability: "nonpayable";
|
|
237
347
|
readonly type: "function";
|
|
238
348
|
}, {
|
|
239
|
-
readonly inputs: readonly [
|
|
240
|
-
|
|
349
|
+
readonly inputs: readonly [{
|
|
350
|
+
readonly internalType: "bytes32";
|
|
351
|
+
readonly name: "feeType";
|
|
352
|
+
readonly type: "bytes32";
|
|
353
|
+
}, {
|
|
354
|
+
readonly internalType: "bytes32";
|
|
355
|
+
readonly name: "target";
|
|
356
|
+
readonly type: "bytes32";
|
|
357
|
+
}, {
|
|
358
|
+
readonly internalType: "address";
|
|
359
|
+
readonly name: "token";
|
|
360
|
+
readonly type: "address";
|
|
361
|
+
}];
|
|
362
|
+
readonly name: "distributeFees";
|
|
241
363
|
readonly outputs: readonly [];
|
|
242
364
|
readonly stateMutability: "nonpayable";
|
|
243
365
|
readonly type: "function";
|
|
@@ -246,49 +368,123 @@ export declare class IFeeCollector__factory {
|
|
|
246
368
|
readonly internalType: "address";
|
|
247
369
|
readonly name: "token";
|
|
248
370
|
readonly type: "address";
|
|
371
|
+
}, {
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "recipient";
|
|
374
|
+
readonly type: "address";
|
|
249
375
|
}];
|
|
250
376
|
readonly name: "emergencyWithdraw";
|
|
251
377
|
readonly outputs: readonly [];
|
|
252
378
|
readonly stateMutability: "nonpayable";
|
|
253
379
|
readonly type: "function";
|
|
254
380
|
}, {
|
|
255
|
-
readonly inputs: readonly [
|
|
381
|
+
readonly inputs: readonly [{
|
|
382
|
+
readonly internalType: "address";
|
|
383
|
+
readonly name: "token";
|
|
384
|
+
readonly type: "address";
|
|
385
|
+
}, {
|
|
386
|
+
readonly internalType: "bytes32";
|
|
387
|
+
readonly name: "feeType";
|
|
388
|
+
readonly type: "bytes32";
|
|
389
|
+
}];
|
|
256
390
|
readonly name: "getCollectedFees";
|
|
257
391
|
readonly outputs: readonly [{
|
|
258
392
|
readonly components: readonly [{
|
|
259
393
|
readonly internalType: "uint256";
|
|
260
|
-
readonly name: "
|
|
394
|
+
readonly name: "treasuryAmount";
|
|
395
|
+
readonly type: "uint256";
|
|
396
|
+
}, {
|
|
397
|
+
readonly internalType: "uint256";
|
|
398
|
+
readonly name: "repairFundAmount";
|
|
261
399
|
readonly type: "uint256";
|
|
262
400
|
}, {
|
|
263
401
|
readonly internalType: "uint256";
|
|
264
|
-
readonly name: "
|
|
402
|
+
readonly name: "burnAmount";
|
|
265
403
|
readonly type: "uint256";
|
|
266
404
|
}, {
|
|
267
405
|
readonly internalType: "uint256";
|
|
268
|
-
readonly name: "
|
|
406
|
+
readonly name: "veRAACTokenAmount";
|
|
269
407
|
readonly type: "uint256";
|
|
270
408
|
}, {
|
|
271
409
|
readonly internalType: "uint256";
|
|
272
|
-
readonly name: "
|
|
410
|
+
readonly name: "otherAmount";
|
|
411
|
+
readonly type: "uint256";
|
|
412
|
+
}];
|
|
413
|
+
readonly internalType: "struct IFeeCollector.CollectedFeeForType";
|
|
414
|
+
readonly name: "";
|
|
415
|
+
readonly type: "tuple";
|
|
416
|
+
}];
|
|
417
|
+
readonly stateMutability: "view";
|
|
418
|
+
readonly type: "function";
|
|
419
|
+
}, {
|
|
420
|
+
readonly inputs: readonly [{
|
|
421
|
+
readonly internalType: "address";
|
|
422
|
+
readonly name: "token";
|
|
423
|
+
readonly type: "address";
|
|
424
|
+
}];
|
|
425
|
+
readonly name: "getCollectedFeesByToken";
|
|
426
|
+
readonly outputs: readonly [{
|
|
427
|
+
readonly components: readonly [{
|
|
428
|
+
readonly internalType: "uint256";
|
|
429
|
+
readonly name: "treasuryAmount";
|
|
273
430
|
readonly type: "uint256";
|
|
274
431
|
}, {
|
|
275
432
|
readonly internalType: "uint256";
|
|
276
|
-
readonly name: "
|
|
433
|
+
readonly name: "repairFundAmount";
|
|
277
434
|
readonly type: "uint256";
|
|
278
435
|
}, {
|
|
279
436
|
readonly internalType: "uint256";
|
|
280
|
-
readonly name: "
|
|
437
|
+
readonly name: "burnAmount";
|
|
281
438
|
readonly type: "uint256";
|
|
282
439
|
}, {
|
|
283
440
|
readonly internalType: "uint256";
|
|
284
|
-
readonly name: "
|
|
441
|
+
readonly name: "veRAACTokenAmount";
|
|
285
442
|
readonly type: "uint256";
|
|
286
443
|
}, {
|
|
287
444
|
readonly internalType: "uint256";
|
|
288
|
-
readonly name: "
|
|
445
|
+
readonly name: "otherAmount";
|
|
289
446
|
readonly type: "uint256";
|
|
290
447
|
}];
|
|
291
|
-
readonly internalType: "struct IFeeCollector.
|
|
448
|
+
readonly internalType: "struct IFeeCollector.CollectedFeeForType[]";
|
|
449
|
+
readonly name: "";
|
|
450
|
+
readonly type: "tuple[]";
|
|
451
|
+
}];
|
|
452
|
+
readonly stateMutability: "view";
|
|
453
|
+
readonly type: "function";
|
|
454
|
+
}, {
|
|
455
|
+
readonly inputs: readonly [{
|
|
456
|
+
readonly internalType: "address";
|
|
457
|
+
readonly name: "token";
|
|
458
|
+
readonly type: "address";
|
|
459
|
+
}, {
|
|
460
|
+
readonly internalType: "bytes32";
|
|
461
|
+
readonly name: "feeType";
|
|
462
|
+
readonly type: "bytes32";
|
|
463
|
+
}];
|
|
464
|
+
readonly name: "getCollectedFeesByTokenAndFeeType";
|
|
465
|
+
readonly outputs: readonly [{
|
|
466
|
+
readonly components: readonly [{
|
|
467
|
+
readonly internalType: "uint256";
|
|
468
|
+
readonly name: "treasuryAmount";
|
|
469
|
+
readonly type: "uint256";
|
|
470
|
+
}, {
|
|
471
|
+
readonly internalType: "uint256";
|
|
472
|
+
readonly name: "repairFundAmount";
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
}, {
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
readonly name: "burnAmount";
|
|
477
|
+
readonly type: "uint256";
|
|
478
|
+
}, {
|
|
479
|
+
readonly internalType: "uint256";
|
|
480
|
+
readonly name: "veRAACTokenAmount";
|
|
481
|
+
readonly type: "uint256";
|
|
482
|
+
}, {
|
|
483
|
+
readonly internalType: "uint256";
|
|
484
|
+
readonly name: "otherAmount";
|
|
485
|
+
readonly type: "uint256";
|
|
486
|
+
}];
|
|
487
|
+
readonly internalType: "struct IFeeCollector.CollectedFeeForType";
|
|
292
488
|
readonly name: "";
|
|
293
489
|
readonly type: "tuple";
|
|
294
490
|
}];
|
|
@@ -296,15 +492,23 @@ export declare class IFeeCollector__factory {
|
|
|
296
492
|
readonly type: "function";
|
|
297
493
|
}, {
|
|
298
494
|
readonly inputs: readonly [{
|
|
299
|
-
readonly internalType: "
|
|
495
|
+
readonly internalType: "bytes32";
|
|
300
496
|
readonly name: "feeType";
|
|
301
|
-
readonly type: "
|
|
497
|
+
readonly type: "bytes32";
|
|
302
498
|
}];
|
|
303
499
|
readonly name: "getFeeType";
|
|
304
500
|
readonly outputs: readonly [{
|
|
305
501
|
readonly components: readonly [{
|
|
502
|
+
readonly internalType: "bytes32";
|
|
503
|
+
readonly name: "feeType";
|
|
504
|
+
readonly type: "bytes32";
|
|
505
|
+
}, {
|
|
306
506
|
readonly internalType: "uint256";
|
|
307
|
-
readonly name: "
|
|
507
|
+
readonly name: "treasuryShare";
|
|
508
|
+
readonly type: "uint256";
|
|
509
|
+
}, {
|
|
510
|
+
readonly internalType: "uint256";
|
|
511
|
+
readonly name: "repairFundShare";
|
|
308
512
|
readonly type: "uint256";
|
|
309
513
|
}, {
|
|
310
514
|
readonly internalType: "uint256";
|
|
@@ -312,11 +516,11 @@ export declare class IFeeCollector__factory {
|
|
|
312
516
|
readonly type: "uint256";
|
|
313
517
|
}, {
|
|
314
518
|
readonly internalType: "uint256";
|
|
315
|
-
readonly name: "
|
|
519
|
+
readonly name: "veRAACTokenShare";
|
|
316
520
|
readonly type: "uint256";
|
|
317
521
|
}, {
|
|
318
522
|
readonly internalType: "uint256";
|
|
319
|
-
readonly name: "
|
|
523
|
+
readonly name: "otherShare";
|
|
320
524
|
readonly type: "uint256";
|
|
321
525
|
}];
|
|
322
526
|
readonly internalType: "struct IFeeCollector.FeeType";
|
|
@@ -325,13 +529,80 @@ export declare class IFeeCollector__factory {
|
|
|
325
529
|
}];
|
|
326
530
|
readonly stateMutability: "view";
|
|
327
531
|
readonly type: "function";
|
|
532
|
+
}, {
|
|
533
|
+
readonly inputs: readonly [];
|
|
534
|
+
readonly name: "getFeeTypes";
|
|
535
|
+
readonly outputs: readonly [{
|
|
536
|
+
readonly components: readonly [{
|
|
537
|
+
readonly internalType: "bytes32";
|
|
538
|
+
readonly name: "feeType";
|
|
539
|
+
readonly type: "bytes32";
|
|
540
|
+
}, {
|
|
541
|
+
readonly internalType: "uint256";
|
|
542
|
+
readonly name: "treasuryShare";
|
|
543
|
+
readonly type: "uint256";
|
|
544
|
+
}, {
|
|
545
|
+
readonly internalType: "uint256";
|
|
546
|
+
readonly name: "repairFundShare";
|
|
547
|
+
readonly type: "uint256";
|
|
548
|
+
}, {
|
|
549
|
+
readonly internalType: "uint256";
|
|
550
|
+
readonly name: "burnShare";
|
|
551
|
+
readonly type: "uint256";
|
|
552
|
+
}, {
|
|
553
|
+
readonly internalType: "uint256";
|
|
554
|
+
readonly name: "veRAACTokenShare";
|
|
555
|
+
readonly type: "uint256";
|
|
556
|
+
}, {
|
|
557
|
+
readonly internalType: "uint256";
|
|
558
|
+
readonly name: "otherShare";
|
|
559
|
+
readonly type: "uint256";
|
|
560
|
+
}];
|
|
561
|
+
readonly internalType: "struct IFeeCollector.FeeType[]";
|
|
562
|
+
readonly name: "";
|
|
563
|
+
readonly type: "tuple[]";
|
|
564
|
+
}];
|
|
565
|
+
readonly stateMutability: "view";
|
|
566
|
+
readonly type: "function";
|
|
567
|
+
}, {
|
|
568
|
+
readonly inputs: readonly [];
|
|
569
|
+
readonly name: "getSupportedTokens";
|
|
570
|
+
readonly outputs: readonly [{
|
|
571
|
+
readonly internalType: "address[]";
|
|
572
|
+
readonly name: "";
|
|
573
|
+
readonly type: "address[]";
|
|
574
|
+
}];
|
|
575
|
+
readonly stateMutability: "view";
|
|
576
|
+
readonly type: "function";
|
|
328
577
|
}, {
|
|
329
578
|
readonly inputs: readonly [{
|
|
579
|
+
readonly internalType: "bytes32";
|
|
580
|
+
readonly name: "target";
|
|
581
|
+
readonly type: "bytes32";
|
|
582
|
+
}];
|
|
583
|
+
readonly name: "getTargetAddress";
|
|
584
|
+
readonly outputs: readonly [{
|
|
585
|
+
readonly internalType: "address";
|
|
586
|
+
readonly name: "";
|
|
587
|
+
readonly type: "address";
|
|
588
|
+
}];
|
|
589
|
+
readonly stateMutability: "view";
|
|
590
|
+
readonly type: "function";
|
|
591
|
+
}, {
|
|
592
|
+
readonly inputs: readonly [{
|
|
593
|
+
readonly internalType: "bytes32";
|
|
594
|
+
readonly name: "feeType";
|
|
595
|
+
readonly type: "bytes32";
|
|
596
|
+
}, {
|
|
597
|
+
readonly internalType: "bytes32";
|
|
598
|
+
readonly name: "target";
|
|
599
|
+
readonly type: "bytes32";
|
|
600
|
+
}, {
|
|
330
601
|
readonly internalType: "address";
|
|
331
|
-
readonly name: "
|
|
602
|
+
readonly name: "token";
|
|
332
603
|
readonly type: "address";
|
|
333
604
|
}];
|
|
334
|
-
readonly name: "
|
|
605
|
+
readonly name: "getTargetAmount";
|
|
335
606
|
readonly outputs: readonly [{
|
|
336
607
|
readonly internalType: "uint256";
|
|
337
608
|
readonly name: "";
|
|
@@ -342,32 +613,80 @@ export declare class IFeeCollector__factory {
|
|
|
342
613
|
}, {
|
|
343
614
|
readonly inputs: readonly [{
|
|
344
615
|
readonly internalType: "address";
|
|
345
|
-
readonly name: "
|
|
616
|
+
readonly name: "token";
|
|
346
617
|
readonly type: "address";
|
|
347
618
|
}];
|
|
348
|
-
readonly name: "
|
|
619
|
+
readonly name: "isTokenSupported";
|
|
620
|
+
readonly outputs: readonly [{
|
|
621
|
+
readonly internalType: "bool";
|
|
622
|
+
readonly name: "";
|
|
623
|
+
readonly type: "bool";
|
|
624
|
+
}];
|
|
625
|
+
readonly stateMutability: "view";
|
|
626
|
+
readonly type: "function";
|
|
627
|
+
}, {
|
|
628
|
+
readonly inputs: readonly [];
|
|
629
|
+
readonly name: "pause";
|
|
349
630
|
readonly outputs: readonly [];
|
|
350
631
|
readonly stateMutability: "nonpayable";
|
|
351
632
|
readonly type: "function";
|
|
352
633
|
}, {
|
|
353
634
|
readonly inputs: readonly [{
|
|
354
635
|
readonly internalType: "address";
|
|
355
|
-
readonly name: "
|
|
636
|
+
readonly name: "token";
|
|
356
637
|
readonly type: "address";
|
|
357
638
|
}];
|
|
358
|
-
readonly name: "
|
|
639
|
+
readonly name: "removeClaimableToken";
|
|
359
640
|
readonly outputs: readonly [];
|
|
360
641
|
readonly stateMutability: "nonpayable";
|
|
361
642
|
readonly type: "function";
|
|
362
643
|
}, {
|
|
363
644
|
readonly inputs: readonly [{
|
|
364
|
-
readonly internalType: "
|
|
645
|
+
readonly internalType: "bytes32";
|
|
365
646
|
readonly name: "feeType";
|
|
366
|
-
readonly type: "
|
|
647
|
+
readonly type: "bytes32";
|
|
648
|
+
}];
|
|
649
|
+
readonly name: "removeFeeType";
|
|
650
|
+
readonly outputs: readonly [];
|
|
651
|
+
readonly stateMutability: "nonpayable";
|
|
652
|
+
readonly type: "function";
|
|
653
|
+
}, {
|
|
654
|
+
readonly inputs: readonly [{
|
|
655
|
+
readonly internalType: "bytes32";
|
|
656
|
+
readonly name: "target";
|
|
657
|
+
readonly type: "bytes32";
|
|
658
|
+
}, {
|
|
659
|
+
readonly internalType: "address";
|
|
660
|
+
readonly name: "newAddress";
|
|
661
|
+
readonly type: "address";
|
|
662
|
+
}];
|
|
663
|
+
readonly name: "setTargetAddress";
|
|
664
|
+
readonly outputs: readonly [];
|
|
665
|
+
readonly stateMutability: "nonpayable";
|
|
666
|
+
readonly type: "function";
|
|
667
|
+
}, {
|
|
668
|
+
readonly inputs: readonly [];
|
|
669
|
+
readonly name: "unpause";
|
|
670
|
+
readonly outputs: readonly [];
|
|
671
|
+
readonly stateMutability: "nonpayable";
|
|
672
|
+
readonly type: "function";
|
|
673
|
+
}, {
|
|
674
|
+
readonly inputs: readonly [{
|
|
675
|
+
readonly internalType: "bytes32";
|
|
676
|
+
readonly name: "feeType";
|
|
677
|
+
readonly type: "bytes32";
|
|
367
678
|
}, {
|
|
368
679
|
readonly components: readonly [{
|
|
680
|
+
readonly internalType: "bytes32";
|
|
681
|
+
readonly name: "feeType";
|
|
682
|
+
readonly type: "bytes32";
|
|
683
|
+
}, {
|
|
369
684
|
readonly internalType: "uint256";
|
|
370
|
-
readonly name: "
|
|
685
|
+
readonly name: "treasuryShare";
|
|
686
|
+
readonly type: "uint256";
|
|
687
|
+
}, {
|
|
688
|
+
readonly internalType: "uint256";
|
|
689
|
+
readonly name: "repairFundShare";
|
|
371
690
|
readonly type: "uint256";
|
|
372
691
|
}, {
|
|
373
692
|
readonly internalType: "uint256";
|
|
@@ -375,11 +694,11 @@ export declare class IFeeCollector__factory {
|
|
|
375
694
|
readonly type: "uint256";
|
|
376
695
|
}, {
|
|
377
696
|
readonly internalType: "uint256";
|
|
378
|
-
readonly name: "
|
|
697
|
+
readonly name: "veRAACTokenShare";
|
|
379
698
|
readonly type: "uint256";
|
|
380
699
|
}, {
|
|
381
700
|
readonly internalType: "uint256";
|
|
382
|
-
readonly name: "
|
|
701
|
+
readonly name: "otherShare";
|
|
383
702
|
readonly type: "uint256";
|
|
384
703
|
}];
|
|
385
704
|
readonly internalType: "struct IFeeCollector.FeeType";
|