@raac/rpc 1.2.0-beta.10 → 1.2.0-beta.11
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 +56 -71
- 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,35 +49,35 @@ export declare namespace IBaseGauge {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
export interface BaseGaugeInterface 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" | "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: "WEEK", values?: undefined): string;
|
|
60
|
-
encodeFunctionData(functionFragment: "addRewardToken", values: [AddressLike
|
|
61
|
-
encodeFunctionData(functionFragment: "allEarnedRewards", values: [AddressLike]): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "addRewardToken", values: [AddressLike]): string;
|
|
62
62
|
encodeFunctionData(functionFragment: "allPendingExtraRewards", values: [AddressLike]): string;
|
|
63
|
-
encodeFunctionData(functionFragment: "allPendingRewards", values: [AddressLike]): string;
|
|
64
63
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
65
64
|
encodeFunctionData(functionFragment: "claimExtraReward", values: [AddressLike]): string;
|
|
66
65
|
encodeFunctionData(functionFragment: "claimExtraRewards", values?: undefined): string;
|
|
67
66
|
encodeFunctionData(functionFragment: "claimOnBehalfOf", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
68
|
-
encodeFunctionData(functionFragment: "claimRewardToken", values
|
|
69
|
-
encodeFunctionData(functionFragment: "claimRewards", values?: undefined): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "claimRewardToken", values?: undefined): string;
|
|
70
68
|
encodeFunctionData(functionFragment: "claimRewardsFor", values: [AddressLike]): string;
|
|
71
69
|
encodeFunctionData(functionFragment: "depositRAACOnClaim", values?: undefined): string;
|
|
72
70
|
encodeFunctionData(functionFragment: "depositRewardToken", values: [AddressLike, BigNumberish]): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "earnedExtraReward", values: [AddressLike, AddressLike]): string;
|
|
73
72
|
encodeFunctionData(functionFragment: "earnedReward", values: [AddressLike, AddressLike]): string;
|
|
74
|
-
encodeFunctionData(functionFragment: "emergencyWithdraw", values: [AddressLike, BigNumberish]): string;
|
|
75
73
|
encodeFunctionData(functionFragment: "extraRewardTokenData", values: [AddressLike]): string;
|
|
76
74
|
encodeFunctionData(functionFragment: "gaugeController", values?: undefined): string;
|
|
77
75
|
encodeFunctionData(functionFragment: "gaugeData", values?: undefined): string;
|
|
78
76
|
encodeFunctionData(functionFragment: "getControllerAddress", values?: undefined): string;
|
|
79
77
|
encodeFunctionData(functionFragment: "getDecimalAdjustment", values: [AddressLike]): string;
|
|
78
|
+
encodeFunctionData(functionFragment: "getDistributorData", values: [AddressLike]): string;
|
|
80
79
|
encodeFunctionData(functionFragment: "getDistributors", values?: undefined): string;
|
|
80
|
+
encodeFunctionData(functionFragment: "getExtraRewardTokens", values?: undefined): string;
|
|
81
81
|
encodeFunctionData(functionFragment: "getGaugeRewardTokenData", values: [AddressLike]): string;
|
|
82
82
|
encodeFunctionData(functionFragment: "getPeriodBoundaries", values?: undefined): string;
|
|
83
83
|
encodeFunctionData(functionFragment: "getRewardTokens", values?: undefined): string;
|
|
@@ -86,55 +86,58 @@ export interface BaseGaugeInterface extends Interface {
|
|
|
86
86
|
encodeFunctionData(functionFragment: "getUserWeight", values: [AddressLike]): string;
|
|
87
87
|
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
88
88
|
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
89
|
-
encodeFunctionData(functionFragment: "
|
|
89
|
+
encodeFunctionData(functionFragment: "isPaused", values?: undefined): string;
|
|
90
90
|
encodeFunctionData(functionFragment: "manageDistributor", values: [AddressLike, boolean]): string;
|
|
91
91
|
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
92
92
|
encodeFunctionData(functionFragment: "pendingExtraRewards", values: [AddressLike, AddressLike]): string;
|
|
93
93
|
encodeFunctionData(functionFragment: "pendingRewards", values: [AddressLike, AddressLike]): string;
|
|
94
94
|
encodeFunctionData(functionFragment: "periodDuration", values?: undefined): string;
|
|
95
|
+
encodeFunctionData(functionFragment: "pullRewardsFromDistributor", values?: undefined): string;
|
|
96
|
+
encodeFunctionData(functionFragment: "raacAutolockMin", values?: undefined): string;
|
|
95
97
|
encodeFunctionData(functionFragment: "raacLiquidLocker", values?: undefined): string;
|
|
96
98
|
encodeFunctionData(functionFragment: "raacToken", values?: undefined): string;
|
|
97
99
|
encodeFunctionData(functionFragment: "rawBalanceOf", values: [AddressLike]): string;
|
|
98
100
|
encodeFunctionData(functionFragment: "rawTotalSupply", values?: undefined): string;
|
|
99
101
|
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
100
102
|
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
103
|
+
encodeFunctionData(functionFragment: "setController", values: [AddressLike]): string;
|
|
101
104
|
encodeFunctionData(functionFragment: "setDepositRAACOnClaim", values: [boolean]): string;
|
|
102
|
-
encodeFunctionData(functionFragment: "setDistributorApproval", values: [AddressLike, boolean]): string;
|
|
103
105
|
encodeFunctionData(functionFragment: "setEmergencyPaused", values: [boolean]): string;
|
|
106
|
+
encodeFunctionData(functionFragment: "setGaugeRewardDistributor", values: [AddressLike]): string;
|
|
107
|
+
encodeFunctionData(functionFragment: "setRaacAutolockMin", values: [BigNumberish]): string;
|
|
104
108
|
encodeFunctionData(functionFragment: "stake", values: [BigNumberish]): string;
|
|
105
109
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
106
|
-
encodeFunctionData(functionFragment: "syncRewardTokens", values?: undefined): string;
|
|
107
110
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
108
|
-
encodeFunctionData(functionFragment: "updateUserRewards", values
|
|
111
|
+
encodeFunctionData(functionFragment: "updateUserRewards", values: [AddressLike]): string;
|
|
109
112
|
encodeFunctionData(functionFragment: "userGaugeData", values: [AddressLike]): string;
|
|
110
113
|
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
|
111
114
|
decodeFunctionResult(functionFragment: "CLAIM_FOR_ROLE", data: BytesLike): Result;
|
|
112
115
|
decodeFunctionResult(functionFragment: "CONTROLLER_ROLE", data: BytesLike): Result;
|
|
113
116
|
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
114
|
-
decodeFunctionResult(functionFragment: "
|
|
117
|
+
decodeFunctionResult(functionFragment: "DISTRIBUTOR_ROLE", data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: "GAUGE_ADMIN", data: BytesLike): Result;
|
|
115
119
|
decodeFunctionResult(functionFragment: "MAX_EXTRA_REWARDS", data: BytesLike): Result;
|
|
116
120
|
decodeFunctionResult(functionFragment: "WEEK", data: BytesLike): Result;
|
|
117
121
|
decodeFunctionResult(functionFragment: "addRewardToken", data: BytesLike): Result;
|
|
118
|
-
decodeFunctionResult(functionFragment: "allEarnedRewards", data: BytesLike): Result;
|
|
119
122
|
decodeFunctionResult(functionFragment: "allPendingExtraRewards", data: BytesLike): Result;
|
|
120
|
-
decodeFunctionResult(functionFragment: "allPendingRewards", data: BytesLike): Result;
|
|
121
123
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
122
124
|
decodeFunctionResult(functionFragment: "claimExtraReward", data: BytesLike): Result;
|
|
123
125
|
decodeFunctionResult(functionFragment: "claimExtraRewards", data: BytesLike): Result;
|
|
124
126
|
decodeFunctionResult(functionFragment: "claimOnBehalfOf", data: BytesLike): Result;
|
|
125
127
|
decodeFunctionResult(functionFragment: "claimRewardToken", data: BytesLike): Result;
|
|
126
|
-
decodeFunctionResult(functionFragment: "claimRewards", data: BytesLike): Result;
|
|
127
128
|
decodeFunctionResult(functionFragment: "claimRewardsFor", data: BytesLike): Result;
|
|
128
129
|
decodeFunctionResult(functionFragment: "depositRAACOnClaim", data: BytesLike): Result;
|
|
129
130
|
decodeFunctionResult(functionFragment: "depositRewardToken", data: BytesLike): Result;
|
|
131
|
+
decodeFunctionResult(functionFragment: "earnedExtraReward", data: BytesLike): Result;
|
|
130
132
|
decodeFunctionResult(functionFragment: "earnedReward", data: BytesLike): Result;
|
|
131
|
-
decodeFunctionResult(functionFragment: "emergencyWithdraw", data: BytesLike): Result;
|
|
132
133
|
decodeFunctionResult(functionFragment: "extraRewardTokenData", data: BytesLike): Result;
|
|
133
134
|
decodeFunctionResult(functionFragment: "gaugeController", data: BytesLike): Result;
|
|
134
135
|
decodeFunctionResult(functionFragment: "gaugeData", data: BytesLike): Result;
|
|
135
136
|
decodeFunctionResult(functionFragment: "getControllerAddress", data: BytesLike): Result;
|
|
136
137
|
decodeFunctionResult(functionFragment: "getDecimalAdjustment", data: BytesLike): Result;
|
|
138
|
+
decodeFunctionResult(functionFragment: "getDistributorData", data: BytesLike): Result;
|
|
137
139
|
decodeFunctionResult(functionFragment: "getDistributors", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "getExtraRewardTokens", data: BytesLike): Result;
|
|
138
141
|
decodeFunctionResult(functionFragment: "getGaugeRewardTokenData", data: BytesLike): Result;
|
|
139
142
|
decodeFunctionResult(functionFragment: "getPeriodBoundaries", data: BytesLike): Result;
|
|
140
143
|
decodeFunctionResult(functionFragment: "getRewardTokens", data: BytesLike): Result;
|
|
@@ -143,29 +146,47 @@ export interface BaseGaugeInterface extends Interface {
|
|
|
143
146
|
decodeFunctionResult(functionFragment: "getUserWeight", data: BytesLike): Result;
|
|
144
147
|
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
145
148
|
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
146
|
-
decodeFunctionResult(functionFragment: "
|
|
149
|
+
decodeFunctionResult(functionFragment: "isPaused", data: BytesLike): Result;
|
|
147
150
|
decodeFunctionResult(functionFragment: "manageDistributor", data: BytesLike): Result;
|
|
148
151
|
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
149
152
|
decodeFunctionResult(functionFragment: "pendingExtraRewards", data: BytesLike): Result;
|
|
150
153
|
decodeFunctionResult(functionFragment: "pendingRewards", data: BytesLike): Result;
|
|
151
154
|
decodeFunctionResult(functionFragment: "periodDuration", data: BytesLike): Result;
|
|
155
|
+
decodeFunctionResult(functionFragment: "pullRewardsFromDistributor", data: BytesLike): Result;
|
|
156
|
+
decodeFunctionResult(functionFragment: "raacAutolockMin", data: BytesLike): Result;
|
|
152
157
|
decodeFunctionResult(functionFragment: "raacLiquidLocker", data: BytesLike): Result;
|
|
153
158
|
decodeFunctionResult(functionFragment: "raacToken", data: BytesLike): Result;
|
|
154
159
|
decodeFunctionResult(functionFragment: "rawBalanceOf", data: BytesLike): Result;
|
|
155
160
|
decodeFunctionResult(functionFragment: "rawTotalSupply", data: BytesLike): Result;
|
|
156
161
|
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
157
162
|
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
163
|
+
decodeFunctionResult(functionFragment: "setController", data: BytesLike): Result;
|
|
158
164
|
decodeFunctionResult(functionFragment: "setDepositRAACOnClaim", data: BytesLike): Result;
|
|
159
|
-
decodeFunctionResult(functionFragment: "setDistributorApproval", data: BytesLike): Result;
|
|
160
165
|
decodeFunctionResult(functionFragment: "setEmergencyPaused", data: BytesLike): Result;
|
|
166
|
+
decodeFunctionResult(functionFragment: "setGaugeRewardDistributor", data: BytesLike): Result;
|
|
167
|
+
decodeFunctionResult(functionFragment: "setRaacAutolockMin", data: BytesLike): Result;
|
|
161
168
|
decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
|
|
162
169
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
163
|
-
decodeFunctionResult(functionFragment: "syncRewardTokens", data: BytesLike): Result;
|
|
164
170
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
165
171
|
decodeFunctionResult(functionFragment: "updateUserRewards", data: BytesLike): Result;
|
|
166
172
|
decodeFunctionResult(functionFragment: "userGaugeData", data: BytesLike): Result;
|
|
167
173
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
168
174
|
}
|
|
175
|
+
export declare namespace ControllerUpdatedEvent {
|
|
176
|
+
type InputTuple = [
|
|
177
|
+
oldController: AddressLike,
|
|
178
|
+
newController: AddressLike
|
|
179
|
+
];
|
|
180
|
+
type OutputTuple = [oldController: string, newController: string];
|
|
181
|
+
interface OutputObject {
|
|
182
|
+
oldController: string;
|
|
183
|
+
newController: string;
|
|
184
|
+
}
|
|
185
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
186
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
187
|
+
type Log = TypedEventLog<Event>;
|
|
188
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
189
|
+
}
|
|
169
190
|
export declare namespace DepositRAACOnClaimUpdatedEvent {
|
|
170
191
|
type InputTuple = [depositRAACOnClaim: boolean];
|
|
171
192
|
type OutputTuple = [depositRAACOnClaim: boolean];
|
|
@@ -245,11 +266,21 @@ export declare namespace ExtraRewardDepositedEvent {
|
|
|
245
266
|
type LogDescription = TypedLogDescription<Event>;
|
|
246
267
|
}
|
|
247
268
|
export declare namespace ExtraRewardTokenAddedEvent {
|
|
248
|
-
type InputTuple = [token: AddressLike
|
|
249
|
-
type OutputTuple = [token: string
|
|
269
|
+
type InputTuple = [token: AddressLike];
|
|
270
|
+
type OutputTuple = [token: string];
|
|
250
271
|
interface OutputObject {
|
|
251
272
|
token: string;
|
|
252
|
-
|
|
273
|
+
}
|
|
274
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
275
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
276
|
+
type Log = TypedEventLog<Event>;
|
|
277
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
278
|
+
}
|
|
279
|
+
export declare namespace GaugeRewardDistributorUpdatedEvent {
|
|
280
|
+
type InputTuple = [rewardDistributor: AddressLike];
|
|
281
|
+
type OutputTuple = [rewardDistributor: string];
|
|
282
|
+
interface OutputObject {
|
|
283
|
+
rewardDistributor: string;
|
|
253
284
|
}
|
|
254
285
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
255
286
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -288,6 +319,17 @@ export declare namespace PausedEvent {
|
|
|
288
319
|
type Log = TypedEventLog<Event>;
|
|
289
320
|
type LogDescription = TypedLogDescription<Event>;
|
|
290
321
|
}
|
|
322
|
+
export declare namespace RaacAutolockMinUpdatedEvent {
|
|
323
|
+
type InputTuple = [newRaacAutolockMin: BigNumberish];
|
|
324
|
+
type OutputTuple = [newRaacAutolockMin: bigint];
|
|
325
|
+
interface OutputObject {
|
|
326
|
+
newRaacAutolockMin: bigint;
|
|
327
|
+
}
|
|
328
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
329
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
330
|
+
type Log = TypedEventLog<Event>;
|
|
331
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
332
|
+
}
|
|
291
333
|
export declare namespace RewardTokenActivatedEvent {
|
|
292
334
|
type InputTuple = [token: AddressLike];
|
|
293
335
|
type OutputTuple = [token: string];
|
|
@@ -323,14 +365,14 @@ export declare namespace RewardTokenRegisteredEvent {
|
|
|
323
365
|
}
|
|
324
366
|
export declare namespace RewardTransferredEvent {
|
|
325
367
|
type InputTuple = [
|
|
326
|
-
user: AddressLike,
|
|
327
368
|
token: AddressLike,
|
|
369
|
+
user: AddressLike,
|
|
328
370
|
amount: BigNumberish
|
|
329
371
|
];
|
|
330
|
-
type OutputTuple = [
|
|
372
|
+
type OutputTuple = [token: string, user: string, amount: bigint];
|
|
331
373
|
interface OutputObject {
|
|
332
|
-
user: string;
|
|
333
374
|
token: string;
|
|
375
|
+
user: string;
|
|
334
376
|
amount: bigint;
|
|
335
377
|
}
|
|
336
378
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
@@ -338,6 +380,21 @@ export declare namespace RewardTransferredEvent {
|
|
|
338
380
|
type Log = TypedEventLog<Event>;
|
|
339
381
|
type LogDescription = TypedLogDescription<Event>;
|
|
340
382
|
}
|
|
383
|
+
export declare namespace RewardsPulledFromDistributorEvent {
|
|
384
|
+
type InputTuple = [
|
|
385
|
+
distributor: AddressLike,
|
|
386
|
+
transferred: BigNumberish
|
|
387
|
+
];
|
|
388
|
+
type OutputTuple = [distributor: string, transferred: bigint];
|
|
389
|
+
interface OutputObject {
|
|
390
|
+
distributor: string;
|
|
391
|
+
transferred: bigint;
|
|
392
|
+
}
|
|
393
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
394
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
395
|
+
type Log = TypedEventLog<Event>;
|
|
396
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
397
|
+
}
|
|
341
398
|
export declare namespace RoleAdminChangedEvent {
|
|
342
399
|
type InputTuple = [
|
|
343
400
|
role: BytesLike,
|
|
@@ -468,20 +525,15 @@ export interface BaseGauge extends BaseContract {
|
|
|
468
525
|
CLAIM_FOR_ROLE: TypedContractMethod<[], [string], "view">;
|
|
469
526
|
CONTROLLER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
470
527
|
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
471
|
-
|
|
528
|
+
DISTRIBUTOR_ROLE: TypedContractMethod<[], [string], "view">;
|
|
529
|
+
GAUGE_ADMIN: TypedContractMethod<[], [string], "view">;
|
|
472
530
|
MAX_EXTRA_REWARDS: TypedContractMethod<[], [bigint], "view">;
|
|
473
531
|
WEEK: TypedContractMethod<[], [bigint], "view">;
|
|
474
532
|
addRewardToken: TypedContractMethod<[
|
|
475
|
-
token: AddressLike
|
|
476
|
-
distributor: AddressLike
|
|
533
|
+
token: AddressLike
|
|
477
534
|
], [
|
|
478
535
|
void
|
|
479
536
|
], "nonpayable">;
|
|
480
|
-
allEarnedRewards: TypedContractMethod<[
|
|
481
|
-
account: AddressLike
|
|
482
|
-
], [
|
|
483
|
-
[string[], bigint[]]
|
|
484
|
-
], "view">;
|
|
485
537
|
allPendingExtraRewards: TypedContractMethod<[
|
|
486
538
|
user: AddressLike
|
|
487
539
|
], [
|
|
@@ -490,11 +542,6 @@ export interface BaseGauge extends BaseContract {
|
|
|
490
542
|
amounts: bigint[];
|
|
491
543
|
}
|
|
492
544
|
], "view">;
|
|
493
|
-
allPendingRewards: TypedContractMethod<[
|
|
494
|
-
account: AddressLike
|
|
495
|
-
], [
|
|
496
|
-
[string[], bigint[]]
|
|
497
|
-
], "view">;
|
|
498
545
|
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
499
546
|
claimExtraReward: TypedContractMethod<[
|
|
500
547
|
token: AddressLike
|
|
@@ -509,12 +556,7 @@ export interface BaseGauge extends BaseContract {
|
|
|
509
556
|
], [
|
|
510
557
|
bigint
|
|
511
558
|
], "nonpayable">;
|
|
512
|
-
claimRewardToken: TypedContractMethod<[
|
|
513
|
-
token: AddressLike
|
|
514
|
-
], [
|
|
515
|
-
bigint
|
|
516
|
-
], "nonpayable">;
|
|
517
|
-
claimRewards: TypedContractMethod<[], [void], "nonpayable">;
|
|
559
|
+
claimRewardToken: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
518
560
|
claimRewardsFor: TypedContractMethod<[
|
|
519
561
|
user: AddressLike
|
|
520
562
|
], [
|
|
@@ -527,18 +569,18 @@ export interface BaseGauge extends BaseContract {
|
|
|
527
569
|
], [
|
|
528
570
|
void
|
|
529
571
|
], "nonpayable">;
|
|
530
|
-
|
|
572
|
+
earnedExtraReward: TypedContractMethod<[
|
|
531
573
|
token: AddressLike,
|
|
532
574
|
user: AddressLike
|
|
533
575
|
], [
|
|
534
576
|
bigint
|
|
535
577
|
], "view">;
|
|
536
|
-
|
|
578
|
+
earnedReward: TypedContractMethod<[
|
|
537
579
|
token: AddressLike,
|
|
538
|
-
|
|
580
|
+
user: AddressLike
|
|
539
581
|
], [
|
|
540
|
-
|
|
541
|
-
], "
|
|
582
|
+
bigint
|
|
583
|
+
], "view">;
|
|
542
584
|
extraRewardTokenData: TypedContractMethod<[
|
|
543
585
|
arg0: AddressLike
|
|
544
586
|
], [
|
|
@@ -546,7 +588,6 @@ export interface BaseGauge extends BaseContract {
|
|
|
546
588
|
boolean,
|
|
547
589
|
bigint,
|
|
548
590
|
bigint,
|
|
549
|
-
string,
|
|
550
591
|
bigint,
|
|
551
592
|
bigint,
|
|
552
593
|
bigint,
|
|
@@ -555,7 +596,6 @@ export interface BaseGauge extends BaseContract {
|
|
|
555
596
|
isActive: boolean;
|
|
556
597
|
decimals: bigint;
|
|
557
598
|
rate: bigint;
|
|
558
|
-
distributor: string;
|
|
559
599
|
periodFinish: bigint;
|
|
560
600
|
lastUpdate: bigint;
|
|
561
601
|
integral: bigint;
|
|
@@ -572,6 +612,8 @@ export interface BaseGauge extends BaseContract {
|
|
|
572
612
|
string,
|
|
573
613
|
bigint,
|
|
574
614
|
bigint,
|
|
615
|
+
string,
|
|
616
|
+
string,
|
|
575
617
|
bigint
|
|
576
618
|
] & {
|
|
577
619
|
gaugeInitialStartTime: bigint;
|
|
@@ -580,6 +622,8 @@ export interface BaseGauge extends BaseContract {
|
|
|
580
622
|
stakingToken: string;
|
|
581
623
|
totalSupply: bigint;
|
|
582
624
|
workingSupply: bigint;
|
|
625
|
+
rewardDistributor: string;
|
|
626
|
+
rewardToken: string;
|
|
583
627
|
lastUpdateTime: bigint;
|
|
584
628
|
}
|
|
585
629
|
], "view">;
|
|
@@ -589,7 +633,16 @@ export interface BaseGauge extends BaseContract {
|
|
|
589
633
|
], [
|
|
590
634
|
bigint
|
|
591
635
|
], "view">;
|
|
636
|
+
getDistributorData: TypedContractMethod<[
|
|
637
|
+
distributor: AddressLike
|
|
638
|
+
], [
|
|
639
|
+
[string, boolean] & {
|
|
640
|
+
distro: string;
|
|
641
|
+
approved: boolean;
|
|
642
|
+
}
|
|
643
|
+
], "view">;
|
|
592
644
|
getDistributors: TypedContractMethod<[], [string[]], "view">;
|
|
645
|
+
getExtraRewardTokens: TypedContractMethod<[], [string[]], "view">;
|
|
593
646
|
getGaugeRewardTokenData: TypedContractMethod<[
|
|
594
647
|
token: AddressLike
|
|
595
648
|
], [
|
|
@@ -623,12 +676,7 @@ export interface BaseGauge extends BaseContract {
|
|
|
623
676
|
], [
|
|
624
677
|
boolean
|
|
625
678
|
], "view">;
|
|
626
|
-
|
|
627
|
-
token: AddressLike,
|
|
628
|
-
distributor: AddressLike
|
|
629
|
-
], [
|
|
630
|
-
void
|
|
631
|
-
], "nonpayable">;
|
|
679
|
+
isPaused: TypedContractMethod<[], [boolean], "view">;
|
|
632
680
|
manageDistributor: TypedContractMethod<[
|
|
633
681
|
distributor: AddressLike,
|
|
634
682
|
shouldAddDistributor: boolean
|
|
@@ -649,6 +697,8 @@ export interface BaseGauge extends BaseContract {
|
|
|
649
697
|
bigint
|
|
650
698
|
], "view">;
|
|
651
699
|
periodDuration: TypedContractMethod<[], [bigint], "view">;
|
|
700
|
+
pullRewardsFromDistributor: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
701
|
+
raacAutolockMin: TypedContractMethod<[], [bigint], "view">;
|
|
652
702
|
raacLiquidLocker: TypedContractMethod<[], [string], "view">;
|
|
653
703
|
raacToken: TypedContractMethod<[], [string], "view">;
|
|
654
704
|
rawBalanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
@@ -665,14 +715,13 @@ export interface BaseGauge extends BaseContract {
|
|
|
665
715
|
], [
|
|
666
716
|
void
|
|
667
717
|
], "nonpayable">;
|
|
668
|
-
|
|
669
|
-
|
|
718
|
+
setController: TypedContractMethod<[
|
|
719
|
+
_controller: AddressLike
|
|
670
720
|
], [
|
|
671
721
|
void
|
|
672
722
|
], "nonpayable">;
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
isApproved: boolean
|
|
723
|
+
setDepositRAACOnClaim: TypedContractMethod<[
|
|
724
|
+
newDepositRAACOnClaim: boolean
|
|
676
725
|
], [
|
|
677
726
|
void
|
|
678
727
|
], "nonpayable">;
|
|
@@ -681,15 +730,28 @@ export interface BaseGauge extends BaseContract {
|
|
|
681
730
|
], [
|
|
682
731
|
void
|
|
683
732
|
], "nonpayable">;
|
|
733
|
+
setGaugeRewardDistributor: TypedContractMethod<[
|
|
734
|
+
rewardDistributor: AddressLike
|
|
735
|
+
], [
|
|
736
|
+
void
|
|
737
|
+
], "nonpayable">;
|
|
738
|
+
setRaacAutolockMin: TypedContractMethod<[
|
|
739
|
+
newRaacAutolockMin: BigNumberish
|
|
740
|
+
], [
|
|
741
|
+
void
|
|
742
|
+
], "nonpayable">;
|
|
684
743
|
stake: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
685
744
|
supportsInterface: TypedContractMethod<[
|
|
686
745
|
interfaceId: BytesLike
|
|
687
746
|
], [
|
|
688
747
|
boolean
|
|
689
748
|
], "view">;
|
|
690
|
-
syncRewardTokens: TypedContractMethod<[], [void], "nonpayable">;
|
|
691
749
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
692
|
-
updateUserRewards: TypedContractMethod<[
|
|
750
|
+
updateUserRewards: TypedContractMethod<[
|
|
751
|
+
user: AddressLike
|
|
752
|
+
], [
|
|
753
|
+
void
|
|
754
|
+
], "nonpayable">;
|
|
693
755
|
userGaugeData: TypedContractMethod<[
|
|
694
756
|
arg0: AddressLike
|
|
695
757
|
], [
|
|
@@ -708,20 +770,11 @@ export interface BaseGauge extends BaseContract {
|
|
|
708
770
|
getFunction(nameOrSignature: "CLAIM_FOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
709
771
|
getFunction(nameOrSignature: "CONTROLLER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
710
772
|
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
711
|
-
getFunction(nameOrSignature: "
|
|
773
|
+
getFunction(nameOrSignature: "DISTRIBUTOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
774
|
+
getFunction(nameOrSignature: "GAUGE_ADMIN"): TypedContractMethod<[], [string], "view">;
|
|
712
775
|
getFunction(nameOrSignature: "MAX_EXTRA_REWARDS"): TypedContractMethod<[], [bigint], "view">;
|
|
713
776
|
getFunction(nameOrSignature: "WEEK"): TypedContractMethod<[], [bigint], "view">;
|
|
714
|
-
getFunction(nameOrSignature: "addRewardToken"): TypedContractMethod<[
|
|
715
|
-
token: AddressLike,
|
|
716
|
-
distributor: AddressLike
|
|
717
|
-
], [
|
|
718
|
-
void
|
|
719
|
-
], "nonpayable">;
|
|
720
|
-
getFunction(nameOrSignature: "allEarnedRewards"): TypedContractMethod<[
|
|
721
|
-
account: AddressLike
|
|
722
|
-
], [
|
|
723
|
-
[string[], bigint[]]
|
|
724
|
-
], "view">;
|
|
777
|
+
getFunction(nameOrSignature: "addRewardToken"): TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
|
|
725
778
|
getFunction(nameOrSignature: "allPendingExtraRewards"): TypedContractMethod<[
|
|
726
779
|
user: AddressLike
|
|
727
780
|
], [
|
|
@@ -730,11 +783,6 @@ export interface BaseGauge extends BaseContract {
|
|
|
730
783
|
amounts: bigint[];
|
|
731
784
|
}
|
|
732
785
|
], "view">;
|
|
733
|
-
getFunction(nameOrSignature: "allPendingRewards"): TypedContractMethod<[
|
|
734
|
-
account: AddressLike
|
|
735
|
-
], [
|
|
736
|
-
[string[], bigint[]]
|
|
737
|
-
], "view">;
|
|
738
786
|
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
739
787
|
getFunction(nameOrSignature: "claimExtraReward"): TypedContractMethod<[token: AddressLike], [bigint], "nonpayable">;
|
|
740
788
|
getFunction(nameOrSignature: "claimExtraRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
@@ -745,8 +793,7 @@ export interface BaseGauge extends BaseContract {
|
|
|
745
793
|
], [
|
|
746
794
|
bigint
|
|
747
795
|
], "nonpayable">;
|
|
748
|
-
getFunction(nameOrSignature: "claimRewardToken"): TypedContractMethod<[
|
|
749
|
-
getFunction(nameOrSignature: "claimRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
796
|
+
getFunction(nameOrSignature: "claimRewardToken"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
750
797
|
getFunction(nameOrSignature: "claimRewardsFor"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
751
798
|
getFunction(nameOrSignature: "depositRAACOnClaim"): TypedContractMethod<[], [boolean], "view">;
|
|
752
799
|
getFunction(nameOrSignature: "depositRewardToken"): TypedContractMethod<[
|
|
@@ -755,18 +802,18 @@ export interface BaseGauge extends BaseContract {
|
|
|
755
802
|
], [
|
|
756
803
|
void
|
|
757
804
|
], "nonpayable">;
|
|
758
|
-
getFunction(nameOrSignature: "
|
|
805
|
+
getFunction(nameOrSignature: "earnedExtraReward"): TypedContractMethod<[
|
|
759
806
|
token: AddressLike,
|
|
760
807
|
user: AddressLike
|
|
761
808
|
], [
|
|
762
809
|
bigint
|
|
763
810
|
], "view">;
|
|
764
|
-
getFunction(nameOrSignature: "
|
|
811
|
+
getFunction(nameOrSignature: "earnedReward"): TypedContractMethod<[
|
|
765
812
|
token: AddressLike,
|
|
766
|
-
|
|
813
|
+
user: AddressLike
|
|
767
814
|
], [
|
|
768
|
-
|
|
769
|
-
], "
|
|
815
|
+
bigint
|
|
816
|
+
], "view">;
|
|
770
817
|
getFunction(nameOrSignature: "extraRewardTokenData"): TypedContractMethod<[
|
|
771
818
|
arg0: AddressLike
|
|
772
819
|
], [
|
|
@@ -774,7 +821,6 @@ export interface BaseGauge extends BaseContract {
|
|
|
774
821
|
boolean,
|
|
775
822
|
bigint,
|
|
776
823
|
bigint,
|
|
777
|
-
string,
|
|
778
824
|
bigint,
|
|
779
825
|
bigint,
|
|
780
826
|
bigint,
|
|
@@ -783,7 +829,6 @@ export interface BaseGauge extends BaseContract {
|
|
|
783
829
|
isActive: boolean;
|
|
784
830
|
decimals: bigint;
|
|
785
831
|
rate: bigint;
|
|
786
|
-
distributor: string;
|
|
787
832
|
periodFinish: bigint;
|
|
788
833
|
lastUpdate: bigint;
|
|
789
834
|
integral: bigint;
|
|
@@ -800,6 +845,8 @@ export interface BaseGauge extends BaseContract {
|
|
|
800
845
|
string,
|
|
801
846
|
bigint,
|
|
802
847
|
bigint,
|
|
848
|
+
string,
|
|
849
|
+
string,
|
|
803
850
|
bigint
|
|
804
851
|
] & {
|
|
805
852
|
gaugeInitialStartTime: bigint;
|
|
@@ -808,12 +855,23 @@ export interface BaseGauge extends BaseContract {
|
|
|
808
855
|
stakingToken: string;
|
|
809
856
|
totalSupply: bigint;
|
|
810
857
|
workingSupply: bigint;
|
|
858
|
+
rewardDistributor: string;
|
|
859
|
+
rewardToken: string;
|
|
811
860
|
lastUpdateTime: bigint;
|
|
812
861
|
}
|
|
813
862
|
], "view">;
|
|
814
863
|
getFunction(nameOrSignature: "getControllerAddress"): TypedContractMethod<[], [string], "view">;
|
|
815
864
|
getFunction(nameOrSignature: "getDecimalAdjustment"): TypedContractMethod<[token: AddressLike], [bigint], "view">;
|
|
865
|
+
getFunction(nameOrSignature: "getDistributorData"): TypedContractMethod<[
|
|
866
|
+
distributor: AddressLike
|
|
867
|
+
], [
|
|
868
|
+
[string, boolean] & {
|
|
869
|
+
distro: string;
|
|
870
|
+
approved: boolean;
|
|
871
|
+
}
|
|
872
|
+
], "view">;
|
|
816
873
|
getFunction(nameOrSignature: "getDistributors"): TypedContractMethod<[], [string[]], "view">;
|
|
874
|
+
getFunction(nameOrSignature: "getExtraRewardTokens"): TypedContractMethod<[], [string[]], "view">;
|
|
817
875
|
getFunction(nameOrSignature: "getGaugeRewardTokenData"): TypedContractMethod<[
|
|
818
876
|
token: AddressLike
|
|
819
877
|
], [
|
|
@@ -847,12 +905,7 @@ export interface BaseGauge extends BaseContract {
|
|
|
847
905
|
], [
|
|
848
906
|
boolean
|
|
849
907
|
], "view">;
|
|
850
|
-
getFunction(nameOrSignature: "
|
|
851
|
-
token: AddressLike,
|
|
852
|
-
distributor: AddressLike
|
|
853
|
-
], [
|
|
854
|
-
void
|
|
855
|
-
], "nonpayable">;
|
|
908
|
+
getFunction(nameOrSignature: "isPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
856
909
|
getFunction(nameOrSignature: "manageDistributor"): TypedContractMethod<[
|
|
857
910
|
distributor: AddressLike,
|
|
858
911
|
shouldAddDistributor: boolean
|
|
@@ -873,6 +926,8 @@ export interface BaseGauge extends BaseContract {
|
|
|
873
926
|
bigint
|
|
874
927
|
], "view">;
|
|
875
928
|
getFunction(nameOrSignature: "periodDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
929
|
+
getFunction(nameOrSignature: "pullRewardsFromDistributor"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
930
|
+
getFunction(nameOrSignature: "raacAutolockMin"): TypedContractMethod<[], [bigint], "view">;
|
|
876
931
|
getFunction(nameOrSignature: "raacLiquidLocker"): TypedContractMethod<[], [string], "view">;
|
|
877
932
|
getFunction(nameOrSignature: "raacToken"): TypedContractMethod<[], [string], "view">;
|
|
878
933
|
getFunction(nameOrSignature: "rawBalanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
@@ -889,23 +944,27 @@ export interface BaseGauge extends BaseContract {
|
|
|
889
944
|
], [
|
|
890
945
|
void
|
|
891
946
|
], "nonpayable">;
|
|
947
|
+
getFunction(nameOrSignature: "setController"): TypedContractMethod<[_controller: AddressLike], [void], "nonpayable">;
|
|
892
948
|
getFunction(nameOrSignature: "setDepositRAACOnClaim"): TypedContractMethod<[
|
|
893
949
|
newDepositRAACOnClaim: boolean
|
|
894
950
|
], [
|
|
895
951
|
void
|
|
896
952
|
], "nonpayable">;
|
|
897
|
-
getFunction(nameOrSignature: "
|
|
898
|
-
|
|
899
|
-
|
|
953
|
+
getFunction(nameOrSignature: "setEmergencyPaused"): TypedContractMethod<[newPaused: boolean], [void], "nonpayable">;
|
|
954
|
+
getFunction(nameOrSignature: "setGaugeRewardDistributor"): TypedContractMethod<[
|
|
955
|
+
rewardDistributor: AddressLike
|
|
956
|
+
], [
|
|
957
|
+
void
|
|
958
|
+
], "nonpayable">;
|
|
959
|
+
getFunction(nameOrSignature: "setRaacAutolockMin"): TypedContractMethod<[
|
|
960
|
+
newRaacAutolockMin: BigNumberish
|
|
900
961
|
], [
|
|
901
962
|
void
|
|
902
963
|
], "nonpayable">;
|
|
903
|
-
getFunction(nameOrSignature: "setEmergencyPaused"): TypedContractMethod<[newPaused: boolean], [void], "nonpayable">;
|
|
904
964
|
getFunction(nameOrSignature: "stake"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
905
965
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
906
|
-
getFunction(nameOrSignature: "syncRewardTokens"): TypedContractMethod<[], [void], "nonpayable">;
|
|
907
966
|
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
908
|
-
getFunction(nameOrSignature: "updateUserRewards"): TypedContractMethod<[], [void], "nonpayable">;
|
|
967
|
+
getFunction(nameOrSignature: "updateUserRewards"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
909
968
|
getFunction(nameOrSignature: "userGaugeData"): TypedContractMethod<[
|
|
910
969
|
arg0: AddressLike
|
|
911
970
|
], [
|
|
@@ -920,6 +979,7 @@ export interface BaseGauge extends BaseContract {
|
|
|
920
979
|
}
|
|
921
980
|
], "view">;
|
|
922
981
|
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
982
|
+
getEvent(key: "ControllerUpdated"): TypedContractEvent<ControllerUpdatedEvent.InputTuple, ControllerUpdatedEvent.OutputTuple, ControllerUpdatedEvent.OutputObject>;
|
|
923
983
|
getEvent(key: "DepositRAACOnClaimUpdated"): TypedContractEvent<DepositRAACOnClaimUpdatedEvent.InputTuple, DepositRAACOnClaimUpdatedEvent.OutputTuple, DepositRAACOnClaimUpdatedEvent.OutputObject>;
|
|
924
984
|
getEvent(key: "DistributorApprovalUpdated"): TypedContractEvent<DistributorApprovalUpdatedEvent.InputTuple, DistributorApprovalUpdatedEvent.OutputTuple, DistributorApprovalUpdatedEvent.OutputObject>;
|
|
925
985
|
getEvent(key: "DistributorUpdated"): TypedContractEvent<DistributorUpdatedEvent.InputTuple, DistributorUpdatedEvent.OutputTuple, DistributorUpdatedEvent.OutputObject>;
|
|
@@ -927,12 +987,15 @@ export interface BaseGauge extends BaseContract {
|
|
|
927
987
|
getEvent(key: "ExtraRewardClaimed"): TypedContractEvent<ExtraRewardClaimedEvent.InputTuple, ExtraRewardClaimedEvent.OutputTuple, ExtraRewardClaimedEvent.OutputObject>;
|
|
928
988
|
getEvent(key: "ExtraRewardDeposited"): TypedContractEvent<ExtraRewardDepositedEvent.InputTuple, ExtraRewardDepositedEvent.OutputTuple, ExtraRewardDepositedEvent.OutputObject>;
|
|
929
989
|
getEvent(key: "ExtraRewardTokenAdded"): TypedContractEvent<ExtraRewardTokenAddedEvent.InputTuple, ExtraRewardTokenAddedEvent.OutputTuple, ExtraRewardTokenAddedEvent.OutputObject>;
|
|
990
|
+
getEvent(key: "GaugeRewardDistributorUpdated"): TypedContractEvent<GaugeRewardDistributorUpdatedEvent.InputTuple, GaugeRewardDistributorUpdatedEvent.OutputTuple, GaugeRewardDistributorUpdatedEvent.OutputObject>;
|
|
930
991
|
getEvent(key: "LeftoverRewardsIncluded"): TypedContractEvent<LeftoverRewardsIncludedEvent.InputTuple, LeftoverRewardsIncludedEvent.OutputTuple, LeftoverRewardsIncludedEvent.OutputObject>;
|
|
931
992
|
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
993
|
+
getEvent(key: "RaacAutolockMinUpdated"): TypedContractEvent<RaacAutolockMinUpdatedEvent.InputTuple, RaacAutolockMinUpdatedEvent.OutputTuple, RaacAutolockMinUpdatedEvent.OutputObject>;
|
|
932
994
|
getEvent(key: "RewardTokenActivated"): TypedContractEvent<RewardTokenActivatedEvent.InputTuple, RewardTokenActivatedEvent.OutputTuple, RewardTokenActivatedEvent.OutputObject>;
|
|
933
995
|
getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
934
996
|
getEvent(key: "RewardTokenRegistered"): TypedContractEvent<RewardTokenRegisteredEvent.InputTuple, RewardTokenRegisteredEvent.OutputTuple, RewardTokenRegisteredEvent.OutputObject>;
|
|
935
997
|
getEvent(key: "RewardTransferred"): TypedContractEvent<RewardTransferredEvent.InputTuple, RewardTransferredEvent.OutputTuple, RewardTransferredEvent.OutputObject>;
|
|
998
|
+
getEvent(key: "RewardsPulledFromDistributor"): TypedContractEvent<RewardsPulledFromDistributorEvent.InputTuple, RewardsPulledFromDistributorEvent.OutputTuple, RewardsPulledFromDistributorEvent.OutputObject>;
|
|
936
999
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
937
1000
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
938
1001
|
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
@@ -942,6 +1005,8 @@ export interface BaseGauge extends BaseContract {
|
|
|
942
1005
|
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
943
1006
|
getEvent(key: "WorkingBalanceUpdated"): TypedContractEvent<WorkingBalanceUpdatedEvent.InputTuple, WorkingBalanceUpdatedEvent.OutputTuple, WorkingBalanceUpdatedEvent.OutputObject>;
|
|
944
1007
|
filters: {
|
|
1008
|
+
"ControllerUpdated(address,address)": TypedContractEvent<ControllerUpdatedEvent.InputTuple, ControllerUpdatedEvent.OutputTuple, ControllerUpdatedEvent.OutputObject>;
|
|
1009
|
+
ControllerUpdated: TypedContractEvent<ControllerUpdatedEvent.InputTuple, ControllerUpdatedEvent.OutputTuple, ControllerUpdatedEvent.OutputObject>;
|
|
945
1010
|
"DepositRAACOnClaimUpdated(bool)": TypedContractEvent<DepositRAACOnClaimUpdatedEvent.InputTuple, DepositRAACOnClaimUpdatedEvent.OutputTuple, DepositRAACOnClaimUpdatedEvent.OutputObject>;
|
|
946
1011
|
DepositRAACOnClaimUpdated: TypedContractEvent<DepositRAACOnClaimUpdatedEvent.InputTuple, DepositRAACOnClaimUpdatedEvent.OutputTuple, DepositRAACOnClaimUpdatedEvent.OutputObject>;
|
|
947
1012
|
"DistributorApprovalUpdated(address,bool)": TypedContractEvent<DistributorApprovalUpdatedEvent.InputTuple, DistributorApprovalUpdatedEvent.OutputTuple, DistributorApprovalUpdatedEvent.OutputObject>;
|
|
@@ -954,12 +1019,16 @@ export interface BaseGauge extends BaseContract {
|
|
|
954
1019
|
ExtraRewardClaimed: TypedContractEvent<ExtraRewardClaimedEvent.InputTuple, ExtraRewardClaimedEvent.OutputTuple, ExtraRewardClaimedEvent.OutputObject>;
|
|
955
1020
|
"ExtraRewardDeposited(address,uint256)": TypedContractEvent<ExtraRewardDepositedEvent.InputTuple, ExtraRewardDepositedEvent.OutputTuple, ExtraRewardDepositedEvent.OutputObject>;
|
|
956
1021
|
ExtraRewardDeposited: TypedContractEvent<ExtraRewardDepositedEvent.InputTuple, ExtraRewardDepositedEvent.OutputTuple, ExtraRewardDepositedEvent.OutputObject>;
|
|
957
|
-
"ExtraRewardTokenAdded(address
|
|
1022
|
+
"ExtraRewardTokenAdded(address)": TypedContractEvent<ExtraRewardTokenAddedEvent.InputTuple, ExtraRewardTokenAddedEvent.OutputTuple, ExtraRewardTokenAddedEvent.OutputObject>;
|
|
958
1023
|
ExtraRewardTokenAdded: TypedContractEvent<ExtraRewardTokenAddedEvent.InputTuple, ExtraRewardTokenAddedEvent.OutputTuple, ExtraRewardTokenAddedEvent.OutputObject>;
|
|
1024
|
+
"GaugeRewardDistributorUpdated(address)": TypedContractEvent<GaugeRewardDistributorUpdatedEvent.InputTuple, GaugeRewardDistributorUpdatedEvent.OutputTuple, GaugeRewardDistributorUpdatedEvent.OutputObject>;
|
|
1025
|
+
GaugeRewardDistributorUpdated: TypedContractEvent<GaugeRewardDistributorUpdatedEvent.InputTuple, GaugeRewardDistributorUpdatedEvent.OutputTuple, GaugeRewardDistributorUpdatedEvent.OutputObject>;
|
|
959
1026
|
"LeftoverRewardsIncluded(address,uint256,uint256)": TypedContractEvent<LeftoverRewardsIncludedEvent.InputTuple, LeftoverRewardsIncludedEvent.OutputTuple, LeftoverRewardsIncludedEvent.OutputObject>;
|
|
960
1027
|
LeftoverRewardsIncluded: TypedContractEvent<LeftoverRewardsIncludedEvent.InputTuple, LeftoverRewardsIncludedEvent.OutputTuple, LeftoverRewardsIncludedEvent.OutputObject>;
|
|
961
1028
|
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
962
1029
|
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1030
|
+
"RaacAutolockMinUpdated(uint256)": TypedContractEvent<RaacAutolockMinUpdatedEvent.InputTuple, RaacAutolockMinUpdatedEvent.OutputTuple, RaacAutolockMinUpdatedEvent.OutputObject>;
|
|
1031
|
+
RaacAutolockMinUpdated: TypedContractEvent<RaacAutolockMinUpdatedEvent.InputTuple, RaacAutolockMinUpdatedEvent.OutputTuple, RaacAutolockMinUpdatedEvent.OutputObject>;
|
|
963
1032
|
"RewardTokenActivated(address)": TypedContractEvent<RewardTokenActivatedEvent.InputTuple, RewardTokenActivatedEvent.OutputTuple, RewardTokenActivatedEvent.OutputObject>;
|
|
964
1033
|
RewardTokenActivated: TypedContractEvent<RewardTokenActivatedEvent.InputTuple, RewardTokenActivatedEvent.OutputTuple, RewardTokenActivatedEvent.OutputObject>;
|
|
965
1034
|
"RewardTokenAdded(address)": TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
|
|
@@ -968,6 +1037,8 @@ export interface BaseGauge extends BaseContract {
|
|
|
968
1037
|
RewardTokenRegistered: TypedContractEvent<RewardTokenRegisteredEvent.InputTuple, RewardTokenRegisteredEvent.OutputTuple, RewardTokenRegisteredEvent.OutputObject>;
|
|
969
1038
|
"RewardTransferred(address,address,uint256)": TypedContractEvent<RewardTransferredEvent.InputTuple, RewardTransferredEvent.OutputTuple, RewardTransferredEvent.OutputObject>;
|
|
970
1039
|
RewardTransferred: TypedContractEvent<RewardTransferredEvent.InputTuple, RewardTransferredEvent.OutputTuple, RewardTransferredEvent.OutputObject>;
|
|
1040
|
+
"RewardsPulledFromDistributor(address,uint256)": TypedContractEvent<RewardsPulledFromDistributorEvent.InputTuple, RewardsPulledFromDistributorEvent.OutputTuple, RewardsPulledFromDistributorEvent.OutputObject>;
|
|
1041
|
+
RewardsPulledFromDistributor: TypedContractEvent<RewardsPulledFromDistributorEvent.InputTuple, RewardsPulledFromDistributorEvent.OutputTuple, RewardsPulledFromDistributorEvent.OutputObject>;
|
|
971
1042
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
972
1043
|
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
973
1044
|
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|