@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
|
@@ -3,15 +3,11 @@ import type { IGaugeController, IGaugeControllerInterface } from "../../../../..
|
|
|
3
3
|
export declare class IGaugeController__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
5
|
readonly inputs: readonly [];
|
|
6
|
-
readonly name: "
|
|
7
|
-
readonly type: "error";
|
|
8
|
-
}, {
|
|
9
|
-
readonly inputs: readonly [];
|
|
10
|
-
readonly name: "EmergencyPaused";
|
|
6
|
+
readonly name: "ActiveGauge";
|
|
11
7
|
readonly type: "error";
|
|
12
8
|
}, {
|
|
13
9
|
readonly inputs: readonly [];
|
|
14
|
-
readonly name: "
|
|
10
|
+
readonly name: "ArrayLengthMismatch";
|
|
15
11
|
readonly type: "error";
|
|
16
12
|
}, {
|
|
17
13
|
readonly inputs: readonly [];
|
|
@@ -23,7 +19,7 @@ export declare class IGaugeController__factory {
|
|
|
23
19
|
readonly type: "error";
|
|
24
20
|
}, {
|
|
25
21
|
readonly inputs: readonly [];
|
|
26
|
-
readonly name: "
|
|
22
|
+
readonly name: "GaugePaused";
|
|
27
23
|
readonly type: "error";
|
|
28
24
|
}, {
|
|
29
25
|
readonly inputs: readonly [];
|
|
@@ -49,6 +45,10 @@ export declare class IGaugeController__factory {
|
|
|
49
45
|
readonly inputs: readonly [];
|
|
50
46
|
readonly name: "LockExpiresSoon";
|
|
51
47
|
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "NoPower";
|
|
51
|
+
readonly type: "error";
|
|
52
52
|
}, {
|
|
53
53
|
readonly inputs: readonly [];
|
|
54
54
|
readonly name: "NoVeTokenBalance";
|
|
@@ -65,6 +65,14 @@ export declare class IGaugeController__factory {
|
|
|
65
65
|
readonly inputs: readonly [];
|
|
66
66
|
readonly name: "VoteDelayNotElapsed";
|
|
67
67
|
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [];
|
|
70
|
+
readonly name: "VoteWeightTooLow";
|
|
71
|
+
readonly type: "error";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [];
|
|
74
|
+
readonly name: "ZeroLocked";
|
|
75
|
+
readonly type: "error";
|
|
68
76
|
}, {
|
|
69
77
|
readonly anonymous: false;
|
|
70
78
|
readonly inputs: readonly [{
|
|
@@ -80,6 +88,26 @@ export declare class IGaugeController__factory {
|
|
|
80
88
|
}];
|
|
81
89
|
readonly name: "BoostAmplificationToggled";
|
|
82
90
|
readonly type: "event";
|
|
91
|
+
}, {
|
|
92
|
+
readonly anonymous: false;
|
|
93
|
+
readonly inputs: readonly [{
|
|
94
|
+
readonly indexed: true;
|
|
95
|
+
readonly internalType: "address";
|
|
96
|
+
readonly name: "gauge";
|
|
97
|
+
readonly type: "address";
|
|
98
|
+
}, {
|
|
99
|
+
readonly indexed: false;
|
|
100
|
+
readonly internalType: "bool";
|
|
101
|
+
readonly name: "paused";
|
|
102
|
+
readonly type: "bool";
|
|
103
|
+
}, {
|
|
104
|
+
readonly indexed: true;
|
|
105
|
+
readonly internalType: "address";
|
|
106
|
+
readonly name: "triggeredBy";
|
|
107
|
+
readonly type: "address";
|
|
108
|
+
}];
|
|
109
|
+
readonly name: "EmergencyGaugePauseUpdated";
|
|
110
|
+
readonly type: "event";
|
|
83
111
|
}, {
|
|
84
112
|
readonly anonymous: false;
|
|
85
113
|
readonly inputs: readonly [{
|
|
@@ -97,13 +125,8 @@ export declare class IGaugeController__factory {
|
|
|
97
125
|
readonly internalType: "address";
|
|
98
126
|
readonly name: "gauge";
|
|
99
127
|
readonly type: "address";
|
|
100
|
-
}, {
|
|
101
|
-
readonly indexed: true;
|
|
102
|
-
readonly internalType: "address";
|
|
103
|
-
readonly name: "triggeredBy";
|
|
104
|
-
readonly type: "address";
|
|
105
128
|
}];
|
|
106
|
-
readonly name: "
|
|
129
|
+
readonly name: "GaugeAdded";
|
|
107
130
|
readonly type: "event";
|
|
108
131
|
}, {
|
|
109
132
|
readonly anonymous: false;
|
|
@@ -112,8 +135,18 @@ export declare class IGaugeController__factory {
|
|
|
112
135
|
readonly internalType: "address";
|
|
113
136
|
readonly name: "gauge";
|
|
114
137
|
readonly type: "address";
|
|
138
|
+
}, {
|
|
139
|
+
readonly indexed: false;
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "bias";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}, {
|
|
144
|
+
readonly indexed: false;
|
|
145
|
+
readonly internalType: "uint256";
|
|
146
|
+
readonly name: "slope";
|
|
147
|
+
readonly type: "uint256";
|
|
115
148
|
}];
|
|
116
|
-
readonly name: "
|
|
149
|
+
readonly name: "GaugeKicked";
|
|
117
150
|
readonly type: "event";
|
|
118
151
|
}, {
|
|
119
152
|
readonly anonymous: false;
|
|
@@ -122,23 +155,43 @@ export declare class IGaugeController__factory {
|
|
|
122
155
|
readonly internalType: "address";
|
|
123
156
|
readonly name: "gauge";
|
|
124
157
|
readonly type: "address";
|
|
158
|
+
}, {
|
|
159
|
+
readonly indexed: false;
|
|
160
|
+
readonly internalType: "uint256";
|
|
161
|
+
readonly name: "totalWithdrawn";
|
|
162
|
+
readonly type: "uint256";
|
|
125
163
|
}];
|
|
126
164
|
readonly name: "GaugeRemoved";
|
|
127
165
|
readonly type: "event";
|
|
128
166
|
}, {
|
|
129
167
|
readonly anonymous: false;
|
|
130
168
|
readonly inputs: readonly [{
|
|
131
|
-
readonly indexed:
|
|
169
|
+
readonly indexed: false;
|
|
132
170
|
readonly internalType: "address";
|
|
133
|
-
readonly name: "
|
|
171
|
+
readonly name: "oldDistributor";
|
|
134
172
|
readonly type: "address";
|
|
135
173
|
}, {
|
|
136
174
|
readonly indexed: false;
|
|
137
|
-
readonly internalType: "
|
|
138
|
-
readonly name: "
|
|
139
|
-
readonly type: "
|
|
175
|
+
readonly internalType: "address";
|
|
176
|
+
readonly name: "newDistributor";
|
|
177
|
+
readonly type: "address";
|
|
140
178
|
}];
|
|
141
|
-
readonly name: "
|
|
179
|
+
readonly name: "GaugeRewardsDistributorUpdated";
|
|
180
|
+
readonly type: "event";
|
|
181
|
+
}, {
|
|
182
|
+
readonly anonymous: false;
|
|
183
|
+
readonly inputs: readonly [{
|
|
184
|
+
readonly indexed: false;
|
|
185
|
+
readonly internalType: "uint256";
|
|
186
|
+
readonly name: "oldValue";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
}, {
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
readonly internalType: "uint256";
|
|
191
|
+
readonly name: "newValue";
|
|
192
|
+
readonly type: "uint256";
|
|
193
|
+
}];
|
|
194
|
+
readonly name: "MaxVoteBucketsUpdated";
|
|
142
195
|
readonly type: "event";
|
|
143
196
|
}, {
|
|
144
197
|
readonly anonymous: false;
|
|
@@ -175,7 +228,7 @@ export declare class IGaugeController__factory {
|
|
|
175
228
|
}, {
|
|
176
229
|
readonly indexed: false;
|
|
177
230
|
readonly internalType: "uint256";
|
|
178
|
-
readonly name: "
|
|
231
|
+
readonly name: "locked";
|
|
179
232
|
readonly type: "uint256";
|
|
180
233
|
}];
|
|
181
234
|
readonly name: "VoteWeightUpdated";
|
|
@@ -195,6 +248,26 @@ export declare class IGaugeController__factory {
|
|
|
195
248
|
}];
|
|
196
249
|
readonly name: "VotesKicked";
|
|
197
250
|
readonly type: "event";
|
|
251
|
+
}, {
|
|
252
|
+
readonly anonymous: false;
|
|
253
|
+
readonly inputs: readonly [{
|
|
254
|
+
readonly indexed: true;
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
readonly name: "gauge";
|
|
257
|
+
readonly type: "address";
|
|
258
|
+
}, {
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
readonly name: "oldVP";
|
|
262
|
+
readonly type: "uint256";
|
|
263
|
+
}, {
|
|
264
|
+
readonly indexed: false;
|
|
265
|
+
readonly internalType: "uint256";
|
|
266
|
+
readonly name: "newVotingPower";
|
|
267
|
+
readonly type: "uint256";
|
|
268
|
+
}];
|
|
269
|
+
readonly name: "VotingPowerRemovedInactiveGauge";
|
|
270
|
+
readonly type: "event";
|
|
198
271
|
}, {
|
|
199
272
|
readonly inputs: readonly [];
|
|
200
273
|
readonly name: "MAX_BOOST";
|
|
@@ -215,6 +288,16 @@ export declare class IGaugeController__factory {
|
|
|
215
288
|
}];
|
|
216
289
|
readonly stateMutability: "view";
|
|
217
290
|
readonly type: "function";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly name: "activeGaugeCount";
|
|
294
|
+
readonly outputs: readonly [{
|
|
295
|
+
readonly internalType: "uint256";
|
|
296
|
+
readonly name: "count";
|
|
297
|
+
readonly type: "uint256";
|
|
298
|
+
}];
|
|
299
|
+
readonly stateMutability: "view";
|
|
300
|
+
readonly type: "function";
|
|
218
301
|
}, {
|
|
219
302
|
readonly inputs: readonly [{
|
|
220
303
|
readonly internalType: "address[]";
|
|
@@ -283,6 +366,24 @@ export declare class IGaugeController__factory {
|
|
|
283
366
|
}];
|
|
284
367
|
readonly stateMutability: "view";
|
|
285
368
|
readonly type: "function";
|
|
369
|
+
}, {
|
|
370
|
+
readonly inputs: readonly [{
|
|
371
|
+
readonly internalType: "address";
|
|
372
|
+
readonly name: "user";
|
|
373
|
+
readonly type: "address";
|
|
374
|
+
}];
|
|
375
|
+
readonly name: "getExpiredGaugeVotePower";
|
|
376
|
+
readonly outputs: readonly [{
|
|
377
|
+
readonly internalType: "uint256";
|
|
378
|
+
readonly name: "expiredGaugePower";
|
|
379
|
+
readonly type: "uint256";
|
|
380
|
+
}, {
|
|
381
|
+
readonly internalType: "address[]";
|
|
382
|
+
readonly name: "";
|
|
383
|
+
readonly type: "address[]";
|
|
384
|
+
}];
|
|
385
|
+
readonly stateMutability: "view";
|
|
386
|
+
readonly type: "function";
|
|
286
387
|
}, {
|
|
287
388
|
readonly inputs: readonly [{
|
|
288
389
|
readonly internalType: "address";
|
|
@@ -298,6 +399,10 @@ export declare class IGaugeController__factory {
|
|
|
298
399
|
readonly internalType: "uint256";
|
|
299
400
|
readonly name: "";
|
|
300
401
|
readonly type: "uint256";
|
|
402
|
+
}, {
|
|
403
|
+
readonly internalType: "uint256";
|
|
404
|
+
readonly name: "";
|
|
405
|
+
readonly type: "uint256";
|
|
301
406
|
}];
|
|
302
407
|
readonly stateMutability: "nonpayable";
|
|
303
408
|
readonly type: "function";
|
|
@@ -316,6 +421,10 @@ export declare class IGaugeController__factory {
|
|
|
316
421
|
readonly internalType: "uint256";
|
|
317
422
|
readonly name: "";
|
|
318
423
|
readonly type: "uint256";
|
|
424
|
+
}, {
|
|
425
|
+
readonly internalType: "uint256";
|
|
426
|
+
readonly name: "";
|
|
427
|
+
readonly type: "uint256";
|
|
319
428
|
}];
|
|
320
429
|
readonly stateMutability: "view";
|
|
321
430
|
readonly type: "function";
|
|
@@ -333,6 +442,26 @@ export declare class IGaugeController__factory {
|
|
|
333
442
|
}];
|
|
334
443
|
readonly stateMutability: "view";
|
|
335
444
|
readonly type: "function";
|
|
445
|
+
}, {
|
|
446
|
+
readonly inputs: readonly [];
|
|
447
|
+
readonly name: "getNextEpoch";
|
|
448
|
+
readonly outputs: readonly [{
|
|
449
|
+
readonly internalType: "uint256";
|
|
450
|
+
readonly name: "";
|
|
451
|
+
readonly type: "uint256";
|
|
452
|
+
}];
|
|
453
|
+
readonly stateMutability: "view";
|
|
454
|
+
readonly type: "function";
|
|
455
|
+
}, {
|
|
456
|
+
readonly inputs: readonly [];
|
|
457
|
+
readonly name: "getRegisteredGaugeList";
|
|
458
|
+
readonly outputs: readonly [{
|
|
459
|
+
readonly internalType: "address[]";
|
|
460
|
+
readonly name: "";
|
|
461
|
+
readonly type: "address[]";
|
|
462
|
+
}];
|
|
463
|
+
readonly stateMutability: "view";
|
|
464
|
+
readonly type: "function";
|
|
336
465
|
}, {
|
|
337
466
|
readonly inputs: readonly [];
|
|
338
467
|
readonly name: "getTotalWeight";
|
|
@@ -345,11 +474,39 @@ export declare class IGaugeController__factory {
|
|
|
345
474
|
readonly type: "function";
|
|
346
475
|
}, {
|
|
347
476
|
readonly inputs: readonly [{
|
|
477
|
+
readonly internalType: "address";
|
|
478
|
+
readonly name: "user";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
}, {
|
|
348
481
|
readonly internalType: "address";
|
|
349
482
|
readonly name: "gauge";
|
|
350
483
|
readonly type: "address";
|
|
351
484
|
}];
|
|
352
|
-
readonly name: "
|
|
485
|
+
readonly name: "getUserGaugeVotePower";
|
|
486
|
+
readonly outputs: readonly [{
|
|
487
|
+
readonly internalType: "uint256";
|
|
488
|
+
readonly name: "";
|
|
489
|
+
readonly type: "uint256";
|
|
490
|
+
}];
|
|
491
|
+
readonly stateMutability: "view";
|
|
492
|
+
readonly type: "function";
|
|
493
|
+
}, {
|
|
494
|
+
readonly inputs: readonly [{
|
|
495
|
+
readonly internalType: "address";
|
|
496
|
+
readonly name: "gauge";
|
|
497
|
+
readonly type: "address";
|
|
498
|
+
}];
|
|
499
|
+
readonly name: "isGaugeActive";
|
|
500
|
+
readonly outputs: readonly [{
|
|
501
|
+
readonly internalType: "bool";
|
|
502
|
+
readonly name: "";
|
|
503
|
+
readonly type: "bool";
|
|
504
|
+
}];
|
|
505
|
+
readonly stateMutability: "view";
|
|
506
|
+
readonly type: "function";
|
|
507
|
+
}, {
|
|
508
|
+
readonly inputs: readonly [];
|
|
509
|
+
readonly name: "isPaused";
|
|
353
510
|
readonly outputs: readonly [{
|
|
354
511
|
readonly internalType: "bool";
|
|
355
512
|
readonly name: "";
|
|
@@ -367,6 +524,68 @@ export declare class IGaugeController__factory {
|
|
|
367
524
|
readonly outputs: readonly [];
|
|
368
525
|
readonly stateMutability: "nonpayable";
|
|
369
526
|
readonly type: "function";
|
|
527
|
+
}, {
|
|
528
|
+
readonly inputs: readonly [{
|
|
529
|
+
readonly internalType: "address";
|
|
530
|
+
readonly name: "gaugeAddress";
|
|
531
|
+
readonly type: "address";
|
|
532
|
+
}, {
|
|
533
|
+
readonly internalType: "address";
|
|
534
|
+
readonly name: "recipient";
|
|
535
|
+
readonly type: "address";
|
|
536
|
+
}];
|
|
537
|
+
readonly name: "removeGauge";
|
|
538
|
+
readonly outputs: readonly [];
|
|
539
|
+
readonly stateMutability: "nonpayable";
|
|
540
|
+
readonly type: "function";
|
|
541
|
+
}, {
|
|
542
|
+
readonly inputs: readonly [{
|
|
543
|
+
readonly internalType: "address";
|
|
544
|
+
readonly name: "gauge";
|
|
545
|
+
readonly type: "address";
|
|
546
|
+
}];
|
|
547
|
+
readonly name: "removePowerFromGauge";
|
|
548
|
+
readonly outputs: readonly [];
|
|
549
|
+
readonly stateMutability: "nonpayable";
|
|
550
|
+
readonly type: "function";
|
|
551
|
+
}, {
|
|
552
|
+
readonly inputs: readonly [{
|
|
553
|
+
readonly internalType: "address";
|
|
554
|
+
readonly name: "gauge";
|
|
555
|
+
readonly type: "address";
|
|
556
|
+
}, {
|
|
557
|
+
readonly internalType: "bool";
|
|
558
|
+
readonly name: "paused";
|
|
559
|
+
readonly type: "bool";
|
|
560
|
+
}];
|
|
561
|
+
readonly name: "setEmergencyGaugePause";
|
|
562
|
+
readonly outputs: readonly [];
|
|
563
|
+
readonly stateMutability: "nonpayable";
|
|
564
|
+
readonly type: "function";
|
|
565
|
+
}, {
|
|
566
|
+
readonly inputs: readonly [{
|
|
567
|
+
readonly internalType: "address[]";
|
|
568
|
+
readonly name: "gaugeList";
|
|
569
|
+
readonly type: "address[]";
|
|
570
|
+
}, {
|
|
571
|
+
readonly internalType: "bool[]";
|
|
572
|
+
readonly name: "status";
|
|
573
|
+
readonly type: "bool[]";
|
|
574
|
+
}];
|
|
575
|
+
readonly name: "setEmergencyGaugePauseBatch";
|
|
576
|
+
readonly outputs: readonly [];
|
|
577
|
+
readonly stateMutability: "nonpayable";
|
|
578
|
+
readonly type: "function";
|
|
579
|
+
}, {
|
|
580
|
+
readonly inputs: readonly [{
|
|
581
|
+
readonly internalType: "bool";
|
|
582
|
+
readonly name: "paused";
|
|
583
|
+
readonly type: "bool";
|
|
584
|
+
}];
|
|
585
|
+
readonly name: "setEmergencyPause";
|
|
586
|
+
readonly outputs: readonly [];
|
|
587
|
+
readonly stateMutability: "nonpayable";
|
|
588
|
+
readonly type: "function";
|
|
370
589
|
}, {
|
|
371
590
|
readonly inputs: readonly [];
|
|
372
591
|
readonly name: "veToken";
|