@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,708 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
-
export declare namespace IFeeCollector {
|
|
4
|
-
type FeeTypeStruct = {
|
|
5
|
-
veRAACShare: BigNumberish;
|
|
6
|
-
burnShare: BigNumberish;
|
|
7
|
-
repairShare: BigNumberish;
|
|
8
|
-
treasuryShare: BigNumberish;
|
|
9
|
-
};
|
|
10
|
-
type FeeTypeStructOutput = [
|
|
11
|
-
veRAACShare: bigint,
|
|
12
|
-
burnShare: bigint,
|
|
13
|
-
repairShare: bigint,
|
|
14
|
-
treasuryShare: bigint
|
|
15
|
-
] & {
|
|
16
|
-
veRAACShare: bigint;
|
|
17
|
-
burnShare: bigint;
|
|
18
|
-
repairShare: bigint;
|
|
19
|
-
treasuryShare: bigint;
|
|
20
|
-
};
|
|
21
|
-
type CollectedFeesStruct = {
|
|
22
|
-
protocolFees: BigNumberish;
|
|
23
|
-
lendingFees: BigNumberish;
|
|
24
|
-
performanceFees: BigNumberish;
|
|
25
|
-
insuranceFees: BigNumberish;
|
|
26
|
-
mintRedeemFees: BigNumberish;
|
|
27
|
-
vaultFees: BigNumberish;
|
|
28
|
-
swapTaxes: BigNumberish;
|
|
29
|
-
nftRoyalties: BigNumberish;
|
|
30
|
-
};
|
|
31
|
-
type CollectedFeesStructOutput = [
|
|
32
|
-
protocolFees: bigint,
|
|
33
|
-
lendingFees: bigint,
|
|
34
|
-
performanceFees: bigint,
|
|
35
|
-
insuranceFees: bigint,
|
|
36
|
-
mintRedeemFees: bigint,
|
|
37
|
-
vaultFees: bigint,
|
|
38
|
-
swapTaxes: bigint,
|
|
39
|
-
nftRoyalties: bigint
|
|
40
|
-
] & {
|
|
41
|
-
protocolFees: bigint;
|
|
42
|
-
lendingFees: bigint;
|
|
43
|
-
performanceFees: bigint;
|
|
44
|
-
insuranceFees: bigint;
|
|
45
|
-
mintRedeemFees: bigint;
|
|
46
|
-
vaultFees: bigint;
|
|
47
|
-
swapTaxes: bigint;
|
|
48
|
-
nftRoyalties: bigint;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
export interface MockFeeCollectorInterface extends Interface {
|
|
52
|
-
getFunction(nameOrSignature: "BASIS_POINTS" | "DEFAULT_ADMIN_ROLE" | "DISTRIBUTOR_ROLE" | "EMERGENCY_ROLE" | "FEE_MANAGER_ROLE" | "MAX_FEE_AMOUNT" | "TREASURY_UPDATE_DELAY" | "applyRepairFundUpdate" | "applyTreasuryUpdate" | "claimRewards" | "collectFee" | "collectedFees" | "distributeCollectedFees" | "distributionPeriod" | "emergencyWithdraw" | "feeTypes" | "getCollectedFees" | "getFeeType" | "getPendingRewards" | "getRoleAdmin" | "grantRole" | "hasRole" | "pause" | "paused" | "pendingRepairFund" | "pendingTreasury" | "raacToken" | "renounceRole" | "repairFund" | "revokeRole" | "setRepairFund" | "setTreasury" | "supportsInterface" | "totalDistributed" | "treasury" | "unpause" | "updateFeeType" | "userRewards" | "veRAACToken"): FunctionFragment;
|
|
53
|
-
getEvent(nameOrSignatureOrTopic: "DistributionParametersUpdated" | "EmergencyWithdrawal" | "FeeCollected" | "FeeDistributed" | "FeeTypeUpdated" | "Paused" | "PeriodCreated" | "RepairFundUpdated" | "RewardClaimed" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "TreasuryUpdated" | "Unpaused"): EventFragment;
|
|
54
|
-
encodeFunctionData(functionFragment: "BASIS_POINTS", values?: undefined): string;
|
|
55
|
-
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
56
|
-
encodeFunctionData(functionFragment: "DISTRIBUTOR_ROLE", values?: undefined): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "EMERGENCY_ROLE", values?: undefined): string;
|
|
58
|
-
encodeFunctionData(functionFragment: "FEE_MANAGER_ROLE", values?: undefined): string;
|
|
59
|
-
encodeFunctionData(functionFragment: "MAX_FEE_AMOUNT", values?: undefined): string;
|
|
60
|
-
encodeFunctionData(functionFragment: "TREASURY_UPDATE_DELAY", values?: undefined): string;
|
|
61
|
-
encodeFunctionData(functionFragment: "applyRepairFundUpdate", values?: undefined): string;
|
|
62
|
-
encodeFunctionData(functionFragment: "applyTreasuryUpdate", values?: undefined): string;
|
|
63
|
-
encodeFunctionData(functionFragment: "claimRewards", values: [AddressLike]): string;
|
|
64
|
-
encodeFunctionData(functionFragment: "collectFee", values: [BigNumberish, BigNumberish]): string;
|
|
65
|
-
encodeFunctionData(functionFragment: "collectedFees", values?: undefined): string;
|
|
66
|
-
encodeFunctionData(functionFragment: "distributeCollectedFees", values?: undefined): string;
|
|
67
|
-
encodeFunctionData(functionFragment: "distributionPeriod", values?: undefined): string;
|
|
68
|
-
encodeFunctionData(functionFragment: "emergencyWithdraw", values: [AddressLike]): string;
|
|
69
|
-
encodeFunctionData(functionFragment: "feeTypes", values: [BigNumberish]): string;
|
|
70
|
-
encodeFunctionData(functionFragment: "getCollectedFees", values?: undefined): string;
|
|
71
|
-
encodeFunctionData(functionFragment: "getFeeType", values: [BigNumberish]): string;
|
|
72
|
-
encodeFunctionData(functionFragment: "getPendingRewards", values: [AddressLike]): string;
|
|
73
|
-
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
74
|
-
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
75
|
-
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
76
|
-
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
77
|
-
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
78
|
-
encodeFunctionData(functionFragment: "pendingRepairFund", values?: undefined): string;
|
|
79
|
-
encodeFunctionData(functionFragment: "pendingTreasury", values?: undefined): string;
|
|
80
|
-
encodeFunctionData(functionFragment: "raacToken", values?: undefined): string;
|
|
81
|
-
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
82
|
-
encodeFunctionData(functionFragment: "repairFund", values?: undefined): string;
|
|
83
|
-
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
84
|
-
encodeFunctionData(functionFragment: "setRepairFund", values: [AddressLike]): string;
|
|
85
|
-
encodeFunctionData(functionFragment: "setTreasury", values: [AddressLike]): string;
|
|
86
|
-
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
87
|
-
encodeFunctionData(functionFragment: "totalDistributed", values?: undefined): string;
|
|
88
|
-
encodeFunctionData(functionFragment: "treasury", values?: undefined): string;
|
|
89
|
-
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
90
|
-
encodeFunctionData(functionFragment: "updateFeeType", values: [BigNumberish, IFeeCollector.FeeTypeStruct]): string;
|
|
91
|
-
encodeFunctionData(functionFragment: "userRewards", values: [AddressLike]): string;
|
|
92
|
-
encodeFunctionData(functionFragment: "veRAACToken", values?: undefined): string;
|
|
93
|
-
decodeFunctionResult(functionFragment: "BASIS_POINTS", data: BytesLike): Result;
|
|
94
|
-
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
95
|
-
decodeFunctionResult(functionFragment: "DISTRIBUTOR_ROLE", data: BytesLike): Result;
|
|
96
|
-
decodeFunctionResult(functionFragment: "EMERGENCY_ROLE", data: BytesLike): Result;
|
|
97
|
-
decodeFunctionResult(functionFragment: "FEE_MANAGER_ROLE", data: BytesLike): Result;
|
|
98
|
-
decodeFunctionResult(functionFragment: "MAX_FEE_AMOUNT", data: BytesLike): Result;
|
|
99
|
-
decodeFunctionResult(functionFragment: "TREASURY_UPDATE_DELAY", data: BytesLike): Result;
|
|
100
|
-
decodeFunctionResult(functionFragment: "applyRepairFundUpdate", data: BytesLike): Result;
|
|
101
|
-
decodeFunctionResult(functionFragment: "applyTreasuryUpdate", data: BytesLike): Result;
|
|
102
|
-
decodeFunctionResult(functionFragment: "claimRewards", data: BytesLike): Result;
|
|
103
|
-
decodeFunctionResult(functionFragment: "collectFee", data: BytesLike): Result;
|
|
104
|
-
decodeFunctionResult(functionFragment: "collectedFees", data: BytesLike): Result;
|
|
105
|
-
decodeFunctionResult(functionFragment: "distributeCollectedFees", data: BytesLike): Result;
|
|
106
|
-
decodeFunctionResult(functionFragment: "distributionPeriod", data: BytesLike): Result;
|
|
107
|
-
decodeFunctionResult(functionFragment: "emergencyWithdraw", data: BytesLike): Result;
|
|
108
|
-
decodeFunctionResult(functionFragment: "feeTypes", data: BytesLike): Result;
|
|
109
|
-
decodeFunctionResult(functionFragment: "getCollectedFees", data: BytesLike): Result;
|
|
110
|
-
decodeFunctionResult(functionFragment: "getFeeType", data: BytesLike): Result;
|
|
111
|
-
decodeFunctionResult(functionFragment: "getPendingRewards", data: BytesLike): Result;
|
|
112
|
-
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
113
|
-
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
114
|
-
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
115
|
-
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
116
|
-
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
117
|
-
decodeFunctionResult(functionFragment: "pendingRepairFund", data: BytesLike): Result;
|
|
118
|
-
decodeFunctionResult(functionFragment: "pendingTreasury", data: BytesLike): Result;
|
|
119
|
-
decodeFunctionResult(functionFragment: "raacToken", data: BytesLike): Result;
|
|
120
|
-
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
121
|
-
decodeFunctionResult(functionFragment: "repairFund", data: BytesLike): Result;
|
|
122
|
-
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
123
|
-
decodeFunctionResult(functionFragment: "setRepairFund", data: BytesLike): Result;
|
|
124
|
-
decodeFunctionResult(functionFragment: "setTreasury", data: BytesLike): Result;
|
|
125
|
-
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
126
|
-
decodeFunctionResult(functionFragment: "totalDistributed", data: BytesLike): Result;
|
|
127
|
-
decodeFunctionResult(functionFragment: "treasury", data: BytesLike): Result;
|
|
128
|
-
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
129
|
-
decodeFunctionResult(functionFragment: "updateFeeType", data: BytesLike): Result;
|
|
130
|
-
decodeFunctionResult(functionFragment: "userRewards", data: BytesLike): Result;
|
|
131
|
-
decodeFunctionResult(functionFragment: "veRAACToken", data: BytesLike): Result;
|
|
132
|
-
}
|
|
133
|
-
export declare namespace DistributionParametersUpdatedEvent {
|
|
134
|
-
type InputTuple = [
|
|
135
|
-
feeType: BigNumberish,
|
|
136
|
-
newParameters: IFeeCollector.FeeTypeStruct
|
|
137
|
-
];
|
|
138
|
-
type OutputTuple = [
|
|
139
|
-
feeType: bigint,
|
|
140
|
-
newParameters: IFeeCollector.FeeTypeStructOutput
|
|
141
|
-
];
|
|
142
|
-
interface OutputObject {
|
|
143
|
-
feeType: bigint;
|
|
144
|
-
newParameters: IFeeCollector.FeeTypeStructOutput;
|
|
145
|
-
}
|
|
146
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
147
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
148
|
-
type Log = TypedEventLog<Event>;
|
|
149
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
150
|
-
}
|
|
151
|
-
export declare namespace EmergencyWithdrawalEvent {
|
|
152
|
-
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
153
|
-
type OutputTuple = [token: string, amount: bigint];
|
|
154
|
-
interface OutputObject {
|
|
155
|
-
token: string;
|
|
156
|
-
amount: bigint;
|
|
157
|
-
}
|
|
158
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
159
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
160
|
-
type Log = TypedEventLog<Event>;
|
|
161
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
162
|
-
}
|
|
163
|
-
export declare namespace FeeCollectedEvent {
|
|
164
|
-
type InputTuple = [feeType: BigNumberish, amount: BigNumberish];
|
|
165
|
-
type OutputTuple = [feeType: bigint, amount: bigint];
|
|
166
|
-
interface OutputObject {
|
|
167
|
-
feeType: bigint;
|
|
168
|
-
amount: bigint;
|
|
169
|
-
}
|
|
170
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
171
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
172
|
-
type Log = TypedEventLog<Event>;
|
|
173
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
174
|
-
}
|
|
175
|
-
export declare namespace FeeDistributedEvent {
|
|
176
|
-
type InputTuple = [
|
|
177
|
-
veRAACAmount: BigNumberish,
|
|
178
|
-
burnAmount: BigNumberish,
|
|
179
|
-
repairAmount: BigNumberish,
|
|
180
|
-
treasuryAmount: BigNumberish
|
|
181
|
-
];
|
|
182
|
-
type OutputTuple = [
|
|
183
|
-
veRAACAmount: bigint,
|
|
184
|
-
burnAmount: bigint,
|
|
185
|
-
repairAmount: bigint,
|
|
186
|
-
treasuryAmount: bigint
|
|
187
|
-
];
|
|
188
|
-
interface OutputObject {
|
|
189
|
-
veRAACAmount: bigint;
|
|
190
|
-
burnAmount: bigint;
|
|
191
|
-
repairAmount: bigint;
|
|
192
|
-
treasuryAmount: bigint;
|
|
193
|
-
}
|
|
194
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
195
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
196
|
-
type Log = TypedEventLog<Event>;
|
|
197
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
198
|
-
}
|
|
199
|
-
export declare namespace FeeTypeUpdatedEvent {
|
|
200
|
-
type InputTuple = [
|
|
201
|
-
feeType: BigNumberish,
|
|
202
|
-
newFee: IFeeCollector.FeeTypeStruct
|
|
203
|
-
];
|
|
204
|
-
type OutputTuple = [
|
|
205
|
-
feeType: bigint,
|
|
206
|
-
newFee: IFeeCollector.FeeTypeStructOutput
|
|
207
|
-
];
|
|
208
|
-
interface OutputObject {
|
|
209
|
-
feeType: bigint;
|
|
210
|
-
newFee: IFeeCollector.FeeTypeStructOutput;
|
|
211
|
-
}
|
|
212
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
213
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
214
|
-
type Log = TypedEventLog<Event>;
|
|
215
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
216
|
-
}
|
|
217
|
-
export declare namespace PausedEvent {
|
|
218
|
-
type InputTuple = [account: AddressLike];
|
|
219
|
-
type OutputTuple = [account: string];
|
|
220
|
-
interface OutputObject {
|
|
221
|
-
account: string;
|
|
222
|
-
}
|
|
223
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
224
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
225
|
-
type Log = TypedEventLog<Event>;
|
|
226
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
227
|
-
}
|
|
228
|
-
export declare namespace PeriodCreatedEvent {
|
|
229
|
-
type InputTuple = [
|
|
230
|
-
startTime: BigNumberish,
|
|
231
|
-
duration: BigNumberish,
|
|
232
|
-
initialValue: BigNumberish
|
|
233
|
-
];
|
|
234
|
-
type OutputTuple = [
|
|
235
|
-
startTime: bigint,
|
|
236
|
-
duration: bigint,
|
|
237
|
-
initialValue: bigint
|
|
238
|
-
];
|
|
239
|
-
interface OutputObject {
|
|
240
|
-
startTime: bigint;
|
|
241
|
-
duration: bigint;
|
|
242
|
-
initialValue: bigint;
|
|
243
|
-
}
|
|
244
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
245
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
246
|
-
type Log = TypedEventLog<Event>;
|
|
247
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
248
|
-
}
|
|
249
|
-
export declare namespace RepairFundUpdatedEvent {
|
|
250
|
-
type InputTuple = [newRepairFund: AddressLike];
|
|
251
|
-
type OutputTuple = [newRepairFund: string];
|
|
252
|
-
interface OutputObject {
|
|
253
|
-
newRepairFund: string;
|
|
254
|
-
}
|
|
255
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
256
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
257
|
-
type Log = TypedEventLog<Event>;
|
|
258
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
259
|
-
}
|
|
260
|
-
export declare namespace RewardClaimedEvent {
|
|
261
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
262
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
263
|
-
interface OutputObject {
|
|
264
|
-
user: string;
|
|
265
|
-
amount: bigint;
|
|
266
|
-
}
|
|
267
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
268
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
269
|
-
type Log = TypedEventLog<Event>;
|
|
270
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
271
|
-
}
|
|
272
|
-
export declare namespace RoleAdminChangedEvent {
|
|
273
|
-
type InputTuple = [
|
|
274
|
-
role: BytesLike,
|
|
275
|
-
previousAdminRole: BytesLike,
|
|
276
|
-
newAdminRole: BytesLike
|
|
277
|
-
];
|
|
278
|
-
type OutputTuple = [
|
|
279
|
-
role: string,
|
|
280
|
-
previousAdminRole: string,
|
|
281
|
-
newAdminRole: string
|
|
282
|
-
];
|
|
283
|
-
interface OutputObject {
|
|
284
|
-
role: string;
|
|
285
|
-
previousAdminRole: string;
|
|
286
|
-
newAdminRole: string;
|
|
287
|
-
}
|
|
288
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
289
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
290
|
-
type Log = TypedEventLog<Event>;
|
|
291
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
292
|
-
}
|
|
293
|
-
export declare namespace RoleGrantedEvent {
|
|
294
|
-
type InputTuple = [
|
|
295
|
-
role: BytesLike,
|
|
296
|
-
account: AddressLike,
|
|
297
|
-
sender: AddressLike
|
|
298
|
-
];
|
|
299
|
-
type OutputTuple = [role: string, account: string, sender: string];
|
|
300
|
-
interface OutputObject {
|
|
301
|
-
role: string;
|
|
302
|
-
account: string;
|
|
303
|
-
sender: string;
|
|
304
|
-
}
|
|
305
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
306
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
307
|
-
type Log = TypedEventLog<Event>;
|
|
308
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
309
|
-
}
|
|
310
|
-
export declare namespace RoleRevokedEvent {
|
|
311
|
-
type InputTuple = [
|
|
312
|
-
role: BytesLike,
|
|
313
|
-
account: AddressLike,
|
|
314
|
-
sender: AddressLike
|
|
315
|
-
];
|
|
316
|
-
type OutputTuple = [role: string, account: string, sender: string];
|
|
317
|
-
interface OutputObject {
|
|
318
|
-
role: string;
|
|
319
|
-
account: string;
|
|
320
|
-
sender: string;
|
|
321
|
-
}
|
|
322
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
323
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
324
|
-
type Log = TypedEventLog<Event>;
|
|
325
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
326
|
-
}
|
|
327
|
-
export declare namespace TreasuryUpdatedEvent {
|
|
328
|
-
type InputTuple = [newTreasury: AddressLike];
|
|
329
|
-
type OutputTuple = [newTreasury: string];
|
|
330
|
-
interface OutputObject {
|
|
331
|
-
newTreasury: string;
|
|
332
|
-
}
|
|
333
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
334
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
335
|
-
type Log = TypedEventLog<Event>;
|
|
336
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
337
|
-
}
|
|
338
|
-
export declare namespace UnpausedEvent {
|
|
339
|
-
type InputTuple = [account: AddressLike];
|
|
340
|
-
type OutputTuple = [account: string];
|
|
341
|
-
interface OutputObject {
|
|
342
|
-
account: string;
|
|
343
|
-
}
|
|
344
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
345
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
346
|
-
type Log = TypedEventLog<Event>;
|
|
347
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
348
|
-
}
|
|
349
|
-
export interface MockFeeCollector extends BaseContract {
|
|
350
|
-
connect(runner?: ContractRunner | null): MockFeeCollector;
|
|
351
|
-
waitForDeployment(): Promise<this>;
|
|
352
|
-
interface: MockFeeCollectorInterface;
|
|
353
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
354
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
355
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
356
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
357
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
358
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
359
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
360
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
361
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
362
|
-
BASIS_POINTS: TypedContractMethod<[], [bigint], "view">;
|
|
363
|
-
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
364
|
-
DISTRIBUTOR_ROLE: TypedContractMethod<[], [string], "view">;
|
|
365
|
-
EMERGENCY_ROLE: TypedContractMethod<[], [string], "view">;
|
|
366
|
-
FEE_MANAGER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
367
|
-
MAX_FEE_AMOUNT: TypedContractMethod<[], [bigint], "view">;
|
|
368
|
-
TREASURY_UPDATE_DELAY: TypedContractMethod<[], [bigint], "view">;
|
|
369
|
-
applyRepairFundUpdate: TypedContractMethod<[], [void], "nonpayable">;
|
|
370
|
-
applyTreasuryUpdate: TypedContractMethod<[], [void], "nonpayable">;
|
|
371
|
-
claimRewards: TypedContractMethod<[
|
|
372
|
-
user: AddressLike
|
|
373
|
-
], [
|
|
374
|
-
bigint
|
|
375
|
-
], "nonpayable">;
|
|
376
|
-
collectFee: TypedContractMethod<[
|
|
377
|
-
amount: BigNumberish,
|
|
378
|
-
feeType: BigNumberish
|
|
379
|
-
], [
|
|
380
|
-
boolean
|
|
381
|
-
], "nonpayable">;
|
|
382
|
-
collectedFees: TypedContractMethod<[
|
|
383
|
-
], [
|
|
384
|
-
[
|
|
385
|
-
bigint,
|
|
386
|
-
bigint,
|
|
387
|
-
bigint,
|
|
388
|
-
bigint,
|
|
389
|
-
bigint,
|
|
390
|
-
bigint,
|
|
391
|
-
bigint,
|
|
392
|
-
bigint
|
|
393
|
-
] & {
|
|
394
|
-
protocolFees: bigint;
|
|
395
|
-
lendingFees: bigint;
|
|
396
|
-
performanceFees: bigint;
|
|
397
|
-
insuranceFees: bigint;
|
|
398
|
-
mintRedeemFees: bigint;
|
|
399
|
-
vaultFees: bigint;
|
|
400
|
-
swapTaxes: bigint;
|
|
401
|
-
nftRoyalties: bigint;
|
|
402
|
-
}
|
|
403
|
-
], "view">;
|
|
404
|
-
distributeCollectedFees: TypedContractMethod<[], [void], "nonpayable">;
|
|
405
|
-
distributionPeriod: TypedContractMethod<[
|
|
406
|
-
], [
|
|
407
|
-
[
|
|
408
|
-
bigint,
|
|
409
|
-
bigint,
|
|
410
|
-
bigint,
|
|
411
|
-
bigint,
|
|
412
|
-
bigint,
|
|
413
|
-
bigint,
|
|
414
|
-
bigint
|
|
415
|
-
] & {
|
|
416
|
-
startTime: bigint;
|
|
417
|
-
endTime: bigint;
|
|
418
|
-
lastUpdateTime: bigint;
|
|
419
|
-
value: bigint;
|
|
420
|
-
weightedSum: bigint;
|
|
421
|
-
totalDuration: bigint;
|
|
422
|
-
weight: bigint;
|
|
423
|
-
}
|
|
424
|
-
], "view">;
|
|
425
|
-
emergencyWithdraw: TypedContractMethod<[
|
|
426
|
-
token: AddressLike
|
|
427
|
-
], [
|
|
428
|
-
void
|
|
429
|
-
], "nonpayable">;
|
|
430
|
-
feeTypes: TypedContractMethod<[
|
|
431
|
-
arg0: BigNumberish
|
|
432
|
-
], [
|
|
433
|
-
[
|
|
434
|
-
bigint,
|
|
435
|
-
bigint,
|
|
436
|
-
bigint,
|
|
437
|
-
bigint
|
|
438
|
-
] & {
|
|
439
|
-
veRAACShare: bigint;
|
|
440
|
-
burnShare: bigint;
|
|
441
|
-
repairShare: bigint;
|
|
442
|
-
treasuryShare: bigint;
|
|
443
|
-
}
|
|
444
|
-
], "view">;
|
|
445
|
-
getCollectedFees: TypedContractMethod<[
|
|
446
|
-
], [
|
|
447
|
-
IFeeCollector.CollectedFeesStructOutput
|
|
448
|
-
], "view">;
|
|
449
|
-
getFeeType: TypedContractMethod<[
|
|
450
|
-
feeType: BigNumberish
|
|
451
|
-
], [
|
|
452
|
-
IFeeCollector.FeeTypeStructOutput
|
|
453
|
-
], "view">;
|
|
454
|
-
getPendingRewards: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
455
|
-
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
456
|
-
grantRole: TypedContractMethod<[
|
|
457
|
-
role: BytesLike,
|
|
458
|
-
account: AddressLike
|
|
459
|
-
], [
|
|
460
|
-
void
|
|
461
|
-
], "nonpayable">;
|
|
462
|
-
hasRole: TypedContractMethod<[
|
|
463
|
-
role: BytesLike,
|
|
464
|
-
account: AddressLike
|
|
465
|
-
], [
|
|
466
|
-
boolean
|
|
467
|
-
], "view">;
|
|
468
|
-
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
469
|
-
paused: TypedContractMethod<[], [boolean], "view">;
|
|
470
|
-
pendingRepairFund: TypedContractMethod<[
|
|
471
|
-
], [
|
|
472
|
-
[string, bigint] & {
|
|
473
|
-
newAddress: string;
|
|
474
|
-
effectiveTime: bigint;
|
|
475
|
-
}
|
|
476
|
-
], "view">;
|
|
477
|
-
pendingTreasury: TypedContractMethod<[
|
|
478
|
-
], [
|
|
479
|
-
[string, bigint] & {
|
|
480
|
-
newAddress: string;
|
|
481
|
-
effectiveTime: bigint;
|
|
482
|
-
}
|
|
483
|
-
], "view">;
|
|
484
|
-
raacToken: TypedContractMethod<[], [string], "view">;
|
|
485
|
-
renounceRole: TypedContractMethod<[
|
|
486
|
-
role: BytesLike,
|
|
487
|
-
callerConfirmation: AddressLike
|
|
488
|
-
], [
|
|
489
|
-
void
|
|
490
|
-
], "nonpayable">;
|
|
491
|
-
repairFund: TypedContractMethod<[], [string], "view">;
|
|
492
|
-
revokeRole: TypedContractMethod<[
|
|
493
|
-
role: BytesLike,
|
|
494
|
-
account: AddressLike
|
|
495
|
-
], [
|
|
496
|
-
void
|
|
497
|
-
], "nonpayable">;
|
|
498
|
-
setRepairFund: TypedContractMethod<[
|
|
499
|
-
newRepairFund: AddressLike
|
|
500
|
-
], [
|
|
501
|
-
void
|
|
502
|
-
], "nonpayable">;
|
|
503
|
-
setTreasury: TypedContractMethod<[
|
|
504
|
-
newTreasury: AddressLike
|
|
505
|
-
], [
|
|
506
|
-
void
|
|
507
|
-
], "nonpayable">;
|
|
508
|
-
supportsInterface: TypedContractMethod<[
|
|
509
|
-
interfaceId: BytesLike
|
|
510
|
-
], [
|
|
511
|
-
boolean
|
|
512
|
-
], "view">;
|
|
513
|
-
totalDistributed: TypedContractMethod<[], [bigint], "view">;
|
|
514
|
-
treasury: TypedContractMethod<[], [string], "view">;
|
|
515
|
-
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
516
|
-
updateFeeType: TypedContractMethod<[
|
|
517
|
-
feeType: BigNumberish,
|
|
518
|
-
newFee: IFeeCollector.FeeTypeStruct
|
|
519
|
-
], [
|
|
520
|
-
void
|
|
521
|
-
], "nonpayable">;
|
|
522
|
-
userRewards: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
523
|
-
veRAACToken: TypedContractMethod<[], [string], "view">;
|
|
524
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
525
|
-
getFunction(nameOrSignature: "BASIS_POINTS"): TypedContractMethod<[], [bigint], "view">;
|
|
526
|
-
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
527
|
-
getFunction(nameOrSignature: "DISTRIBUTOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
528
|
-
getFunction(nameOrSignature: "EMERGENCY_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
529
|
-
getFunction(nameOrSignature: "FEE_MANAGER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
530
|
-
getFunction(nameOrSignature: "MAX_FEE_AMOUNT"): TypedContractMethod<[], [bigint], "view">;
|
|
531
|
-
getFunction(nameOrSignature: "TREASURY_UPDATE_DELAY"): TypedContractMethod<[], [bigint], "view">;
|
|
532
|
-
getFunction(nameOrSignature: "applyRepairFundUpdate"): TypedContractMethod<[], [void], "nonpayable">;
|
|
533
|
-
getFunction(nameOrSignature: "applyTreasuryUpdate"): TypedContractMethod<[], [void], "nonpayable">;
|
|
534
|
-
getFunction(nameOrSignature: "claimRewards"): TypedContractMethod<[user: AddressLike], [bigint], "nonpayable">;
|
|
535
|
-
getFunction(nameOrSignature: "collectFee"): TypedContractMethod<[
|
|
536
|
-
amount: BigNumberish,
|
|
537
|
-
feeType: BigNumberish
|
|
538
|
-
], [
|
|
539
|
-
boolean
|
|
540
|
-
], "nonpayable">;
|
|
541
|
-
getFunction(nameOrSignature: "collectedFees"): TypedContractMethod<[
|
|
542
|
-
], [
|
|
543
|
-
[
|
|
544
|
-
bigint,
|
|
545
|
-
bigint,
|
|
546
|
-
bigint,
|
|
547
|
-
bigint,
|
|
548
|
-
bigint,
|
|
549
|
-
bigint,
|
|
550
|
-
bigint,
|
|
551
|
-
bigint
|
|
552
|
-
] & {
|
|
553
|
-
protocolFees: bigint;
|
|
554
|
-
lendingFees: bigint;
|
|
555
|
-
performanceFees: bigint;
|
|
556
|
-
insuranceFees: bigint;
|
|
557
|
-
mintRedeemFees: bigint;
|
|
558
|
-
vaultFees: bigint;
|
|
559
|
-
swapTaxes: bigint;
|
|
560
|
-
nftRoyalties: bigint;
|
|
561
|
-
}
|
|
562
|
-
], "view">;
|
|
563
|
-
getFunction(nameOrSignature: "distributeCollectedFees"): TypedContractMethod<[], [void], "nonpayable">;
|
|
564
|
-
getFunction(nameOrSignature: "distributionPeriod"): TypedContractMethod<[
|
|
565
|
-
], [
|
|
566
|
-
[
|
|
567
|
-
bigint,
|
|
568
|
-
bigint,
|
|
569
|
-
bigint,
|
|
570
|
-
bigint,
|
|
571
|
-
bigint,
|
|
572
|
-
bigint,
|
|
573
|
-
bigint
|
|
574
|
-
] & {
|
|
575
|
-
startTime: bigint;
|
|
576
|
-
endTime: bigint;
|
|
577
|
-
lastUpdateTime: bigint;
|
|
578
|
-
value: bigint;
|
|
579
|
-
weightedSum: bigint;
|
|
580
|
-
totalDuration: bigint;
|
|
581
|
-
weight: bigint;
|
|
582
|
-
}
|
|
583
|
-
], "view">;
|
|
584
|
-
getFunction(nameOrSignature: "emergencyWithdraw"): TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
|
|
585
|
-
getFunction(nameOrSignature: "feeTypes"): TypedContractMethod<[
|
|
586
|
-
arg0: BigNumberish
|
|
587
|
-
], [
|
|
588
|
-
[
|
|
589
|
-
bigint,
|
|
590
|
-
bigint,
|
|
591
|
-
bigint,
|
|
592
|
-
bigint
|
|
593
|
-
] & {
|
|
594
|
-
veRAACShare: bigint;
|
|
595
|
-
burnShare: bigint;
|
|
596
|
-
repairShare: bigint;
|
|
597
|
-
treasuryShare: bigint;
|
|
598
|
-
}
|
|
599
|
-
], "view">;
|
|
600
|
-
getFunction(nameOrSignature: "getCollectedFees"): TypedContractMethod<[], [IFeeCollector.CollectedFeesStructOutput], "view">;
|
|
601
|
-
getFunction(nameOrSignature: "getFeeType"): TypedContractMethod<[
|
|
602
|
-
feeType: BigNumberish
|
|
603
|
-
], [
|
|
604
|
-
IFeeCollector.FeeTypeStructOutput
|
|
605
|
-
], "view">;
|
|
606
|
-
getFunction(nameOrSignature: "getPendingRewards"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
607
|
-
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
608
|
-
getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
|
|
609
|
-
role: BytesLike,
|
|
610
|
-
account: AddressLike
|
|
611
|
-
], [
|
|
612
|
-
void
|
|
613
|
-
], "nonpayable">;
|
|
614
|
-
getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
|
|
615
|
-
role: BytesLike,
|
|
616
|
-
account: AddressLike
|
|
617
|
-
], [
|
|
618
|
-
boolean
|
|
619
|
-
], "view">;
|
|
620
|
-
getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
621
|
-
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
622
|
-
getFunction(nameOrSignature: "pendingRepairFund"): TypedContractMethod<[
|
|
623
|
-
], [
|
|
624
|
-
[string, bigint] & {
|
|
625
|
-
newAddress: string;
|
|
626
|
-
effectiveTime: bigint;
|
|
627
|
-
}
|
|
628
|
-
], "view">;
|
|
629
|
-
getFunction(nameOrSignature: "pendingTreasury"): TypedContractMethod<[
|
|
630
|
-
], [
|
|
631
|
-
[string, bigint] & {
|
|
632
|
-
newAddress: string;
|
|
633
|
-
effectiveTime: bigint;
|
|
634
|
-
}
|
|
635
|
-
], "view">;
|
|
636
|
-
getFunction(nameOrSignature: "raacToken"): TypedContractMethod<[], [string], "view">;
|
|
637
|
-
getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
|
|
638
|
-
role: BytesLike,
|
|
639
|
-
callerConfirmation: AddressLike
|
|
640
|
-
], [
|
|
641
|
-
void
|
|
642
|
-
], "nonpayable">;
|
|
643
|
-
getFunction(nameOrSignature: "repairFund"): TypedContractMethod<[], [string], "view">;
|
|
644
|
-
getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
|
|
645
|
-
role: BytesLike,
|
|
646
|
-
account: AddressLike
|
|
647
|
-
], [
|
|
648
|
-
void
|
|
649
|
-
], "nonpayable">;
|
|
650
|
-
getFunction(nameOrSignature: "setRepairFund"): TypedContractMethod<[newRepairFund: AddressLike], [void], "nonpayable">;
|
|
651
|
-
getFunction(nameOrSignature: "setTreasury"): TypedContractMethod<[newTreasury: AddressLike], [void], "nonpayable">;
|
|
652
|
-
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
653
|
-
getFunction(nameOrSignature: "totalDistributed"): TypedContractMethod<[], [bigint], "view">;
|
|
654
|
-
getFunction(nameOrSignature: "treasury"): TypedContractMethod<[], [string], "view">;
|
|
655
|
-
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
656
|
-
getFunction(nameOrSignature: "updateFeeType"): TypedContractMethod<[
|
|
657
|
-
feeType: BigNumberish,
|
|
658
|
-
newFee: IFeeCollector.FeeTypeStruct
|
|
659
|
-
], [
|
|
660
|
-
void
|
|
661
|
-
], "nonpayable">;
|
|
662
|
-
getFunction(nameOrSignature: "userRewards"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
663
|
-
getFunction(nameOrSignature: "veRAACToken"): TypedContractMethod<[], [string], "view">;
|
|
664
|
-
getEvent(key: "DistributionParametersUpdated"): TypedContractEvent<DistributionParametersUpdatedEvent.InputTuple, DistributionParametersUpdatedEvent.OutputTuple, DistributionParametersUpdatedEvent.OutputObject>;
|
|
665
|
-
getEvent(key: "EmergencyWithdrawal"): TypedContractEvent<EmergencyWithdrawalEvent.InputTuple, EmergencyWithdrawalEvent.OutputTuple, EmergencyWithdrawalEvent.OutputObject>;
|
|
666
|
-
getEvent(key: "FeeCollected"): TypedContractEvent<FeeCollectedEvent.InputTuple, FeeCollectedEvent.OutputTuple, FeeCollectedEvent.OutputObject>;
|
|
667
|
-
getEvent(key: "FeeDistributed"): TypedContractEvent<FeeDistributedEvent.InputTuple, FeeDistributedEvent.OutputTuple, FeeDistributedEvent.OutputObject>;
|
|
668
|
-
getEvent(key: "FeeTypeUpdated"): TypedContractEvent<FeeTypeUpdatedEvent.InputTuple, FeeTypeUpdatedEvent.OutputTuple, FeeTypeUpdatedEvent.OutputObject>;
|
|
669
|
-
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
670
|
-
getEvent(key: "PeriodCreated"): TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
671
|
-
getEvent(key: "RepairFundUpdated"): TypedContractEvent<RepairFundUpdatedEvent.InputTuple, RepairFundUpdatedEvent.OutputTuple, RepairFundUpdatedEvent.OutputObject>;
|
|
672
|
-
getEvent(key: "RewardClaimed"): TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
|
|
673
|
-
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
674
|
-
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
675
|
-
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
676
|
-
getEvent(key: "TreasuryUpdated"): TypedContractEvent<TreasuryUpdatedEvent.InputTuple, TreasuryUpdatedEvent.OutputTuple, TreasuryUpdatedEvent.OutputObject>;
|
|
677
|
-
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
678
|
-
filters: {
|
|
679
|
-
"DistributionParametersUpdated(uint8,tuple)": TypedContractEvent<DistributionParametersUpdatedEvent.InputTuple, DistributionParametersUpdatedEvent.OutputTuple, DistributionParametersUpdatedEvent.OutputObject>;
|
|
680
|
-
DistributionParametersUpdated: TypedContractEvent<DistributionParametersUpdatedEvent.InputTuple, DistributionParametersUpdatedEvent.OutputTuple, DistributionParametersUpdatedEvent.OutputObject>;
|
|
681
|
-
"EmergencyWithdrawal(address,uint256)": TypedContractEvent<EmergencyWithdrawalEvent.InputTuple, EmergencyWithdrawalEvent.OutputTuple, EmergencyWithdrawalEvent.OutputObject>;
|
|
682
|
-
EmergencyWithdrawal: TypedContractEvent<EmergencyWithdrawalEvent.InputTuple, EmergencyWithdrawalEvent.OutputTuple, EmergencyWithdrawalEvent.OutputObject>;
|
|
683
|
-
"FeeCollected(uint8,uint256)": TypedContractEvent<FeeCollectedEvent.InputTuple, FeeCollectedEvent.OutputTuple, FeeCollectedEvent.OutputObject>;
|
|
684
|
-
FeeCollected: TypedContractEvent<FeeCollectedEvent.InputTuple, FeeCollectedEvent.OutputTuple, FeeCollectedEvent.OutputObject>;
|
|
685
|
-
"FeeDistributed(uint256,uint256,uint256,uint256)": TypedContractEvent<FeeDistributedEvent.InputTuple, FeeDistributedEvent.OutputTuple, FeeDistributedEvent.OutputObject>;
|
|
686
|
-
FeeDistributed: TypedContractEvent<FeeDistributedEvent.InputTuple, FeeDistributedEvent.OutputTuple, FeeDistributedEvent.OutputObject>;
|
|
687
|
-
"FeeTypeUpdated(uint8,tuple)": TypedContractEvent<FeeTypeUpdatedEvent.InputTuple, FeeTypeUpdatedEvent.OutputTuple, FeeTypeUpdatedEvent.OutputObject>;
|
|
688
|
-
FeeTypeUpdated: TypedContractEvent<FeeTypeUpdatedEvent.InputTuple, FeeTypeUpdatedEvent.OutputTuple, FeeTypeUpdatedEvent.OutputObject>;
|
|
689
|
-
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
690
|
-
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
691
|
-
"PeriodCreated(uint256,uint256,uint256)": TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
692
|
-
PeriodCreated: TypedContractEvent<PeriodCreatedEvent.InputTuple, PeriodCreatedEvent.OutputTuple, PeriodCreatedEvent.OutputObject>;
|
|
693
|
-
"RepairFundUpdated(address)": TypedContractEvent<RepairFundUpdatedEvent.InputTuple, RepairFundUpdatedEvent.OutputTuple, RepairFundUpdatedEvent.OutputObject>;
|
|
694
|
-
RepairFundUpdated: TypedContractEvent<RepairFundUpdatedEvent.InputTuple, RepairFundUpdatedEvent.OutputTuple, RepairFundUpdatedEvent.OutputObject>;
|
|
695
|
-
"RewardClaimed(address,uint256)": TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
|
|
696
|
-
RewardClaimed: TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
|
|
697
|
-
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
698
|
-
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
699
|
-
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
700
|
-
RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
701
|
-
"RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
702
|
-
RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
703
|
-
"TreasuryUpdated(address)": TypedContractEvent<TreasuryUpdatedEvent.InputTuple, TreasuryUpdatedEvent.OutputTuple, TreasuryUpdatedEvent.OutputObject>;
|
|
704
|
-
TreasuryUpdated: TypedContractEvent<TreasuryUpdatedEvent.InputTuple, TreasuryUpdatedEvent.OutputTuple, TreasuryUpdatedEvent.OutputObject>;
|
|
705
|
-
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
706
|
-
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
707
|
-
};
|
|
708
|
-
}
|