@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,1116 +0,0 @@
1
- export const stakeBeraVaultAbi = [
2
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
3
- { type: "receive", stateMutability: "payable" },
4
- {
5
- type: "function",
6
- name: "DEFAULT_ADMIN_ROLE",
7
- inputs: [],
8
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
9
- stateMutability: "view",
10
- },
11
- {
12
- type: "function",
13
- name: "MANAGER_ROLE",
14
- inputs: [],
15
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
16
- stateMutability: "view",
17
- },
18
- {
19
- type: "function",
20
- name: "PAUSER_ROLE",
21
- inputs: [],
22
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
23
- stateMutability: "view",
24
- },
25
- {
26
- type: "function",
27
- name: "UPGRADE_INTERFACE_VERSION",
28
- inputs: [],
29
- outputs: [{ name: "", type: "string", internalType: "string" }],
30
- stateMutability: "view",
31
- },
32
- {
33
- type: "function",
34
- name: "WBERA",
35
- inputs: [],
36
- outputs: [{ name: "", type: "address", internalType: "address" }],
37
- stateMutability: "view",
38
- },
39
- {
40
- type: "function",
41
- name: "WITHDRAWAL_COOLDOWN",
42
- inputs: [],
43
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
44
- stateMutability: "view",
45
- },
46
- {
47
- type: "function",
48
- name: "allowance",
49
- inputs: [
50
- { name: "owner", type: "address", internalType: "address" },
51
- { name: "spender", type: "address", internalType: "address" },
52
- ],
53
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
54
- stateMutability: "view",
55
- },
56
- {
57
- type: "function",
58
- name: "approve",
59
- inputs: [
60
- { name: "spender", type: "address", internalType: "address" },
61
- { name: "value", type: "uint256", internalType: "uint256" },
62
- ],
63
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
64
- stateMutability: "nonpayable",
65
- },
66
- {
67
- type: "function",
68
- name: "asset",
69
- inputs: [],
70
- outputs: [{ name: "", type: "address", internalType: "address" }],
71
- stateMutability: "view",
72
- },
73
- {
74
- type: "function",
75
- name: "balanceOf",
76
- inputs: [{ name: "account", type: "address", internalType: "address" }],
77
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
78
- stateMutability: "view",
79
- },
80
- {
81
- type: "function",
82
- name: "cancelQueuedWithdrawal",
83
- inputs: [{ name: "requestId", type: "uint256", internalType: "uint256" }],
84
- outputs: [],
85
- stateMutability: "nonpayable",
86
- },
87
- {
88
- type: "function",
89
- name: "completeWithdrawal",
90
- inputs: [
91
- { name: "isNative", type: "bool", internalType: "bool" },
92
- { name: "requestId", type: "uint256", internalType: "uint256" },
93
- ],
94
- outputs: [],
95
- stateMutability: "nonpayable",
96
- },
97
- {
98
- type: "function",
99
- name: "completeWithdrawal",
100
- inputs: [{ name: "isNative", type: "bool", internalType: "bool" }],
101
- outputs: [],
102
- stateMutability: "nonpayable",
103
- },
104
- {
105
- type: "function",
106
- name: "convertToAssets",
107
- inputs: [{ name: "shares", type: "uint256", internalType: "uint256" }],
108
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
109
- stateMutability: "view",
110
- },
111
- {
112
- type: "function",
113
- name: "convertToShares",
114
- inputs: [{ name: "assets", type: "uint256", internalType: "uint256" }],
115
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
116
- stateMutability: "view",
117
- },
118
- {
119
- type: "function",
120
- name: "decimals",
121
- inputs: [],
122
- outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
123
- stateMutability: "view",
124
- },
125
- {
126
- type: "function",
127
- name: "deposit",
128
- inputs: [
129
- { name: "assets", type: "uint256", internalType: "uint256" },
130
- { name: "receiver", type: "address", internalType: "address" },
131
- ],
132
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
133
- stateMutability: "nonpayable",
134
- },
135
- {
136
- type: "function",
137
- name: "depositNative",
138
- inputs: [
139
- { name: "assets", type: "uint256", internalType: "uint256" },
140
- { name: "receiver", type: "address", internalType: "address" },
141
- ],
142
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
143
- stateMutability: "payable",
144
- },
145
- {
146
- type: "function",
147
- name: "getERC721WithdrawalRequest",
148
- inputs: [{ name: "requestId", type: "uint256", internalType: "uint256" }],
149
- outputs: [
150
- {
151
- name: "",
152
- type: "tuple",
153
- internalType:
154
- "struct IWBERAStakerVaultWithdrawalRequest.WithdrawalRequest",
155
- components: [
156
- { name: "assets", type: "uint256", internalType: "uint256" },
157
- { name: "shares", type: "uint256", internalType: "uint256" },
158
- { name: "requestTime", type: "uint256", internalType: "uint256" },
159
- { name: "owner", type: "address", internalType: "address" },
160
- { name: "receiver", type: "address", internalType: "address" },
161
- ],
162
- },
163
- ],
164
- stateMutability: "view",
165
- },
166
- {
167
- type: "function",
168
- name: "getERC721WithdrawalRequestIds",
169
- inputs: [{ name: "user", type: "address", internalType: "address" }],
170
- outputs: [{ name: "", type: "uint256[]", internalType: "uint256[]" }],
171
- stateMutability: "view",
172
- },
173
- {
174
- type: "function",
175
- name: "getERC721WithdrawalRequestIds",
176
- inputs: [
177
- { name: "user", type: "address", internalType: "address" },
178
- { name: "offset", type: "uint256", internalType: "uint256" },
179
- { name: "limit", type: "uint256", internalType: "uint256" },
180
- ],
181
- outputs: [{ name: "ids", type: "uint256[]", internalType: "uint256[]" }],
182
- stateMutability: "view",
183
- },
184
- {
185
- type: "function",
186
- name: "getRoleAdmin",
187
- inputs: [{ name: "role", type: "bytes32", internalType: "bytes32" }],
188
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
189
- stateMutability: "view",
190
- },
191
- {
192
- type: "function",
193
- name: "getUserERC721WithdrawalRequestCount",
194
- inputs: [{ name: "user", type: "address", internalType: "address" }],
195
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
196
- stateMutability: "view",
197
- },
198
- {
199
- type: "function",
200
- name: "grantRole",
201
- inputs: [
202
- { name: "role", type: "bytes32", internalType: "bytes32" },
203
- { name: "account", type: "address", internalType: "address" },
204
- ],
205
- outputs: [],
206
- stateMutability: "nonpayable",
207
- },
208
- {
209
- type: "function",
210
- name: "hasRole",
211
- inputs: [
212
- { name: "role", type: "bytes32", internalType: "bytes32" },
213
- { name: "account", type: "address", internalType: "address" },
214
- ],
215
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
216
- stateMutability: "view",
217
- },
218
- {
219
- type: "function",
220
- name: "initialize",
221
- inputs: [{ name: "governance", type: "address", internalType: "address" }],
222
- outputs: [],
223
- stateMutability: "nonpayable",
224
- },
225
- {
226
- type: "function",
227
- name: "maxDeposit",
228
- inputs: [{ name: "", type: "address", internalType: "address" }],
229
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
230
- stateMutability: "view",
231
- },
232
- {
233
- type: "function",
234
- name: "maxMint",
235
- inputs: [{ name: "", type: "address", internalType: "address" }],
236
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
237
- stateMutability: "view",
238
- },
239
- {
240
- type: "function",
241
- name: "maxRedeem",
242
- inputs: [{ name: "owner", type: "address", internalType: "address" }],
243
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
244
- stateMutability: "view",
245
- },
246
- {
247
- type: "function",
248
- name: "maxWithdraw",
249
- inputs: [{ name: "owner", type: "address", internalType: "address" }],
250
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
251
- stateMutability: "view",
252
- },
253
- {
254
- type: "function",
255
- name: "mint",
256
- inputs: [
257
- { name: "shares", type: "uint256", internalType: "uint256" },
258
- { name: "receiver", type: "address", internalType: "address" },
259
- ],
260
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
261
- stateMutability: "nonpayable",
262
- },
263
- {
264
- type: "function",
265
- name: "name",
266
- inputs: [],
267
- outputs: [{ name: "", type: "string", internalType: "string" }],
268
- stateMutability: "view",
269
- },
270
- {
271
- type: "function",
272
- name: "pause",
273
- inputs: [],
274
- outputs: [],
275
- stateMutability: "nonpayable",
276
- },
277
- {
278
- type: "function",
279
- name: "paused",
280
- inputs: [],
281
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
282
- stateMutability: "view",
283
- },
284
- {
285
- type: "function",
286
- name: "previewDeposit",
287
- inputs: [{ name: "assets", type: "uint256", internalType: "uint256" }],
288
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
289
- stateMutability: "view",
290
- },
291
- {
292
- type: "function",
293
- name: "previewMint",
294
- inputs: [{ name: "shares", type: "uint256", internalType: "uint256" }],
295
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
296
- stateMutability: "view",
297
- },
298
- {
299
- type: "function",
300
- name: "previewRedeem",
301
- inputs: [{ name: "shares", type: "uint256", internalType: "uint256" }],
302
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
303
- stateMutability: "view",
304
- },
305
- {
306
- type: "function",
307
- name: "previewWithdraw",
308
- inputs: [{ name: "assets", type: "uint256", internalType: "uint256" }],
309
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
310
- stateMutability: "view",
311
- },
312
- {
313
- type: "function",
314
- name: "proxiableUUID",
315
- inputs: [],
316
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
317
- stateMutability: "view",
318
- },
319
- {
320
- type: "function",
321
- name: "queueRedeem",
322
- inputs: [
323
- { name: "shares", type: "uint256", internalType: "uint256" },
324
- { name: "receiver", type: "address", internalType: "address" },
325
- { name: "owner", type: "address", internalType: "address" },
326
- ],
327
- outputs: [
328
- { name: "", type: "uint256", internalType: "uint256" },
329
- { name: "", type: "uint256", internalType: "uint256" },
330
- ],
331
- stateMutability: "nonpayable",
332
- },
333
- {
334
- type: "function",
335
- name: "queueWithdraw",
336
- inputs: [
337
- { name: "assets", type: "uint256", internalType: "uint256" },
338
- { name: "receiver", type: "address", internalType: "address" },
339
- { name: "owner", type: "address", internalType: "address" },
340
- ],
341
- outputs: [
342
- { name: "", type: "uint256", internalType: "uint256" },
343
- { name: "", type: "uint256", internalType: "uint256" },
344
- ],
345
- stateMutability: "nonpayable",
346
- },
347
- {
348
- type: "function",
349
- name: "receiveRewards",
350
- inputs: [{ name: "amount", type: "uint256", internalType: "uint256" }],
351
- outputs: [],
352
- stateMutability: "nonpayable",
353
- },
354
- {
355
- type: "function",
356
- name: "recoverERC20",
357
- inputs: [
358
- { name: "tokenAddress", type: "address", internalType: "address" },
359
- { name: "tokenAmount", type: "uint256", internalType: "uint256" },
360
- ],
361
- outputs: [],
362
- stateMutability: "nonpayable",
363
- },
364
- {
365
- type: "function",
366
- name: "redeem",
367
- inputs: [
368
- { name: "shares", type: "uint256", internalType: "uint256" },
369
- { name: "receiver", type: "address", internalType: "address" },
370
- { name: "owner", type: "address", internalType: "address" },
371
- ],
372
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
373
- stateMutability: "nonpayable",
374
- },
375
- {
376
- type: "function",
377
- name: "renounceRole",
378
- inputs: [
379
- { name: "role", type: "bytes32", internalType: "bytes32" },
380
- { name: "callerConfirmation", type: "address", internalType: "address" },
381
- ],
382
- outputs: [],
383
- stateMutability: "nonpayable",
384
- },
385
- {
386
- type: "function",
387
- name: "reservedAssets",
388
- inputs: [],
389
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
390
- stateMutability: "view",
391
- },
392
- {
393
- type: "function",
394
- name: "revokeRole",
395
- inputs: [
396
- { name: "role", type: "bytes32", internalType: "bytes32" },
397
- { name: "account", type: "address", internalType: "address" },
398
- ],
399
- outputs: [],
400
- stateMutability: "nonpayable",
401
- },
402
- {
403
- type: "function",
404
- name: "setWithdrawalRequests721",
405
- inputs: [
406
- { name: "withdrawalRequests_", type: "address", internalType: "address" },
407
- ],
408
- outputs: [],
409
- stateMutability: "nonpayable",
410
- },
411
- {
412
- type: "function",
413
- name: "supportsInterface",
414
- inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
415
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
416
- stateMutability: "view",
417
- },
418
- {
419
- type: "function",
420
- name: "symbol",
421
- inputs: [],
422
- outputs: [{ name: "", type: "string", internalType: "string" }],
423
- stateMutability: "view",
424
- },
425
- {
426
- type: "function",
427
- name: "totalAssets",
428
- inputs: [],
429
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
430
- stateMutability: "view",
431
- },
432
- {
433
- type: "function",
434
- name: "totalSupply",
435
- inputs: [],
436
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
437
- stateMutability: "view",
438
- },
439
- {
440
- type: "function",
441
- name: "transfer",
442
- inputs: [
443
- { name: "to", type: "address", internalType: "address" },
444
- { name: "value", type: "uint256", internalType: "uint256" },
445
- ],
446
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
447
- stateMutability: "nonpayable",
448
- },
449
- {
450
- type: "function",
451
- name: "transferFrom",
452
- inputs: [
453
- { name: "from", type: "address", internalType: "address" },
454
- { name: "to", type: "address", internalType: "address" },
455
- { name: "value", type: "uint256", internalType: "uint256" },
456
- ],
457
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
458
- stateMutability: "nonpayable",
459
- },
460
- {
461
- type: "function",
462
- name: "unpause",
463
- inputs: [],
464
- outputs: [],
465
- stateMutability: "nonpayable",
466
- },
467
- {
468
- type: "function",
469
- name: "upgradeToAndCall",
470
- inputs: [
471
- { name: "newImplementation", type: "address", internalType: "address" },
472
- { name: "data", type: "bytes", internalType: "bytes" },
473
- ],
474
- outputs: [],
475
- stateMutability: "payable",
476
- },
477
- {
478
- type: "function",
479
- name: "withdraw",
480
- inputs: [
481
- { name: "assets", type: "uint256", internalType: "uint256" },
482
- { name: "receiver", type: "address", internalType: "address" },
483
- { name: "owner", type: "address", internalType: "address" },
484
- ],
485
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
486
- stateMutability: "nonpayable",
487
- },
488
- {
489
- type: "function",
490
- name: "withdrawalRequests",
491
- inputs: [{ name: "", type: "address", internalType: "address" }],
492
- outputs: [
493
- { name: "assets", type: "uint256", internalType: "uint256" },
494
- { name: "shares", type: "uint256", internalType: "uint256" },
495
- { name: "requestTime", type: "uint256", internalType: "uint256" },
496
- { name: "owner", type: "address", internalType: "address" },
497
- { name: "receiver", type: "address", internalType: "address" },
498
- ],
499
- stateMutability: "view",
500
- },
501
- {
502
- type: "function",
503
- name: "withdrawalRequests721",
504
- inputs: [],
505
- outputs: [
506
- {
507
- name: "",
508
- type: "address",
509
- internalType: "contract IWBERAStakerVaultWithdrawalRequest",
510
- },
511
- ],
512
- stateMutability: "view",
513
- },
514
- {
515
- type: "event",
516
- name: "Approval",
517
- inputs: [
518
- {
519
- name: "owner",
520
- type: "address",
521
- indexed: true,
522
- internalType: "address",
523
- },
524
- {
525
- name: "spender",
526
- type: "address",
527
- indexed: true,
528
- internalType: "address",
529
- },
530
- {
531
- name: "value",
532
- type: "uint256",
533
- indexed: false,
534
- internalType: "uint256",
535
- },
536
- ],
537
- anonymous: false,
538
- },
539
- {
540
- type: "event",
541
- name: "Deposit",
542
- inputs: [
543
- {
544
- name: "sender",
545
- type: "address",
546
- indexed: true,
547
- internalType: "address",
548
- },
549
- {
550
- name: "owner",
551
- type: "address",
552
- indexed: true,
553
- internalType: "address",
554
- },
555
- {
556
- name: "assets",
557
- type: "uint256",
558
- indexed: false,
559
- internalType: "uint256",
560
- },
561
- {
562
- name: "shares",
563
- type: "uint256",
564
- indexed: false,
565
- internalType: "uint256",
566
- },
567
- ],
568
- anonymous: false,
569
- },
570
- {
571
- type: "event",
572
- name: "ERC20Recovered",
573
- inputs: [
574
- {
575
- name: "token",
576
- type: "address",
577
- indexed: false,
578
- internalType: "address",
579
- },
580
- {
581
- name: "amount",
582
- type: "uint256",
583
- indexed: false,
584
- internalType: "uint256",
585
- },
586
- ],
587
- anonymous: false,
588
- },
589
- {
590
- type: "event",
591
- name: "Initialized",
592
- inputs: [
593
- {
594
- name: "version",
595
- type: "uint64",
596
- indexed: false,
597
- internalType: "uint64",
598
- },
599
- ],
600
- anonymous: false,
601
- },
602
- {
603
- type: "event",
604
- name: "Paused",
605
- inputs: [
606
- {
607
- name: "account",
608
- type: "address",
609
- indexed: false,
610
- internalType: "address",
611
- },
612
- ],
613
- anonymous: false,
614
- },
615
- {
616
- type: "event",
617
- name: "RewardsReceived",
618
- inputs: [
619
- {
620
- name: "sender",
621
- type: "address",
622
- indexed: true,
623
- internalType: "address",
624
- },
625
- {
626
- name: "amount",
627
- type: "uint256",
628
- indexed: true,
629
- internalType: "uint256",
630
- },
631
- ],
632
- anonymous: false,
633
- },
634
- {
635
- type: "event",
636
- name: "RoleAdminChanged",
637
- inputs: [
638
- { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
639
- {
640
- name: "previousAdminRole",
641
- type: "bytes32",
642
- indexed: true,
643
- internalType: "bytes32",
644
- },
645
- {
646
- name: "newAdminRole",
647
- type: "bytes32",
648
- indexed: true,
649
- internalType: "bytes32",
650
- },
651
- ],
652
- anonymous: false,
653
- },
654
- {
655
- type: "event",
656
- name: "RoleGranted",
657
- inputs: [
658
- { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
659
- {
660
- name: "account",
661
- type: "address",
662
- indexed: true,
663
- internalType: "address",
664
- },
665
- {
666
- name: "sender",
667
- type: "address",
668
- indexed: true,
669
- internalType: "address",
670
- },
671
- ],
672
- anonymous: false,
673
- },
674
- {
675
- type: "event",
676
- name: "RoleRevoked",
677
- inputs: [
678
- { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
679
- {
680
- name: "account",
681
- type: "address",
682
- indexed: true,
683
- internalType: "address",
684
- },
685
- {
686
- name: "sender",
687
- type: "address",
688
- indexed: true,
689
- internalType: "address",
690
- },
691
- ],
692
- anonymous: false,
693
- },
694
- {
695
- type: "event",
696
- name: "Transfer",
697
- inputs: [
698
- { name: "from", type: "address", indexed: true, internalType: "address" },
699
- { name: "to", type: "address", indexed: true, internalType: "address" },
700
- {
701
- name: "value",
702
- type: "uint256",
703
- indexed: false,
704
- internalType: "uint256",
705
- },
706
- ],
707
- anonymous: false,
708
- },
709
- {
710
- type: "event",
711
- name: "Unpaused",
712
- inputs: [
713
- {
714
- name: "account",
715
- type: "address",
716
- indexed: false,
717
- internalType: "address",
718
- },
719
- ],
720
- anonymous: false,
721
- },
722
- {
723
- type: "event",
724
- name: "Upgraded",
725
- inputs: [
726
- {
727
- name: "implementation",
728
- type: "address",
729
- indexed: true,
730
- internalType: "address",
731
- },
732
- ],
733
- anonymous: false,
734
- },
735
- {
736
- type: "event",
737
- name: "Withdraw",
738
- inputs: [
739
- {
740
- name: "sender",
741
- type: "address",
742
- indexed: true,
743
- internalType: "address",
744
- },
745
- {
746
- name: "receiver",
747
- type: "address",
748
- indexed: true,
749
- internalType: "address",
750
- },
751
- {
752
- name: "owner",
753
- type: "address",
754
- indexed: true,
755
- internalType: "address",
756
- },
757
- {
758
- name: "assets",
759
- type: "uint256",
760
- indexed: false,
761
- internalType: "uint256",
762
- },
763
- {
764
- name: "shares",
765
- type: "uint256",
766
- indexed: false,
767
- internalType: "uint256",
768
- },
769
- ],
770
- anonymous: false,
771
- },
772
- {
773
- type: "event",
774
- name: "WithdrawalCancelled",
775
- inputs: [
776
- {
777
- name: "sender",
778
- type: "address",
779
- indexed: true,
780
- internalType: "address",
781
- },
782
- {
783
- name: "owner",
784
- type: "address",
785
- indexed: true,
786
- internalType: "address",
787
- },
788
- {
789
- name: "assets",
790
- type: "uint256",
791
- indexed: false,
792
- internalType: "uint256",
793
- },
794
- {
795
- name: "shares",
796
- type: "uint256",
797
- indexed: false,
798
- internalType: "uint256",
799
- },
800
- {
801
- name: "newSharesMinted",
802
- type: "uint256",
803
- indexed: false,
804
- internalType: "uint256",
805
- },
806
- ],
807
- anonymous: false,
808
- },
809
- {
810
- type: "event",
811
- name: "WithdrawalCompleted",
812
- inputs: [
813
- {
814
- name: "sender",
815
- type: "address",
816
- indexed: true,
817
- internalType: "address",
818
- },
819
- {
820
- name: "receiver",
821
- type: "address",
822
- indexed: true,
823
- internalType: "address",
824
- },
825
- {
826
- name: "owner",
827
- type: "address",
828
- indexed: true,
829
- internalType: "address",
830
- },
831
- {
832
- name: "assets",
833
- type: "uint256",
834
- indexed: false,
835
- internalType: "uint256",
836
- },
837
- {
838
- name: "shares",
839
- type: "uint256",
840
- indexed: false,
841
- internalType: "uint256",
842
- },
843
- ],
844
- anonymous: false,
845
- },
846
- {
847
- type: "event",
848
- name: "WithdrawalRequested",
849
- inputs: [
850
- {
851
- name: "sender",
852
- type: "address",
853
- indexed: true,
854
- internalType: "address",
855
- },
856
- {
857
- name: "receiver",
858
- type: "address",
859
- indexed: true,
860
- internalType: "address",
861
- },
862
- {
863
- name: "owner",
864
- type: "address",
865
- indexed: true,
866
- internalType: "address",
867
- },
868
- {
869
- name: "assets",
870
- type: "uint256",
871
- indexed: false,
872
- internalType: "uint256",
873
- },
874
- {
875
- name: "shares",
876
- type: "uint256",
877
- indexed: false,
878
- internalType: "uint256",
879
- },
880
- ],
881
- anonymous: false,
882
- },
883
- {
884
- type: "event",
885
- name: "WithdrawalRequests721Updated",
886
- inputs: [
887
- {
888
- name: "oldAddress",
889
- type: "address",
890
- indexed: false,
891
- internalType: "address",
892
- },
893
- {
894
- name: "newAddress",
895
- type: "address",
896
- indexed: false,
897
- internalType: "address",
898
- },
899
- ],
900
- anonymous: false,
901
- },
902
- { type: "error", name: "AccessControlBadConfirmation", inputs: [] },
903
- {
904
- type: "error",
905
- name: "AccessControlUnauthorizedAccount",
906
- inputs: [
907
- { name: "account", type: "address", internalType: "address" },
908
- { name: "neededRole", type: "bytes32", internalType: "bytes32" },
909
- ],
910
- },
911
- {
912
- type: "error",
913
- name: "AddressEmptyCode",
914
- inputs: [{ name: "target", type: "address", internalType: "address" }],
915
- },
916
- { type: "error", name: "AmountGreaterThanReward", inputs: [] },
917
- { type: "error", name: "AmountLessThanMinIncentiveRate", inputs: [] },
918
- { type: "error", name: "CannotRecoverIncentiveToken", inputs: [] },
919
- { type: "error", name: "CannotRecoverRewardToken", inputs: [] },
920
- { type: "error", name: "CannotRecoverStakingToken", inputs: [] },
921
- { type: "error", name: "CommissionChangeAlreadyQueued", inputs: [] },
922
- { type: "error", name: "CommissionNotQueuedOrDelayNotPassed", inputs: [] },
923
- { type: "error", name: "DepositNotMultipleOfGwei", inputs: [] },
924
- { type: "error", name: "DepositValueTooHigh", inputs: [] },
925
- { type: "error", name: "DonateAmountLessThanPayoutAmount", inputs: [] },
926
- {
927
- type: "error",
928
- name: "DuplicateReceiver",
929
- inputs: [{ name: "receiver", type: "address", internalType: "address" }],
930
- },
931
- { type: "error", name: "DurationChangeNotAllowed", inputs: [] },
932
- {
933
- type: "error",
934
- name: "ERC1967InvalidImplementation",
935
- inputs: [
936
- { name: "implementation", type: "address", internalType: "address" },
937
- ],
938
- },
939
- { type: "error", name: "ERC1967NonPayable", inputs: [] },
940
- {
941
- type: "error",
942
- name: "ERC20InsufficientAllowance",
943
- inputs: [
944
- { name: "spender", type: "address", internalType: "address" },
945
- { name: "allowance", type: "uint256", internalType: "uint256" },
946
- { name: "needed", type: "uint256", internalType: "uint256" },
947
- ],
948
- },
949
- {
950
- type: "error",
951
- name: "ERC20InsufficientBalance",
952
- inputs: [
953
- { name: "sender", type: "address", internalType: "address" },
954
- { name: "balance", type: "uint256", internalType: "uint256" },
955
- { name: "needed", type: "uint256", internalType: "uint256" },
956
- ],
957
- },
958
- {
959
- type: "error",
960
- name: "ERC20InvalidApprover",
961
- inputs: [{ name: "approver", type: "address", internalType: "address" }],
962
- },
963
- {
964
- type: "error",
965
- name: "ERC20InvalidReceiver",
966
- inputs: [{ name: "receiver", type: "address", internalType: "address" }],
967
- },
968
- {
969
- type: "error",
970
- name: "ERC20InvalidSender",
971
- inputs: [{ name: "sender", type: "address", internalType: "address" }],
972
- },
973
- {
974
- type: "error",
975
- name: "ERC20InvalidSpender",
976
- inputs: [{ name: "spender", type: "address", internalType: "address" }],
977
- },
978
- {
979
- type: "error",
980
- name: "ERC4626ExceededMaxDeposit",
981
- inputs: [
982
- { name: "receiver", type: "address", internalType: "address" },
983
- { name: "assets", type: "uint256", internalType: "uint256" },
984
- { name: "max", type: "uint256", internalType: "uint256" },
985
- ],
986
- },
987
- {
988
- type: "error",
989
- name: "ERC4626ExceededMaxMint",
990
- inputs: [
991
- { name: "receiver", type: "address", internalType: "address" },
992
- { name: "shares", type: "uint256", internalType: "uint256" },
993
- { name: "max", type: "uint256", internalType: "uint256" },
994
- ],
995
- },
996
- {
997
- type: "error",
998
- name: "ERC4626ExceededMaxRedeem",
999
- inputs: [
1000
- { name: "owner", type: "address", internalType: "address" },
1001
- { name: "shares", type: "uint256", internalType: "uint256" },
1002
- { name: "max", type: "uint256", internalType: "uint256" },
1003
- ],
1004
- },
1005
- {
1006
- type: "error",
1007
- name: "ERC4626ExceededMaxWithdraw",
1008
- inputs: [
1009
- { name: "owner", type: "address", internalType: "address" },
1010
- { name: "assets", type: "uint256", internalType: "uint256" },
1011
- { name: "max", type: "uint256", internalType: "uint256" },
1012
- ],
1013
- },
1014
- { type: "error", name: "EnforcedPause", inputs: [] },
1015
- { type: "error", name: "ExpectedPause", inputs: [] },
1016
- { type: "error", name: "FailedCall", inputs: [] },
1017
- { type: "error", name: "IncentiveRateTooHigh", inputs: [] },
1018
- { type: "error", name: "IndexOutOfRange", inputs: [] },
1019
- { type: "error", name: "InsolventReward", inputs: [] },
1020
- { type: "error", name: "InsufficientDelegateStake", inputs: [] },
1021
- { type: "error", name: "InsufficientDeposit", inputs: [] },
1022
- { type: "error", name: "InsufficientIncentiveTokens", inputs: [] },
1023
- { type: "error", name: "InsufficientNativeValue", inputs: [] },
1024
- { type: "error", name: "InsufficientSelfStake", inputs: [] },
1025
- { type: "error", name: "InsufficientStake", inputs: [] },
1026
- { type: "error", name: "InvalidActivateBoostDelay", inputs: [] },
1027
- { type: "error", name: "InvalidArray", inputs: [] },
1028
- { type: "error", name: "InvalidBaseRate", inputs: [] },
1029
- { type: "error", name: "InvalidBoostMultiplier", inputs: [] },
1030
- { type: "error", name: "InvalidCommissionChangeDelay", inputs: [] },
1031
- { type: "error", name: "InvalidCommissionValue", inputs: [] },
1032
- { type: "error", name: "InvalidCredentialsLength", inputs: [] },
1033
- { type: "error", name: "InvalidDistribution", inputs: [] },
1034
- { type: "error", name: "InvalidDropBoostDelay", inputs: [] },
1035
- { type: "error", name: "InvalidIncentiveFeeRate", inputs: [] },
1036
- { type: "error", name: "InvalidIncentiveRate", inputs: [] },
1037
- { type: "error", name: "InvalidInitialization", inputs: [] },
1038
- { type: "error", name: "InvalidMaxIncentiveTokensCount", inputs: [] },
1039
- { type: "error", name: "InvalidMaxWeightPerVault", inputs: [] },
1040
- { type: "error", name: "InvalidMerkleRoot", inputs: [] },
1041
- { type: "error", name: "InvalidMinBoostedRewardRate", inputs: [] },
1042
- { type: "error", name: "InvalidProof", inputs: [] },
1043
- { type: "error", name: "InvalidPubKeyLength", inputs: [] },
1044
- { type: "error", name: "InvalidRewardAllocationWeights", inputs: [] },
1045
- { type: "error", name: "InvalidRewardClaimDelay", inputs: [] },
1046
- { type: "error", name: "InvalidRewardConvexity", inputs: [] },
1047
- { type: "error", name: "InvalidRewardDuration", inputs: [] },
1048
- { type: "error", name: "InvalidRewardRate", inputs: [] },
1049
- { type: "error", name: "InvalidSignatureLength", inputs: [] },
1050
- { type: "error", name: "InvalidStartBlock", inputs: [] },
1051
- { type: "error", name: "InvalidToken", inputs: [] },
1052
- { type: "error", name: "InvalidWeight", inputs: [] },
1053
- { type: "error", name: "InvalidateDefaultRewardAllocation", inputs: [] },
1054
- { type: "error", name: "InvariantCheckFailed", inputs: [] },
1055
- { type: "error", name: "MaxNumWeightsPerRewardAllocationIsZero", inputs: [] },
1056
- { type: "error", name: "MethodNotAllowed", inputs: [] },
1057
- { type: "error", name: "MinIncentiveRateIsZero", inputs: [] },
1058
- { type: "error", name: "NonTransferable", inputs: [] },
1059
- { type: "error", name: "NotAContract", inputs: [] },
1060
- { type: "error", name: "NotApprovedSender", inputs: [] },
1061
- { type: "error", name: "NotBGT", inputs: [] },
1062
- { type: "error", name: "NotBlockRewardController", inputs: [] },
1063
- { type: "error", name: "NotDelegate", inputs: [] },
1064
- { type: "error", name: "NotDistributor", inputs: [] },
1065
- { type: "error", name: "NotEnoughBalance", inputs: [] },
1066
- { type: "error", name: "NotEnoughBoostedBalance", inputs: [] },
1067
- { type: "error", name: "NotEnoughTime", inputs: [] },
1068
- { type: "error", name: "NotFactoryVault", inputs: [] },
1069
- { type: "error", name: "NotFeeCollector", inputs: [] },
1070
- { type: "error", name: "NotIncentiveManager", inputs: [] },
1071
- { type: "error", name: "NotInitializing", inputs: [] },
1072
- { type: "error", name: "NotNewOperator", inputs: [] },
1073
- { type: "error", name: "NotOperator", inputs: [] },
1074
- { type: "error", name: "NotRewardAllocator", inputs: [] },
1075
- { type: "error", name: "NotRewardDurationManager", inputs: [] },
1076
- { type: "error", name: "NotRewardVaultManager", inputs: [] },
1077
- { type: "error", name: "NotSystemAddress", inputs: [] },
1078
- { type: "error", name: "NotWBERAStakerVault", inputs: [] },
1079
- { type: "error", name: "NotWhitelistedVault", inputs: [] },
1080
- { type: "error", name: "OnlyNFTOwnerAllowed", inputs: [] },
1081
- { type: "error", name: "OnlySystemCallAllowed", inputs: [] },
1082
- { type: "error", name: "OperatorAlreadySet", inputs: [] },
1083
- { type: "error", name: "PayoutAmountIsZero", inputs: [] },
1084
- { type: "error", name: "ReentrancyGuardReentrantCall", inputs: [] },
1085
- { type: "error", name: "RewardAllocationAlreadyQueued", inputs: [] },
1086
- { type: "error", name: "RewardAllocationBlockDelayTooLarge", inputs: [] },
1087
- { type: "error", name: "RewardCycleNotEnded", inputs: [] },
1088
- { type: "error", name: "RewardDurationCoolDownPeriodNotPassed", inputs: [] },
1089
- { type: "error", name: "RewardInactive", inputs: [] },
1090
- { type: "error", name: "RewardsDurationIsZero", inputs: [] },
1091
- {
1092
- type: "error",
1093
- name: "SafeERC20FailedOperation",
1094
- inputs: [{ name: "token", type: "address", internalType: "address" }],
1095
- },
1096
- { type: "error", name: "StakeAmountIsZero", inputs: [] },
1097
- { type: "error", name: "TimestampAlreadyProcessed", inputs: [] },
1098
- { type: "error", name: "TokenAlreadyWhitelistedOrLimitReached", inputs: [] },
1099
- { type: "error", name: "TokenNotWhitelisted", inputs: [] },
1100
- { type: "error", name: "TooManyWeights", inputs: [] },
1101
- { type: "error", name: "TotalSupplyOverflow", inputs: [] },
1102
- { type: "error", name: "UUPSUnauthorizedCallContext", inputs: [] },
1103
- {
1104
- type: "error",
1105
- name: "UUPSUnsupportedProxiableUUID",
1106
- inputs: [{ name: "slot", type: "bytes32", internalType: "bytes32" }],
1107
- },
1108
- { type: "error", name: "UnauthorizedETHTransfer", inputs: [] },
1109
- { type: "error", name: "WithdrawAmountIsZero", inputs: [] },
1110
- { type: "error", name: "WithdrawalAlreadyRequested", inputs: [] },
1111
- { type: "error", name: "WithdrawalNotReady", inputs: [] },
1112
- { type: "error", name: "WithdrawalNotRequested", inputs: [] },
1113
- { type: "error", name: "ZeroAddress", inputs: [] },
1114
- { type: "error", name: "ZeroOperatorOnFirstDeposit", inputs: [] },
1115
- { type: "error", name: "ZeroPercentageWeight", inputs: [] },
1116
- ] as const;