@berachain/berajs 0.2.2 → 0.2.4

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 (205) hide show
  1. package/.claude/skills/berajs/SKILL.md +222 -0
  2. package/.claude/skills/berajs/references/dex.md +235 -0
  3. package/.claude/skills/berajs/references/pol.md +194 -0
  4. package/.claude/skills/berajs/references/staking.md +198 -0
  5. package/.claude/skills/berajs/references/tokens.md +170 -0
  6. package/dist/{BexStatusProvider-nS3NcdxI.d.cts → BexStatusProvider-DRymVlQf.d.cts} +1 -1
  7. package/dist/{BexStatusProvider-nS3NcdxI.d.ts → BexStatusProvider-DRymVlQf.d.ts} +1 -1
  8. package/dist/{HoneyConfigProvider-CK6mOKFH.d.ts → HoneyConfigProvider-DVP_9KZn.d.ts} +1 -1
  9. package/dist/{HoneyConfigProvider-Ca3ouozs.d.cts → HoneyConfigProvider-DfkjmzEf.d.cts} +1 -1
  10. package/dist/abi/exports.cjs +1 -1
  11. package/dist/abi/exports.cjs.map +1 -1
  12. package/dist/abi/exports.d.cts +1893 -25347
  13. package/dist/abi/exports.d.ts +1893 -25347
  14. package/dist/abi/exports.mjs +1 -1
  15. package/dist/abi/exports.mjs.map +1 -1
  16. package/dist/actions/exports.cjs +1 -1
  17. package/dist/actions/exports.cjs.map +1 -1
  18. package/dist/actions/exports.d.cts +10 -9
  19. package/dist/actions/exports.d.ts +10 -9
  20. package/dist/actions/exports.mjs +1 -1
  21. package/dist/actions/exports.mjs.map +1 -1
  22. package/dist/chunk-4GU2O2OW.cjs +4 -0
  23. package/dist/chunk-4GU2O2OW.cjs.map +1 -0
  24. package/dist/chunk-5XWELBWR.mjs +2 -0
  25. package/dist/chunk-5XWELBWR.mjs.map +1 -0
  26. package/dist/chunk-BS6K7HGH.cjs +2 -0
  27. package/dist/chunk-BS6K7HGH.cjs.map +1 -0
  28. package/dist/chunk-NLVWRMGD.mjs +2 -0
  29. package/dist/chunk-NLVWRMGD.mjs.map +1 -0
  30. package/dist/chunk-OUD27MU7.cjs +2 -0
  31. package/dist/chunk-OUD27MU7.cjs.map +1 -0
  32. package/dist/chunk-RW3JFPED.mjs +4 -0
  33. package/dist/chunk-RW3JFPED.mjs.map +1 -0
  34. package/dist/chunk-S3EAKCVM.cjs +2 -0
  35. package/dist/{chunk-PKXAW6MO.cjs.map → chunk-S3EAKCVM.cjs.map} +1 -1
  36. package/dist/chunk-YNO7BCCM.mjs +2 -0
  37. package/dist/{chunk-3YXSUBA5.mjs.map → chunk-YNO7BCCM.mjs.map} +1 -1
  38. package/dist/contexts/exports.d.cts +3 -3
  39. package/dist/contexts/exports.d.ts +3 -3
  40. package/dist/enum/exports.d.cts +1 -1
  41. package/dist/enum/exports.d.ts +1 -1
  42. package/dist/errors/exports.d.cts +1 -1
  43. package/dist/errors/exports.d.ts +1 -1
  44. package/dist/{getValidatorQueuedOperatorAddress-RW4OMcD1.d.ts → getValidatorQueuedOperatorAddress-CqR6cyqC.d.ts} +3 -3
  45. package/dist/{getValidatorQueuedOperatorAddress-Dstyaomr.d.cts → getValidatorQueuedOperatorAddress-DZgrPmZ2.d.cts} +3 -3
  46. package/dist/{global.d-wYu8G8IQ.d.ts → global.d-BeYWDreg.d.ts} +5 -4
  47. package/dist/{global.d-CN6l2b9E.d.cts → global.d-DghRxpHd.d.cts} +5 -4
  48. package/dist/hooks/exports.cjs +3 -3
  49. package/dist/hooks/exports.cjs.map +1 -1
  50. package/dist/hooks/exports.d.cts +63 -39
  51. package/dist/hooks/exports.d.ts +63 -39
  52. package/dist/hooks/exports.mjs +3 -3
  53. package/dist/hooks/exports.mjs.map +1 -1
  54. package/dist/{txnEnum-BlBYhNRl.d.cts → txnEnum-DxPRHSJt.d.cts} +1 -1
  55. package/dist/{txnEnum-BlBYhNRl.d.ts → txnEnum-DxPRHSJt.d.ts} +1 -1
  56. package/dist/types/exports.d.cts +3 -3
  57. package/dist/types/exports.d.ts +3 -3
  58. package/dist/{useHoneySwapState-D1DKG_Of.d.ts → useHoneySwapState-B494PQDl.d.ts} +1 -1
  59. package/dist/{useHoneySwapState-B-vmIP1b.d.cts → useHoneySwapState-D6vpv19r.d.cts} +1 -1
  60. package/dist/utils/exports.cjs +1 -1
  61. package/dist/utils/exports.cjs.map +1 -1
  62. package/dist/utils/exports.d.cts +2 -2
  63. package/dist/utils/exports.d.ts +2 -2
  64. package/dist/utils/exports.mjs +1 -1
  65. package/dist/utils/exports.mjs.map +1 -1
  66. package/package.json +9 -10
  67. package/src/abi/exports.ts +0 -27
  68. package/src/actions/bend/getConvertToAssets.ts +1 -1
  69. package/src/actions/bend/getMaxDeposit.ts +1 -1
  70. package/src/actions/dex/aggregators/bex.ts +2 -1
  71. package/src/actions/dex/aggregators/enso/enso.ts +3 -2
  72. package/src/actions/dex/aggregators/enso/ensoErc4626.debug.test.ts +2 -3
  73. package/src/actions/dex/aggregators/erc4626.ts +2 -1
  74. package/src/actions/dex/aggregators/fly.ts +2 -1
  75. package/src/actions/dex/aggregators/haiku.ts +2 -1
  76. package/src/actions/dex/aggregators/kyberswap.ts +2 -2
  77. package/src/actions/dex/aggregators/oogabooga.ts +2 -1
  78. package/src/actions/dex/aggregators/openOcean.ts +2 -1
  79. package/src/actions/dex/aggregators/wbera.ts +2 -1
  80. package/src/actions/dex/getVaultPausedState.ts +2 -1
  81. package/src/actions/enso/getEnsoUserTokensWithBalances.debug.test.ts +1 -1
  82. package/src/actions/governance/__tests__/checkProposalField.unit.test.ts +2 -1
  83. package/src/actions/governance/__tests__/getDecodedFunctionData.integration.test.ts +66 -78
  84. package/src/actions/governance/__tests__/getQuorum.integration.test.ts +6 -7
  85. package/src/actions/governance/getDecodedFunctionData.ts +2 -2
  86. package/src/actions/governance/getProposalFromTx.ts +2 -1
  87. package/src/actions/governance/getProposalParams.ts +3 -2
  88. package/src/actions/governance/getQuorum.ts +2 -1
  89. package/src/actions/honey/getCollateralWeights.ts +2 -1
  90. package/src/actions/honey/getGlobalCapLimit.ts +2 -1
  91. package/src/actions/honey/getHoneyCollaterals.ts +2 -1
  92. package/src/actions/honey/getHoneyFees.ts +2 -1
  93. package/src/actions/honey/getHoneyPausedState.ts +2 -1
  94. package/src/actions/honey/getHoneyPreview.ts +2 -1
  95. package/src/actions/honey/getHoneyPythPriceOracle.ts +1 -1
  96. package/src/actions/honey/getHoneyRootPriceOracle.ts +2 -1
  97. package/src/actions/honey/getHoneyVaultsBalance.ts +3 -2
  98. package/src/actions/honey/getRelativeCapLimit.ts +2 -1
  99. package/src/actions/honey/getSharesWithoutFees.ts +3 -2
  100. package/src/actions/honey/getSwapPayload.ts +3 -2
  101. package/src/actions/honey/isBadCollateralAsset.ts +3 -2
  102. package/src/actions/honey/isBasketModeEnabled.ts +3 -2
  103. package/src/actions/pol/getBgtTokenTotalBoosts.ts +2 -1
  104. package/src/actions/pol/getLSTStakeConfig.ts +2 -1
  105. package/src/actions/pol/getRewardTokenToBeraRate.ts +2 -1
  106. package/src/actions/pol/getRewardVaultBeaconImplementation.ts +2 -1
  107. package/src/actions/pol/getRewardVaultDurationConstants.ts +2 -1
  108. package/src/actions/pol/getRewardVaultFromToken.ts +2 -1
  109. package/src/actions/pol/getRewardVaultIncentives.ts +2 -1
  110. package/src/actions/pol/getRewardVaultRewards.ts +2 -1
  111. package/src/actions/pol/getRewardVaultStakingToken.ts +1 -1
  112. package/src/actions/pol/getRewardVaults.ts +2 -1
  113. package/src/actions/pol/getSWBeraVaultMetadata.ts +2 -1
  114. package/src/actions/pol/getSWBeraWithdrawal.ts +2 -1
  115. package/src/actions/pol/getStakeWithdrawalCooldown.ts +1 -1
  116. package/src/actions/pol/getTotalStakedAmount.ts +2 -1
  117. package/src/actions/pol/getUserVaults.ts +2 -1
  118. package/src/actions/pol/getUserVaultsBalance.ts +2 -1
  119. package/src/actions/pol/getUserVaultsReward.ts +1 -1
  120. package/src/actions/pol/getVaultsSupply.ts +1 -1
  121. package/src/actions/pyth/getHoneyPythFeeds.ts +2 -1
  122. package/src/actions/transactions/beraWriteContract.integration.test.ts +48 -51
  123. package/src/actions/validators/getActiveBoostAndCommissionChangeDelay.ts +3 -2
  124. package/src/actions/validators/getBaselineRewardAllocation.ts +2 -1
  125. package/src/actions/validators/getDefaultRewardAllocation.ts +2 -1
  126. package/src/actions/validators/getUserBoostsOnValidator.ts +2 -1
  127. package/src/actions/validators/getValidatorCommission.ts +2 -1
  128. package/src/actions/validators/getValidatorOperatorAddress.ts +2 -1
  129. package/src/actions/validators/getValidatorQueuedCommission.ts +2 -1
  130. package/src/actions/validators/getValidatorQueuedOperatorAddress.ts +2 -1
  131. package/src/actions/validators/getValidatorQueuedRewardAllocation.ts +2 -1
  132. package/src/actions/validators/getValidatorRewardAllocation.ts +2 -1
  133. package/src/actions/validators/getValidatorRewardAllocatorAddress.ts +2 -1
  134. package/src/actions/validators/utils/__tests__/validatorUtils.integration.test.ts +10 -11
  135. package/src/errors/getRevertReason.integration.test.ts +115 -107
  136. package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +2 -1
  137. package/src/hooks/dex/useCreatePool.ts +2 -1
  138. package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +2 -1
  139. package/src/hooks/governance/useGetPastVotes.ts +2 -1
  140. package/src/hooks/governance/useHasVoted.ts +2 -1
  141. package/src/hooks/governance/useIsCanceller.ts +2 -1
  142. package/src/hooks/governance/usePollProposalThreshold.ts +2 -1
  143. package/src/hooks/governance/usePollUserDelegates.ts +2 -1
  144. package/src/hooks/governance/useProposalSnapshot.ts +2 -1
  145. package/src/hooks/governance/useProposalState.ts +2 -1
  146. package/src/hooks/governance/useProposalTimelockState.ts +5 -4
  147. package/src/hooks/pol/useBgtUnstakedBalance.ts +2 -1
  148. package/src/hooks/pol/useOnChainRewardVault.ts +2 -1
  149. package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +2 -1
  150. package/src/hooks/pol/useRewardVaultFromToken.ts +2 -1
  151. package/src/hooks/pol/useStakedData.ts +169 -92
  152. package/src/hooks/validators/useOnChainValidator.ts +4 -3
  153. package/src/types/pol.d.ts +1 -0
  154. package/dist/chunk-3YXSUBA5.mjs +0 -2
  155. package/dist/chunk-A4UDYSB6.mjs +0 -4
  156. package/dist/chunk-A4UDYSB6.mjs.map +0 -1
  157. package/dist/chunk-CYKCYPFR.cjs +0 -2
  158. package/dist/chunk-CYKCYPFR.cjs.map +0 -1
  159. package/dist/chunk-ECRMUMTA.mjs +0 -2
  160. package/dist/chunk-ECRMUMTA.mjs.map +0 -1
  161. package/dist/chunk-F4BKSBEM.mjs +0 -2
  162. package/dist/chunk-F4BKSBEM.mjs.map +0 -1
  163. package/dist/chunk-FL2N3XHK.cjs +0 -2
  164. package/dist/chunk-FL2N3XHK.cjs.map +0 -1
  165. package/dist/chunk-MUCEYO3E.cjs +0 -4
  166. package/dist/chunk-MUCEYO3E.cjs.map +0 -1
  167. package/dist/chunk-P2Q7CMUD.cjs +0 -2
  168. package/dist/chunk-P2Q7CMUD.cjs.map +0 -1
  169. package/dist/chunk-PKXAW6MO.cjs +0 -2
  170. package/dist/chunk-Q3SCM6WL.mjs +0 -2
  171. package/dist/chunk-Q3SCM6WL.mjs.map +0 -1
  172. package/dist/chunk-TEBJWAVU.mjs +0 -2
  173. package/dist/chunk-TEBJWAVU.mjs.map +0 -1
  174. package/dist/chunk-VP7XUOSI.cjs +0 -2
  175. package/dist/chunk-VP7XUOSI.cjs.map +0 -1
  176. package/dist/pythWrapper-CBjsmmsK.d.cts +0 -1958
  177. package/dist/pythWrapper-CBjsmmsK.d.ts +0 -1958
  178. package/src/abi/bend/metaMorpho.ts +0 -2584
  179. package/src/abi/bend/morpho.ts +0 -444
  180. package/src/abi/bex/aggregatorsRouter.ts +0 -492
  181. package/src/abi/bex/balancerComposableStablePoolFactoryV6.ts +0 -283
  182. package/src/abi/bex/balancerPoolCreationHelper.ts +0 -267
  183. package/src/abi/bex/balancerVault.ts +0 -757
  184. package/src/abi/governance/governance.ts +0 -1016
  185. package/src/abi/governance/governanceTimelock.ts +0 -589
  186. package/src/abi/honey/collateralVault.ts +0 -1144
  187. package/src/abi/honey/honey.ts +0 -563
  188. package/src/abi/honey/honeyFactory.ts +0 -1270
  189. package/src/abi/honey/honeyFactoryReader.ts +0 -894
  190. package/src/abi/honey/honeyRootOracle.ts +0 -492
  191. package/src/abi/honey/pythPriceOracle.ts +0 -619
  192. package/src/abi/honey/pythWrapper.ts +0 -446
  193. package/src/abi/pol/LSTStakerVault.ts +0 -2032
  194. package/src/abi/pol/beaconDeposit.ts +0 -595
  195. package/src/abi/pol/beraChef.ts +0 -1019
  196. package/src/abi/pol/bgt.ts +0 -1008
  197. package/src/abi/pol/bgtIncentiveDistributor.ts +0 -640
  198. package/src/abi/pol/bgtStaker.ts +0 -1034
  199. package/src/abi/pol/rewardAllocationFactory.ts +0 -408
  200. package/src/abi/pol/rewardVault.ts +0 -1928
  201. package/src/abi/pol/rewardVaultFactory.ts +0 -586
  202. package/src/abi/pol/rewardVaultHelper.ts +0 -882
  203. package/src/abi/pol/stakeBeraVault.ts +0 -1116
  204. package/src/abi/pol/stakeBeraVaultWithdrawalRequest.ts +0 -618
  205. package/src/abi/pol/wbera.ts +0 -366
