@berachain/berajs 0.2.3 → 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 (203) 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-NrjpnEn8.d.ts → getValidatorQueuedOperatorAddress-CqR6cyqC.d.ts} +3 -3
  45. package/dist/{getValidatorQueuedOperatorAddress-D_LEt3vv.d.cts → getValidatorQueuedOperatorAddress-DZgrPmZ2.d.cts} +3 -3
  46. package/dist/{global.d-X3cqpCEB.d.ts → global.d-BeYWDreg.d.ts} +4 -4
  47. package/dist/{global.d-DLRtrPG5.d.cts → global.d-DghRxpHd.d.cts} +4 -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 +40 -38
  51. package/dist/hooks/exports.d.ts +40 -38
  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 +8 -9
  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/validators/useOnChainValidator.ts +4 -3
  152. package/dist/chunk-3YXSUBA5.mjs +0 -2
  153. package/dist/chunk-A4UDYSB6.mjs +0 -4
  154. package/dist/chunk-A4UDYSB6.mjs.map +0 -1
  155. package/dist/chunk-CYKCYPFR.cjs +0 -2
  156. package/dist/chunk-CYKCYPFR.cjs.map +0 -1
  157. package/dist/chunk-ECRMUMTA.mjs +0 -2
  158. package/dist/chunk-ECRMUMTA.mjs.map +0 -1
  159. package/dist/chunk-F4BKSBEM.mjs +0 -2
  160. package/dist/chunk-F4BKSBEM.mjs.map +0 -1
  161. package/dist/chunk-FL2N3XHK.cjs +0 -2
  162. package/dist/chunk-FL2N3XHK.cjs.map +0 -1
  163. package/dist/chunk-MUCEYO3E.cjs +0 -4
  164. package/dist/chunk-MUCEYO3E.cjs.map +0 -1
  165. package/dist/chunk-P2Q7CMUD.cjs +0 -2
  166. package/dist/chunk-P2Q7CMUD.cjs.map +0 -1
  167. package/dist/chunk-PKXAW6MO.cjs +0 -2
  168. package/dist/chunk-Q3SCM6WL.mjs +0 -2
  169. package/dist/chunk-Q3SCM6WL.mjs.map +0 -1
  170. package/dist/chunk-TEBJWAVU.mjs +0 -2
  171. package/dist/chunk-TEBJWAVU.mjs.map +0 -1
  172. package/dist/chunk-VP7XUOSI.cjs +0 -2
  173. package/dist/chunk-VP7XUOSI.cjs.map +0 -1
  174. package/dist/pythWrapper-CBjsmmsK.d.cts +0 -1958
  175. package/dist/pythWrapper-CBjsmmsK.d.ts +0 -1958
  176. package/src/abi/bend/metaMorpho.ts +0 -2584
  177. package/src/abi/bend/morpho.ts +0 -444
  178. package/src/abi/bex/aggregatorsRouter.ts +0 -492
  179. package/src/abi/bex/balancerComposableStablePoolFactoryV6.ts +0 -283
  180. package/src/abi/bex/balancerPoolCreationHelper.ts +0 -267
  181. package/src/abi/bex/balancerVault.ts +0 -757
  182. package/src/abi/governance/governance.ts +0 -1016
  183. package/src/abi/governance/governanceTimelock.ts +0 -589
  184. package/src/abi/honey/collateralVault.ts +0 -1144
  185. package/src/abi/honey/honey.ts +0 -563
  186. package/src/abi/honey/honeyFactory.ts +0 -1270
  187. package/src/abi/honey/honeyFactoryReader.ts +0 -894
  188. package/src/abi/honey/honeyRootOracle.ts +0 -492
  189. package/src/abi/honey/pythPriceOracle.ts +0 -619
  190. package/src/abi/honey/pythWrapper.ts +0 -446
  191. package/src/abi/pol/LSTStakerVault.ts +0 -2032
  192. package/src/abi/pol/beaconDeposit.ts +0 -595
  193. package/src/abi/pol/beraChef.ts +0 -1019
  194. package/src/abi/pol/bgt.ts +0 -1008
  195. package/src/abi/pol/bgtIncentiveDistributor.ts +0 -640
  196. package/src/abi/pol/bgtStaker.ts +0 -1034
  197. package/src/abi/pol/rewardAllocationFactory.ts +0 -408
  198. package/src/abi/pol/rewardVault.ts +0 -1928
  199. package/src/abi/pol/rewardVaultFactory.ts +0 -586
  200. package/src/abi/pol/rewardVaultHelper.ts +0 -882
  201. package/src/abi/pol/stakeBeraVault.ts +0 -1116
  202. package/src/abi/pol/stakeBeraVaultWithdrawalRequest.ts +0 -618
  203. package/src/abi/pol/wbera.ts +0 -366
