@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,595 +0,0 @@
1
- export const beaconDepositAbi = [
2
- {
3
- inputs: [],
4
- name: "AlreadyInitialized",
5
- type: "error",
6
- },
7
- {
8
- inputs: [],
9
- name: "AmountLessThanMinIncentiveRate",
10
- type: "error",
11
- },
12
- {
13
- inputs: [],
14
- name: "CannotRecoverIncentiveToken",
15
- type: "error",
16
- },
17
- {
18
- inputs: [],
19
- name: "CannotRecoverRewardToken",
20
- type: "error",
21
- },
22
- {
23
- inputs: [],
24
- name: "CannotRecoverStakingToken",
25
- type: "error",
26
- },
27
- {
28
- inputs: [],
29
- name: "DepositNotMultipleOfGwei",
30
- type: "error",
31
- },
32
- {
33
- inputs: [],
34
- name: "DepositValueTooHigh",
35
- type: "error",
36
- },
37
- {
38
- inputs: [],
39
- name: "DonateAmountLessThanPayoutAmount",
40
- type: "error",
41
- },
42
- {
43
- inputs: [],
44
- name: "IncentiveRateTooHigh",
45
- type: "error",
46
- },
47
- {
48
- inputs: [],
49
- name: "IndexOutOfRange",
50
- type: "error",
51
- },
52
- {
53
- inputs: [],
54
- name: "InsolventReward",
55
- type: "error",
56
- },
57
- {
58
- inputs: [],
59
- name: "InsufficientDelegateStake",
60
- type: "error",
61
- },
62
- {
63
- inputs: [],
64
- name: "InsufficientDeposit",
65
- type: "error",
66
- },
67
- {
68
- inputs: [],
69
- name: "InsufficientSelfStake",
70
- type: "error",
71
- },
72
- {
73
- inputs: [],
74
- name: "InsufficientStake",
75
- type: "error",
76
- },
77
- {
78
- inputs: [],
79
- name: "InvalidActivateBoostDelay",
80
- type: "error",
81
- },
82
- {
83
- inputs: [],
84
- name: "InvalidBaseRate",
85
- type: "error",
86
- },
87
- {
88
- inputs: [],
89
- name: "InvalidBoostMultiplier",
90
- type: "error",
91
- },
92
- {
93
- inputs: [],
94
- name: "InvalidCredentialsLength",
95
- type: "error",
96
- },
97
- {
98
- inputs: [],
99
- name: "InvalidDropBoostDelay",
100
- type: "error",
101
- },
102
- {
103
- inputs: [],
104
- name: "InvalidMaxIncentiveTokensCount",
105
- type: "error",
106
- },
107
- {
108
- inputs: [],
109
- name: "InvalidMinBoostedRewardRate",
110
- type: "error",
111
- },
112
- {
113
- inputs: [],
114
- name: "InvalidProof",
115
- type: "error",
116
- },
117
- {
118
- inputs: [],
119
- name: "InvalidPubKeyLength",
120
- type: "error",
121
- },
122
- {
123
- inputs: [],
124
- name: "InvalidRewardAllocationWeights",
125
- type: "error",
126
- },
127
- {
128
- inputs: [],
129
- name: "InvalidRewardConvexity",
130
- type: "error",
131
- },
132
- {
133
- inputs: [],
134
- name: "InvalidRewardRate",
135
- type: "error",
136
- },
137
- {
138
- inputs: [],
139
- name: "InvalidRewardVaultAddress",
140
- type: "error",
141
- },
142
- {
143
- inputs: [],
144
- name: "InvalidSignatureLength",
145
- type: "error",
146
- },
147
- {
148
- inputs: [],
149
- name: "InvalidStartBlock",
150
- type: "error",
151
- },
152
- {
153
- inputs: [],
154
- name: "InvalidateDefaultRewardAllocation",
155
- type: "error",
156
- },
157
- {
158
- inputs: [],
159
- name: "InvariantCheckFailed",
160
- type: "error",
161
- },
162
- {
163
- inputs: [],
164
- name: "MaxNumWeightsPerRewardAllocationIsZero",
165
- type: "error",
166
- },
167
- {
168
- inputs: [],
169
- name: "MinIncentiveRateIsZero",
170
- type: "error",
171
- },
172
- {
173
- inputs: [],
174
- name: "NotAContract",
175
- type: "error",
176
- },
177
- {
178
- inputs: [],
179
- name: "NotApprovedSender",
180
- type: "error",
181
- },
182
- {
183
- inputs: [],
184
- name: "NotBGT",
185
- type: "error",
186
- },
187
- {
188
- inputs: [],
189
- name: "NotBlockRewardController",
190
- type: "error",
191
- },
192
- {
193
- inputs: [],
194
- name: "NotDelegate",
195
- type: "error",
196
- },
197
- {
198
- inputs: [],
199
- name: "NotDistributor",
200
- type: "error",
201
- },
202
- {
203
- inputs: [],
204
- name: "NotEnoughBalance",
205
- type: "error",
206
- },
207
- {
208
- inputs: [],
209
- name: "NotEnoughBoostedBalance",
210
- type: "error",
211
- },
212
- {
213
- inputs: [],
214
- name: "NotEnoughTime",
215
- type: "error",
216
- },
217
- {
218
- inputs: [],
219
- name: "NotFactoryVault",
220
- type: "error",
221
- },
222
- {
223
- inputs: [],
224
- name: "NotFeeCollector",
225
- type: "error",
226
- },
227
- {
228
- inputs: [],
229
- name: "NotGovernance",
230
- type: "error",
231
- },
232
- {
233
- inputs: [],
234
- name: "NotIncentiveManager",
235
- type: "error",
236
- },
237
- {
238
- inputs: [],
239
- name: "NotNewOperator",
240
- type: "error",
241
- },
242
- {
243
- inputs: [],
244
- name: "NotOperator",
245
- type: "error",
246
- },
247
- {
248
- inputs: [],
249
- name: "NotRootFollower",
250
- type: "error",
251
- },
252
- {
253
- inputs: [],
254
- name: "NotWhitelistedVault",
255
- type: "error",
256
- },
257
- {
258
- inputs: [],
259
- name: "OperatorAlreadySet",
260
- type: "error",
261
- },
262
- {
263
- inputs: [],
264
- name: "PayoutAmountIsZero",
265
- type: "error",
266
- },
267
- {
268
- inputs: [],
269
- name: "RewardAllocationAlreadyQueued",
270
- type: "error",
271
- },
272
- {
273
- inputs: [],
274
- name: "RewardAllocationBlockDelayTooLarge",
275
- type: "error",
276
- },
277
- {
278
- inputs: [],
279
- name: "RewardCycleNotEnded",
280
- type: "error",
281
- },
282
- {
283
- inputs: [],
284
- name: "RewardsDurationIsZero",
285
- type: "error",
286
- },
287
- {
288
- inputs: [],
289
- name: "StakeAmountIsZero",
290
- type: "error",
291
- },
292
- {
293
- inputs: [],
294
- name: "TimestampAlreadyProcessed",
295
- type: "error",
296
- },
297
- {
298
- inputs: [],
299
- name: "TokenAlreadyWhitelistedOrLimitReached",
300
- type: "error",
301
- },
302
- {
303
- inputs: [],
304
- name: "TokenNotWhitelisted",
305
- type: "error",
306
- },
307
- {
308
- inputs: [],
309
- name: "TooManyWeights",
310
- type: "error",
311
- },
312
- {
313
- inputs: [],
314
- name: "TotalSupplyOverflow",
315
- type: "error",
316
- },
317
- {
318
- inputs: [],
319
- name: "VaultAlreadyExists",
320
- type: "error",
321
- },
322
- {
323
- inputs: [],
324
- name: "WithdrawAmountIsZero",
325
- type: "error",
326
- },
327
- {
328
- inputs: [],
329
- name: "ZeroAddress",
330
- type: "error",
331
- },
332
- {
333
- inputs: [],
334
- name: "ZeroOperatorOnFirstDeposit",
335
- type: "error",
336
- },
337
- {
338
- inputs: [],
339
- name: "ZeroPercentageWeight",
340
- type: "error",
341
- },
342
- {
343
- anonymous: false,
344
- inputs: [
345
- {
346
- indexed: false,
347
- internalType: "bytes",
348
- name: "pubkey",
349
- type: "bytes",
350
- },
351
- {
352
- indexed: false,
353
- internalType: "bytes",
354
- name: "credentials",
355
- type: "bytes",
356
- },
357
- {
358
- indexed: false,
359
- internalType: "uint64",
360
- name: "amount",
361
- type: "uint64",
362
- },
363
- {
364
- indexed: false,
365
- internalType: "bytes",
366
- name: "signature",
367
- type: "bytes",
368
- },
369
- {
370
- indexed: false,
371
- internalType: "uint64",
372
- name: "index",
373
- type: "uint64",
374
- },
375
- ],
376
- name: "Deposit",
377
- type: "event",
378
- },
379
- {
380
- anonymous: false,
381
- inputs: [
382
- {
383
- indexed: true,
384
- internalType: "bytes",
385
- name: "pubkey",
386
- type: "bytes",
387
- },
388
- ],
389
- name: "OperatorChangeCancelled",
390
- type: "event",
391
- },
392
- {
393
- anonymous: false,
394
- inputs: [
395
- {
396
- indexed: true,
397
- internalType: "bytes",
398
- name: "pubkey",
399
- type: "bytes",
400
- },
401
- {
402
- indexed: false,
403
- internalType: "address",
404
- name: "queuedOperator",
405
- type: "address",
406
- },
407
- {
408
- indexed: false,
409
- internalType: "address",
410
- name: "currentOperator",
411
- type: "address",
412
- },
413
- {
414
- indexed: false,
415
- internalType: "uint256",
416
- name: "queuedTimestamp",
417
- type: "uint256",
418
- },
419
- ],
420
- name: "OperatorChangeQueued",
421
- type: "event",
422
- },
423
- {
424
- anonymous: false,
425
- inputs: [
426
- {
427
- indexed: true,
428
- internalType: "bytes",
429
- name: "pubkey",
430
- type: "bytes",
431
- },
432
- {
433
- indexed: false,
434
- internalType: "address",
435
- name: "newOperator",
436
- type: "address",
437
- },
438
- {
439
- indexed: false,
440
- internalType: "address",
441
- name: "previousOperator",
442
- type: "address",
443
- },
444
- ],
445
- name: "OperatorUpdated",
446
- type: "event",
447
- },
448
- {
449
- inputs: [
450
- {
451
- internalType: "bytes",
452
- name: "pubkey",
453
- type: "bytes",
454
- },
455
- ],
456
- name: "acceptOperatorChange",
457
- outputs: [],
458
- stateMutability: "nonpayable",
459
- type: "function",
460
- },
461
- {
462
- inputs: [
463
- {
464
- internalType: "bytes",
465
- name: "pubkey",
466
- type: "bytes",
467
- },
468
- ],
469
- name: "cancelOperatorChange",
470
- outputs: [],
471
- stateMutability: "nonpayable",
472
- type: "function",
473
- },
474
- {
475
- inputs: [
476
- {
477
- internalType: "bytes",
478
- name: "pubkey",
479
- type: "bytes",
480
- },
481
- {
482
- internalType: "bytes",
483
- name: "credentials",
484
- type: "bytes",
485
- },
486
- {
487
- internalType: "bytes",
488
- name: "signature",
489
- type: "bytes",
490
- },
491
- {
492
- internalType: "address",
493
- name: "operator",
494
- type: "address",
495
- },
496
- ],
497
- name: "deposit",
498
- outputs: [],
499
- stateMutability: "payable",
500
- type: "function",
501
- },
502
- {
503
- inputs: [],
504
- name: "depositCount",
505
- outputs: [
506
- {
507
- internalType: "uint64",
508
- name: "",
509
- type: "uint64",
510
- },
511
- ],
512
- stateMutability: "view",
513
- type: "function",
514
- },
515
- {
516
- inputs: [
517
- {
518
- internalType: "bytes",
519
- name: "pubkey",
520
- type: "bytes",
521
- },
522
- ],
523
- name: "getOperator",
524
- outputs: [
525
- {
526
- internalType: "address",
527
- name: "",
528
- type: "address",
529
- },
530
- ],
531
- stateMutability: "view",
532
- type: "function",
533
- },
534
- {
535
- inputs: [
536
- {
537
- internalType: "bytes",
538
- name: "",
539
- type: "bytes",
540
- },
541
- ],
542
- name: "queuedOperator",
543
- outputs: [
544
- {
545
- internalType: "uint96",
546
- name: "queuedTimestamp",
547
- type: "uint96",
548
- },
549
- {
550
- internalType: "address",
551
- name: "newOperator",
552
- type: "address",
553
- },
554
- ],
555
- stateMutability: "view",
556
- type: "function",
557
- },
558
- {
559
- inputs: [
560
- {
561
- internalType: "bytes",
562
- name: "pubkey",
563
- type: "bytes",
564
- },
565
- {
566
- internalType: "address",
567
- name: "newOperator",
568
- type: "address",
569
- },
570
- ],
571
- name: "requestOperatorChange",
572
- outputs: [],
573
- stateMutability: "nonpayable",
574
- type: "function",
575
- },
576
- {
577
- inputs: [
578
- {
579
- internalType: "bytes4",
580
- name: "interfaceId",
581
- type: "bytes4",
582
- },
583
- ],
584
- name: "supportsInterface",
585
- outputs: [
586
- {
587
- internalType: "bool",
588
- name: "",
589
- type: "bool",
590
- },
591
- ],
592
- stateMutability: "pure",
593
- type: "function",
594
- },
595
- ] as const;