@raac/rpc 1.2.0-beta.10 → 1.2.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/RPCLibrary.js +2 -0
  2. package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.json +113 -20
  3. package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +259 -31
  4. package/dist/artifacts/core/governance/gauges/GaugeRewardsDistributor.sol/GaugeRewardsDistributor.json +159 -31
  5. package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +115 -22
  6. package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +115 -22
  7. package/dist/configs/chains/1.json +22 -25
  8. package/dist/configs/chains/11155111.json +76 -112
  9. package/dist/configs/chains/17000.json +22 -25
  10. package/dist/configs/chains/18453.json +22 -25
  11. package/dist/configs/chains/8453.json +61 -31
  12. package/dist/contracts/findContract.js +11 -4
  13. package/dist/contracts/getContractAddress.js +0 -1
  14. package/dist/contracts/governance/distributor/claimAll.js +18 -11
  15. package/dist/contracts/governance/distributor/claimForGauge.js +18 -12
  16. package/dist/contracts/governance/distributor/deposit.js +17 -12
  17. package/dist/contracts/governance/distributor/getClaimableForGauge.js +10 -9
  18. package/dist/contracts/governance/distributor/getClaimedAtEpoch.js +11 -10
  19. package/dist/contracts/governance/distributor/getDepositedAtEpoch.js +8 -8
  20. package/dist/contracts/governance/distributor/getDustLastProcessedEpoch.js +28 -0
  21. package/dist/contracts/governance/distributor/getGaugeController.js +7 -7
  22. package/dist/contracts/governance/distributor/getLastClaimedEpoch.js +10 -9
  23. package/dist/contracts/governance/distributor/getMaxClaimBound.js +29 -0
  24. package/dist/contracts/governance/distributor/getPeriodDuration.js +7 -7
  25. package/dist/contracts/governance/distributor/getRewardToken.js +7 -7
  26. package/dist/contracts/governance/distributor/getRewardTokenInfo.js +7 -7
  27. package/dist/contracts/governance/distributor/getRewardTokenStats.js +7 -7
  28. package/dist/contracts/governance/distributor/index.js +5 -2
  29. package/dist/contracts/governance/distributor/setController.js +17 -12
  30. package/dist/contracts/governance/distributor/setLastClaimedEpoch.js +32 -0
  31. package/dist/contracts/governance/distributor/setMaxClaimBound.js +31 -0
  32. package/dist/contracts/governance/distributor/withdrawDust.js +31 -0
  33. package/dist/contracts/governance/distributor/withdrawRemovedGaugeRewards.js +19 -13
  34. package/dist/contracts/governance/gauge/_apy.js +122 -0
  35. package/dist/contracts/governance/gauge/_tokens.js +36 -0
  36. package/dist/contracts/governance/gauge/addRewardToken.js +2 -12
  37. package/dist/contracts/governance/gauge/approveGaugeToken.js +31 -0
  38. package/dist/contracts/governance/gauge/claimExtraReward.js +2 -12
  39. package/dist/contracts/governance/gauge/claimExtraRewards.js +2 -12
  40. package/dist/contracts/governance/gauge/claimOnBehalfOf.js +2 -12
  41. package/dist/contracts/governance/gauge/claimRewardToken.js +3 -13
  42. package/dist/contracts/governance/gauge/claimRewardsFor.js +2 -12
  43. package/dist/contracts/governance/gauge/depositRewardToken.js +2 -12
  44. package/dist/contracts/governance/gauge/getAllPendingExtraRewards.js +2 -9
  45. package/dist/contracts/governance/gauge/getApy.js +44 -0
  46. package/dist/contracts/governance/gauge/getBalanceOf.js +2 -15
  47. package/dist/contracts/governance/gauge/getControllerAddress.js +2 -9
  48. package/dist/contracts/governance/gauge/getDecimalAdjustment.js +2 -9
  49. package/dist/contracts/governance/gauge/getDepositRAACOnClaim.js +2 -9
  50. package/dist/contracts/governance/gauge/getDistributorData.js +2 -9
  51. package/dist/contracts/governance/gauge/getDistributors.js +2 -9
  52. package/dist/contracts/governance/gauge/getEarnedExtraReward.js +30 -0
  53. package/dist/contracts/governance/gauge/getEarnedReward.js +8 -14
  54. package/dist/contracts/governance/gauge/getExtraRewardTokens.js +2 -9
  55. package/dist/contracts/governance/gauge/getGaugeData.js +39 -0
  56. package/dist/contracts/governance/gauge/getGaugeRewardTokenData.js +2 -9
  57. package/dist/contracts/governance/gauge/getPauseStatus.js +31 -0
  58. package/dist/contracts/governance/gauge/getPendingExtraRewards.js +2 -9
  59. package/dist/contracts/governance/gauge/getPendingRewards.js +8 -14
  60. package/dist/contracts/governance/gauge/getPeriodBoundaries.js +2 -15
  61. package/dist/contracts/governance/gauge/getPeriodDuration.js +2 -15
  62. package/dist/contracts/governance/gauge/getRaacAutolockMin.js +2 -9
  63. package/dist/contracts/governance/gauge/getRawBalanceOf.js +2 -15
  64. package/dist/contracts/governance/gauge/getRawTotalSupply.js +2 -15
  65. package/dist/contracts/governance/gauge/getRewardTokens.js +28 -0
  66. package/dist/contracts/governance/gauge/getTotalSupply.js +2 -15
  67. package/dist/contracts/governance/gauge/getUserApy.js +71 -0
  68. package/dist/contracts/governance/gauge/getUserClaimableRewards.js +21 -73
  69. package/dist/contracts/governance/gauge/getUserGaugeState.js +44 -0
  70. package/dist/contracts/governance/gauge/getUserRewardTokenData.js +2 -9
  71. package/dist/contracts/governance/gauge/getUserWeight.js +2 -9
  72. package/dist/contracts/governance/gauge/index.js +11 -1
  73. package/dist/contracts/governance/gauge/isPaused.js +4 -11
  74. package/dist/contracts/governance/gauge/manageDistributor.js +2 -12
  75. package/dist/contracts/governance/gauge/pullRewardsFromDistributor.js +30 -0
  76. package/dist/contracts/governance/gauge/setController.js +2 -12
  77. package/dist/contracts/governance/gauge/setDepositRAACOnClaim.js +2 -12
  78. package/dist/contracts/governance/gauge/setEmergencyPaused.js +2 -12
  79. package/dist/contracts/governance/gauge/setGaugeRewardDistributor.js +2 -12
  80. package/dist/contracts/governance/gauge/setRaacAutolockMin.js +2 -12
  81. package/dist/contracts/governance/gauge/stake.js +2 -18
  82. package/dist/contracts/governance/gauge/unwrapStakingToken.js +28 -0
  83. package/dist/contracts/governance/gauge/updateUserRewards.js +2 -18
  84. package/dist/contracts/governance/gauge/withdraw.js +2 -18
  85. package/dist/contracts/governance/gauge/wrapStakingToken.js +28 -0
  86. package/dist/contracts/governance/gaugeController/addGauge.js +19 -11
  87. package/dist/contracts/governance/gaugeController/batchVote.js +20 -12
  88. package/dist/contracts/governance/gaugeController/calculateBoost.js +20 -23
  89. package/dist/contracts/governance/gaugeController/forceCompleteCheckpoint.js +19 -11
  90. package/dist/contracts/governance/gaugeController/getActiveGaugeCount.js +28 -0
  91. package/dist/contracts/governance/gaugeController/getActiveGauges.js +10 -13
  92. package/dist/contracts/governance/gaugeController/getConstants.js +10 -18
  93. package/dist/contracts/governance/gaugeController/getCurrentEpoch.js +8 -7
  94. package/dist/contracts/governance/gaugeController/getExpiredGaugeVotePower.js +30 -0
  95. package/dist/contracts/governance/gaugeController/getGauge.js +11 -9
  96. package/dist/contracts/governance/gaugeController/getGaugeDistributor.js +28 -0
  97. package/dist/contracts/governance/gaugeController/getGaugeEmissions.js +15 -9
  98. package/dist/contracts/governance/gaugeController/getGaugeRelativeWeight.js +19 -15
  99. package/dist/contracts/governance/gaugeController/getGaugeRelativeWeightView.js +12 -10
  100. package/dist/contracts/governance/gaugeController/getGaugeWeight.js +10 -8
  101. package/dist/contracts/governance/gaugeController/getLastVoteTime.js +11 -9
  102. package/dist/contracts/governance/gaugeController/getMaxVoteBuckets.js +28 -0
  103. package/dist/contracts/governance/gaugeController/getNextEpoch.js +8 -7
  104. package/dist/contracts/governance/gaugeController/getRegisteredGaugeList.js +28 -0
  105. package/dist/contracts/governance/gaugeController/getTotalWeight.js +8 -7
  106. package/dist/contracts/governance/gaugeController/getUserGaugeVotePower.js +11 -9
  107. package/dist/contracts/governance/gaugeController/getUserVotePowerRemaining.js +10 -9
  108. package/dist/contracts/governance/gaugeController/getVeToken.js +8 -7
  109. package/dist/contracts/governance/gaugeController/getVoteUserLocks.js +32 -0
  110. package/dist/contracts/governance/gaugeController/getVoteUserPower.js +8 -7
  111. package/dist/contracts/governance/gaugeController/getVoteUserSlope.js +12 -10
  112. package/dist/contracts/governance/gaugeController/index.js +10 -1
  113. package/dist/contracts/governance/gaugeController/isGaugeActive.js +11 -9
  114. package/dist/contracts/governance/gaugeController/isPaused.js +9 -8
  115. package/dist/contracts/governance/gaugeController/kick.js +17 -10
  116. package/dist/contracts/governance/gaugeController/removeGauge.js +20 -11
  117. package/dist/contracts/governance/gaugeController/removePowerFromGauge.js +19 -11
  118. package/dist/contracts/governance/gaugeController/setBoostAmplificationEnabled.js +20 -12
  119. package/dist/contracts/governance/gaugeController/setDistributor.js +31 -0
  120. package/dist/contracts/governance/gaugeController/setEmergencyGaugePause.js +20 -12
  121. package/dist/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.js +33 -0
  122. package/dist/contracts/governance/gaugeController/setEmergencyPause.js +18 -11
  123. package/dist/contracts/governance/gaugeController/setMaxVoteBuckets.js +31 -0
  124. package/dist/contracts/governance/gaugeController/vote.js +15 -16
  125. package/dist/contracts/governance/gaugeSystems/_helpers.js +123 -0
  126. package/dist/contracts/governance/gaugeSystems/findGauge.js +14 -0
  127. package/dist/contracts/governance/gaugeSystems/getGaugeSystem.js +14 -0
  128. package/dist/contracts/governance/gaugeSystems/getGaugeSystems.js +13 -0
  129. package/dist/contracts/governance/gaugeSystems/getGauges.js +15 -0
  130. package/dist/contracts/governance/gaugeSystems/index.js +21 -0
  131. package/dist/types/RPCLibrary.d.ts +2 -0
  132. package/dist/types/configs/chains/index.d.ts +36 -46
  133. package/dist/types/configs/index.d.ts +18 -23
  134. package/dist/types/contracts/governance/distributor/claimAll.d.ts +7 -5
  135. package/dist/types/contracts/governance/distributor/claimForGauge.d.ts +7 -6
  136. package/dist/types/contracts/governance/distributor/deposit.d.ts +7 -6
  137. package/dist/types/contracts/governance/distributor/getClaimableForGauge.d.ts +6 -4
  138. package/dist/types/contracts/governance/distributor/getClaimedAtEpoch.d.ts +7 -5
  139. package/dist/types/contracts/governance/distributor/getDepositedAtEpoch.d.ts +6 -4
  140. package/dist/types/contracts/governance/distributor/getDustLastProcessedEpoch.d.ts +12 -0
  141. package/dist/types/contracts/governance/distributor/getGaugeController.d.ts +5 -3
  142. package/dist/types/contracts/governance/distributor/getLastClaimedEpoch.d.ts +6 -4
  143. package/dist/types/contracts/governance/distributor/getMaxClaimBound.d.ts +15 -0
  144. package/dist/types/contracts/governance/distributor/getPeriodDuration.d.ts +5 -3
  145. package/dist/types/contracts/governance/distributor/getRewardToken.d.ts +5 -3
  146. package/dist/types/contracts/governance/distributor/getRewardTokenInfo.d.ts +5 -3
  147. package/dist/types/contracts/governance/distributor/getRewardTokenStats.d.ts +5 -3
  148. package/dist/types/contracts/governance/distributor/index.d.ts +5 -2
  149. package/dist/types/contracts/governance/distributor/setController.d.ts +7 -6
  150. package/dist/types/contracts/governance/distributor/setLastClaimedEpoch.d.ts +13 -0
  151. package/dist/types/contracts/governance/distributor/setMaxClaimBound.d.ts +13 -0
  152. package/dist/types/contracts/governance/distributor/withdrawDust.d.ts +13 -0
  153. package/dist/types/contracts/governance/distributor/withdrawRemovedGaugeRewards.d.ts +8 -7
  154. package/dist/types/contracts/governance/gauge/_apy.d.ts +61 -0
  155. package/dist/types/contracts/governance/gauge/_tokens.d.ts +14 -0
  156. package/dist/types/contracts/governance/gauge/approveGaugeToken.d.ts +14 -0
  157. package/dist/types/contracts/governance/gauge/claimRewardToken.d.ts +1 -1
  158. package/dist/types/contracts/governance/gauge/getApy.d.ts +41 -0
  159. package/dist/types/contracts/governance/gauge/getEarnedExtraReward.d.ts +13 -0
  160. package/dist/types/contracts/governance/gauge/getEarnedReward.d.ts +3 -2
  161. package/dist/types/contracts/governance/gauge/getGaugeData.d.ts +23 -0
  162. package/dist/types/contracts/governance/gauge/getPauseStatus.d.ts +19 -0
  163. package/dist/types/contracts/governance/gauge/getPendingRewards.d.ts +3 -2
  164. package/dist/types/contracts/governance/gauge/getRewardTokens.d.ts +11 -0
  165. package/dist/types/contracts/governance/gauge/getUserApy.d.ts +44 -0
  166. package/dist/types/contracts/governance/gauge/getUserClaimableRewards.d.ts +14 -12
  167. package/dist/types/contracts/governance/gauge/getUserGaugeState.d.ts +31 -0
  168. package/dist/types/contracts/governance/gauge/index.d.ts +11 -1
  169. package/dist/types/contracts/governance/gauge/isPaused.d.ts +1 -1
  170. package/dist/types/contracts/governance/gauge/pullRewardsFromDistributor.d.ts +11 -0
  171. package/dist/types/contracts/governance/gauge/unwrapStakingToken.d.ts +12 -0
  172. package/dist/types/contracts/governance/gauge/wrapStakingToken.d.ts +13 -0
  173. package/dist/types/contracts/governance/gaugeController/addGauge.d.ts +8 -5
  174. package/dist/types/contracts/governance/gaugeController/batchVote.d.ts +9 -6
  175. package/dist/types/contracts/governance/gaugeController/calculateBoost.d.ts +10 -8
  176. package/dist/types/contracts/governance/gaugeController/forceCompleteCheckpoint.d.ts +8 -5
  177. package/dist/types/contracts/governance/gaugeController/getActiveGaugeCount.d.ts +12 -0
  178. package/dist/types/contracts/governance/gaugeController/getActiveGauges.d.ts +7 -3
  179. package/dist/types/contracts/governance/gaugeController/getConstants.d.ts +6 -4
  180. package/dist/types/contracts/governance/gaugeController/getCurrentEpoch.d.ts +6 -3
  181. package/dist/types/contracts/governance/gaugeController/getExpiredGaugeVotePower.d.ts +16 -0
  182. package/dist/types/contracts/governance/gaugeController/getGauge.d.ts +7 -4
  183. package/dist/types/contracts/governance/gaugeController/getGaugeDistributor.d.ts +12 -0
  184. package/dist/types/contracts/governance/gaugeController/getGaugeEmissions.d.ts +6 -3
  185. package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeight.d.ts +8 -9
  186. package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeightView.d.ts +8 -5
  187. package/dist/types/contracts/governance/gaugeController/getGaugeWeight.d.ts +6 -4
  188. package/dist/types/contracts/governance/gaugeController/getLastVoteTime.d.ts +7 -4
  189. package/dist/types/contracts/governance/gaugeController/getMaxVoteBuckets.d.ts +12 -0
  190. package/dist/types/contracts/governance/gaugeController/getNextEpoch.d.ts +6 -3
  191. package/dist/types/contracts/governance/gaugeController/getRegisteredGaugeList.d.ts +12 -0
  192. package/dist/types/contracts/governance/gaugeController/getTotalWeight.d.ts +5 -3
  193. package/dist/types/contracts/governance/gaugeController/getUserGaugeVotePower.d.ts +7 -4
  194. package/dist/types/contracts/governance/gaugeController/getUserVotePowerRemaining.d.ts +6 -4
  195. package/dist/types/contracts/governance/gaugeController/getVeToken.d.ts +6 -3
  196. package/dist/types/contracts/governance/gaugeController/getVoteUserLocks.d.ts +17 -0
  197. package/dist/types/contracts/governance/gaugeController/getVoteUserPower.d.ts +6 -3
  198. package/dist/types/contracts/governance/gaugeController/getVoteUserSlope.d.ts +8 -5
  199. package/dist/types/contracts/governance/gaugeController/index.d.ts +10 -1
  200. package/dist/types/contracts/governance/gaugeController/isGaugeActive.d.ts +6 -4
  201. package/dist/types/contracts/governance/gaugeController/isPaused.d.ts +6 -3
  202. package/dist/types/contracts/governance/gaugeController/kick.d.ts +7 -4
  203. package/dist/types/contracts/governance/gaugeController/removeGauge.d.ts +9 -5
  204. package/dist/types/contracts/governance/gaugeController/removePowerFromGauge.d.ts +8 -5
  205. package/dist/types/contracts/governance/gaugeController/setBoostAmplificationEnabled.d.ts +9 -6
  206. package/dist/types/contracts/governance/gaugeController/setDistributor.d.ts +13 -0
  207. package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePause.d.ts +9 -6
  208. package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.d.ts +14 -0
  209. package/dist/types/contracts/governance/gaugeController/setEmergencyPause.d.ts +8 -5
  210. package/dist/types/contracts/governance/gaugeController/setMaxVoteBuckets.d.ts +13 -0
  211. package/dist/types/contracts/governance/gaugeController/vote.d.ts +9 -7
  212. package/dist/types/contracts/governance/gaugeSystems/_helpers.d.ts +71 -0
  213. package/dist/types/contracts/governance/gaugeSystems/findGauge.d.ts +11 -0
  214. package/dist/types/contracts/governance/gaugeSystems/getGaugeSystem.d.ts +11 -0
  215. package/dist/types/contracts/governance/gaugeSystems/getGaugeSystems.d.ts +10 -0
  216. package/dist/types/contracts/governance/gaugeSystems/getGauges.d.ts +13 -0
  217. package/dist/types/contracts/governance/gaugeSystems/index.d.ts +5 -0
  218. package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +176 -105
  219. package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +260 -213
  220. package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +173 -212
  221. package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +176 -105
  222. package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +176 -105
  223. package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +111 -108
  224. package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +210 -34
  225. package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +112 -151
  226. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +174 -95
  227. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +243 -227
  228. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +164 -232
  229. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +185 -98
  230. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +185 -98
  231. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +104 -95
  232. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +241 -22
  233. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +72 -158
  234. package/dist/types/utils/artifacts.d.ts +40 -0
  235. package/dist/types/utils/contracts.d.ts +34 -44
  236. package/dist/utils/contracts.js +1 -1
  237. package/package.json +1 -1
  238. package/dist/contracts/governance/distributor/getStartEpoch.js +0 -28
  239. package/dist/contracts/governance/distributor/withdrawUnallocatedRewards.js +0 -26
  240. package/dist/contracts/governance/gauge/setDistributorApproval.js +0 -35
  241. package/dist/types/contracts/governance/distributor/getStartEpoch.d.ts +0 -10
  242. package/dist/types/contracts/governance/distributor/withdrawUnallocatedRewards.d.ts +0 -12
  243. package/dist/types/contracts/governance/gauge/setDistributorApproval.d.ts +0 -11