@@ -1,446 +0,0 @@
1
- export const pythWrapperAbi = [
2
- {
3
- inputs: [
4
- {
5
- internalType: "address",
6
- name: "factory_",
7
- type: "address",
8
- },
9
- {
10
- internalType: "address",
11
- name: "pythPriceOracle_",
12
- type: "address",
13
- },
14
- {
15
- internalType: "address",
16
- name: "factoryReader_",
17
- type: "address",
18
- },
19
- ],
20
- stateMutability: "nonpayable",
21
- type: "constructor",
22
- },
23
- {
24
- inputs: [],
25
- name: "AmountOutOfRange",
26
- type: "error",
27
- },
28
- {
29
- inputs: [
30
- {
31
- internalType: "address",
32
- name: "asset",
33
- type: "address",
34
- },
35
- ],
36
- name: "AssetIsBadCollateral",
37
- type: "error",
38
- },
39
- {
40
- inputs: [
41
- {
42
- internalType: "address",
43
- name: "asset",
44
- type: "address",
45
- },
46
- ],
47
- name: "AssetIsNotBadCollateral",
48
- type: "error",
49
- },
50
- {
51
- inputs: [
52
- {
53
- internalType: "address",
54
- name: "asset",
55
- type: "address",
56
- },
57
- ],
58
- name: "AssetNotRegistered",
59
- type: "error",
60
- },
61
- {
62
- inputs: [],
63
- name: "CapCanCauseDenialOfService",
64
- type: "error",
65
- },
66
- {
67
- inputs: [],
68
- name: "ExceedGlobalCap",
69
- type: "error",
70
- },
71
- {
72
- inputs: [],
73
- name: "ExceedRelativeCap",
74
- type: "error",
75
- },
76
- {
77
- inputs: [
78
- {
79
- internalType: "uint256",
80
- name: "assets",
81
- type: "uint256",
82
- },
83
- {
84
- internalType: "uint256",
85
- name: "shares",
86
- type: "uint256",
87
- },
88
- ],
89
- name: "InsufficientAssets",
90
- type: "error",
91
- },
92
- {
93
- inputs: [],
94
- name: "InsufficientBalanceToPayPythFee",
95
- type: "error",
96
- },
97
- {
98
- inputs: [
99
- {
100
- internalType: "uint256",
101
- name: "amount",
102
- type: "uint256",
103
- },
104
- ],
105
- name: "InsufficientRecapitalizeAmount",
106
- type: "error",
107
- },
108
- {
109
- inputs: [],
110
- name: "InvalidCustodyInfoInput",
111
- type: "error",
112
- },
113
- {
114
- inputs: [],
115
- name: "LiquidationDisabled",
116
- type: "error",
117
- },
118
- {
119
- inputs: [],
120
- name: "LiquidationWithReferenceCollateral",
121
- type: "error",
122
- },
123
- {
124
- inputs: [
125
- {
126
- internalType: "address",
127
- name: "owner",
128
- type: "address",
129
- },
130
- {
131
- internalType: "address",
132
- name: "expectedOwner",
133
- type: "address",
134
- },
135
- ],
136
- name: "MismatchedOwner",
137
- type: "error",
138
- },
139
- {
140
- inputs: [],
141
- name: "NotFactory",
142
- type: "error",
143
- },
144
- {
145
- inputs: [
146
- {
147
- internalType: "address",
148
- name: "asset",
149
- type: "address",
150
- },
151
- ],
152
- name: "NotPegged",
153
- type: "error",
154
- },
155
- {
156
- inputs: [
157
- {
158
- internalType: "uint256",
159
- name: "rate",
160
- type: "uint256",
161
- },
162
- ],
163
- name: "OverOneHundredPercentRate",
164
- type: "error",
165
- },
166
- {
167
- inputs: [
168
- {
169
- internalType: "address",
170
- name: "asset",
171
- type: "address",
172
- },
173
- ],
174
- name: "RecapitalizeNotNeeded",
175
- type: "error",
176
- },
177
- {
178
- inputs: [
179
- {
180
- internalType: "address",
181
- name: "caller",
182
- type: "address",
183
- },
184
- {
185
- internalType: "address",
186
- name: "expectedCaller",
187
- type: "address",
188
- },
189
- ],
190
- name: "UnauthorizedCaller",
191
- type: "error",
192
- },
193
- {
194
- inputs: [
195
- {
196
- internalType: "uint256",
197
- name: "rate",
198
- type: "uint256",
199
- },
200
- ],
201
- name: "UnderNinetyEightPercentRate",
202
- type: "error",
203
- },
204
- {
205
- inputs: [],
206
- name: "UnexpectedBasketModeStatus",
207
- type: "error",
208
- },
209
- {
210
- inputs: [
211
- {
212
- internalType: "address",
213
- name: "asset",
214
- type: "address",
215
- },
216
- ],
217
- name: "VaultAlreadyRegistered",
218
- type: "error",
219
- },
220
- {
221
- inputs: [],
222
- name: "VaultPaused",
223
- type: "error",
224
- },
225
- {
226
- inputs: [],
227
- name: "ZeroAddress",
228
- type: "error",
229
- },
230
- {
231
- inputs: [],
232
- name: "ZeroAmount",
233
- type: "error",
234
- },
235
- {
236
- inputs: [
237
- {
238
- internalType: "address",
239
- name: "asset",
240
- type: "address",
241
- },
242
- ],
243
- name: "ZeroWeight",
244
- type: "error",
245
- },
246
- {
247
- anonymous: false,
248
- inputs: [
249
- {
250
- indexed: false,
251
- internalType: "uint256",
252
- name: "fee",
253
- type: "uint256",
254
- },
255
- ],
256
- name: "PythOracleUpdated",
257
- type: "event",
258
- },
259
- {
260
- inputs: [],
261
- name: "factory",
262
- outputs: [
263
- {
264
- internalType: "address",
265
- name: "",
266
- type: "address",
267
- },
268
- ],
269
- stateMutability: "view",
270
- type: "function",
271
- },
272
- {
273
- inputs: [],
274
- name: "factoryReader",
275
- outputs: [
276
- {
277
- internalType: "address",
278
- name: "",
279
- type: "address",
280
- },
281
- ],
282
- stateMutability: "view",
283
- type: "function",
284
- },
285
- {
286
- inputs: [],
287
- name: "honey",
288
- outputs: [
289
- {
290
- internalType: "address",
291
- name: "",
292
- type: "address",
293
- },
294
- ],
295
- stateMutability: "view",
296
- type: "function",
297
- },
298
- {
299
- inputs: [
300
- {
301
- internalType: "bytes[]",
302
- name: "updateData",
303
- type: "bytes[]",
304
- },
305
- {
306
- internalType: "address",
307
- name: "badCollateral",
308
- type: "address",
309
- },
310
- {
311
- internalType: "address",
312
- name: "goodCollateral",
313
- type: "address",
314
- },
315
- {
316
- internalType: "uint256",
317
- name: "goodAmount",
318
- type: "uint256",
319
- },
320
- ],
321
- name: "liquidate",
322
- outputs: [
323
- {
324
- internalType: "uint256",
325
- name: "badAmount",
326
- type: "uint256",
327
- },
328
- ],
329
- stateMutability: "payable",
330
- type: "function",
331
- },
332
- {
333
- inputs: [
334
- {
335
- internalType: "bytes[]",
336
- name: "updateData",
337
- type: "bytes[]",
338
- },
339
- {
340
- internalType: "address",
341
- name: "asset",
342
- type: "address",
343
- },
344
- {
345
- internalType: "uint256",
346
- name: "amount",
347
- type: "uint256",
348
- },
349
- {
350
- internalType: "address",
351
- name: "receiver",
352
- type: "address",
353
- },
354
- {
355
- internalType: "bool",
356
- name: "expectBasketMode",
357
- type: "bool",
358
- },
359
- ],
360
- name: "mint",
361
- outputs: [
362
- {
363
- internalType: "uint256",
364
- name: "minted",
365
- type: "uint256",
366
- },
367
- ],
368
- stateMutability: "payable",
369
- type: "function",
370
- },
371
- {
372
- inputs: [],
373
- name: "pyth",
374
- outputs: [
375
- {
376
- internalType: "address",
377
- name: "",
378
- type: "address",
379
- },
380
- ],
381
- stateMutability: "view",
382
- type: "function",
383
- },
384
- {
385
- inputs: [
386
- {
387
- internalType: "bytes[]",
388
- name: "updateData",
389
- type: "bytes[]",
390
- },
391
- {
392
- internalType: "address",
393
- name: "asset",
394
- type: "address",
395
- },
396
- {
397
- internalType: "uint256",
398
- name: "amount",
399
- type: "uint256",
400
- },
401
- ],
402
- name: "recapitalize",
403
- outputs: [],
404
- stateMutability: "payable",
405
- type: "function",
406
- },
407
- {
408
- inputs: [
409
- {
410
- internalType: "bytes[]",
411
- name: "updateData",
412
- type: "bytes[]",
413
- },
414
- {
415
- internalType: "address",
416
- name: "asset",
417
- type: "address",
418
- },
419
- {
420
- internalType: "uint256",
421
- name: "honeyAmount",
422
- type: "uint256",
423
- },
424
- {
425
- internalType: "address",
426
- name: "receiver",
427
- type: "address",
428
- },
429
- {
430
- internalType: "bool",
431
- name: "expectBasketMode",
432
- type: "bool",
433
- },
434
- ],
435
- name: "redeem",
436
- outputs: [
437
- {
438
- internalType: "uint256[]",
439
- name: "amounts",
440
- type: "uint256[]",
441
- },
442
- ],
443
- stateMutability: "payable",
444
- type: "function",
445
- },
446
- ] as const;