@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
|
@@ -13,6 +13,10 @@ export declare class IBaseGauge__factory {
|
|
|
13
13
|
readonly inputs: readonly [];
|
|
14
14
|
readonly name: "DistributorNotAdded";
|
|
15
15
|
readonly type: "error";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "DistributorNotApproved";
|
|
19
|
+
readonly type: "error";
|
|
16
20
|
}, {
|
|
17
21
|
readonly inputs: readonly [];
|
|
18
22
|
readonly name: "FailedToGetTokenDecimals";
|
|
@@ -45,6 +49,10 @@ export declare class IBaseGauge__factory {
|
|
|
45
49
|
readonly inputs: readonly [];
|
|
46
50
|
readonly name: "MaxExtraRewardsReached";
|
|
47
51
|
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "NotKickable";
|
|
55
|
+
readonly type: "error";
|
|
48
56
|
}, {
|
|
49
57
|
readonly inputs: readonly [];
|
|
50
58
|
readonly name: "NotPaused";
|
|
@@ -57,6 +65,21 @@ export declare class IBaseGauge__factory {
|
|
|
57
65
|
readonly inputs: readonly [];
|
|
58
66
|
readonly name: "TokenAlreadyInitialized";
|
|
59
67
|
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly anonymous: false;
|
|
70
|
+
readonly inputs: readonly [{
|
|
71
|
+
readonly indexed: true;
|
|
72
|
+
readonly internalType: "address";
|
|
73
|
+
readonly name: "oldController";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
}, {
|
|
76
|
+
readonly indexed: true;
|
|
77
|
+
readonly internalType: "address";
|
|
78
|
+
readonly name: "newController";
|
|
79
|
+
readonly type: "address";
|
|
80
|
+
}];
|
|
81
|
+
readonly name: "ControllerUpdated";
|
|
82
|
+
readonly type: "event";
|
|
60
83
|
}, {
|
|
61
84
|
readonly anonymous: false;
|
|
62
85
|
readonly inputs: readonly [{
|
|
@@ -149,13 +172,18 @@ export declare class IBaseGauge__factory {
|
|
|
149
172
|
readonly internalType: "address";
|
|
150
173
|
readonly name: "token";
|
|
151
174
|
readonly type: "address";
|
|
152
|
-
}
|
|
153
|
-
|
|
175
|
+
}];
|
|
176
|
+
readonly name: "ExtraRewardTokenAdded";
|
|
177
|
+
readonly type: "event";
|
|
178
|
+
}, {
|
|
179
|
+
readonly anonymous: false;
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly indexed: true;
|
|
154
182
|
readonly internalType: "address";
|
|
155
|
-
readonly name: "
|
|
183
|
+
readonly name: "rewardDistributor";
|
|
156
184
|
readonly type: "address";
|
|
157
185
|
}];
|
|
158
|
-
readonly name: "
|
|
186
|
+
readonly name: "GaugeRewardDistributorUpdated";
|
|
159
187
|
readonly type: "event";
|
|
160
188
|
}, {
|
|
161
189
|
readonly anonymous: false;
|
|
@@ -177,6 +205,16 @@ export declare class IBaseGauge__factory {
|
|
|
177
205
|
}];
|
|
178
206
|
readonly name: "LeftoverRewardsIncluded";
|
|
179
207
|
readonly type: "event";
|
|
208
|
+
}, {
|
|
209
|
+
readonly anonymous: false;
|
|
210
|
+
readonly inputs: readonly [{
|
|
211
|
+
readonly indexed: false;
|
|
212
|
+
readonly internalType: "uint256";
|
|
213
|
+
readonly name: "newRaacAutolockMin";
|
|
214
|
+
readonly type: "uint256";
|
|
215
|
+
}];
|
|
216
|
+
readonly name: "RaacAutolockMinUpdated";
|
|
217
|
+
readonly type: "event";
|
|
180
218
|
}, {
|
|
181
219
|
readonly anonymous: false;
|
|
182
220
|
readonly inputs: readonly [{
|
|
@@ -212,12 +250,12 @@ export declare class IBaseGauge__factory {
|
|
|
212
250
|
readonly inputs: readonly [{
|
|
213
251
|
readonly indexed: true;
|
|
214
252
|
readonly internalType: "address";
|
|
215
|
-
readonly name: "
|
|
253
|
+
readonly name: "token";
|
|
216
254
|
readonly type: "address";
|
|
217
255
|
}, {
|
|
218
256
|
readonly indexed: true;
|
|
219
257
|
readonly internalType: "address";
|
|
220
|
-
readonly name: "
|
|
258
|
+
readonly name: "user";
|
|
221
259
|
readonly type: "address";
|
|
222
260
|
}, {
|
|
223
261
|
readonly indexed: false;
|
|
@@ -227,6 +265,21 @@ export declare class IBaseGauge__factory {
|
|
|
227
265
|
}];
|
|
228
266
|
readonly name: "RewardTransferred";
|
|
229
267
|
readonly type: "event";
|
|
268
|
+
}, {
|
|
269
|
+
readonly anonymous: false;
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly indexed: false;
|
|
272
|
+
readonly internalType: "address";
|
|
273
|
+
readonly name: "distributor";
|
|
274
|
+
readonly type: "address";
|
|
275
|
+
}, {
|
|
276
|
+
readonly indexed: false;
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "transferred";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}];
|
|
281
|
+
readonly name: "RewardsPulledFromDistributor";
|
|
282
|
+
readonly type: "event";
|
|
230
283
|
}, {
|
|
231
284
|
readonly anonymous: false;
|
|
232
285
|
readonly inputs: readonly [{
|
|
@@ -292,33 +345,11 @@ export declare class IBaseGauge__factory {
|
|
|
292
345
|
readonly internalType: "address";
|
|
293
346
|
readonly name: "token";
|
|
294
347
|
readonly type: "address";
|
|
295
|
-
}, {
|
|
296
|
-
readonly internalType: "address";
|
|
297
|
-
readonly name: "distributor";
|
|
298
|
-
readonly type: "address";
|
|
299
348
|
}];
|
|
300
349
|
readonly name: "addRewardToken";
|
|
301
350
|
readonly outputs: readonly [];
|
|
302
351
|
readonly stateMutability: "nonpayable";
|
|
303
352
|
readonly type: "function";
|
|
304
|
-
}, {
|
|
305
|
-
readonly inputs: readonly [{
|
|
306
|
-
readonly internalType: "address";
|
|
307
|
-
readonly name: "account";
|
|
308
|
-
readonly type: "address";
|
|
309
|
-
}];
|
|
310
|
-
readonly name: "allEarnedRewards";
|
|
311
|
-
readonly outputs: readonly [{
|
|
312
|
-
readonly internalType: "address[]";
|
|
313
|
-
readonly name: "tokens";
|
|
314
|
-
readonly type: "address[]";
|
|
315
|
-
}, {
|
|
316
|
-
readonly internalType: "uint256[]";
|
|
317
|
-
readonly name: "amounts";
|
|
318
|
-
readonly type: "uint256[]";
|
|
319
|
-
}];
|
|
320
|
-
readonly stateMutability: "view";
|
|
321
|
-
readonly type: "function";
|
|
322
353
|
}, {
|
|
323
354
|
readonly inputs: readonly [{
|
|
324
355
|
readonly internalType: "address";
|
|
@@ -337,24 +368,6 @@ export declare class IBaseGauge__factory {
|
|
|
337
368
|
}];
|
|
338
369
|
readonly stateMutability: "view";
|
|
339
370
|
readonly type: "function";
|
|
340
|
-
}, {
|
|
341
|
-
readonly inputs: readonly [{
|
|
342
|
-
readonly internalType: "address";
|
|
343
|
-
readonly name: "account";
|
|
344
|
-
readonly type: "address";
|
|
345
|
-
}];
|
|
346
|
-
readonly name: "allPendingRewards";
|
|
347
|
-
readonly outputs: readonly [{
|
|
348
|
-
readonly internalType: "address[]";
|
|
349
|
-
readonly name: "tokens";
|
|
350
|
-
readonly type: "address[]";
|
|
351
|
-
}, {
|
|
352
|
-
readonly internalType: "uint256[]";
|
|
353
|
-
readonly name: "amounts";
|
|
354
|
-
readonly type: "uint256[]";
|
|
355
|
-
}];
|
|
356
|
-
readonly stateMutability: "view";
|
|
357
|
-
readonly type: "function";
|
|
358
371
|
}, {
|
|
359
372
|
readonly inputs: readonly [{
|
|
360
373
|
readonly internalType: "address";
|
|
@@ -412,11 +425,7 @@ export declare class IBaseGauge__factory {
|
|
|
412
425
|
readonly stateMutability: "nonpayable";
|
|
413
426
|
readonly type: "function";
|
|
414
427
|
}, {
|
|
415
|
-
readonly inputs: readonly [
|
|
416
|
-
readonly internalType: "address";
|
|
417
|
-
readonly name: "token";
|
|
418
|
-
readonly type: "address";
|
|
419
|
-
}];
|
|
428
|
+
readonly inputs: readonly [];
|
|
420
429
|
readonly name: "claimRewardToken";
|
|
421
430
|
readonly outputs: readonly [{
|
|
422
431
|
readonly internalType: "uint256";
|
|
@@ -425,12 +434,6 @@ export declare class IBaseGauge__factory {
|
|
|
425
434
|
}];
|
|
426
435
|
readonly stateMutability: "nonpayable";
|
|
427
436
|
readonly type: "function";
|
|
428
|
-
}, {
|
|
429
|
-
readonly inputs: readonly [];
|
|
430
|
-
readonly name: "claimRewards";
|
|
431
|
-
readonly outputs: readonly [];
|
|
432
|
-
readonly stateMutability: "nonpayable";
|
|
433
|
-
readonly type: "function";
|
|
434
437
|
}, {
|
|
435
438
|
readonly inputs: readonly [{
|
|
436
439
|
readonly internalType: "address";
|
|
@@ -473,20 +476,6 @@ export declare class IBaseGauge__factory {
|
|
|
473
476
|
}];
|
|
474
477
|
readonly stateMutability: "view";
|
|
475
478
|
readonly type: "function";
|
|
476
|
-
}, {
|
|
477
|
-
readonly inputs: readonly [{
|
|
478
|
-
readonly internalType: "address";
|
|
479
|
-
readonly name: "token";
|
|
480
|
-
readonly type: "address";
|
|
481
|
-
}, {
|
|
482
|
-
readonly internalType: "uint256";
|
|
483
|
-
readonly name: "amount";
|
|
484
|
-
readonly type: "uint256";
|
|
485
|
-
}];
|
|
486
|
-
readonly name: "emergencyWithdraw";
|
|
487
|
-
readonly outputs: readonly [];
|
|
488
|
-
readonly stateMutability: "nonpayable";
|
|
489
|
-
readonly type: "function";
|
|
490
479
|
}, {
|
|
491
480
|
readonly inputs: readonly [];
|
|
492
481
|
readonly name: "getControllerAddress";
|
|
@@ -521,6 +510,16 @@ export declare class IBaseGauge__factory {
|
|
|
521
510
|
}];
|
|
522
511
|
readonly stateMutability: "view";
|
|
523
512
|
readonly type: "function";
|
|
513
|
+
}, {
|
|
514
|
+
readonly inputs: readonly [];
|
|
515
|
+
readonly name: "getExtraRewardTokens";
|
|
516
|
+
readonly outputs: readonly [{
|
|
517
|
+
readonly internalType: "address[]";
|
|
518
|
+
readonly name: "";
|
|
519
|
+
readonly type: "address[]";
|
|
520
|
+
}];
|
|
521
|
+
readonly stateMutability: "view";
|
|
522
|
+
readonly type: "function";
|
|
524
523
|
}, {
|
|
525
524
|
readonly inputs: readonly [{
|
|
526
525
|
readonly internalType: "address";
|
|
@@ -642,18 +641,14 @@ export declare class IBaseGauge__factory {
|
|
|
642
641
|
readonly stateMutability: "view";
|
|
643
642
|
readonly type: "function";
|
|
644
643
|
}, {
|
|
645
|
-
readonly inputs: readonly [
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
readonly
|
|
649
|
-
|
|
650
|
-
readonly
|
|
651
|
-
readonly name: "distributor";
|
|
652
|
-
readonly type: "address";
|
|
644
|
+
readonly inputs: readonly [];
|
|
645
|
+
readonly name: "isPaused";
|
|
646
|
+
readonly outputs: readonly [{
|
|
647
|
+
readonly internalType: "bool";
|
|
648
|
+
readonly name: "";
|
|
649
|
+
readonly type: "bool";
|
|
653
650
|
}];
|
|
654
|
-
readonly
|
|
655
|
-
readonly outputs: readonly [];
|
|
656
|
-
readonly stateMutability: "nonpayable";
|
|
651
|
+
readonly stateMutability: "view";
|
|
657
652
|
readonly type: "function";
|
|
658
653
|
}, {
|
|
659
654
|
readonly inputs: readonly [{
|
|
@@ -715,6 +710,16 @@ export declare class IBaseGauge__factory {
|
|
|
715
710
|
}];
|
|
716
711
|
readonly stateMutability: "view";
|
|
717
712
|
readonly type: "function";
|
|
713
|
+
}, {
|
|
714
|
+
readonly inputs: readonly [];
|
|
715
|
+
readonly name: "pullRewardsFromDistributor";
|
|
716
|
+
readonly outputs: readonly [{
|
|
717
|
+
readonly internalType: "uint256";
|
|
718
|
+
readonly name: "transferred";
|
|
719
|
+
readonly type: "uint256";
|
|
720
|
+
}];
|
|
721
|
+
readonly stateMutability: "nonpayable";
|
|
722
|
+
readonly type: "function";
|
|
718
723
|
}, {
|
|
719
724
|
readonly inputs: readonly [{
|
|
720
725
|
readonly internalType: "address";
|
|
@@ -742,14 +747,10 @@ export declare class IBaseGauge__factory {
|
|
|
742
747
|
}, {
|
|
743
748
|
readonly inputs: readonly [{
|
|
744
749
|
readonly internalType: "address";
|
|
745
|
-
readonly name: "
|
|
750
|
+
readonly name: "_controller";
|
|
746
751
|
readonly type: "address";
|
|
747
|
-
}, {
|
|
748
|
-
readonly internalType: "bool";
|
|
749
|
-
readonly name: "isApproved";
|
|
750
|
-
readonly type: "bool";
|
|
751
752
|
}];
|
|
752
|
-
readonly name: "
|
|
753
|
+
readonly name: "setController";
|
|
753
754
|
readonly outputs: readonly [];
|
|
754
755
|
readonly stateMutability: "nonpayable";
|
|
755
756
|
readonly type: "function";
|
|
@@ -765,17 +766,21 @@ export declare class IBaseGauge__factory {
|
|
|
765
766
|
readonly type: "function";
|
|
766
767
|
}, {
|
|
767
768
|
readonly inputs: readonly [{
|
|
768
|
-
readonly internalType: "
|
|
769
|
-
readonly name: "
|
|
770
|
-
readonly type: "
|
|
769
|
+
readonly internalType: "address";
|
|
770
|
+
readonly name: "rewardDistributor";
|
|
771
|
+
readonly type: "address";
|
|
771
772
|
}];
|
|
772
|
-
readonly name: "
|
|
773
|
+
readonly name: "setGaugeRewardDistributor";
|
|
773
774
|
readonly outputs: readonly [];
|
|
774
775
|
readonly stateMutability: "nonpayable";
|
|
775
776
|
readonly type: "function";
|
|
776
777
|
}, {
|
|
777
|
-
readonly inputs: readonly [
|
|
778
|
-
|
|
778
|
+
readonly inputs: readonly [{
|
|
779
|
+
readonly internalType: "uint256";
|
|
780
|
+
readonly name: "amount";
|
|
781
|
+
readonly type: "uint256";
|
|
782
|
+
}];
|
|
783
|
+
readonly name: "stake";
|
|
779
784
|
readonly outputs: readonly [];
|
|
780
785
|
readonly stateMutability: "nonpayable";
|
|
781
786
|
readonly type: "function";
|
|
@@ -790,7 +795,11 @@ export declare class IBaseGauge__factory {
|
|
|
790
795
|
readonly stateMutability: "view";
|
|
791
796
|
readonly type: "function";
|
|
792
797
|
}, {
|
|
793
|
-
readonly inputs: readonly [
|
|
798
|
+
readonly inputs: readonly [{
|
|
799
|
+
readonly internalType: "address";
|
|
800
|
+
readonly name: "user";
|
|
801
|
+
readonly type: "address";
|
|
802
|
+
}];
|
|
794
803
|
readonly name: "updateUserRewards";
|
|
795
804
|
readonly outputs: readonly [];
|
|
796
805
|
readonly stateMutability: "nonpayable";
|