@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
package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts
CHANGED
|
@@ -1,34 +1,56 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../../common";
|
|
3
3
|
export interface IGaugeControllerInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "MAX_BOOST" | "MIN_BOOST" | "batchVote" | "calculateBoost" | "getActiveGauges" | "getCurrentEpoch" | "getGaugeRelativeWeight" | "getGaugeRelativeWeightView" | "getGaugeWeight" | "getTotalWeight" | "
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "BoostAmplificationToggled" | "
|
|
4
|
+
getFunction(nameOrSignature: "MAX_BOOST" | "MIN_BOOST" | "activeGaugeCount" | "batchVote" | "calculateBoost" | "getActiveGauges" | "getCurrentEpoch" | "getExpiredGaugeVotePower" | "getGaugeRelativeWeight" | "getGaugeRelativeWeightView" | "getGaugeWeight" | "getNextEpoch" | "getRegisteredGaugeList" | "getTotalWeight" | "getUserGaugeVotePower" | "isGaugeActive" | "isPaused" | "kick" | "removeGauge" | "removePowerFromGauge" | "setEmergencyGaugePause" | "setEmergencyGaugePauseBatch" | "setEmergencyPause" | "veToken" | "vote"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "BoostAmplificationToggled" | "EmergencyGaugePauseUpdated" | "EmergencyPauseUpdated" | "GaugeAdded" | "GaugeKicked" | "GaugeRemoved" | "GaugeRewardsDistributorUpdated" | "MaxVoteBucketsUpdated" | "VeBoostProxyUpdated" | "VoteWeightUpdated" | "VotesKicked" | "VotingPowerRemovedInactiveGauge"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "MAX_BOOST", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "MIN_BOOST", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "activeGaugeCount", values?: undefined): string;
|
|
8
9
|
encodeFunctionData(functionFragment: "batchVote", values: [AddressLike[], BigNumberish[]]): string;
|
|
9
10
|
encodeFunctionData(functionFragment: "calculateBoost", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
10
11
|
encodeFunctionData(functionFragment: "getActiveGauges", values?: undefined): string;
|
|
11
12
|
encodeFunctionData(functionFragment: "getCurrentEpoch", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "getExpiredGaugeVotePower", values: [AddressLike]): string;
|
|
12
14
|
encodeFunctionData(functionFragment: "getGaugeRelativeWeight", values: [AddressLike, BigNumberish]): string;
|
|
13
15
|
encodeFunctionData(functionFragment: "getGaugeRelativeWeightView", values: [AddressLike, BigNumberish]): string;
|
|
14
16
|
encodeFunctionData(functionFragment: "getGaugeWeight", values: [AddressLike]): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "getNextEpoch", values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "getRegisteredGaugeList", values?: undefined): string;
|
|
15
19
|
encodeFunctionData(functionFragment: "getTotalWeight", values?: undefined): string;
|
|
16
|
-
encodeFunctionData(functionFragment: "
|
|
20
|
+
encodeFunctionData(functionFragment: "getUserGaugeVotePower", values: [AddressLike, AddressLike]): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "isGaugeActive", values: [AddressLike]): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "isPaused", values?: undefined): string;
|
|
17
23
|
encodeFunctionData(functionFragment: "kick", values: [AddressLike]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "removeGauge", values: [AddressLike, AddressLike]): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "removePowerFromGauge", values: [AddressLike]): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "setEmergencyGaugePause", values: [AddressLike, boolean]): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "setEmergencyGaugePauseBatch", values: [AddressLike[], boolean[]]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "setEmergencyPause", values: [boolean]): string;
|
|
18
29
|
encodeFunctionData(functionFragment: "veToken", values?: undefined): string;
|
|
19
30
|
encodeFunctionData(functionFragment: "vote", values: [AddressLike, BigNumberish]): string;
|
|
20
31
|
decodeFunctionResult(functionFragment: "MAX_BOOST", data: BytesLike): Result;
|
|
21
32
|
decodeFunctionResult(functionFragment: "MIN_BOOST", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "activeGaugeCount", data: BytesLike): Result;
|
|
22
34
|
decodeFunctionResult(functionFragment: "batchVote", data: BytesLike): Result;
|
|
23
35
|
decodeFunctionResult(functionFragment: "calculateBoost", data: BytesLike): Result;
|
|
24
36
|
decodeFunctionResult(functionFragment: "getActiveGauges", data: BytesLike): Result;
|
|
25
37
|
decodeFunctionResult(functionFragment: "getCurrentEpoch", data: BytesLike): Result;
|
|
38
|
+
decodeFunctionResult(functionFragment: "getExpiredGaugeVotePower", data: BytesLike): Result;
|
|
26
39
|
decodeFunctionResult(functionFragment: "getGaugeRelativeWeight", data: BytesLike): Result;
|
|
27
40
|
decodeFunctionResult(functionFragment: "getGaugeRelativeWeightView", data: BytesLike): Result;
|
|
28
41
|
decodeFunctionResult(functionFragment: "getGaugeWeight", data: BytesLike): Result;
|
|
42
|
+
decodeFunctionResult(functionFragment: "getNextEpoch", data: BytesLike): Result;
|
|
43
|
+
decodeFunctionResult(functionFragment: "getRegisteredGaugeList", data: BytesLike): Result;
|
|
29
44
|
decodeFunctionResult(functionFragment: "getTotalWeight", data: BytesLike): Result;
|
|
30
|
-
decodeFunctionResult(functionFragment: "
|
|
45
|
+
decodeFunctionResult(functionFragment: "getUserGaugeVotePower", data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: "isGaugeActive", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: "isPaused", data: BytesLike): Result;
|
|
31
48
|
decodeFunctionResult(functionFragment: "kick", data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: "removeGauge", data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: "removePowerFromGauge", data: BytesLike): Result;
|
|
51
|
+
decodeFunctionResult(functionFragment: "setEmergencyGaugePause", data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: "setEmergencyGaugePauseBatch", data: BytesLike): Result;
|
|
53
|
+
decodeFunctionResult(functionFragment: "setEmergencyPause", data: BytesLike): Result;
|
|
32
54
|
decodeFunctionResult(functionFragment: "veToken", data: BytesLike): Result;
|
|
33
55
|
decodeFunctionResult(functionFragment: "vote", data: BytesLike): Result;
|
|
34
56
|
}
|
|
@@ -50,6 +72,27 @@ export declare namespace BoostAmplificationToggledEvent {
|
|
|
50
72
|
type Log = TypedEventLog<Event>;
|
|
51
73
|
type LogDescription = TypedLogDescription<Event>;
|
|
52
74
|
}
|
|
75
|
+
export declare namespace EmergencyGaugePauseUpdatedEvent {
|
|
76
|
+
type InputTuple = [
|
|
77
|
+
gauge: AddressLike,
|
|
78
|
+
paused: boolean,
|
|
79
|
+
triggeredBy: AddressLike
|
|
80
|
+
];
|
|
81
|
+
type OutputTuple = [
|
|
82
|
+
gauge: string,
|
|
83
|
+
paused: boolean,
|
|
84
|
+
triggeredBy: string
|
|
85
|
+
];
|
|
86
|
+
interface OutputObject {
|
|
87
|
+
gauge: string;
|
|
88
|
+
paused: boolean;
|
|
89
|
+
triggeredBy: string;
|
|
90
|
+
}
|
|
91
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
92
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
93
|
+
type Log = TypedEventLog<Event>;
|
|
94
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
95
|
+
}
|
|
53
96
|
export declare namespace EmergencyPauseUpdatedEvent {
|
|
54
97
|
type InputTuple = [paused: boolean];
|
|
55
98
|
type OutputTuple = [paused: boolean];
|
|
@@ -61,23 +104,28 @@ export declare namespace EmergencyPauseUpdatedEvent {
|
|
|
61
104
|
type Log = TypedEventLog<Event>;
|
|
62
105
|
type LogDescription = TypedLogDescription<Event>;
|
|
63
106
|
}
|
|
64
|
-
export declare namespace
|
|
65
|
-
type InputTuple = [gauge: AddressLike
|
|
66
|
-
type OutputTuple = [gauge: string
|
|
107
|
+
export declare namespace GaugeAddedEvent {
|
|
108
|
+
type InputTuple = [gauge: AddressLike];
|
|
109
|
+
type OutputTuple = [gauge: string];
|
|
67
110
|
interface OutputObject {
|
|
68
111
|
gauge: string;
|
|
69
|
-
triggeredBy: string;
|
|
70
112
|
}
|
|
71
113
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
72
114
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
73
115
|
type Log = TypedEventLog<Event>;
|
|
74
116
|
type LogDescription = TypedLogDescription<Event>;
|
|
75
117
|
}
|
|
76
|
-
export declare namespace
|
|
77
|
-
type InputTuple = [
|
|
78
|
-
|
|
118
|
+
export declare namespace GaugeKickedEvent {
|
|
119
|
+
type InputTuple = [
|
|
120
|
+
gauge: AddressLike,
|
|
121
|
+
bias: BigNumberish,
|
|
122
|
+
slope: BigNumberish
|
|
123
|
+
];
|
|
124
|
+
type OutputTuple = [gauge: string, bias: bigint, slope: bigint];
|
|
79
125
|
interface OutputObject {
|
|
80
126
|
gauge: string;
|
|
127
|
+
bias: bigint;
|
|
128
|
+
slope: bigint;
|
|
81
129
|
}
|
|
82
130
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
83
131
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -85,22 +133,38 @@ export declare namespace GaugeAddedEvent {
|
|
|
85
133
|
type LogDescription = TypedLogDescription<Event>;
|
|
86
134
|
}
|
|
87
135
|
export declare namespace GaugeRemovedEvent {
|
|
88
|
-
type InputTuple = [gauge: AddressLike];
|
|
89
|
-
type OutputTuple = [gauge: string];
|
|
136
|
+
type InputTuple = [gauge: AddressLike, totalWithdrawn: BigNumberish];
|
|
137
|
+
type OutputTuple = [gauge: string, totalWithdrawn: bigint];
|
|
90
138
|
interface OutputObject {
|
|
91
139
|
gauge: string;
|
|
140
|
+
totalWithdrawn: bigint;
|
|
92
141
|
}
|
|
93
142
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
94
143
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
95
144
|
type Log = TypedEventLog<Event>;
|
|
96
145
|
type LogDescription = TypedLogDescription<Event>;
|
|
97
146
|
}
|
|
98
|
-
export declare namespace
|
|
99
|
-
type InputTuple = [
|
|
100
|
-
|
|
147
|
+
export declare namespace GaugeRewardsDistributorUpdatedEvent {
|
|
148
|
+
type InputTuple = [
|
|
149
|
+
oldDistributor: AddressLike,
|
|
150
|
+
newDistributor: AddressLike
|
|
151
|
+
];
|
|
152
|
+
type OutputTuple = [oldDistributor: string, newDistributor: string];
|
|
101
153
|
interface OutputObject {
|
|
102
|
-
|
|
103
|
-
|
|
154
|
+
oldDistributor: string;
|
|
155
|
+
newDistributor: string;
|
|
156
|
+
}
|
|
157
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
158
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
159
|
+
type Log = TypedEventLog<Event>;
|
|
160
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
161
|
+
}
|
|
162
|
+
export declare namespace MaxVoteBucketsUpdatedEvent {
|
|
163
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
164
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
165
|
+
interface OutputObject {
|
|
166
|
+
oldValue: bigint;
|
|
167
|
+
newValue: bigint;
|
|
104
168
|
}
|
|
105
169
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
106
170
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -124,21 +188,21 @@ export declare namespace VoteWeightUpdatedEvent {
|
|
|
124
188
|
gauge: AddressLike,
|
|
125
189
|
weight: BigNumberish,
|
|
126
190
|
bias: BigNumberish,
|
|
127
|
-
|
|
191
|
+
locked: BigNumberish
|
|
128
192
|
];
|
|
129
193
|
type OutputTuple = [
|
|
130
194
|
user: string,
|
|
131
195
|
gauge: string,
|
|
132
196
|
weight: bigint,
|
|
133
197
|
bias: bigint,
|
|
134
|
-
|
|
198
|
+
locked: bigint
|
|
135
199
|
];
|
|
136
200
|
interface OutputObject {
|
|
137
201
|
user: string;
|
|
138
202
|
gauge: string;
|
|
139
203
|
weight: bigint;
|
|
140
204
|
bias: bigint;
|
|
141
|
-
|
|
205
|
+
locked: bigint;
|
|
142
206
|
}
|
|
143
207
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
144
208
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -157,6 +221,27 @@ export declare namespace VotesKickedEvent {
|
|
|
157
221
|
type Log = TypedEventLog<Event>;
|
|
158
222
|
type LogDescription = TypedLogDescription<Event>;
|
|
159
223
|
}
|
|
224
|
+
export declare namespace VotingPowerRemovedInactiveGaugeEvent {
|
|
225
|
+
type InputTuple = [
|
|
226
|
+
gauge: AddressLike,
|
|
227
|
+
oldVP: BigNumberish,
|
|
228
|
+
newVotingPower: BigNumberish
|
|
229
|
+
];
|
|
230
|
+
type OutputTuple = [
|
|
231
|
+
gauge: string,
|
|
232
|
+
oldVP: bigint,
|
|
233
|
+
newVotingPower: bigint
|
|
234
|
+
];
|
|
235
|
+
interface OutputObject {
|
|
236
|
+
gauge: string;
|
|
237
|
+
oldVP: bigint;
|
|
238
|
+
newVotingPower: bigint;
|
|
239
|
+
}
|
|
240
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
241
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
242
|
+
type Log = TypedEventLog<Event>;
|
|
243
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
244
|
+
}
|
|
160
245
|
export interface IGaugeController extends BaseContract {
|
|
161
246
|
connect(runner?: ContractRunner | null): IGaugeController;
|
|
162
247
|
waitForDeployment(): Promise<this>;
|
|
@@ -172,6 +257,7 @@ export interface IGaugeController extends BaseContract {
|
|
|
172
257
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
173
258
|
MAX_BOOST: TypedContractMethod<[], [bigint], "view">;
|
|
174
259
|
MIN_BOOST: TypedContractMethod<[], [bigint], "view">;
|
|
260
|
+
activeGaugeCount: TypedContractMethod<[], [bigint], "view">;
|
|
175
261
|
batchVote: TypedContractMethod<[
|
|
176
262
|
gauges: AddressLike[],
|
|
177
263
|
weights: BigNumberish[]
|
|
@@ -201,22 +287,66 @@ export interface IGaugeController extends BaseContract {
|
|
|
201
287
|
}
|
|
202
288
|
], "view">;
|
|
203
289
|
getCurrentEpoch: TypedContractMethod<[], [bigint], "view">;
|
|
290
|
+
getExpiredGaugeVotePower: TypedContractMethod<[
|
|
291
|
+
user: AddressLike
|
|
292
|
+
], [
|
|
293
|
+
[bigint, string[]] & {
|
|
294
|
+
expiredGaugePower: bigint;
|
|
295
|
+
}
|
|
296
|
+
], "view">;
|
|
204
297
|
getGaugeRelativeWeight: TypedContractMethod<[
|
|
205
298
|
gauge: AddressLike,
|
|
206
299
|
epoch: BigNumberish
|
|
207
300
|
], [
|
|
208
|
-
bigint
|
|
301
|
+
[bigint, bigint]
|
|
209
302
|
], "nonpayable">;
|
|
210
303
|
getGaugeRelativeWeightView: TypedContractMethod<[
|
|
211
304
|
gauge: AddressLike,
|
|
212
305
|
epoch: BigNumberish
|
|
213
306
|
], [
|
|
214
|
-
bigint
|
|
307
|
+
[bigint, bigint]
|
|
215
308
|
], "view">;
|
|
216
309
|
getGaugeWeight: TypedContractMethod<[gauge: AddressLike], [bigint], "view">;
|
|
310
|
+
getNextEpoch: TypedContractMethod<[], [bigint], "view">;
|
|
311
|
+
getRegisteredGaugeList: TypedContractMethod<[], [string[]], "view">;
|
|
217
312
|
getTotalWeight: TypedContractMethod<[], [bigint], "view">;
|
|
218
|
-
|
|
313
|
+
getUserGaugeVotePower: TypedContractMethod<[
|
|
314
|
+
user: AddressLike,
|
|
315
|
+
gauge: AddressLike
|
|
316
|
+
], [
|
|
317
|
+
bigint
|
|
318
|
+
], "view">;
|
|
319
|
+
isGaugeActive: TypedContractMethod<[gauge: AddressLike], [boolean], "view">;
|
|
320
|
+
isPaused: TypedContractMethod<[], [boolean], "view">;
|
|
219
321
|
kick: TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
322
|
+
removeGauge: TypedContractMethod<[
|
|
323
|
+
gaugeAddress: AddressLike,
|
|
324
|
+
recipient: AddressLike
|
|
325
|
+
], [
|
|
326
|
+
void
|
|
327
|
+
], "nonpayable">;
|
|
328
|
+
removePowerFromGauge: TypedContractMethod<[
|
|
329
|
+
gauge: AddressLike
|
|
330
|
+
], [
|
|
331
|
+
void
|
|
332
|
+
], "nonpayable">;
|
|
333
|
+
setEmergencyGaugePause: TypedContractMethod<[
|
|
334
|
+
gauge: AddressLike,
|
|
335
|
+
paused: boolean
|
|
336
|
+
], [
|
|
337
|
+
void
|
|
338
|
+
], "nonpayable">;
|
|
339
|
+
setEmergencyGaugePauseBatch: TypedContractMethod<[
|
|
340
|
+
gaugeList: AddressLike[],
|
|
341
|
+
status: boolean[]
|
|
342
|
+
], [
|
|
343
|
+
void
|
|
344
|
+
], "nonpayable">;
|
|
345
|
+
setEmergencyPause: TypedContractMethod<[
|
|
346
|
+
paused: boolean
|
|
347
|
+
], [
|
|
348
|
+
void
|
|
349
|
+
], "nonpayable">;
|
|
220
350
|
veToken: TypedContractMethod<[], [string], "view">;
|
|
221
351
|
vote: TypedContractMethod<[
|
|
222
352
|
gauge: AddressLike,
|
|
@@ -227,6 +357,7 @@ export interface IGaugeController extends BaseContract {
|
|
|
227
357
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
228
358
|
getFunction(nameOrSignature: "MAX_BOOST"): TypedContractMethod<[], [bigint], "view">;
|
|
229
359
|
getFunction(nameOrSignature: "MIN_BOOST"): TypedContractMethod<[], [bigint], "view">;
|
|
360
|
+
getFunction(nameOrSignature: "activeGaugeCount"): TypedContractMethod<[], [bigint], "view">;
|
|
230
361
|
getFunction(nameOrSignature: "batchVote"): TypedContractMethod<[
|
|
231
362
|
gauges: AddressLike[],
|
|
232
363
|
weights: BigNumberish[]
|
|
@@ -256,22 +387,58 @@ export interface IGaugeController extends BaseContract {
|
|
|
256
387
|
}
|
|
257
388
|
], "view">;
|
|
258
389
|
getFunction(nameOrSignature: "getCurrentEpoch"): TypedContractMethod<[], [bigint], "view">;
|
|
390
|
+
getFunction(nameOrSignature: "getExpiredGaugeVotePower"): TypedContractMethod<[
|
|
391
|
+
user: AddressLike
|
|
392
|
+
], [
|
|
393
|
+
[bigint, string[]] & {
|
|
394
|
+
expiredGaugePower: bigint;
|
|
395
|
+
}
|
|
396
|
+
], "view">;
|
|
259
397
|
getFunction(nameOrSignature: "getGaugeRelativeWeight"): TypedContractMethod<[
|
|
260
398
|
gauge: AddressLike,
|
|
261
399
|
epoch: BigNumberish
|
|
262
400
|
], [
|
|
263
|
-
bigint
|
|
401
|
+
[bigint, bigint]
|
|
264
402
|
], "nonpayable">;
|
|
265
403
|
getFunction(nameOrSignature: "getGaugeRelativeWeightView"): TypedContractMethod<[
|
|
266
404
|
gauge: AddressLike,
|
|
267
405
|
epoch: BigNumberish
|
|
268
406
|
], [
|
|
269
|
-
bigint
|
|
407
|
+
[bigint, bigint]
|
|
270
408
|
], "view">;
|
|
271
409
|
getFunction(nameOrSignature: "getGaugeWeight"): TypedContractMethod<[gauge: AddressLike], [bigint], "view">;
|
|
410
|
+
getFunction(nameOrSignature: "getNextEpoch"): TypedContractMethod<[], [bigint], "view">;
|
|
411
|
+
getFunction(nameOrSignature: "getRegisteredGaugeList"): TypedContractMethod<[], [string[]], "view">;
|
|
272
412
|
getFunction(nameOrSignature: "getTotalWeight"): TypedContractMethod<[], [bigint], "view">;
|
|
273
|
-
getFunction(nameOrSignature: "
|
|
413
|
+
getFunction(nameOrSignature: "getUserGaugeVotePower"): TypedContractMethod<[
|
|
414
|
+
user: AddressLike,
|
|
415
|
+
gauge: AddressLike
|
|
416
|
+
], [
|
|
417
|
+
bigint
|
|
418
|
+
], "view">;
|
|
419
|
+
getFunction(nameOrSignature: "isGaugeActive"): TypedContractMethod<[gauge: AddressLike], [boolean], "view">;
|
|
420
|
+
getFunction(nameOrSignature: "isPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
274
421
|
getFunction(nameOrSignature: "kick"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
|
|
422
|
+
getFunction(nameOrSignature: "removeGauge"): TypedContractMethod<[
|
|
423
|
+
gaugeAddress: AddressLike,
|
|
424
|
+
recipient: AddressLike
|
|
425
|
+
], [
|
|
426
|
+
void
|
|
427
|
+
], "nonpayable">;
|
|
428
|
+
getFunction(nameOrSignature: "removePowerFromGauge"): TypedContractMethod<[gauge: AddressLike], [void], "nonpayable">;
|
|
429
|
+
getFunction(nameOrSignature: "setEmergencyGaugePause"): TypedContractMethod<[
|
|
430
|
+
gauge: AddressLike,
|
|
431
|
+
paused: boolean
|
|
432
|
+
], [
|
|
433
|
+
void
|
|
434
|
+
], "nonpayable">;
|
|
435
|
+
getFunction(nameOrSignature: "setEmergencyGaugePauseBatch"): TypedContractMethod<[
|
|
436
|
+
gaugeList: AddressLike[],
|
|
437
|
+
status: boolean[]
|
|
438
|
+
], [
|
|
439
|
+
void
|
|
440
|
+
], "nonpayable">;
|
|
441
|
+
getFunction(nameOrSignature: "setEmergencyPause"): TypedContractMethod<[paused: boolean], [void], "nonpayable">;
|
|
275
442
|
getFunction(nameOrSignature: "veToken"): TypedContractMethod<[], [string], "view">;
|
|
276
443
|
getFunction(nameOrSignature: "vote"): TypedContractMethod<[
|
|
277
444
|
gauge: AddressLike,
|
|
@@ -280,32 +447,41 @@ export interface IGaugeController extends BaseContract {
|
|
|
280
447
|
void
|
|
281
448
|
], "nonpayable">;
|
|
282
449
|
getEvent(key: "BoostAmplificationToggled"): TypedContractEvent<BoostAmplificationToggledEvent.InputTuple, BoostAmplificationToggledEvent.OutputTuple, BoostAmplificationToggledEvent.OutputObject>;
|
|
450
|
+
getEvent(key: "EmergencyGaugePauseUpdated"): TypedContractEvent<EmergencyGaugePauseUpdatedEvent.InputTuple, EmergencyGaugePauseUpdatedEvent.OutputTuple, EmergencyGaugePauseUpdatedEvent.OutputObject>;
|
|
283
451
|
getEvent(key: "EmergencyPauseUpdated"): TypedContractEvent<EmergencyPauseUpdatedEvent.InputTuple, EmergencyPauseUpdatedEvent.OutputTuple, EmergencyPauseUpdatedEvent.OutputObject>;
|
|
284
|
-
getEvent(key: "EmergencyShutdown"): TypedContractEvent<EmergencyShutdownEvent.InputTuple, EmergencyShutdownEvent.OutputTuple, EmergencyShutdownEvent.OutputObject>;
|
|
285
452
|
getEvent(key: "GaugeAdded"): TypedContractEvent<GaugeAddedEvent.InputTuple, GaugeAddedEvent.OutputTuple, GaugeAddedEvent.OutputObject>;
|
|
453
|
+
getEvent(key: "GaugeKicked"): TypedContractEvent<GaugeKickedEvent.InputTuple, GaugeKickedEvent.OutputTuple, GaugeKickedEvent.OutputObject>;
|
|
286
454
|
getEvent(key: "GaugeRemoved"): TypedContractEvent<GaugeRemovedEvent.InputTuple, GaugeRemovedEvent.OutputTuple, GaugeRemovedEvent.OutputObject>;
|
|
287
|
-
getEvent(key: "
|
|
455
|
+
getEvent(key: "GaugeRewardsDistributorUpdated"): TypedContractEvent<GaugeRewardsDistributorUpdatedEvent.InputTuple, GaugeRewardsDistributorUpdatedEvent.OutputTuple, GaugeRewardsDistributorUpdatedEvent.OutputObject>;
|
|
456
|
+
getEvent(key: "MaxVoteBucketsUpdated"): TypedContractEvent<MaxVoteBucketsUpdatedEvent.InputTuple, MaxVoteBucketsUpdatedEvent.OutputTuple, MaxVoteBucketsUpdatedEvent.OutputObject>;
|
|
288
457
|
getEvent(key: "VeBoostProxyUpdated"): TypedContractEvent<VeBoostProxyUpdatedEvent.InputTuple, VeBoostProxyUpdatedEvent.OutputTuple, VeBoostProxyUpdatedEvent.OutputObject>;
|
|
289
458
|
getEvent(key: "VoteWeightUpdated"): TypedContractEvent<VoteWeightUpdatedEvent.InputTuple, VoteWeightUpdatedEvent.OutputTuple, VoteWeightUpdatedEvent.OutputObject>;
|
|
290
459
|
getEvent(key: "VotesKicked"): TypedContractEvent<VotesKickedEvent.InputTuple, VotesKickedEvent.OutputTuple, VotesKickedEvent.OutputObject>;
|
|
460
|
+
getEvent(key: "VotingPowerRemovedInactiveGauge"): TypedContractEvent<VotingPowerRemovedInactiveGaugeEvent.InputTuple, VotingPowerRemovedInactiveGaugeEvent.OutputTuple, VotingPowerRemovedInactiveGaugeEvent.OutputObject>;
|
|
291
461
|
filters: {
|
|
292
462
|
"BoostAmplificationToggled(address,bool)": TypedContractEvent<BoostAmplificationToggledEvent.InputTuple, BoostAmplificationToggledEvent.OutputTuple, BoostAmplificationToggledEvent.OutputObject>;
|
|
293
463
|
BoostAmplificationToggled: TypedContractEvent<BoostAmplificationToggledEvent.InputTuple, BoostAmplificationToggledEvent.OutputTuple, BoostAmplificationToggledEvent.OutputObject>;
|
|
464
|
+
"EmergencyGaugePauseUpdated(address,bool,address)": TypedContractEvent<EmergencyGaugePauseUpdatedEvent.InputTuple, EmergencyGaugePauseUpdatedEvent.OutputTuple, EmergencyGaugePauseUpdatedEvent.OutputObject>;
|
|
465
|
+
EmergencyGaugePauseUpdated: TypedContractEvent<EmergencyGaugePauseUpdatedEvent.InputTuple, EmergencyGaugePauseUpdatedEvent.OutputTuple, EmergencyGaugePauseUpdatedEvent.OutputObject>;
|
|
294
466
|
"EmergencyPauseUpdated(bool)": TypedContractEvent<EmergencyPauseUpdatedEvent.InputTuple, EmergencyPauseUpdatedEvent.OutputTuple, EmergencyPauseUpdatedEvent.OutputObject>;
|
|
295
467
|
EmergencyPauseUpdated: TypedContractEvent<EmergencyPauseUpdatedEvent.InputTuple, EmergencyPauseUpdatedEvent.OutputTuple, EmergencyPauseUpdatedEvent.OutputObject>;
|
|
296
|
-
"EmergencyShutdown(address,address)": TypedContractEvent<EmergencyShutdownEvent.InputTuple, EmergencyShutdownEvent.OutputTuple, EmergencyShutdownEvent.OutputObject>;
|
|
297
|
-
EmergencyShutdown: TypedContractEvent<EmergencyShutdownEvent.InputTuple, EmergencyShutdownEvent.OutputTuple, EmergencyShutdownEvent.OutputObject>;
|
|
298
468
|
"GaugeAdded(address)": TypedContractEvent<GaugeAddedEvent.InputTuple, GaugeAddedEvent.OutputTuple, GaugeAddedEvent.OutputObject>;
|
|
299
469
|
GaugeAdded: TypedContractEvent<GaugeAddedEvent.InputTuple, GaugeAddedEvent.OutputTuple, GaugeAddedEvent.OutputObject>;
|
|
300
|
-
"
|
|
470
|
+
"GaugeKicked(address,uint256,uint256)": TypedContractEvent<GaugeKickedEvent.InputTuple, GaugeKickedEvent.OutputTuple, GaugeKickedEvent.OutputObject>;
|
|
471
|
+
GaugeKicked: TypedContractEvent<GaugeKickedEvent.InputTuple, GaugeKickedEvent.OutputTuple, GaugeKickedEvent.OutputObject>;
|
|
472
|
+
"GaugeRemoved(address,uint256)": TypedContractEvent<GaugeRemovedEvent.InputTuple, GaugeRemovedEvent.OutputTuple, GaugeRemovedEvent.OutputObject>;
|
|
301
473
|
GaugeRemoved: TypedContractEvent<GaugeRemovedEvent.InputTuple, GaugeRemovedEvent.OutputTuple, GaugeRemovedEvent.OutputObject>;
|
|
302
|
-
"
|
|
303
|
-
|
|
474
|
+
"GaugeRewardsDistributorUpdated(address,address)": TypedContractEvent<GaugeRewardsDistributorUpdatedEvent.InputTuple, GaugeRewardsDistributorUpdatedEvent.OutputTuple, GaugeRewardsDistributorUpdatedEvent.OutputObject>;
|
|
475
|
+
GaugeRewardsDistributorUpdated: TypedContractEvent<GaugeRewardsDistributorUpdatedEvent.InputTuple, GaugeRewardsDistributorUpdatedEvent.OutputTuple, GaugeRewardsDistributorUpdatedEvent.OutputObject>;
|
|
476
|
+
"MaxVoteBucketsUpdated(uint256,uint256)": TypedContractEvent<MaxVoteBucketsUpdatedEvent.InputTuple, MaxVoteBucketsUpdatedEvent.OutputTuple, MaxVoteBucketsUpdatedEvent.OutputObject>;
|
|
477
|
+
MaxVoteBucketsUpdated: TypedContractEvent<MaxVoteBucketsUpdatedEvent.InputTuple, MaxVoteBucketsUpdatedEvent.OutputTuple, MaxVoteBucketsUpdatedEvent.OutputObject>;
|
|
304
478
|
"VeBoostProxyUpdated(address)": TypedContractEvent<VeBoostProxyUpdatedEvent.InputTuple, VeBoostProxyUpdatedEvent.OutputTuple, VeBoostProxyUpdatedEvent.OutputObject>;
|
|
305
479
|
VeBoostProxyUpdated: TypedContractEvent<VeBoostProxyUpdatedEvent.InputTuple, VeBoostProxyUpdatedEvent.OutputTuple, VeBoostProxyUpdatedEvent.OutputObject>;
|
|
306
480
|
"VoteWeightUpdated(address,address,uint256,uint256,uint256)": TypedContractEvent<VoteWeightUpdatedEvent.InputTuple, VoteWeightUpdatedEvent.OutputTuple, VoteWeightUpdatedEvent.OutputObject>;
|
|
307
481
|
VoteWeightUpdated: TypedContractEvent<VoteWeightUpdatedEvent.InputTuple, VoteWeightUpdatedEvent.OutputTuple, VoteWeightUpdatedEvent.OutputObject>;
|
|
308
482
|
"VotesKicked(address,uint256)": TypedContractEvent<VotesKickedEvent.InputTuple, VotesKickedEvent.OutputTuple, VotesKickedEvent.OutputObject>;
|
|
309
483
|
VotesKicked: TypedContractEvent<VotesKickedEvent.InputTuple, VotesKickedEvent.OutputTuple, VotesKickedEvent.OutputObject>;
|
|
484
|
+
"VotingPowerRemovedInactiveGauge(address,uint256,uint256)": TypedContractEvent<VotingPowerRemovedInactiveGaugeEvent.InputTuple, VotingPowerRemovedInactiveGaugeEvent.OutputTuple, VotingPowerRemovedInactiveGaugeEvent.OutputObject>;
|
|
485
|
+
VotingPowerRemovedInactiveGauge: TypedContractEvent<VotingPowerRemovedInactiveGaugeEvent.InputTuple, VotingPowerRemovedInactiveGaugeEvent.OutputTuple, VotingPowerRemovedInactiveGaugeEvent.OutputObject>;
|
|
310
486
|
};
|
|
311
487
|
}
|