@raac/rpc 1.2.0-beta.10 → 1.2.0-beta.12
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 +2 -0
- package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.json +113 -20
- package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +259 -31
- package/dist/artifacts/core/governance/gauges/GaugeRewardsDistributor.sol/GaugeRewardsDistributor.json +159 -31
- package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +115 -22
- package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +115 -22
- package/dist/configs/chains/1.json +22 -25
- package/dist/configs/chains/11155111.json +76 -112
- package/dist/configs/chains/17000.json +22 -25
- package/dist/configs/chains/18453.json +22 -25
- package/dist/configs/chains/8453.json +61 -31
- package/dist/contracts/findContract.js +11 -4
- package/dist/contracts/getContractAddress.js +0 -1
- package/dist/contracts/governance/distributor/claimAll.js +18 -11
- package/dist/contracts/governance/distributor/claimForGauge.js +18 -12
- package/dist/contracts/governance/distributor/deposit.js +17 -12
- package/dist/contracts/governance/distributor/getClaimableForGauge.js +10 -9
- package/dist/contracts/governance/distributor/getClaimedAtEpoch.js +11 -10
- package/dist/contracts/governance/distributor/getDepositedAtEpoch.js +8 -8
- package/dist/contracts/governance/distributor/getDustLastProcessedEpoch.js +28 -0
- package/dist/contracts/governance/distributor/getGaugeController.js +7 -7
- package/dist/contracts/governance/distributor/getLastClaimedEpoch.js +10 -9
- package/dist/contracts/governance/distributor/getMaxClaimBound.js +29 -0
- package/dist/contracts/governance/distributor/getPeriodDuration.js +7 -7
- package/dist/contracts/governance/distributor/getRewardToken.js +7 -7
- package/dist/contracts/governance/distributor/getRewardTokenInfo.js +7 -7
- package/dist/contracts/governance/distributor/getRewardTokenStats.js +7 -7
- package/dist/contracts/governance/distributor/index.js +5 -2
- package/dist/contracts/governance/distributor/setController.js +17 -12
- package/dist/contracts/governance/distributor/setLastClaimedEpoch.js +32 -0
- package/dist/contracts/governance/distributor/setMaxClaimBound.js +31 -0
- package/dist/contracts/governance/distributor/withdrawDust.js +31 -0
- package/dist/contracts/governance/distributor/withdrawRemovedGaugeRewards.js +19 -13
- package/dist/contracts/governance/gauge/_apy.js +122 -0
- package/dist/contracts/governance/gauge/_tokens.js +36 -0
- package/dist/contracts/governance/gauge/addRewardToken.js +2 -12
- package/dist/contracts/governance/gauge/approveGaugeToken.js +31 -0
- package/dist/contracts/governance/gauge/claimExtraReward.js +2 -12
- package/dist/contracts/governance/gauge/claimExtraRewards.js +2 -12
- package/dist/contracts/governance/gauge/claimOnBehalfOf.js +2 -12
- package/dist/contracts/governance/gauge/claimRewardToken.js +3 -13
- package/dist/contracts/governance/gauge/claimRewardsFor.js +2 -12
- package/dist/contracts/governance/gauge/depositRewardToken.js +2 -12
- package/dist/contracts/governance/gauge/getAllPendingExtraRewards.js +2 -9
- package/dist/contracts/governance/gauge/getApy.js +44 -0
- package/dist/contracts/governance/gauge/getBalanceOf.js +2 -15
- package/dist/contracts/governance/gauge/getControllerAddress.js +2 -9
- package/dist/contracts/governance/gauge/getDecimalAdjustment.js +2 -9
- package/dist/contracts/governance/gauge/getDepositRAACOnClaim.js +2 -9
- package/dist/contracts/governance/gauge/getDistributorData.js +2 -9
- package/dist/contracts/governance/gauge/getDistributors.js +2 -9
- package/dist/contracts/governance/gauge/getEarnedExtraReward.js +30 -0
- package/dist/contracts/governance/gauge/getEarnedReward.js +8 -14
- package/dist/contracts/governance/gauge/getExtraRewardTokens.js +2 -9
- package/dist/contracts/governance/gauge/getGaugeData.js +39 -0
- package/dist/contracts/governance/gauge/getGaugeRewardTokenData.js +2 -9
- package/dist/contracts/governance/gauge/getPauseStatus.js +31 -0
- package/dist/contracts/governance/gauge/getPendingExtraRewards.js +2 -9
- package/dist/contracts/governance/gauge/getPendingRewards.js +8 -14
- package/dist/contracts/governance/gauge/getPeriodBoundaries.js +2 -15
- package/dist/contracts/governance/gauge/getPeriodDuration.js +2 -15
- package/dist/contracts/governance/gauge/getRaacAutolockMin.js +2 -9
- package/dist/contracts/governance/gauge/getRawBalanceOf.js +2 -15
- package/dist/contracts/governance/gauge/getRawTotalSupply.js +2 -15
- package/dist/contracts/governance/gauge/getRewardTokens.js +28 -0
- package/dist/contracts/governance/gauge/getTotalSupply.js +2 -15
- package/dist/contracts/governance/gauge/getUserApy.js +71 -0
- package/dist/contracts/governance/gauge/getUserClaimableRewards.js +21 -73
- package/dist/contracts/governance/gauge/getUserGaugeState.js +44 -0
- package/dist/contracts/governance/gauge/getUserRewardTokenData.js +2 -9
- package/dist/contracts/governance/gauge/getUserWeight.js +2 -9
- package/dist/contracts/governance/gauge/index.js +11 -1
- package/dist/contracts/governance/gauge/isPaused.js +4 -11
- package/dist/contracts/governance/gauge/manageDistributor.js +2 -12
- package/dist/contracts/governance/gauge/pullRewardsFromDistributor.js +30 -0
- package/dist/contracts/governance/gauge/setController.js +2 -12
- package/dist/contracts/governance/gauge/setDepositRAACOnClaim.js +2 -12
- package/dist/contracts/governance/gauge/setEmergencyPaused.js +2 -12
- package/dist/contracts/governance/gauge/setGaugeRewardDistributor.js +2 -12
- package/dist/contracts/governance/gauge/setRaacAutolockMin.js +2 -12
- package/dist/contracts/governance/gauge/stake.js +2 -18
- package/dist/contracts/governance/gauge/unwrapStakingToken.js +28 -0
- package/dist/contracts/governance/gauge/updateUserRewards.js +2 -18
- package/dist/contracts/governance/gauge/withdraw.js +2 -18
- package/dist/contracts/governance/gauge/wrapStakingToken.js +28 -0
- package/dist/contracts/governance/gaugeController/addGauge.js +19 -11
- package/dist/contracts/governance/gaugeController/batchVote.js +20 -12
- package/dist/contracts/governance/gaugeController/calculateBoost.js +20 -23
- package/dist/contracts/governance/gaugeController/forceCompleteCheckpoint.js +19 -11
- package/dist/contracts/governance/gaugeController/getActiveGaugeCount.js +28 -0
- package/dist/contracts/governance/gaugeController/getActiveGauges.js +10 -13
- package/dist/contracts/governance/gaugeController/getConstants.js +10 -18
- package/dist/contracts/governance/gaugeController/getCurrentEpoch.js +8 -7
- package/dist/contracts/governance/gaugeController/getExpiredGaugeVotePower.js +30 -0
- package/dist/contracts/governance/gaugeController/getGauge.js +11 -9
- package/dist/contracts/governance/gaugeController/getGaugeDistributor.js +28 -0
- package/dist/contracts/governance/gaugeController/getGaugeEmissions.js +15 -9
- package/dist/contracts/governance/gaugeController/getGaugeRelativeWeight.js +19 -15
- package/dist/contracts/governance/gaugeController/getGaugeRelativeWeightView.js +12 -10
- package/dist/contracts/governance/gaugeController/getGaugeWeight.js +10 -8
- package/dist/contracts/governance/gaugeController/getLastVoteTime.js +11 -9
- package/dist/contracts/governance/gaugeController/getMaxVoteBuckets.js +28 -0
- package/dist/contracts/governance/gaugeController/getNextEpoch.js +8 -7
- package/dist/contracts/governance/gaugeController/getRegisteredGaugeList.js +28 -0
- package/dist/contracts/governance/gaugeController/getTotalWeight.js +8 -7
- package/dist/contracts/governance/gaugeController/getUserGaugeVotePower.js +11 -9
- package/dist/contracts/governance/gaugeController/getUserVotePowerRemaining.js +10 -9
- package/dist/contracts/governance/gaugeController/getVeToken.js +8 -7
- package/dist/contracts/governance/gaugeController/getVoteUserLocks.js +32 -0
- package/dist/contracts/governance/gaugeController/getVoteUserPower.js +8 -7
- package/dist/contracts/governance/gaugeController/getVoteUserSlope.js +12 -10
- package/dist/contracts/governance/gaugeController/index.js +10 -1
- package/dist/contracts/governance/gaugeController/isGaugeActive.js +11 -9
- package/dist/contracts/governance/gaugeController/isPaused.js +9 -8
- package/dist/contracts/governance/gaugeController/kick.js +17 -10
- package/dist/contracts/governance/gaugeController/removeGauge.js +20 -11
- package/dist/contracts/governance/gaugeController/removePowerFromGauge.js +19 -11
- package/dist/contracts/governance/gaugeController/setBoostAmplificationEnabled.js +20 -12
- package/dist/contracts/governance/gaugeController/setDistributor.js +31 -0
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePause.js +20 -12
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.js +33 -0
- package/dist/contracts/governance/gaugeController/setEmergencyPause.js +18 -11
- package/dist/contracts/governance/gaugeController/setMaxVoteBuckets.js +31 -0
- package/dist/contracts/governance/gaugeController/vote.js +15 -16
- package/dist/contracts/governance/gaugeSystems/_helpers.js +123 -0
- package/dist/contracts/governance/gaugeSystems/findGauge.js +14 -0
- package/dist/contracts/governance/gaugeSystems/getGaugeSystem.js +14 -0
- package/dist/contracts/governance/gaugeSystems/getGaugeSystems.js +13 -0
- package/dist/contracts/governance/gaugeSystems/getGauges.js +15 -0
- package/dist/contracts/governance/gaugeSystems/index.js +21 -0
- package/dist/types/RPCLibrary.d.ts +2 -0
- package/dist/types/configs/chains/index.d.ts +36 -46
- package/dist/types/configs/index.d.ts +18 -23
- package/dist/types/contracts/governance/distributor/claimAll.d.ts +7 -5
- package/dist/types/contracts/governance/distributor/claimForGauge.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/deposit.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/getClaimableForGauge.d.ts +6 -4
- package/dist/types/contracts/governance/distributor/getClaimedAtEpoch.d.ts +7 -5
- package/dist/types/contracts/governance/distributor/getDepositedAtEpoch.d.ts +6 -4
- package/dist/types/contracts/governance/distributor/getDustLastProcessedEpoch.d.ts +12 -0
- package/dist/types/contracts/governance/distributor/getGaugeController.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getLastClaimedEpoch.d.ts +6 -4
- package/dist/types/contracts/governance/distributor/getMaxClaimBound.d.ts +15 -0
- package/dist/types/contracts/governance/distributor/getPeriodDuration.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardToken.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardTokenInfo.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardTokenStats.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/index.d.ts +5 -2
- package/dist/types/contracts/governance/distributor/setController.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/setLastClaimedEpoch.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/setMaxClaimBound.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/withdrawDust.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/withdrawRemovedGaugeRewards.d.ts +8 -7
- package/dist/types/contracts/governance/gauge/_apy.d.ts +61 -0
- package/dist/types/contracts/governance/gauge/_tokens.d.ts +14 -0
- package/dist/types/contracts/governance/gauge/approveGaugeToken.d.ts +14 -0
- package/dist/types/contracts/governance/gauge/claimRewardToken.d.ts +1 -1
- package/dist/types/contracts/governance/gauge/getApy.d.ts +41 -0
- package/dist/types/contracts/governance/gauge/getEarnedExtraReward.d.ts +13 -0
- package/dist/types/contracts/governance/gauge/getEarnedReward.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getGaugeData.d.ts +23 -0
- package/dist/types/contracts/governance/gauge/getPauseStatus.d.ts +19 -0
- package/dist/types/contracts/governance/gauge/getPendingRewards.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getRewardTokens.d.ts +11 -0
- package/dist/types/contracts/governance/gauge/getUserApy.d.ts +44 -0
- package/dist/types/contracts/governance/gauge/getUserClaimableRewards.d.ts +14 -12
- package/dist/types/contracts/governance/gauge/getUserGaugeState.d.ts +31 -0
- package/dist/types/contracts/governance/gauge/index.d.ts +11 -1
- package/dist/types/contracts/governance/gauge/isPaused.d.ts +1 -1
- package/dist/types/contracts/governance/gauge/pullRewardsFromDistributor.d.ts +11 -0
- package/dist/types/contracts/governance/gauge/unwrapStakingToken.d.ts +12 -0
- package/dist/types/contracts/governance/gauge/wrapStakingToken.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/addGauge.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/batchVote.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/calculateBoost.d.ts +10 -8
- package/dist/types/contracts/governance/gaugeController/forceCompleteCheckpoint.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/getActiveGaugeCount.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getActiveGauges.d.ts +7 -3
- package/dist/types/contracts/governance/gaugeController/getConstants.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getCurrentEpoch.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getExpiredGaugeVotePower.d.ts +16 -0
- package/dist/types/contracts/governance/gaugeController/getGauge.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getGaugeDistributor.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getGaugeEmissions.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeight.d.ts +8 -9
- package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeightView.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/getGaugeWeight.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getLastVoteTime.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getMaxVoteBuckets.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getNextEpoch.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getRegisteredGaugeList.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getTotalWeight.d.ts +5 -3
- package/dist/types/contracts/governance/gaugeController/getUserGaugeVotePower.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getUserVotePowerRemaining.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getVeToken.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getVoteUserLocks.d.ts +17 -0
- package/dist/types/contracts/governance/gaugeController/getVoteUserPower.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getVoteUserSlope.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/index.d.ts +10 -1
- package/dist/types/contracts/governance/gaugeController/isGaugeActive.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/isPaused.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/kick.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/removeGauge.d.ts +9 -5
- package/dist/types/contracts/governance/gaugeController/removePowerFromGauge.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/setBoostAmplificationEnabled.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/setDistributor.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePause.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.d.ts +14 -0
- package/dist/types/contracts/governance/gaugeController/setEmergencyPause.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/setMaxVoteBuckets.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/vote.d.ts +9 -7
- package/dist/types/contracts/governance/gaugeSystems/_helpers.d.ts +71 -0
- package/dist/types/contracts/governance/gaugeSystems/findGauge.d.ts +11 -0
- package/dist/types/contracts/governance/gaugeSystems/getGaugeSystem.d.ts +11 -0
- package/dist/types/contracts/governance/gaugeSystems/getGaugeSystems.d.ts +10 -0
- package/dist/types/contracts/governance/gaugeSystems/getGauges.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeSystems/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +260 -213
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +173 -212
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +111 -108
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +210 -34
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +112 -151
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +174 -95
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +243 -227
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +164 -232
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +185 -98
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +185 -98
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +104 -95
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +241 -22
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +72 -158
- package/dist/types/utils/artifacts.d.ts +40 -0
- package/dist/types/utils/contracts.d.ts +34 -44
- package/dist/utils/contracts.js +1 -1
- package/package.json +1 -1
- package/dist/contracts/governance/distributor/getStartEpoch.js +0 -28
- package/dist/contracts/governance/distributor/withdrawUnallocatedRewards.js +0 -26
- package/dist/contracts/governance/gauge/setDistributorApproval.js +0 -35
- package/dist/types/contracts/governance/distributor/getStartEpoch.d.ts +0 -10
- package/dist/types/contracts/governance/distributor/withdrawUnallocatedRewards.d.ts +0 -12
- package/dist/types/contracts/governance/gauge/setDistributorApproval.d.ts +0 -11
|
@@ -49,36 +49,36 @@ export declare namespace IBaseGauge {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
export interface RWAGaugeInterface extends Interface {
|
|
52
|
-
getFunction(nameOrSignature: "CLAIM_FOR_ROLE" | "CONTROLLER_ROLE" | "DEFAULT_ADMIN_ROLE" | "
|
|
53
|
-
getEvent(nameOrSignatureOrTopic: "DepositRAACOnClaimUpdated" | "DistributorApprovalUpdated" | "DistributorUpdated" | "EmergencyPauseUpdated" | "ExtraRewardClaimed" | "ExtraRewardDeposited" | "ExtraRewardTokenAdded" | "LeftoverRewardsIncluded" | "Paused" | "RewardTokenActivated" | "RewardTokenAdded" | "RewardTokenRegistered" | "RewardTransferred" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Staked" | "Unpaused" | "UserRewardsUpdated" | "Withdrawn" | "WorkingBalanceUpdated"): EventFragment;
|
|
52
|
+
getFunction(nameOrSignature: "CLAIM_FOR_ROLE" | "CONTROLLER_ROLE" | "DEFAULT_ADMIN_ROLE" | "DISTRIBUTOR_ROLE" | "GAUGE_ADMIN" | "MAX_EXTRA_REWARDS" | "MONTH" | "WEEK" | "addRewardToken" | "allPendingExtraRewards" | "balanceOf" | "claimExtraReward" | "claimExtraRewards" | "claimOnBehalfOf" | "claimRewardToken" | "claimRewardsFor" | "depositRAACOnClaim" | "depositRewardToken" | "earnedExtraReward" | "earnedReward" | "extraRewardTokenData" | "gaugeController" | "gaugeData" | "getControllerAddress" | "getDecimalAdjustment" | "getDistributorData" | "getDistributors" | "getExtraRewardTokens" | "getGaugeRewardTokenData" | "getPeriodBoundaries" | "getRewardTokens" | "getRoleAdmin" | "getUserRewardTokenData" | "getUserWeight" | "grantRole" | "hasRole" | "isPaused" | "manageDistributor" | "paused" | "pendingExtraRewards" | "pendingRewards" | "periodDuration" | "pullRewardsFromDistributor" | "raacAutolockMin" | "raacLiquidLocker" | "raacToken" | "rawBalanceOf" | "rawTotalSupply" | "renounceRole" | "revokeRole" | "setController" | "setDepositRAACOnClaim" | "setEmergencyPaused" | "setGaugeRewardDistributor" | "setRaacAutolockMin" | "stake" | "supportsInterface" | "totalSupply" | "updateUserRewards" | "userGaugeData" | "withdraw"): FunctionFragment;
|
|
53
|
+
getEvent(nameOrSignatureOrTopic: "ControllerUpdated" | "DepositRAACOnClaimUpdated" | "DistributorApprovalUpdated" | "DistributorUpdated" | "EmergencyPauseUpdated" | "ExtraRewardClaimed" | "ExtraRewardDeposited" | "ExtraRewardTokenAdded" | "GaugeRewardDistributorUpdated" | "LeftoverRewardsIncluded" | "Paused" | "RaacAutolockMinUpdated" | "RewardTokenActivated" | "RewardTokenAdded" | "RewardTokenRegistered" | "RewardTransferred" | "RewardsPulledFromDistributor" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Staked" | "Unpaused" | "UserRewardsUpdated" | "Withdrawn" | "WorkingBalanceUpdated"): EventFragment;
|
|
54
54
|
encodeFunctionData(functionFragment: "CLAIM_FOR_ROLE", values?: undefined): string;
|
|
55
55
|
encodeFunctionData(functionFragment: "CONTROLLER_ROLE", values?: undefined): string;
|
|
56
56
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "
|
|
57
|
+
encodeFunctionData(functionFragment: "DISTRIBUTOR_ROLE", values?: undefined): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "GAUGE_ADMIN", values?: undefined): string;
|
|
58
59
|
encodeFunctionData(functionFragment: "MAX_EXTRA_REWARDS", values?: undefined): string;
|
|
59
60
|
encodeFunctionData(functionFragment: "MONTH", values?: undefined): string;
|
|
60
61
|
encodeFunctionData(functionFragment: "WEEK", values?: undefined): string;
|
|
61
|
-
encodeFunctionData(functionFragment: "addRewardToken", values: [AddressLike
|
|
62
|
-
encodeFunctionData(functionFragment: "allEarnedRewards", values: [AddressLike]): string;
|
|
62
|
+
encodeFunctionData(functionFragment: "addRewardToken", values: [AddressLike]): string;
|
|
63
63
|
encodeFunctionData(functionFragment: "allPendingExtraRewards", values: [AddressLike]): string;
|
|
64
|
-
encodeFunctionData(functionFragment: "allPendingRewards", values: [AddressLike]): string;
|
|
65
64
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
66
65
|
encodeFunctionData(functionFragment: "claimExtraReward", values: [AddressLike]): string;
|
|
67
66
|
encodeFunctionData(functionFragment: "claimExtraRewards", values?: undefined): string;
|
|
68
67
|
encodeFunctionData(functionFragment: "claimOnBehalfOf", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
69
|
-
encodeFunctionData(functionFragment: "claimRewardToken", values
|
|
70
|
-
encodeFunctionData(functionFragment: "claimRewards", values?: undefined): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "claimRewardToken", values?: undefined): string;
|
|
71
69
|
encodeFunctionData(functionFragment: "claimRewardsFor", values: [AddressLike]): string;
|
|
72
70
|
encodeFunctionData(functionFragment: "depositRAACOnClaim", values?: undefined): string;
|
|
73
71
|
encodeFunctionData(functionFragment: "depositRewardToken", values: [AddressLike, BigNumberish]): string;
|
|
72
|
+
encodeFunctionData(functionFragment: "earnedExtraReward", values: [AddressLike, AddressLike]): string;
|
|
74
73
|
encodeFunctionData(functionFragment: "earnedReward", values: [AddressLike, AddressLike]): string;
|
|
75
|
-
encodeFunctionData(functionFragment: "emergencyWithdraw", values: [AddressLike, BigNumberish]): string;
|
|
76
74
|
encodeFunctionData(functionFragment: "extraRewardTokenData", values: [AddressLike]): string;
|
|
77
75
|
encodeFunctionData(functionFragment: "gaugeController", values?: undefined): string;
|
|
78
76
|
encodeFunctionData(functionFragment: "gaugeData", values?: undefined): string;
|
|
79
77
|
encodeFunctionData(functionFragment: "getControllerAddress", values?: undefined): string;
|
|
80
78
|
encodeFunctionData(functionFragment: "getDecimalAdjustment", values: [AddressLike]): string;
|
|
79
|
+
encodeFunctionData(functionFragment: "getDistributorData", values: [AddressLike]): string;
|
|
81
80
|
encodeFunctionData(functionFragment: "getDistributors", values?: undefined): string;
|
|
81
|
+
encodeFunctionData(functionFragment: "getExtraRewardTokens", values?: undefined): string;
|
|
82
82
|
encodeFunctionData(functionFragment: "getGaugeRewardTokenData", values: [AddressLike]): string;
|
|
83
83
|
encodeFunctionData(functionFragment: "getPeriodBoundaries", values?: undefined): string;
|
|
84
84
|
encodeFunctionData(functionFragment: "getRewardTokens", values?: undefined): string;
|
|
@@ -87,56 +87,59 @@ export interface RWAGaugeInterface extends Interface {
|
|
|
87
87
|
encodeFunctionData(functionFragment: "getUserWeight", values: [AddressLike]): string;
|
|
88
88
|
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
89
89
|
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
90
|
-
encodeFunctionData(functionFragment: "
|
|
90
|
+
encodeFunctionData(functionFragment: "isPaused", values?: undefined): string;
|
|
91
91
|
encodeFunctionData(functionFragment: "manageDistributor", values: [AddressLike, boolean]): string;
|
|
92
92
|
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
93
93
|
encodeFunctionData(functionFragment: "pendingExtraRewards", values: [AddressLike, AddressLike]): string;
|
|
94
94
|
encodeFunctionData(functionFragment: "pendingRewards", values: [AddressLike, AddressLike]): string;
|
|
95
95
|
encodeFunctionData(functionFragment: "periodDuration", values?: undefined): string;
|
|
96
|
+
encodeFunctionData(functionFragment: "pullRewardsFromDistributor", values?: undefined): string;
|
|
97
|
+
encodeFunctionData(functionFragment: "raacAutolockMin", values?: undefined): string;
|
|
96
98
|
encodeFunctionData(functionFragment: "raacLiquidLocker", values?: undefined): string;
|
|
97
99
|
encodeFunctionData(functionFragment: "raacToken", values?: undefined): string;
|
|
98
100
|
encodeFunctionData(functionFragment: "rawBalanceOf", values: [AddressLike]): string;
|
|
99
101
|
encodeFunctionData(functionFragment: "rawTotalSupply", values?: undefined): string;
|
|
100
102
|
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
101
103
|
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
104
|
+
encodeFunctionData(functionFragment: "setController", values: [AddressLike]): string;
|
|
102
105
|
encodeFunctionData(functionFragment: "setDepositRAACOnClaim", values: [boolean]): string;
|
|
103
|
-
encodeFunctionData(functionFragment: "setDistributorApproval", values: [AddressLike, boolean]): string;
|
|
104
106
|
encodeFunctionData(functionFragment: "setEmergencyPaused", values: [boolean]): string;
|
|
107
|
+
encodeFunctionData(functionFragment: "setGaugeRewardDistributor", values: [AddressLike]): string;
|
|
108
|
+
encodeFunctionData(functionFragment: "setRaacAutolockMin", values: [BigNumberish]): string;
|
|
105
109
|
encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
|
|
106
110
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
107
|
-
encodeFunctionData(functionFragment: "syncRewardTokens", values?: undefined): string;
|
|
108
111
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
109
|
-
encodeFunctionData(functionFragment: "updateUserRewards", values
|
|
112
|
+
encodeFunctionData(functionFragment: "updateUserRewards", values: [AddressLike]): string;
|
|
110
113
|
encodeFunctionData(functionFragment: "userGaugeData", values: [AddressLike]): string;
|
|
111
114
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
112
115
|
decodeFunctionResult(functionFragment: "CLAIM_FOR_ROLE", data: BytesLike): Result;
|
|
113
116
|
decodeFunctionResult(functionFragment: "CONTROLLER_ROLE", data: BytesLike): Result;
|
|
114
117
|
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
115
|
-
decodeFunctionResult(functionFragment: "
|
|
118
|
+
decodeFunctionResult(functionFragment: "DISTRIBUTOR_ROLE", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(functionFragment: "GAUGE_ADMIN", data: BytesLike): Result;
|
|
116
120
|
decodeFunctionResult(functionFragment: "MAX_EXTRA_REWARDS", data: BytesLike): Result;
|
|
117
121
|
decodeFunctionResult(functionFragment: "MONTH", data: BytesLike): Result;
|
|
118
122
|
decodeFunctionResult(functionFragment: "WEEK", data: BytesLike): Result;
|
|
119
123
|
decodeFunctionResult(functionFragment: "addRewardToken", data: BytesLike): Result;
|
|
120
|
-
decodeFunctionResult(functionFragment: "allEarnedRewards", data: BytesLike): Result;
|
|
121
124
|
decodeFunctionResult(functionFragment: "allPendingExtraRewards", data: BytesLike): Result;
|
|
122
|
-
decodeFunctionResult(functionFragment: "allPendingRewards", data: BytesLike): Result;
|
|
123
125
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
124
126
|
decodeFunctionResult(functionFragment: "claimExtraReward", data: BytesLike): Result;
|
|
125
127
|
decodeFunctionResult(functionFragment: "claimExtraRewards", data: BytesLike): Result;
|
|
126
128
|
decodeFunctionResult(functionFragment: "claimOnBehalfOf", data: BytesLike): Result;
|
|
127
129
|
decodeFunctionResult(functionFragment: "claimRewardToken", data: BytesLike): Result;
|
|
128
|
-
decodeFunctionResult(functionFragment: "claimRewards", data: BytesLike): Result;
|
|
129
130
|
decodeFunctionResult(functionFragment: "claimRewardsFor", data: BytesLike): Result;
|
|
130
131
|
decodeFunctionResult(functionFragment: "depositRAACOnClaim", data: BytesLike): Result;
|
|
131
132
|
decodeFunctionResult(functionFragment: "depositRewardToken", data: BytesLike): Result;
|
|
133
|
+
decodeFunctionResult(functionFragment: "earnedExtraReward", data: BytesLike): Result;
|
|
132
134
|
decodeFunctionResult(functionFragment: "earnedReward", data: BytesLike): Result;
|
|
133
|
-
decodeFunctionResult(functionFragment: "emergencyWithdraw", data: BytesLike): Result;
|
|
134
135
|
decodeFunctionResult(functionFragment: "extraRewardTokenData", data: BytesLike): Result;
|
|
135
136
|
decodeFunctionResult(functionFragment: "gaugeController", data: BytesLike): Result;
|
|
136
137
|
decodeFunctionResult(functionFragment: "gaugeData", data: BytesLike): Result;
|
|
137
138
|
decodeFunctionResult(functionFragment: "getControllerAddress", data: BytesLike): Result;
|
|
138
139
|
decodeFunctionResult(functionFragment: "getDecimalAdjustment", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "getDistributorData", data: BytesLike): Result;
|
|
139
141
|
decodeFunctionResult(functionFragment: "getDistributors", data: BytesLike): Result;
|
|
142
|
+
decodeFunctionResult(functionFragment: "getExtraRewardTokens", data: BytesLike): Result;
|
|
140
143
|
decodeFunctionResult(functionFragment: "getGaugeRewardTokenData", data: BytesLike): Result;
|
|
141
144
|
decodeFunctionResult(functionFragment: "getPeriodBoundaries", data: BytesLike): Result;
|
|
142
145
|
decodeFunctionResult(functionFragment: "getRewardTokens", data: BytesLike): Result;
|
|
@@ -145,29 +148,47 @@ export interface RWAGaugeInterface extends Interface {
|
|
|
145
148
|
decodeFunctionResult(functionFragment: "getUserWeight", data: BytesLike): Result;
|
|
146
149
|
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
147
150
|
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
148
|
-
decodeFunctionResult(functionFragment: "
|
|
151
|
+
decodeFunctionResult(functionFragment: "isPaused", data: BytesLike): Result;
|
|
149
152
|
decodeFunctionResult(functionFragment: "manageDistributor", data: BytesLike): Result;
|
|
150
153
|
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
151
154
|
decodeFunctionResult(functionFragment: "pendingExtraRewards", data: BytesLike): Result;
|
|
152
155
|
decodeFunctionResult(functionFragment: "pendingRewards", data: BytesLike): Result;
|
|
153
156
|
decodeFunctionResult(functionFragment: "periodDuration", data: BytesLike): Result;
|
|
157
|
+
decodeFunctionResult(functionFragment: "pullRewardsFromDistributor", data: BytesLike): Result;
|
|
158
|
+
decodeFunctionResult(functionFragment: "raacAutolockMin", data: BytesLike): Result;
|
|
154
159
|
decodeFunctionResult(functionFragment: "raacLiquidLocker", data: BytesLike): Result;
|
|
155
160
|
decodeFunctionResult(functionFragment: "raacToken", data: BytesLike): Result;
|
|
156
161
|
decodeFunctionResult(functionFragment: "rawBalanceOf", data: BytesLike): Result;
|
|
157
162
|
decodeFunctionResult(functionFragment: "rawTotalSupply", data: BytesLike): Result;
|
|
158
163
|
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
159
164
|
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
165
|
+
decodeFunctionResult(functionFragment: "setController", data: BytesLike): Result;
|
|
160
166
|
decodeFunctionResult(functionFragment: "setDepositRAACOnClaim", data: BytesLike): Result;
|
|
161
|
-
decodeFunctionResult(functionFragment: "setDistributorApproval", data: BytesLike): Result;
|
|
162
167
|
decodeFunctionResult(functionFragment: "setEmergencyPaused", data: BytesLike): Result;
|
|
168
|
+
decodeFunctionResult(functionFragment: "setGaugeRewardDistributor", data: BytesLike): Result;
|
|
169
|
+
decodeFunctionResult(functionFragment: "setRaacAutolockMin", data: BytesLike): Result;
|
|
163
170
|
decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
|
|
164
171
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
165
|
-
decodeFunctionResult(functionFragment: "syncRewardTokens", data: BytesLike): Result;
|
|
166
172
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
167
173
|
decodeFunctionResult(functionFragment: "updateUserRewards", data: BytesLike): Result;
|
|
168
174
|
decodeFunctionResult(functionFragment: "userGaugeData", data: BytesLike): Result;
|
|
169
175
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
170
176
|
}
|
|
177
|
+
export declare namespace ControllerUpdatedEvent {
|
|
178
|
+
type InputTuple = [
|
|
179
|
+
oldController: AddressLike,
|
|
180
|
+
newController: AddressLike
|
|
181
|
+
];
|
|
182
|
+
type OutputTuple = [oldController: string, newController: string];
|
|
183
|
+
interface OutputObject {
|
|
184
|
+
oldController: string;
|
|
185
|
+
newController: string;
|
|
186
|
+
}
|
|
187
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
188
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
189
|
+
type Log = TypedEventLog<Event>;
|
|
190
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
191
|
+
}
|
|
171
192
|
export declare namespace DepositRAACOnClaimUpdatedEvent {
|
|
172
193
|
type InputTuple = [depositRAACOnClaim: boolean];
|
|
173
194
|
type OutputTuple = [depositRAACOnClaim: boolean];
|
|
@@ -247,11 +268,21 @@ export declare namespace ExtraRewardDepositedEvent {
|
|
|
247
268
|
type LogDescription = TypedLogDescription<Event>;
|
|
248
269
|
}
|
|
249
270
|
export declare namespace ExtraRewardTokenAddedEvent {
|
|
250
|
-
type InputTuple = [token: AddressLike
|
|
251
|
-
type OutputTuple = [token: string
|
|
271
|
+
type InputTuple = [token: AddressLike];
|
|
272
|
+
type OutputTuple = [token: string];
|
|
252
273
|
interface OutputObject {
|
|
253
274
|
token: string;
|
|
254
|
-
|
|
275
|
+
}
|
|
276
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
277
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
278
|
+
type Log = TypedEventLog<Event>;
|
|
279
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
280
|
+
}
|
|
281
|
+
export declare namespace GaugeRewardDistributorUpdatedEvent {
|
|
282
|
+
type InputTuple = [rewardDistributor: AddressLike];
|
|
283
|
+
type OutputTuple = [rewardDistributor: string];
|
|
284
|
+
interface OutputObject {
|
|
285
|
+
rewardDistributor: string;
|
|
255
286
|
}
|
|
256
287
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
257
288
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -290,6 +321,17 @@ export declare namespace PausedEvent {
|
|
|
290
321
|
type Log = TypedEventLog<Event>;
|
|
291
322
|
type LogDescription = TypedLogDescription<Event>;
|
|
292
323
|
}
|
|
324
|
+
export declare namespace RaacAutolockMinUpdatedEvent {
|
|
325
|
+
type InputTuple = [newRaacAutolockMin: BigNumberish];
|
|
326
|
+
type OutputTuple = [newRaacAutolockMin: bigint];
|
|
327
|
+
interface OutputObject {
|
|
328
|
+
newRaacAutolockMin: bigint;
|
|
329
|
+
}
|
|
330
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
331
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
332
|
+
type Log = TypedEventLog<Event>;
|
|
333
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
334
|
+
}
|
|
293
335
|
export declare namespace RewardTokenActivatedEvent {
|
|
294
336
|
type InputTuple = [token: AddressLike];
|
|
295
337
|
type OutputTuple = [token: string];
|
|
@@ -325,14 +367,14 @@ export declare namespace RewardTokenRegisteredEvent {
|
|
|
325
367
|
}
|
|
326
368
|
export declare namespace RewardTransferredEvent {
|
|
327
369
|
type InputTuple = [
|
|
328
|
-
user: AddressLike,
|
|
329
370
|
token: AddressLike,
|
|
371
|
+
user: AddressLike,
|
|
330
372
|
amount: BigNumberish
|
|
331
373
|
];
|
|
332
|
-
type OutputTuple = [
|
|
374
|
+
type OutputTuple = [token: string, user: string, amount: bigint];
|
|
333
375
|
interface OutputObject {
|
|
334
|
-
user: string;
|
|
335
376
|
token: string;
|
|
377
|
+
user: string;
|
|
336
378
|
amount: bigint;
|
|
337
379
|
}
|
|
338
380
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -340,6 +382,21 @@ export declare namespace RewardTransferredEvent {
|
|
|
340
382
|
type Log = TypedEventLog<Event>;
|
|
341
383
|
type LogDescription = TypedLogDescription<Event>;
|
|
342
384
|
}
|
|
385
|
+
export declare namespace RewardsPulledFromDistributorEvent {
|
|
386
|
+
type InputTuple = [
|
|
387
|
+
distributor: AddressLike,
|
|
388
|
+
transferred: BigNumberish
|
|
389
|
+
];
|
|
390
|
+
type OutputTuple = [distributor: string, transferred: bigint];
|
|
391
|
+
interface OutputObject {
|
|
392
|
+
distributor: string;
|
|
393
|
+
transferred: bigint;
|
|
394
|
+
}
|
|
395
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
396
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
397
|
+
type Log = TypedEventLog<Event>;
|
|
398
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
399
|
+
}
|
|
343
400
|
export declare namespace RoleAdminChangedEvent {
|
|
344
401
|
type InputTuple = [
|
|
345
402
|
role: BytesLike,
|
|
@@ -470,21 +527,16 @@ export interface RWAGauge extends BaseContract {
|
|
|
470
527
|
CLAIM_FOR_ROLE: TypedContractMethod<[], [string], "view">;
|
|
471
528
|
CONTROLLER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
472
529
|
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
473
|
-
|
|
530
|
+
DISTRIBUTOR_ROLE: TypedContractMethod<[], [string], "view">;
|
|
531
|
+
GAUGE_ADMIN: TypedContractMethod<[], [string], "view">;
|
|
474
532
|
MAX_EXTRA_REWARDS: TypedContractMethod<[], [bigint], "view">;
|
|
475
533
|
MONTH: TypedContractMethod<[], [bigint], "view">;
|
|
476
534
|
WEEK: TypedContractMethod<[], [bigint], "view">;
|
|
477
535
|
addRewardToken: TypedContractMethod<[
|
|
478
|
-
token: AddressLike
|
|
479
|
-
distributor: AddressLike
|
|
536
|
+
token: AddressLike
|
|
480
537
|
], [
|
|
481
538
|
void
|
|
482
539
|
], "nonpayable">;
|
|
483
|
-
allEarnedRewards: TypedContractMethod<[
|
|
484
|
-
account: AddressLike
|
|
485
|
-
], [
|
|
486
|
-
[string[], bigint[]]
|
|
487
|
-
], "view">;
|
|
488
540
|
allPendingExtraRewards: TypedContractMethod<[
|
|
489
541
|
user: AddressLike
|
|
490
542
|
], [
|
|
@@ -493,11 +545,6 @@ export interface RWAGauge extends BaseContract {
|
|
|
493
545
|
amounts: bigint[];
|
|
494
546
|
}
|
|
495
547
|
], "view">;
|
|
496
|
-
allPendingRewards: TypedContractMethod<[
|
|
497
|
-
account: AddressLike
|
|
498
|
-
], [
|
|
499
|
-
[string[], bigint[]]
|
|
500
|
-
], "view">;
|
|
501
548
|
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
502
549
|
claimExtraReward: TypedContractMethod<[
|
|
503
550
|
token: AddressLike
|
|
@@ -512,12 +559,7 @@ export interface RWAGauge extends BaseContract {
|
|
|
512
559
|
], [
|
|
513
560
|
bigint
|
|
514
561
|
], "nonpayable">;
|
|
515
|
-
claimRewardToken: TypedContractMethod<[
|
|
516
|
-
token: AddressLike
|
|
517
|
-
], [
|
|
518
|
-
bigint
|
|
519
|
-
], "nonpayable">;
|
|
520
|
-
claimRewards: TypedContractMethod<[], [void], "nonpayable">;
|
|
562
|
+
claimRewardToken: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
521
563
|
claimRewardsFor: TypedContractMethod<[
|
|
522
564
|
user: AddressLike
|
|
523
565
|
], [
|
|
@@ -530,18 +572,18 @@ export interface RWAGauge extends BaseContract {
|
|
|
530
572
|
], [
|
|
531
573
|
void
|
|
532
574
|
], "nonpayable">;
|
|
533
|
-
|
|
575
|
+
earnedExtraReward: TypedContractMethod<[
|
|
534
576
|
token: AddressLike,
|
|
535
577
|
user: AddressLike
|
|
536
578
|
], [
|
|
537
579
|
bigint
|
|
538
580
|
], "view">;
|
|
539
|
-
|
|
581
|
+
earnedReward: TypedContractMethod<[
|
|
540
582
|
token: AddressLike,
|
|
541
|
-
|
|
583
|
+
user: AddressLike
|
|
542
584
|
], [
|
|
543
|
-
|
|
544
|
-
], "
|
|
585
|
+
bigint
|
|
586
|
+
], "view">;
|
|
545
587
|
extraRewardTokenData: TypedContractMethod<[
|
|
546
588
|
arg0: AddressLike
|
|
547
589
|
], [
|
|
@@ -549,7 +591,6 @@ export interface RWAGauge extends BaseContract {
|
|
|
549
591
|
boolean,
|
|
550
592
|
bigint,
|
|
551
593
|
bigint,
|
|
552
|
-
string,
|
|
553
594
|
bigint,
|
|
554
595
|
bigint,
|
|
555
596
|
bigint,
|
|
@@ -558,7 +599,6 @@ export interface RWAGauge extends BaseContract {
|
|
|
558
599
|
isActive: boolean;
|
|
559
600
|
decimals: bigint;
|
|
560
601
|
rate: bigint;
|
|
561
|
-
distributor: string;
|
|
562
602
|
periodFinish: bigint;
|
|
563
603
|
lastUpdate: bigint;
|
|
564
604
|
integral: bigint;
|
|
@@ -575,6 +615,8 @@ export interface RWAGauge extends BaseContract {
|
|
|
575
615
|
string,
|
|
576
616
|
bigint,
|
|
577
617
|
bigint,
|
|
618
|
+
string,
|
|
619
|
+
string,
|
|
578
620
|
bigint
|
|
579
621
|
] & {
|
|
580
622
|
gaugeInitialStartTime: bigint;
|
|
@@ -583,6 +625,8 @@ export interface RWAGauge extends BaseContract {
|
|
|
583
625
|
stakingToken: string;
|
|
584
626
|
totalSupply: bigint;
|
|
585
627
|
workingSupply: bigint;
|
|
628
|
+
rewardDistributor: string;
|
|
629
|
+
rewardToken: string;
|
|
586
630
|
lastUpdateTime: bigint;
|
|
587
631
|
}
|
|
588
632
|
], "view">;
|
|
@@ -592,7 +636,16 @@ export interface RWAGauge extends BaseContract {
|
|
|
592
636
|
], [
|
|
593
637
|
bigint
|
|
594
638
|
], "view">;
|
|
639
|
+
getDistributorData: TypedContractMethod<[
|
|
640
|
+
distributor: AddressLike
|
|
641
|
+
], [
|
|
642
|
+
[string, boolean] & {
|
|
643
|
+
distro: string;
|
|
644
|
+
approved: boolean;
|
|
645
|
+
}
|
|
646
|
+
], "view">;
|
|
595
647
|
getDistributors: TypedContractMethod<[], [string[]], "view">;
|
|
648
|
+
getExtraRewardTokens: TypedContractMethod<[], [string[]], "view">;
|
|
596
649
|
getGaugeRewardTokenData: TypedContractMethod<[
|
|
597
650
|
token: AddressLike
|
|
598
651
|
], [
|
|
@@ -626,12 +679,7 @@ export interface RWAGauge extends BaseContract {
|
|
|
626
679
|
], [
|
|
627
680
|
boolean
|
|
628
681
|
], "view">;
|
|
629
|
-
|
|
630
|
-
token: AddressLike,
|
|
631
|
-
distributor: AddressLike
|
|
632
|
-
], [
|
|
633
|
-
void
|
|
634
|
-
], "nonpayable">;
|
|
682
|
+
isPaused: TypedContractMethod<[], [boolean], "view">;
|
|
635
683
|
manageDistributor: TypedContractMethod<[
|
|
636
684
|
distributor: AddressLike,
|
|
637
685
|
shouldAddDistributor: boolean
|
|
@@ -652,6 +700,8 @@ export interface RWAGauge extends BaseContract {
|
|
|
652
700
|
bigint
|
|
653
701
|
], "view">;
|
|
654
702
|
periodDuration: TypedContractMethod<[], [bigint], "view">;
|
|
703
|
+
pullRewardsFromDistributor: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
704
|
+
raacAutolockMin: TypedContractMethod<[], [bigint], "view">;
|
|
655
705
|
raacLiquidLocker: TypedContractMethod<[], [string], "view">;
|
|
656
706
|
raacToken: TypedContractMethod<[], [string], "view">;
|
|
657
707
|
rawBalanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
@@ -668,14 +718,13 @@ export interface RWAGauge extends BaseContract {
|
|
|
668
718
|
], [
|
|
669
719
|
void
|
|
670
720
|
], "nonpayable">;
|
|
671
|
-
|
|
672
|
-
|
|
721
|
+
setController: TypedContractMethod<[
|
|
722
|
+
_controller: AddressLike
|
|
673
723
|
], [
|
|
674
724
|
void
|
|
675
725
|
], "nonpayable">;
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
isApproved: boolean
|
|
726
|
+
setDepositRAACOnClaim: TypedContractMethod<[
|
|
727
|
+
newDepositRAACOnClaim: boolean
|
|
679
728
|
], [
|
|
680
729
|
void
|
|
681
730
|
], "nonpayable">;
|
|
@@ -684,15 +733,28 @@ export interface RWAGauge extends BaseContract {
|
|
|
684
733
|
], [
|
|
685
734
|
void
|
|
686
735
|
], "nonpayable">;
|
|
736
|
+
setGaugeRewardDistributor: TypedContractMethod<[
|
|
737
|
+
rewardDistributor: AddressLike
|
|
738
|
+
], [
|
|
739
|
+
void
|
|
740
|
+
], "nonpayable">;
|
|
741
|
+
setRaacAutolockMin: TypedContractMethod<[
|
|
742
|
+
newRaacAutolockMin: BigNumberish
|
|
743
|
+
], [
|
|
744
|
+
void
|
|
745
|
+
], "nonpayable">;
|
|
687
746
|
stake: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
688
747
|
supportsInterface: TypedContractMethod<[
|
|
689
748
|
interfaceId: BytesLike
|
|
690
749
|
], [
|
|
691
750
|
boolean
|
|
692
751
|
], "view">;
|
|
693
|
-
syncRewardTokens: TypedContractMethod<[], [void], "nonpayable">;
|
|
694
752
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
695
|
-
updateUserRewards: TypedContractMethod<[
|
|
753
|
+
updateUserRewards: TypedContractMethod<[
|
|
754
|
+
user: AddressLike
|
|
755
|
+
], [
|
|
756
|
+
void
|
|
757
|
+
], "nonpayable">;
|
|
696
758
|
userGaugeData: TypedContractMethod<[
|
|
697
759
|
arg0: AddressLike
|
|
698
760
|
], [
|
|
@@ -711,21 +773,12 @@ export interface RWAGauge extends BaseContract {
|
|
|
711
773
|
getFunction(nameOrSignature: "CLAIM_FOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
712
774
|
getFunction(nameOrSignature: "CONTROLLER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
713
775
|
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
714
|
-
getFunction(nameOrSignature: "
|
|
776
|
+
getFunction(nameOrSignature: "DISTRIBUTOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
777
|
+
getFunction(nameOrSignature: "GAUGE_ADMIN"): TypedContractMethod<[], [string], "view">;
|
|
715
778
|
getFunction(nameOrSignature: "MAX_EXTRA_REWARDS"): TypedContractMethod<[], [bigint], "view">;
|
|
716
779
|
getFunction(nameOrSignature: "MONTH"): TypedContractMethod<[], [bigint], "view">;
|
|
717
780
|
getFunction(nameOrSignature: "WEEK"): TypedContractMethod<[], [bigint], "view">;
|
|
718
|
-
getFunction(nameOrSignature: "addRewardToken"): TypedContractMethod<[
|
|
719
|
-
token: AddressLike,
|
|
720
|
-
distributor: AddressLike
|
|
721
|
-
], [
|
|
722
|
-
void
|
|
723
|
-
], "nonpayable">;
|
|
724
|
-
getFunction(nameOrSignature: "allEarnedRewards"): TypedContractMethod<[
|
|
725
|
-
account: AddressLike
|
|
726
|
-
], [
|
|
727
|
-
[string[], bigint[]]
|
|
728
|
-
], "view">;
|
|
781
|
+
getFunction(nameOrSignature: "addRewardToken"): TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
|
|
729
782
|
getFunction(nameOrSignature: "allPendingExtraRewards"): TypedContractMethod<[
|
|
730
783
|
user: AddressLike
|
|
731
784
|
], [
|
|
@@ -734,11 +787,6 @@ export interface RWAGauge extends BaseContract {
|
|
|
734
787
|
amounts: bigint[];
|
|
735
788
|
}
|
|
736
789
|
], "view">;
|
|
737
|
-
getFunction(nameOrSignature: "allPendingRewards"): TypedContractMethod<[
|
|
738
|
-
account: AddressLike
|
|
739
|
-
], [
|
|
740
|
-
[string[], bigint[]]
|
|
741
|
-
], "view">;
|
|
742
790
|
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
743
791
|
getFunction(nameOrSignature: "claimExtraReward"): TypedContractMethod<[token: AddressLike], [bigint], "nonpayable">;
|
|
744
792
|
getFunction(nameOrSignature: "claimExtraRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
@@ -749,8 +797,7 @@ export interface RWAGauge extends BaseContract {
|
|
|
749
797
|
], [
|
|
750
798
|
bigint
|
|
751
799
|
], "nonpayable">;
|
|
752
|
-
getFunction(nameOrSignature: "claimRewardToken"): TypedContractMethod<[
|
|
753
|
-
getFunction(nameOrSignature: "claimRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
800
|
+
getFunction(nameOrSignature: "claimRewardToken"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
754
801
|
getFunction(nameOrSignature: "claimRewardsFor"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
755
802
|
getFunction(nameOrSignature: "depositRAACOnClaim"): TypedContractMethod<[], [boolean], "view">;
|
|
756
803
|
getFunction(nameOrSignature: "depositRewardToken"): TypedContractMethod<[
|
|
@@ -759,18 +806,18 @@ export interface RWAGauge extends BaseContract {
|
|
|
759
806
|
], [
|
|
760
807
|
void
|
|
761
808
|
], "nonpayable">;
|
|
762
|
-
getFunction(nameOrSignature: "
|
|
809
|
+
getFunction(nameOrSignature: "earnedExtraReward"): TypedContractMethod<[
|
|
763
810
|
token: AddressLike,
|
|
764
811
|
user: AddressLike
|
|
765
812
|
], [
|
|
766
813
|
bigint
|
|
767
814
|
], "view">;
|
|
768
|
-
getFunction(nameOrSignature: "
|
|
815
|
+
getFunction(nameOrSignature: "earnedReward"): TypedContractMethod<[
|
|
769
816
|
token: AddressLike,
|
|
770
|
-
|
|
817
|
+
user: AddressLike
|
|
771
818
|
], [
|
|
772
|
-
|
|
773
|
-
], "
|
|
819
|
+
bigint
|
|
820
|
+
], "view">;
|
|
774
821
|
getFunction(nameOrSignature: "extraRewardTokenData"): TypedContractMethod<[
|
|
775
822
|
arg0: AddressLike
|
|
776
823
|
], [
|
|
@@ -778,7 +825,6 @@ export interface RWAGauge extends BaseContract {
|
|
|
778
825
|
boolean,
|
|
779
826
|
bigint,
|
|
780
827
|
bigint,
|
|
781
|
-
string,
|
|
782
828
|
bigint,
|
|
783
829
|
bigint,
|
|
784
830
|
bigint,
|
|
@@ -787,7 +833,6 @@ export interface RWAGauge extends BaseContract {
|
|
|
787
833
|
isActive: boolean;
|
|
788
834
|
decimals: bigint;
|
|
789
835
|
rate: bigint;
|
|
790
|
-
distributor: string;
|
|
791
836
|
periodFinish: bigint;
|
|
792
837
|
lastUpdate: bigint;
|
|
793
838
|
integral: bigint;
|
|
@@ -804,6 +849,8 @@ export interface RWAGauge extends BaseContract {
|
|
|
804
849
|
string,
|
|
805
850
|
bigint,
|
|
806
851
|
bigint,
|
|
852
|
+
string,
|
|
853
|
+
string,
|
|
807
854
|
bigint
|
|
808
855
|
] & {
|
|
809
856
|
gaugeInitialStartTime: bigint;
|
|
@@ -812,12 +859,23 @@ export interface RWAGauge extends BaseContract {
|
|
|
812
859
|
stakingToken: string;
|
|
813
860
|
totalSupply: bigint;
|
|
814
861
|
workingSupply: bigint;
|
|
862
|
+
rewardDistributor: string;
|
|
863
|
+
rewardToken: string;
|
|
815
864
|
lastUpdateTime: bigint;
|
|
816
865
|
}
|
|
817
866
|
], "view">;
|
|
818
867
|
getFunction(nameOrSignature: "getControllerAddress"): TypedContractMethod<[], [string], "view">;
|
|
819
868
|
getFunction(nameOrSignature: "getDecimalAdjustment"): TypedContractMethod<[token: AddressLike], [bigint], "view">;
|
|
869
|
+
getFunction(nameOrSignature: "getDistributorData"): TypedContractMethod<[
|
|
870
|
+
distributor: AddressLike
|
|
871
|
+
], [
|
|
872
|
+
[string, boolean] & {
|
|
873
|
+
distro: string;
|
|
874
|
+
approved: boolean;
|
|
875
|
+
}
|
|
876
|
+
], "view">;
|
|
820
877
|
getFunction(nameOrSignature: "getDistributors"): TypedContractMethod<[], [string[]], "view">;
|
|
878
|
+
getFunction(nameOrSignature: "getExtraRewardTokens"): TypedContractMethod<[], [string[]], "view">;
|
|
821
879
|
getFunction(nameOrSignature: "getGaugeRewardTokenData"): TypedContractMethod<[
|
|
822
880
|
token: AddressLike
|
|
823
881
|
], [
|
|
@@ -851,12 +909,7 @@ export interface RWAGauge extends BaseContract {
|
|
|
851
909
|
], [
|
|
852
910
|
boolean
|
|
853
911
|
], "view">;
|
|
854
|
-
getFunction(nameOrSignature: "
|
|
855
|
-
token: AddressLike,
|
|
856
|
-
distributor: AddressLike
|
|
857
|
-
], [
|
|
858
|
-
void
|
|
859
|
-
], "nonpayable">;
|
|
912
|
+
getFunction(nameOrSignature: "isPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
860
913
|
getFunction(nameOrSignature: "manageDistributor"): TypedContractMethod<[
|
|
861
914
|
distributor: AddressLike,
|
|
862
915
|
shouldAddDistributor: boolean
|
|
@@ -877,6 +930,8 @@ export interface RWAGauge extends BaseContract {
|
|
|
877
930
|
bigint
|
|
878
931
|
], "view">;
|
|
879
932
|
getFunction(nameOrSignature: "periodDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
933
|
+
getFunction(nameOrSignature: "pullRewardsFromDistributor"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
934
|
+
getFunction(nameOrSignature: "raacAutolockMin"): TypedContractMethod<[], [bigint], "view">;
|
|
880
935
|
getFunction(nameOrSignature: "raacLiquidLocker"): TypedContractMethod<[], [string], "view">;
|
|
881
936
|
getFunction(nameOrSignature: "raacToken"): TypedContractMethod<[], [string], "view">;
|
|
882
937
|
getFunction(nameOrSignature: "rawBalanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
@@ -893,23 +948,27 @@ export interface RWAGauge extends BaseContract {
|
|
|
893
948
|
], [
|
|
894
949
|
void
|
|
895
950
|
], "nonpayable">;
|
|
951
|
+
getFunction(nameOrSignature: "setController"): TypedContractMethod<[_controller: AddressLike], [void], "nonpayable">;
|
|
896
952
|
getFunction(nameOrSignature: "setDepositRAACOnClaim"): TypedContractMethod<[
|
|
897
953
|
newDepositRAACOnClaim: boolean
|
|
898
954
|
], [
|
|
899
955
|
void
|
|
900
956
|
], "nonpayable">;
|
|
901
|
-
getFunction(nameOrSignature: "
|
|
902
|
-
|
|
903
|
-
|
|
957
|
+
getFunction(nameOrSignature: "setEmergencyPaused"): TypedContractMethod<[newPaused: boolean], [void], "nonpayable">;
|
|
958
|
+
getFunction(nameOrSignature: "setGaugeRewardDistributor"): TypedContractMethod<[
|
|
959
|
+
rewardDistributor: AddressLike
|
|
960
|
+
], [
|
|
961
|
+
void
|
|
962
|
+
], "nonpayable">;
|
|
963
|
+
getFunction(nameOrSignature: "setRaacAutolockMin"): TypedContractMethod<[
|
|
964
|
+
newRaacAutolockMin: BigNumberish
|
|
904
965
|
], [
|
|
905
966
|
void
|
|
906
967
|
], "nonpayable">;
|
|
907
|
-
getFunction(nameOrSignature: "setEmergencyPaused"): TypedContractMethod<[newPaused: boolean], [void], "nonpayable">;
|
|
908
968
|
getFunction(nameOrSignature: "stake"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
909
969
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
910
|
-
getFunction(nameOrSignature: "syncRewardTokens"): TypedContractMethod<[], [void], "nonpayable">;
|
|
911
970
|
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
912
|
-
getFunction(nameOrSignature: "updateUserRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
971
|
+
getFunction(nameOrSignature: "updateUserRewards"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
913
972
|
getFunction(nameOrSignature: "userGaugeData"): TypedContractMethod<[
|
|
914
973
|
arg0: AddressLike
|
|
915
974
|
], [
|
|
@@ -924,6 +983,7 @@ export interface RWAGauge extends BaseContract {
|
|
|
924
983
|
}
|
|
925
984
|
], "view">;
|
|
926
985
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
986
|
+
getEvent(key: "ControllerUpdated"): TypedContractEvent<ControllerUpdatedEvent.InputTuple, ControllerUpdatedEvent.OutputTuple, ControllerUpdatedEvent.OutputObject>;
|
|
927
987
|
getEvent(key: "DepositRAACOnClaimUpdated"): TypedContractEvent<DepositRAACOnClaimUpdatedEvent.InputTuple, DepositRAACOnClaimUpdatedEvent.OutputTuple, DepositRAACOnClaimUpdatedEvent.OutputObject>;
|
|
928
988
|
getEvent(key: "DistributorApprovalUpdated"): TypedContractEvent<DistributorApprovalUpdatedEvent.InputTuple, DistributorApprovalUpdatedEvent.OutputTuple, DistributorApprovalUpdatedEvent.OutputObject>;
|
|
929
989
|
getEvent(key: "DistributorUpdated"): TypedContractEvent<DistributorUpdatedEvent.InputTuple, DistributorUpdatedEvent.OutputTuple, DistributorUpdatedEvent.OutputObject>;
|
|
@@ -931,12 +991,15 @@ export interface RWAGauge extends BaseContract {
|
|
|
931
991
|
getEvent(key: "ExtraRewardClaimed"): TypedContractEvent<ExtraRewardClaimedEvent.InputTuple, ExtraRewardClaimedEvent.OutputTuple, ExtraRewardClaimedEvent.OutputObject>;
|
|
932
992
|
getEvent(key: "ExtraRewardDeposited"): TypedContractEvent<ExtraRewardDepositedEvent.InputTuple, ExtraRewardDepositedEvent.OutputTuple, ExtraRewardDepositedEvent.OutputObject>;
|
|
933
993
|
getEvent(key: "ExtraRewardTokenAdded"): TypedContractEvent<ExtraRewardTokenAddedEvent.InputTuple, ExtraRewardTokenAddedEvent.OutputTuple, ExtraRewardTokenAddedEvent.OutputObject>;
|
|
994
|
+
getEvent(key: "GaugeRewardDistributorUpdated"): TypedContractEvent<GaugeRewardDistributorUpdatedEvent.InputTuple, GaugeRewardDistributorUpdatedEvent.OutputTuple, GaugeRewardDistributorUpdatedEvent.OutputObject>;
|
|
934
995
|
getEvent(key: "LeftoverRewardsIncluded"): TypedContractEvent<LeftoverRewardsIncludedEvent.InputTuple, LeftoverRewardsIncludedEvent.OutputTuple, LeftoverRewardsIncludedEvent.OutputObject>;
|
|
935
996
|
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
997
|
+
getEvent(key: "RaacAutolockMinUpdated"): TypedContractEvent<RaacAutolockMinUpdatedEvent.InputTuple, RaacAutolockMinUpdatedEvent.OutputTuple, RaacAutolockMinUpdatedEvent.OutputObject>;
|
|
936
998
|
getEvent(key: "RewardTokenActivated"): TypedContractEvent<RewardTokenActivatedEvent.InputTuple, RewardTokenActivatedEvent.OutputTuple, RewardTokenActivatedEvent.OutputObject>;
|
|
937
999
|
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
938
1000
|
getEvent(key: "RewardTokenRegistered"): TypedContractEvent<RewardTokenRegisteredEvent.InputTuple, RewardTokenRegisteredEvent.OutputTuple, RewardTokenRegisteredEvent.OutputObject>;
|
|
939
1001
|
getEvent(key: "RewardTransferred"): TypedContractEvent<RewardTransferredEvent.InputTuple, RewardTransferredEvent.OutputTuple, RewardTransferredEvent.OutputObject>;
|
|
1002
|
+
getEvent(key: "RewardsPulledFromDistributor"): TypedContractEvent<RewardsPulledFromDistributorEvent.InputTuple, RewardsPulledFromDistributorEvent.OutputTuple, RewardsPulledFromDistributorEvent.OutputObject>;
|
|
940
1003
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
941
1004
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
942
1005
|
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
@@ -946,6 +1009,8 @@ export interface RWAGauge extends BaseContract {
|
|
|
946
1009
|
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
947
1010
|
getEvent(key: "WorkingBalanceUpdated"): TypedContractEvent<WorkingBalanceUpdatedEvent.InputTuple, WorkingBalanceUpdatedEvent.OutputTuple, WorkingBalanceUpdatedEvent.OutputObject>;
|
|
948
1011
|
filters: {
|
|
1012
|
+
"ControllerUpdated(address,address)": TypedContractEvent<ControllerUpdatedEvent.InputTuple, ControllerUpdatedEvent.OutputTuple, ControllerUpdatedEvent.OutputObject>;
|
|
1013
|
+
ControllerUpdated: TypedContractEvent<ControllerUpdatedEvent.InputTuple, ControllerUpdatedEvent.OutputTuple, ControllerUpdatedEvent.OutputObject>;
|
|
949
1014
|
"DepositRAACOnClaimUpdated(bool)": TypedContractEvent<DepositRAACOnClaimUpdatedEvent.InputTuple, DepositRAACOnClaimUpdatedEvent.OutputTuple, DepositRAACOnClaimUpdatedEvent.OutputObject>;
|
|
950
1015
|
DepositRAACOnClaimUpdated: TypedContractEvent<DepositRAACOnClaimUpdatedEvent.InputTuple, DepositRAACOnClaimUpdatedEvent.OutputTuple, DepositRAACOnClaimUpdatedEvent.OutputObject>;
|
|
951
1016
|
"DistributorApprovalUpdated(address,bool)": TypedContractEvent<DistributorApprovalUpdatedEvent.InputTuple, DistributorApprovalUpdatedEvent.OutputTuple, DistributorApprovalUpdatedEvent.OutputObject>;
|
|
@@ -958,12 +1023,16 @@ export interface RWAGauge extends BaseContract {
|
|
|
958
1023
|
ExtraRewardClaimed: TypedContractEvent<ExtraRewardClaimedEvent.InputTuple, ExtraRewardClaimedEvent.OutputTuple, ExtraRewardClaimedEvent.OutputObject>;
|
|
959
1024
|
"ExtraRewardDeposited(address,uint256)": TypedContractEvent<ExtraRewardDepositedEvent.InputTuple, ExtraRewardDepositedEvent.OutputTuple, ExtraRewardDepositedEvent.OutputObject>;
|
|
960
1025
|
ExtraRewardDeposited: TypedContractEvent<ExtraRewardDepositedEvent.InputTuple, ExtraRewardDepositedEvent.OutputTuple, ExtraRewardDepositedEvent.OutputObject>;
|
|
961
|
-
"ExtraRewardTokenAdded(address
|
|
1026
|
+
"ExtraRewardTokenAdded(address)": TypedContractEvent<ExtraRewardTokenAddedEvent.InputTuple, ExtraRewardTokenAddedEvent.OutputTuple, ExtraRewardTokenAddedEvent.OutputObject>;
|
|
962
1027
|
ExtraRewardTokenAdded: TypedContractEvent<ExtraRewardTokenAddedEvent.InputTuple, ExtraRewardTokenAddedEvent.OutputTuple, ExtraRewardTokenAddedEvent.OutputObject>;
|
|
1028
|
+
"GaugeRewardDistributorUpdated(address)": TypedContractEvent<GaugeRewardDistributorUpdatedEvent.InputTuple, GaugeRewardDistributorUpdatedEvent.OutputTuple, GaugeRewardDistributorUpdatedEvent.OutputObject>;
|
|
1029
|
+
GaugeRewardDistributorUpdated: TypedContractEvent<GaugeRewardDistributorUpdatedEvent.InputTuple, GaugeRewardDistributorUpdatedEvent.OutputTuple, GaugeRewardDistributorUpdatedEvent.OutputObject>;
|
|
963
1030
|
"LeftoverRewardsIncluded(address,uint256,uint256)": TypedContractEvent<LeftoverRewardsIncludedEvent.InputTuple, LeftoverRewardsIncludedEvent.OutputTuple, LeftoverRewardsIncludedEvent.OutputObject>;
|
|
964
1031
|
LeftoverRewardsIncluded: TypedContractEvent<LeftoverRewardsIncludedEvent.InputTuple, LeftoverRewardsIncludedEvent.OutputTuple, LeftoverRewardsIncludedEvent.OutputObject>;
|
|
965
1032
|
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
966
1033
|
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1034
|
+
"RaacAutolockMinUpdated(uint256)": TypedContractEvent<RaacAutolockMinUpdatedEvent.InputTuple, RaacAutolockMinUpdatedEvent.OutputTuple, RaacAutolockMinUpdatedEvent.OutputObject>;
|
|
1035
|
+
RaacAutolockMinUpdated: TypedContractEvent<RaacAutolockMinUpdatedEvent.InputTuple, RaacAutolockMinUpdatedEvent.OutputTuple, RaacAutolockMinUpdatedEvent.OutputObject>;
|
|
967
1036
|
"RewardTokenActivated(address)": TypedContractEvent<RewardTokenActivatedEvent.InputTuple, RewardTokenActivatedEvent.OutputTuple, RewardTokenActivatedEvent.OutputObject>;
|
|
968
1037
|
RewardTokenActivated: TypedContractEvent<RewardTokenActivatedEvent.InputTuple, RewardTokenActivatedEvent.OutputTuple, RewardTokenActivatedEvent.OutputObject>;
|
|
969
1038
|
"RewardTokenAdded(address)": TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
@@ -972,6 +1041,8 @@ export interface RWAGauge extends BaseContract {
|
|
|
972
1041
|
RewardTokenRegistered: TypedContractEvent<RewardTokenRegisteredEvent.InputTuple, RewardTokenRegisteredEvent.OutputTuple, RewardTokenRegisteredEvent.OutputObject>;
|
|
973
1042
|
"RewardTransferred(address,address,uint256)": TypedContractEvent<RewardTransferredEvent.InputTuple, RewardTransferredEvent.OutputTuple, RewardTransferredEvent.OutputObject>;
|
|
974
1043
|
RewardTransferred: TypedContractEvent<RewardTransferredEvent.InputTuple, RewardTransferredEvent.OutputTuple, RewardTransferredEvent.OutputObject>;
|
|
1044
|
+
"RewardsPulledFromDistributor(address,uint256)": TypedContractEvent<RewardsPulledFromDistributorEvent.InputTuple, RewardsPulledFromDistributorEvent.OutputTuple, RewardsPulledFromDistributorEvent.OutputObject>;
|
|
1045
|
+
RewardsPulledFromDistributor: TypedContractEvent<RewardsPulledFromDistributorEvent.InputTuple, RewardsPulledFromDistributorEvent.OutputTuple, RewardsPulledFromDistributorEvent.OutputObject>;
|
|
975
1046
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
976
1047
|
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
977
1048
|
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|