@@ -29,6 +29,10 @@ export declare class BaseGauge__factory {
29
29
  readonly inputs: readonly [];
30
30
  readonly name: "DistributorNotAdded";
31
31
  readonly type: "error";
32
+ }, {
33
+ readonly inputs: readonly [];
34
+ readonly name: "DistributorNotApproved";
35
+ readonly type: "error";
32
36
  }, {
33
37
  readonly inputs: readonly [];
34
38
  readonly name: "EnforcedPause";
@@ -69,6 +73,10 @@ export declare class BaseGauge__factory {
69
73
  readonly inputs: readonly [];
70
74
  readonly name: "MaxExtraRewardsReached";
71
75
  readonly type: "error";
76
+ }, {
77
+ readonly inputs: readonly [];
78
+ readonly name: "NotKickable";
79
+ readonly type: "error";
72
80
  }, {
73
81
  readonly inputs: readonly [];
74
82
  readonly name: "NotPaused";
@@ -93,6 +101,21 @@ export declare class BaseGauge__factory {
93
101
  readonly inputs: readonly [];
94
102
  readonly name: "TokenAlreadyInitialized";
95
103
  readonly type: "error";
104
+ }, {
105
+ readonly anonymous: false;
106
+ readonly inputs: readonly [{
107
+ readonly indexed: true;
108
+ readonly internalType: "address";
109
+ readonly name: "oldController";
110
+ readonly type: "address";
111
+ }, {
112
+ readonly indexed: true;
113
+ readonly internalType: "address";
114
+ readonly name: "newController";
115
+ readonly type: "address";
116
+ }];
117
+ readonly name: "ControllerUpdated";
118
+ readonly type: "event";
96
119
  }, {
97
120
  readonly anonymous: false;
98
121
  readonly inputs: readonly [{
@@ -185,13 +208,18 @@ export declare class BaseGauge__factory {
185
208
  readonly internalType: "address";
186
209
  readonly name: "token";
187
210
  readonly type: "address";
188
- }, {
189
- readonly indexed: false;
211
+ }];
212
+ readonly name: "ExtraRewardTokenAdded";
213
+ readonly type: "event";
214
+ }, {
215
+ readonly anonymous: false;
216
+ readonly inputs: readonly [{
217
+ readonly indexed: true;
190
218
  readonly internalType: "address";
191
- readonly name: "distributor";
219
+ readonly name: "rewardDistributor";
192
220
  readonly type: "address";
193
221
  }];
194
- readonly name: "ExtraRewardTokenAdded";
222
+ readonly name: "GaugeRewardDistributorUpdated";
195
223
  readonly type: "event";
196
224
  }, {
197
225
  readonly anonymous: false;
@@ -223,6 +251,16 @@ export declare class BaseGauge__factory {
223
251
  }];
224
252
  readonly name: "Paused";
225
253
  readonly type: "event";
254
+ }, {
255
+ readonly anonymous: false;
256
+ readonly inputs: readonly [{
257
+ readonly indexed: false;
258
+ readonly internalType: "uint256";
259
+ readonly name: "newRaacAutolockMin";
260
+ readonly type: "uint256";
261
+ }];
262
+ readonly name: "RaacAutolockMinUpdated";
263
+ readonly type: "event";
226
264
  }, {
227
265
  readonly anonymous: false;
228
266
  readonly inputs: readonly [{
@@ -258,12 +296,12 @@ export declare class BaseGauge__factory {
258
296
  readonly inputs: readonly [{
259
297
  readonly indexed: true;
260
298
  readonly internalType: "address";
261
- readonly name: "user";
299
+ readonly name: "token";
262
300
  readonly type: "address";
263
301
  }, {
264
302
  readonly indexed: true;
265
303
  readonly internalType: "address";
266
- readonly name: "token";
304
+ readonly name: "user";
267
305
  readonly type: "address";
268
306
  }, {
269
307
  readonly indexed: false;
@@ -273,6 +311,21 @@ export declare class BaseGauge__factory {
273
311
  }];
274
312
  readonly name: "RewardTransferred";
275
313
  readonly type: "event";
314
+ }, {
315
+ readonly anonymous: false;
316
+ readonly inputs: readonly [{
317
+ readonly indexed: false;
318
+ readonly internalType: "address";
319
+ readonly name: "distributor";
320
+ readonly type: "address";
321
+ }, {
322
+ readonly indexed: false;
323
+ readonly internalType: "uint256";
324
+ readonly name: "transferred";
325
+ readonly type: "uint256";
326
+ }];
327
+ readonly name: "RewardsPulledFromDistributor";
328
+ readonly type: "event";
276
329
  }, {
277
330
  readonly anonymous: false;
278
331
  readonly inputs: readonly [{
@@ -435,7 +488,17 @@ export declare class BaseGauge__factory {
435
488
  readonly type: "function";
436
489
  }, {
437
490
  readonly inputs: readonly [];
438
- readonly name: "EMERGENCY_ADMIN";
491
+ readonly name: "DISTRIBUTOR_ROLE";
492
+ readonly outputs: readonly [{
493
+ readonly internalType: "bytes32";
494
+ readonly name: "";
495
+ readonly type: "bytes32";
496
+ }];
497
+ readonly stateMutability: "view";
498
+ readonly type: "function";
499
+ }, {
500
+ readonly inputs: readonly [];
501
+ readonly name: "GAUGE_ADMIN";
439
502
  readonly outputs: readonly [{
440
503
  readonly internalType: "bytes32";
441
504
  readonly name: "";
@@ -468,33 +531,11 @@ export declare class BaseGauge__factory {
468
531
  readonly internalType: "address";
469
532
  readonly name: "token";
470
533
  readonly type: "address";
471
- }, {
472
- readonly internalType: "address";
473
- readonly name: "distributor";
474
- readonly type: "address";
475
534
  }];
476
535
  readonly name: "addRewardToken";
477
536
  readonly outputs: readonly [];
478
537
  readonly stateMutability: "nonpayable";
479
538
  readonly type: "function";
480
- }, {
481
- readonly inputs: readonly [{
482
- readonly internalType: "address";
483
- readonly name: "account";
484
- readonly type: "address";
485
- }];
486
- readonly name: "allEarnedRewards";
487
- readonly outputs: readonly [{
488
- readonly internalType: "address[]";
489
- readonly name: "";
490
- readonly type: "address[]";
491
- }, {
492
- readonly internalType: "uint256[]";
493
- readonly name: "";
494
- readonly type: "uint256[]";
495
- }];
496
- readonly stateMutability: "view";
497
- readonly type: "function";
498
539
  }, {
499
540
  readonly inputs: readonly [{
500
541
  readonly internalType: "address";
@@ -513,24 +554,6 @@ export declare class BaseGauge__factory {
513
554
  }];
514
555
  readonly stateMutability: "view";
515
556
  readonly type: "function";
516
- }, {
517
- readonly inputs: readonly [{
518
- readonly internalType: "address";
519
- readonly name: "account";
520
- readonly type: "address";
521
- }];
522
- readonly name: "allPendingRewards";
523
- readonly outputs: readonly [{
524
- readonly internalType: "address[]";
525
- readonly name: "";
526
- readonly type: "address[]";
527
- }, {
528
- readonly internalType: "uint256[]";
529
- readonly name: "";
530
- readonly type: "uint256[]";
531
- }];
532
- readonly stateMutability: "view";
533
- readonly type: "function";
534
557
  }, {
535
558
  readonly inputs: readonly [{
536
559
  readonly internalType: "address";
@@ -588,11 +611,7 @@ export declare class BaseGauge__factory {
588
611
  readonly stateMutability: "nonpayable";
589
612
  readonly type: "function";
590
613
  }, {
591
- readonly inputs: readonly [{
592
- readonly internalType: "address";
593
- readonly name: "token";
594
- readonly type: "address";
595
- }];
614
+ readonly inputs: readonly [];
596
615
  readonly name: "claimRewardToken";
597
616
  readonly outputs: readonly [{
598
617
  readonly internalType: "uint256";
@@ -601,12 +620,6 @@ export declare class BaseGauge__factory {
601
620
  }];
602
621
  readonly stateMutability: "nonpayable";
603
622
  readonly type: "function";
604
- }, {
605
- readonly inputs: readonly [];
606
- readonly name: "claimRewards";
607
- readonly outputs: readonly [];
608
- readonly stateMutability: "nonpayable";
609
- readonly type: "function";
610
623
  }, {
611
624
  readonly inputs: readonly [{
612
625
  readonly internalType: "address";
@@ -651,7 +664,7 @@ export declare class BaseGauge__factory {
651
664
  readonly name: "user";
652
665
  readonly type: "address";
653
666
  }];
654
- readonly name: "earnedReward";
667
+ readonly name: "earnedExtraReward";
655
668
  readonly outputs: readonly [{
656
669
  readonly internalType: "uint256";
657
670
  readonly name: "";
@@ -665,13 +678,17 @@ export declare class BaseGauge__factory {
665
678
  readonly name: "token";
666
679
  readonly type: "address";
667
680
  }, {
681
+ readonly internalType: "address";
682
+ readonly name: "user";
683
+ readonly type: "address";
684
+ }];
685
+ readonly name: "earnedReward";
686
+ readonly outputs: readonly [{
668
687
  readonly internalType: "uint256";
669
- readonly name: "amount";
688
+ readonly name: "";
670
689
  readonly type: "uint256";
671
690
  }];
672
- readonly name: "emergencyWithdraw";
673
- readonly outputs: readonly [];
674
- readonly stateMutability: "nonpayable";
691
+ readonly stateMutability: "view";
675
692
  readonly type: "function";
676
693
  }, {
677
694
  readonly inputs: readonly [{
@@ -692,10 +709,6 @@ export declare class BaseGauge__factory {
692
709
  readonly internalType: "uint256";
693
710
  readonly name: "rate";
694
711
  readonly type: "uint256";
695
- }, {
696
- readonly internalType: "address";
697
- readonly name: "distributor";
698
- readonly type: "address";
699
712
  }, {
700
713
  readonly internalType: "uint256";
701
714
  readonly name: "periodFinish";
@@ -752,6 +765,14 @@ export declare class BaseGauge__factory {
752
765
  readonly internalType: "uint256";
753
766
  readonly name: "workingSupply";
754
767
  readonly type: "uint256";
768
+ }, {
769
+ readonly internalType: "address";
770
+ readonly name: "rewardDistributor";
771
+ readonly type: "address";
772
+ }, {
773
+ readonly internalType: "address";
774
+ readonly name: "rewardToken";
775
+ readonly type: "address";
755
776
  }, {
756
777
  readonly internalType: "uint256";
757
778
  readonly name: "lastUpdateTime";
@@ -783,6 +804,24 @@ export declare class BaseGauge__factory {
783
804
  }];
784
805
  readonly stateMutability: "view";
785
806
  readonly type: "function";
807
+ }, {
808
+ readonly inputs: readonly [{
809
+ readonly internalType: "address";
810
+ readonly name: "distributor";
811
+ readonly type: "address";
812
+ }];
813
+ readonly name: "getDistributorData";
814
+ readonly outputs: readonly [{
815
+ readonly internalType: "address";
816
+ readonly name: "distro";
817
+ readonly type: "address";
818
+ }, {
819
+ readonly internalType: "bool";
820
+ readonly name: "approved";
821
+ readonly type: "bool";
822
+ }];
823
+ readonly stateMutability: "view";
824
+ readonly type: "function";
786
825
  }, {
787
826
  readonly inputs: readonly [];
788
827
  readonly name: "getDistributors";
@@ -793,6 +832,16 @@ export declare class BaseGauge__factory {
793
832
  }];
794
833
  readonly stateMutability: "view";
795
834
  readonly type: "function";
835
+ }, {
836
+ readonly inputs: readonly [];
837
+ readonly name: "getExtraRewardTokens";
838
+ readonly outputs: readonly [{
839
+ readonly internalType: "address[]";
840
+ readonly name: "";
841
+ readonly type: "address[]";
842
+ }];
843
+ readonly stateMutability: "view";
844
+ readonly type: "function";
796
845
  }, {
797
846
  readonly inputs: readonly [{
798
847
  readonly internalType: "address";
@@ -960,18 +1009,14 @@ export declare class BaseGauge__factory {
960
1009
  readonly stateMutability: "view";
961
1010
  readonly type: "function";
962
1011
  }, {
963
- readonly inputs: readonly [{
964
- readonly internalType: "address";
965
- readonly name: "token";
966
- readonly type: "address";
967
- }, {
968
- readonly internalType: "address";
969
- readonly name: "distributor";
970
- readonly type: "address";
1012
+ readonly inputs: readonly [];
1013
+ readonly name: "isPaused";
1014
+ readonly outputs: readonly [{
1015
+ readonly internalType: "bool";
1016
+ readonly name: "";
1017
+ readonly type: "bool";
971
1018
  }];
972
- readonly name: "initializeRewardToken";
973
- readonly outputs: readonly [];
974
- readonly stateMutability: "nonpayable";
1019
+ readonly stateMutability: "view";
975
1020
  readonly type: "function";
976
1021
  }, {
977
1022
  readonly inputs: readonly [{
@@ -1043,6 +1088,26 @@ export declare class BaseGauge__factory {
1043
1088
  }];
1044
1089
  readonly stateMutability: "view";
1045
1090
  readonly type: "function";
1091
+ }, {
1092
+ readonly inputs: readonly [];
1093
+ readonly name: "pullRewardsFromDistributor";
1094
+ readonly outputs: readonly [{
1095
+ readonly internalType: "uint256";
1096
+ readonly name: "transferred";
1097
+ readonly type: "uint256";
1098
+ }];
1099
+ readonly stateMutability: "nonpayable";
1100
+ readonly type: "function";
1101
+ }, {
1102
+ readonly inputs: readonly [];
1103
+ readonly name: "raacAutolockMin";
1104
+ readonly outputs: readonly [{
1105
+ readonly internalType: "uint256";
1106
+ readonly name: "";
1107
+ readonly type: "uint256";
1108
+ }];
1109
+ readonly stateMutability: "view";
1110
+ readonly type: "function";
1046
1111
  }, {
1047
1112
  readonly inputs: readonly [];
1048
1113
  readonly name: "raacLiquidLocker";
@@ -1117,25 +1182,21 @@ export declare class BaseGauge__factory {
1117
1182
  readonly type: "function";
1118
1183
  }, {
1119
1184
  readonly inputs: readonly [{
1120
- readonly internalType: "bool";
1121
- readonly name: "newDepositRAACOnClaim";
1122
- readonly type: "bool";
1185
+ readonly internalType: "address";
1186
+ readonly name: "_controller";
1187
+ readonly type: "address";
1123
1188
  }];
1124
- readonly name: "setDepositRAACOnClaim";
1189
+ readonly name: "setController";
1125
1190
  readonly outputs: readonly [];
1126
1191
  readonly stateMutability: "nonpayable";
1127
1192
  readonly type: "function";
1128
1193
  }, {
1129
1194
  readonly inputs: readonly [{
1130
- readonly internalType: "address";
1131
- readonly name: "distributor";
1132
- readonly type: "address";
1133
- }, {
1134
1195
  readonly internalType: "bool";
1135
- readonly name: "isApproved";
1196
+ readonly name: "newDepositRAACOnClaim";
1136
1197
  readonly type: "bool";
1137
1198
  }];
1138
- readonly name: "setDistributorApproval";
1199
+ readonly name: "setDepositRAACOnClaim";
1139
1200
  readonly outputs: readonly [];
1140
1201
  readonly stateMutability: "nonpayable";
1141
1202
  readonly type: "function";
@@ -1149,6 +1210,26 @@ export declare class BaseGauge__factory {
1149
1210
  readonly outputs: readonly [];
1150
1211
  readonly stateMutability: "nonpayable";
1151
1212
  readonly type: "function";
1213
+ }, {
1214
+ readonly inputs: readonly [{
1215
+ readonly internalType: "address";
1216
+ readonly name: "rewardDistributor";
1217
+ readonly type: "address";
1218
+ }];
1219
+ readonly name: "setGaugeRewardDistributor";
1220
+ readonly outputs: readonly [];
1221
+ readonly stateMutability: "nonpayable";
1222
+ readonly type: "function";
1223
+ }, {
1224
+ readonly inputs: readonly [{
1225
+ readonly internalType: "uint256";
1226
+ readonly name: "newRaacAutolockMin";
1227
+ readonly type: "uint256";
1228
+ }];
1229
+ readonly name: "setRaacAutolockMin";
1230
+ readonly outputs: readonly [];
1231
+ readonly stateMutability: "nonpayable";
1232
+ readonly type: "function";
1152
1233
  }, {
1153
1234
  readonly inputs: readonly [{
1154
1235
  readonly internalType: "uint256";
@@ -1173,12 +1254,6 @@ export declare class BaseGauge__factory {
1173
1254
  }];
1174
1255
  readonly stateMutability: "view";
1175
1256
  readonly type: "function";
1176
- }, {
1177
- readonly inputs: readonly [];
1178
- readonly name: "syncRewardTokens";
1179
- readonly outputs: readonly [];
1180
- readonly stateMutability: "nonpayable";
1181
- readonly type: "function";
1182
1257
  }, {
1183
1258
  readonly inputs: readonly [];
1184
1259
  readonly name: "totalSupply";
@@ -1190,7 +1265,11 @@ export declare class BaseGauge__factory {
1190
1265
  readonly stateMutability: "view";
1191
1266
  readonly type: "function";
1192
1267
  }, {
1193
- readonly inputs: readonly [];
1268
+ readonly inputs: readonly [{
1269
+ readonly internalType: "address";
1270
+ readonly name: "user";
1271
+ readonly type: "address";
1272
+ }];
1194
1273
  readonly name: "updateUserRewards";
1195
1274
  readonly outputs: readonly [];
1196
1275
  readonly stateMutability: "nonpayable";