@@ -1,640 +0,0 @@
1
- export const bgtIncentiveDistributorAbi = [
2
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3
- {
4
- type: "function",
5
- name: "DEFAULT_ADMIN_ROLE",
6
- inputs: [],
7
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
8
- stateMutability: "view",
9
- },
10
- {
11
- type: "function",
12
- name: "MANAGER_ROLE",
13
- inputs: [],
14
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
15
- stateMutability: "view",
16
- },
17
- {
18
- type: "function",
19
- name: "MAX_REWARD_CLAIM_DELAY",
20
- inputs: [],
21
- outputs: [{ name: "", type: "uint64", internalType: "uint64" }],
22
- stateMutability: "view",
23
- },
24
- {
25
- type: "function",
26
- name: "PAUSER_ROLE",
27
- inputs: [],
28
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
29
- stateMutability: "view",
30
- },
31
- {
32
- type: "function",
33
- name: "UPGRADE_INTERFACE_VERSION",
34
- inputs: [],
35
- outputs: [{ name: "", type: "string", internalType: "string" }],
36
- stateMutability: "view",
37
- },
38
- {
39
- type: "function",
40
- name: "claim",
41
- inputs: [
42
- {
43
- name: "_claims",
44
- type: "tuple[]",
45
- internalType: "struct IBGTIncentiveDistributor.Claim[]",
46
- components: [
47
- {
48
- name: "identifier",
49
- type: "bytes32",
50
- internalType: "bytes32",
51
- },
52
- { name: "account", type: "address", internalType: "address" },
53
- { name: "amount", type: "uint256", internalType: "uint256" },
54
- {
55
- name: "merkleProof",
56
- type: "bytes32[]",
57
- internalType: "bytes32[]",
58
- },
59
- ],
60
- },
61
- ],
62
- outputs: [],
63
- stateMutability: "nonpayable",
64
- },
65
- {
66
- type: "function",
67
- name: "claimed",
68
- inputs: [
69
- { name: "", type: "bytes32", internalType: "bytes32" },
70
- { name: "", type: "address", internalType: "address" },
71
- ],
72
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
73
- stateMutability: "view",
74
- },
75
- {
76
- type: "function",
77
- name: "getRoleAdmin",
78
- inputs: [{ name: "role", type: "bytes32", internalType: "bytes32" }],
79
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
80
- stateMutability: "view",
81
- },
82
- {
83
- type: "function",
84
- name: "grantRole",
85
- inputs: [
86
- { name: "role", type: "bytes32", internalType: "bytes32" },
87
- { name: "account", type: "address", internalType: "address" },
88
- ],
89
- outputs: [],
90
- stateMutability: "nonpayable",
91
- },
92
- {
93
- type: "function",
94
- name: "hasRole",
95
- inputs: [
96
- { name: "role", type: "bytes32", internalType: "bytes32" },
97
- { name: "account", type: "address", internalType: "address" },
98
- ],
99
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
100
- stateMutability: "view",
101
- },
102
- {
103
- type: "function",
104
- name: "incentiveTokensPerValidator",
105
- inputs: [
106
- { name: "", type: "bytes", internalType: "bytes" },
107
- { name: "", type: "address", internalType: "address" },
108
- ],
109
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
110
- stateMutability: "view",
111
- },
112
- {
113
- type: "function",
114
- name: "initialize",
115
- inputs: [{ name: "_governance", type: "address", internalType: "address" }],
116
- outputs: [],
117
- stateMutability: "nonpayable",
118
- },
119
- {
120
- type: "function",
121
- name: "paused",
122
- inputs: [],
123
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
124
- stateMutability: "view",
125
- },
126
- {
127
- type: "function",
128
- name: "proxiableUUID",
129
- inputs: [],
130
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
131
- stateMutability: "view",
132
- },
133
- {
134
- type: "function",
135
- name: "receiveIncentive",
136
- inputs: [
137
- { name: "pubkey", type: "bytes", internalType: "bytes" },
138
- { name: "token", type: "address", internalType: "address" },
139
- { name: "_amount", type: "uint256", internalType: "uint256" },
140
- ],
141
- outputs: [],
142
- stateMutability: "nonpayable",
143
- },
144
- {
145
- type: "function",
146
- name: "renounceRole",
147
- inputs: [
148
- { name: "role", type: "bytes32", internalType: "bytes32" },
149
- {
150
- name: "callerConfirmation",
151
- type: "address",
152
- internalType: "address",
153
- },
154
- ],
155
- outputs: [],
156
- stateMutability: "nonpayable",
157
- },
158
- {
159
- type: "function",
160
- name: "revokeRole",
161
- inputs: [
162
- { name: "role", type: "bytes32", internalType: "bytes32" },
163
- { name: "account", type: "address", internalType: "address" },
164
- ],
165
- outputs: [],
166
- stateMutability: "nonpayable",
167
- },
168
- {
169
- type: "function",
170
- name: "rewardClaimDelay",
171
- inputs: [],
172
- outputs: [{ name: "", type: "uint64", internalType: "uint64" }],
173
- stateMutability: "view",
174
- },
175
- {
176
- type: "function",
177
- name: "rewards",
178
- inputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
179
- outputs: [
180
- { name: "token", type: "address", internalType: "address" },
181
- { name: "merkleRoot", type: "bytes32", internalType: "bytes32" },
182
- { name: "proof", type: "bytes32", internalType: "bytes32" },
183
- { name: "activeAt", type: "uint256", internalType: "uint256" },
184
- { name: "pubkey", type: "bytes", internalType: "bytes" },
185
- ],
186
- stateMutability: "view",
187
- },
188
- {
189
- type: "function",
190
- name: "setPauseState",
191
- inputs: [{ name: "state", type: "bool", internalType: "bool" }],
192
- outputs: [],
193
- stateMutability: "nonpayable",
194
- },
195
- {
196
- type: "function",
197
- name: "setRewardClaimDelay",
198
- inputs: [{ name: "_delay", type: "uint64", internalType: "uint64" }],
199
- outputs: [],
200
- stateMutability: "nonpayable",
201
- },
202
- {
203
- type: "function",
204
- name: "supportsInterface",
205
- inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
206
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
207
- stateMutability: "view",
208
- },
209
- {
210
- type: "function",
211
- name: "updateRewardsMetadata",
212
- inputs: [
213
- {
214
- name: "_distributions",
215
- type: "tuple[]",
216
- internalType: "struct IBGTIncentiveDistributor.Distribution[]",
217
- components: [
218
- {
219
- name: "identifier",
220
- type: "bytes32",
221
- internalType: "bytes32",
222
- },
223
- { name: "pubkey", type: "bytes", internalType: "bytes" },
224
- { name: "token", type: "address", internalType: "address" },
225
- {
226
- name: "merkleRoot",
227
- type: "bytes32",
228
- internalType: "bytes32",
229
- },
230
- { name: "proof", type: "bytes32", internalType: "bytes32" },
231
- ],
232
- },
233
- ],
234
- outputs: [],
235
- stateMutability: "nonpayable",
236
- },
237
- {
238
- type: "function",
239
- name: "upgradeToAndCall",
240
- inputs: [
241
- {
242
- name: "newImplementation",
243
- type: "address",
244
- internalType: "address",
245
- },
246
- { name: "data", type: "bytes", internalType: "bytes" },
247
- ],
248
- outputs: [],
249
- stateMutability: "payable",
250
- },
251
- {
252
- type: "event",
253
- name: "IncentiveReceived",
254
- inputs: [
255
- {
256
- name: "pubkey",
257
- type: "bytes",
258
- indexed: true,
259
- internalType: "bytes",
260
- },
261
- {
262
- name: "token",
263
- type: "address",
264
- indexed: true,
265
- internalType: "address",
266
- },
267
- {
268
- name: "amount",
269
- type: "uint256",
270
- indexed: false,
271
- internalType: "uint256",
272
- },
273
- ],
274
- anonymous: false,
275
- },
276
- {
277
- type: "event",
278
- name: "Initialized",
279
- inputs: [
280
- {
281
- name: "version",
282
- type: "uint64",
283
- indexed: false,
284
- internalType: "uint64",
285
- },
286
- ],
287
- anonymous: false,
288
- },
289
- {
290
- type: "event",
291
- name: "Paused",
292
- inputs: [
293
- {
294
- name: "account",
295
- type: "address",
296
- indexed: false,
297
- internalType: "address",
298
- },
299
- ],
300
- anonymous: false,
301
- },
302
- {
303
- type: "event",
304
- name: "RewardClaimDelaySet",
305
- inputs: [
306
- {
307
- name: "delay",
308
- type: "uint64",
309
- indexed: false,
310
- internalType: "uint64",
311
- },
312
- ],
313
- anonymous: false,
314
- },
315
- {
316
- type: "event",
317
- name: "RewardClaimed",
318
- inputs: [
319
- {
320
- name: "identifier",
321
- type: "bytes32",
322
- indexed: true,
323
- internalType: "bytes32",
324
- },
325
- {
326
- name: "token",
327
- type: "address",
328
- indexed: true,
329
- internalType: "address",
330
- },
331
- {
332
- name: "account",
333
- type: "address",
334
- indexed: true,
335
- internalType: "address",
336
- },
337
- {
338
- name: "pubkey",
339
- type: "bytes",
340
- indexed: false,
341
- internalType: "bytes",
342
- },
343
- {
344
- name: "amount",
345
- type: "uint256",
346
- indexed: false,
347
- internalType: "uint256",
348
- },
349
- ],
350
- anonymous: false,
351
- },
352
- {
353
- type: "event",
354
- name: "RewardMetadataUpdated",
355
- inputs: [
356
- {
357
- name: "identifier",
358
- type: "bytes32",
359
- indexed: true,
360
- internalType: "bytes32",
361
- },
362
- {
363
- name: "pubkey",
364
- type: "bytes",
365
- indexed: true,
366
- internalType: "bytes",
367
- },
368
- {
369
- name: "token",
370
- type: "address",
371
- indexed: true,
372
- internalType: "address",
373
- },
374
- {
375
- name: "merkleRoot",
376
- type: "bytes32",
377
- indexed: false,
378
- internalType: "bytes32",
379
- },
380
- {
381
- name: "proof",
382
- type: "bytes32",
383
- indexed: false,
384
- internalType: "bytes32",
385
- },
386
- {
387
- name: "activeAt",
388
- type: "uint256",
389
- indexed: false,
390
- internalType: "uint256",
391
- },
392
- ],
393
- anonymous: false,
394
- },
395
- {
396
- type: "event",
397
- name: "RoleAdminChanged",
398
- inputs: [
399
- {
400
- name: "role",
401
- type: "bytes32",
402
- indexed: true,
403
- internalType: "bytes32",
404
- },
405
- {
406
- name: "previousAdminRole",
407
- type: "bytes32",
408
- indexed: true,
409
- internalType: "bytes32",
410
- },
411
- {
412
- name: "newAdminRole",
413
- type: "bytes32",
414
- indexed: true,
415
- internalType: "bytes32",
416
- },
417
- ],
418
- anonymous: false,
419
- },
420
- {
421
- type: "event",
422
- name: "RoleGranted",
423
- inputs: [
424
- {
425
- name: "role",
426
- type: "bytes32",
427
- indexed: true,
428
- internalType: "bytes32",
429
- },
430
- {
431
- name: "account",
432
- type: "address",
433
- indexed: true,
434
- internalType: "address",
435
- },
436
- {
437
- name: "sender",
438
- type: "address",
439
- indexed: true,
440
- internalType: "address",
441
- },
442
- ],
443
- anonymous: false,
444
- },
445
- {
446
- type: "event",
447
- name: "RoleRevoked",
448
- inputs: [
449
- {
450
- name: "role",
451
- type: "bytes32",
452
- indexed: true,
453
- internalType: "bytes32",
454
- },
455
- {
456
- name: "account",
457
- type: "address",
458
- indexed: true,
459
- internalType: "address",
460
- },
461
- {
462
- name: "sender",
463
- type: "address",
464
- indexed: true,
465
- internalType: "address",
466
- },
467
- ],
468
- anonymous: false,
469
- },
470
- {
471
- type: "event",
472
- name: "Unpaused",
473
- inputs: [
474
- {
475
- name: "account",
476
- type: "address",
477
- indexed: false,
478
- internalType: "address",
479
- },
480
- ],
481
- anonymous: false,
482
- },
483
- {
484
- type: "event",
485
- name: "Upgraded",
486
- inputs: [
487
- {
488
- name: "implementation",
489
- type: "address",
490
- indexed: true,
491
- internalType: "address",
492
- },
493
- ],
494
- anonymous: false,
495
- },
496
- { type: "error", name: "AccessControlBadConfirmation", inputs: [] },
497
- {
498
- type: "error",
499
- name: "AccessControlUnauthorizedAccount",
500
- inputs: [
501
- { name: "account", type: "address", internalType: "address" },
502
- { name: "neededRole", type: "bytes32", internalType: "bytes32" },
503
- ],
504
- },
505
- {
506
- type: "error",
507
- name: "AddressEmptyCode",
508
- inputs: [{ name: "target", type: "address", internalType: "address" }],
509
- },
510
- { type: "error", name: "AmountLessThanMinIncentiveRate", inputs: [] },
511
- { type: "error", name: "CannotRecoverIncentiveToken", inputs: [] },
512
- { type: "error", name: "CannotRecoverRewardToken", inputs: [] },
513
- { type: "error", name: "CannotRecoverStakingToken", inputs: [] },
514
- { type: "error", name: "CommissionChangeAlreadyQueued", inputs: [] },
515
- {
516
- type: "error",
517
- name: "CommissionChangeDelayMoreThanMax",
518
- inputs: [],
519
- },
520
- {
521
- type: "error",
522
- name: "CommissionNotQueuedOrDelayNotPassed",
523
- inputs: [],
524
- },
525
- { type: "error", name: "DepositNotMultipleOfGwei", inputs: [] },
526
- { type: "error", name: "DepositValueTooHigh", inputs: [] },
527
- {
528
- type: "error",
529
- name: "DonateAmountLessThanPayoutAmount",
530
- inputs: [],
531
- },
532
- {
533
- type: "error",
534
- name: "ERC1967InvalidImplementation",
535
- inputs: [
536
- {
537
- name: "implementation",
538
- type: "address",
539
- internalType: "address",
540
- },
541
- ],
542
- },
543
- { type: "error", name: "ERC1967NonPayable", inputs: [] },
544
- { type: "error", name: "EnforcedPause", inputs: [] },
545
- { type: "error", name: "ExpectedPause", inputs: [] },
546
- { type: "error", name: "FailedCall", inputs: [] },
547
- { type: "error", name: "IncentiveRateTooHigh", inputs: [] },
548
- { type: "error", name: "IndexOutOfRange", inputs: [] },
549
- { type: "error", name: "InsolventReward", inputs: [] },
550
- { type: "error", name: "InsufficientDelegateStake", inputs: [] },
551
- { type: "error", name: "InsufficientDeposit", inputs: [] },
552
- { type: "error", name: "InsufficientIncentiveTokens", inputs: [] },
553
- { type: "error", name: "InsufficientSelfStake", inputs: [] },
554
- { type: "error", name: "InsufficientStake", inputs: [] },
555
- { type: "error", name: "InvalidActivateBoostDelay", inputs: [] },
556
- { type: "error", name: "InvalidArray", inputs: [] },
557
- { type: "error", name: "InvalidBaseRate", inputs: [] },
558
- { type: "error", name: "InvalidBoostMultiplier", inputs: [] },
559
- { type: "error", name: "InvalidCommissionValue", inputs: [] },
560
- { type: "error", name: "InvalidCredentialsLength", inputs: [] },
561
- { type: "error", name: "InvalidDistribution", inputs: [] },
562
- { type: "error", name: "InvalidDropBoostDelay", inputs: [] },
563
- { type: "error", name: "InvalidInitialization", inputs: [] },
564
- { type: "error", name: "InvalidMaxIncentiveTokensCount", inputs: [] },
565
- { type: "error", name: "InvalidMerkleRoot", inputs: [] },
566
- { type: "error", name: "InvalidMinBoostedRewardRate", inputs: [] },
567
- { type: "error", name: "InvalidProof", inputs: [] },
568
- { type: "error", name: "InvalidPubKeyLength", inputs: [] },
569
- { type: "error", name: "InvalidRewardAllocationWeights", inputs: [] },
570
- { type: "error", name: "InvalidRewardClaimDelay", inputs: [] },
571
- { type: "error", name: "InvalidRewardConvexity", inputs: [] },
572
- { type: "error", name: "InvalidRewardRate", inputs: [] },
573
- { type: "error", name: "InvalidSignatureLength", inputs: [] },
574
- { type: "error", name: "InvalidStartBlock", inputs: [] },
575
- {
576
- type: "error",
577
- name: "InvalidateDefaultRewardAllocation",
578
- inputs: [],
579
- },
580
- { type: "error", name: "InvariantCheckFailed", inputs: [] },
581
- {
582
- type: "error",
583
- name: "MaxNumWeightsPerRewardAllocationIsZero",
584
- inputs: [],
585
- },
586
- { type: "error", name: "MinIncentiveRateIsZero", inputs: [] },
587
- { type: "error", name: "NotAContract", inputs: [] },
588
- { type: "error", name: "NotApprovedSender", inputs: [] },
589
- { type: "error", name: "NotBGT", inputs: [] },
590
- { type: "error", name: "NotBlockRewardController", inputs: [] },
591
- { type: "error", name: "NotDelegate", inputs: [] },
592
- { type: "error", name: "NotDistributor", inputs: [] },
593
- { type: "error", name: "NotEnoughBalance", inputs: [] },
594
- { type: "error", name: "NotEnoughBoostedBalance", inputs: [] },
595
- { type: "error", name: "NotEnoughTime", inputs: [] },
596
- { type: "error", name: "NotFactoryVault", inputs: [] },
597
- { type: "error", name: "NotFeeCollector", inputs: [] },
598
- { type: "error", name: "NotIncentiveManager", inputs: [] },
599
- { type: "error", name: "NotInitializing", inputs: [] },
600
- { type: "error", name: "NotNewOperator", inputs: [] },
601
- { type: "error", name: "NotOperator", inputs: [] },
602
- { type: "error", name: "NotWhitelistedVault", inputs: [] },
603
- { type: "error", name: "OperatorAlreadySet", inputs: [] },
604
- { type: "error", name: "PayoutAmountIsZero", inputs: [] },
605
- { type: "error", name: "ReentrancyGuardReentrantCall", inputs: [] },
606
- { type: "error", name: "RewardAllocationAlreadyQueued", inputs: [] },
607
- {
608
- type: "error",
609
- name: "RewardAllocationBlockDelayTooLarge",
610
- inputs: [],
611
- },
612
- { type: "error", name: "RewardCycleNotEnded", inputs: [] },
613
- { type: "error", name: "RewardInactive", inputs: [] },
614
- { type: "error", name: "RewardsDurationIsZero", inputs: [] },
615
- {
616
- type: "error",
617
- name: "SafeERC20FailedOperation",
618
- inputs: [{ name: "token", type: "address", internalType: "address" }],
619
- },
620
- { type: "error", name: "StakeAmountIsZero", inputs: [] },
621
- { type: "error", name: "TimestampAlreadyProcessed", inputs: [] },
622
- {
623
- type: "error",
624
- name: "TokenAlreadyWhitelistedOrLimitReached",
625
- inputs: [],
626
- },
627
- { type: "error", name: "TokenNotWhitelisted", inputs: [] },
628
- { type: "error", name: "TooManyWeights", inputs: [] },
629
- { type: "error", name: "TotalSupplyOverflow", inputs: [] },
630
- { type: "error", name: "UUPSUnauthorizedCallContext", inputs: [] },
631
- {
632
- type: "error",
633
- name: "UUPSUnsupportedProxiableUUID",
634
- inputs: [{ name: "slot", type: "bytes32", internalType: "bytes32" }],
635
- },
636
- { type: "error", name: "WithdrawAmountIsZero", inputs: [] },
637
- { type: "error", name: "ZeroAddress", inputs: [] },
638
- { type: "error", name: "ZeroOperatorOnFirstDeposit", inputs: [] },
639
- { type: "error", name: "ZeroPercentageWeight", inputs: [] },
640
- ] as const;