@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,283 +0,0 @@
1
- export const balancerComposableStablePoolFactoryV6 = [
2
- {
3
- inputs: [
4
- {
5
- internalType: "contract IVault",
6
- name: "vault",
7
- type: "address",
8
- },
9
- {
10
- internalType: "contract IProtocolFeePercentagesProvider",
11
- name: "protocolFeeProvider",
12
- type: "address",
13
- },
14
- {
15
- internalType: "string",
16
- name: "factoryVersion",
17
- type: "string",
18
- },
19
- {
20
- internalType: "string",
21
- name: "poolVersion",
22
- type: "string",
23
- },
24
- ],
25
- stateMutability: "nonpayable",
26
- type: "constructor",
27
- },
28
- {
29
- anonymous: false,
30
- inputs: [],
31
- name: "FactoryDisabled",
32
- type: "event",
33
- },
34
- {
35
- anonymous: false,
36
- inputs: [
37
- {
38
- indexed: true,
39
- internalType: "address",
40
- name: "pool",
41
- type: "address",
42
- },
43
- ],
44
- name: "PoolCreated",
45
- type: "event",
46
- },
47
- {
48
- inputs: [
49
- {
50
- internalType: "string",
51
- name: "name",
52
- type: "string",
53
- },
54
- {
55
- internalType: "string",
56
- name: "symbol",
57
- type: "string",
58
- },
59
- {
60
- internalType: "contract IERC20[]",
61
- name: "tokens",
62
- type: "address[]",
63
- },
64
- {
65
- internalType: "uint256",
66
- name: "amplificationParameter",
67
- type: "uint256",
68
- },
69
- {
70
- internalType: "contract IRateProvider[]",
71
- name: "rateProviders",
72
- type: "address[]",
73
- },
74
- {
75
- internalType: "uint256[]",
76
- name: "tokenRateCacheDurations",
77
- type: "uint256[]",
78
- },
79
- {
80
- internalType: "bool",
81
- name: "exemptFromYieldProtocolFeeFlag",
82
- type: "bool",
83
- },
84
- {
85
- internalType: "uint256",
86
- name: "swapFeePercentage",
87
- type: "uint256",
88
- },
89
- {
90
- internalType: "address",
91
- name: "owner",
92
- type: "address",
93
- },
94
- {
95
- internalType: "bytes32",
96
- name: "salt",
97
- type: "bytes32",
98
- },
99
- ],
100
- name: "create",
101
- outputs: [
102
- {
103
- internalType: "contract ComposableStablePool",
104
- name: "",
105
- type: "address",
106
- },
107
- ],
108
- stateMutability: "nonpayable",
109
- type: "function",
110
- },
111
- {
112
- inputs: [],
113
- name: "disable",
114
- outputs: [],
115
- stateMutability: "nonpayable",
116
- type: "function",
117
- },
118
- {
119
- inputs: [
120
- {
121
- internalType: "bytes4",
122
- name: "selector",
123
- type: "bytes4",
124
- },
125
- ],
126
- name: "getActionId",
127
- outputs: [
128
- {
129
- internalType: "bytes32",
130
- name: "",
131
- type: "bytes32",
132
- },
133
- ],
134
- stateMutability: "view",
135
- type: "function",
136
- },
137
- {
138
- inputs: [],
139
- name: "getAuthorizer",
140
- outputs: [
141
- {
142
- internalType: "contract IAuthorizer",
143
- name: "",
144
- type: "address",
145
- },
146
- ],
147
- stateMutability: "view",
148
- type: "function",
149
- },
150
- {
151
- inputs: [],
152
- name: "getCreationCode",
153
- outputs: [
154
- {
155
- internalType: "bytes",
156
- name: "",
157
- type: "bytes",
158
- },
159
- ],
160
- stateMutability: "view",
161
- type: "function",
162
- },
163
- {
164
- inputs: [],
165
- name: "getCreationCodeContracts",
166
- outputs: [
167
- {
168
- internalType: "address",
169
- name: "contractA",
170
- type: "address",
171
- },
172
- {
173
- internalType: "address",
174
- name: "contractB",
175
- type: "address",
176
- },
177
- ],
178
- stateMutability: "view",
179
- type: "function",
180
- },
181
- {
182
- inputs: [],
183
- name: "getPauseConfiguration",
184
- outputs: [
185
- {
186
- internalType: "uint256",
187
- name: "pauseWindowDuration",
188
- type: "uint256",
189
- },
190
- {
191
- internalType: "uint256",
192
- name: "bufferPeriodDuration",
193
- type: "uint256",
194
- },
195
- ],
196
- stateMutability: "view",
197
- type: "function",
198
- },
199
- {
200
- inputs: [],
201
- name: "getPoolVersion",
202
- outputs: [
203
- {
204
- internalType: "string",
205
- name: "",
206
- type: "string",
207
- },
208
- ],
209
- stateMutability: "view",
210
- type: "function",
211
- },
212
- {
213
- inputs: [],
214
- name: "getProtocolFeePercentagesProvider",
215
- outputs: [
216
- {
217
- internalType: "contract IProtocolFeePercentagesProvider",
218
- name: "",
219
- type: "address",
220
- },
221
- ],
222
- stateMutability: "view",
223
- type: "function",
224
- },
225
- {
226
- inputs: [],
227
- name: "getVault",
228
- outputs: [
229
- {
230
- internalType: "contract IVault",
231
- name: "",
232
- type: "address",
233
- },
234
- ],
235
- stateMutability: "view",
236
- type: "function",
237
- },
238
- {
239
- inputs: [],
240
- name: "isDisabled",
241
- outputs: [
242
- {
243
- internalType: "bool",
244
- name: "",
245
- type: "bool",
246
- },
247
- ],
248
- stateMutability: "view",
249
- type: "function",
250
- },
251
- {
252
- inputs: [
253
- {
254
- internalType: "address",
255
- name: "pool",
256
- type: "address",
257
- },
258
- ],
259
- name: "isPoolFromFactory",
260
- outputs: [
261
- {
262
- internalType: "bool",
263
- name: "",
264
- type: "bool",
265
- },
266
- ],
267
- stateMutability: "view",
268
- type: "function",
269
- },
270
- {
271
- inputs: [],
272
- name: "version",
273
- outputs: [
274
- {
275
- internalType: "string",
276
- name: "",
277
- type: "string",
278
- },
279
- ],
280
- stateMutability: "view",
281
- type: "function",
282
- },
283
- ] as const;
@@ -1,267 +0,0 @@
1
- export const balancerPoolCreationHelperAbi = [
2
- {
3
- inputs: [
4
- {
5
- internalType: "contract IVault",
6
- name: "_vault",
7
- type: "address",
8
- },
9
- {
10
- internalType: "contract WeightedPoolFactory",
11
- name: "_weightedPoolFactory",
12
- type: "address",
13
- },
14
- {
15
- internalType: "contract IComposableStablePoolFactoryCreateV6",
16
- name: "_composableStablePoolFactory",
17
- type: "address",
18
- },
19
- ],
20
- stateMutability: "nonpayable",
21
- type: "constructor",
22
- },
23
- {
24
- anonymous: false,
25
- inputs: [
26
- {
27
- indexed: false,
28
- internalType: "string",
29
- name: "name",
30
- type: "string",
31
- },
32
- {
33
- indexed: false,
34
- internalType: "string",
35
- name: "symbol",
36
- type: "string",
37
- },
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "pool",
42
- type: "address",
43
- },
44
- ],
45
- name: "ComposableStablePoolCreated",
46
- type: "event",
47
- },
48
- {
49
- anonymous: false,
50
- inputs: [
51
- {
52
- indexed: false,
53
- internalType: "string",
54
- name: "name",
55
- type: "string",
56
- },
57
- {
58
- indexed: false,
59
- internalType: "string",
60
- name: "symbol",
61
- type: "string",
62
- },
63
- {
64
- indexed: true,
65
- internalType: "address",
66
- name: "pool",
67
- type: "address",
68
- },
69
- ],
70
- name: "WeightedPoolCreated",
71
- type: "event",
72
- },
73
- {
74
- inputs: [],
75
- name: "composableStablePoolFactory",
76
- outputs: [
77
- {
78
- internalType: "contract IComposableStablePoolFactoryCreateV6",
79
- name: "",
80
- type: "address",
81
- },
82
- ],
83
- stateMutability: "view",
84
- type: "function",
85
- },
86
- {
87
- inputs: [
88
- {
89
- internalType: "string",
90
- name: "name",
91
- type: "string",
92
- },
93
- {
94
- internalType: "string",
95
- name: "symbol",
96
- type: "string",
97
- },
98
- {
99
- internalType: "contract IERC20[]",
100
- name: "createPoolTokens",
101
- type: "address[]",
102
- },
103
- {
104
- internalType: "uint256",
105
- name: "amplificationParameter",
106
- type: "uint256",
107
- },
108
- {
109
- internalType: "contract IRateProvider[]",
110
- name: "rateProviders",
111
- type: "address[]",
112
- },
113
- {
114
- internalType: "uint256[]",
115
- name: "tokenRateCacheDurations",
116
- type: "uint256[]",
117
- },
118
- {
119
- internalType: "bool",
120
- name: "exemptFromYieldProtocolFeeFlag",
121
- type: "bool",
122
- },
123
- {
124
- internalType: "uint256",
125
- name: "swapFeePercentage",
126
- type: "uint256",
127
- },
128
- {
129
- internalType: "uint256[]",
130
- name: "amountsIn",
131
- type: "uint256[]",
132
- },
133
- {
134
- internalType: "address",
135
- name: "owner",
136
- type: "address",
137
- },
138
- {
139
- internalType: "bytes32",
140
- name: "salt",
141
- type: "bytes32",
142
- },
143
- {
144
- internalType: "bool",
145
- name: "joinWBERAPoolWithBERA",
146
- type: "bool",
147
- },
148
- ],
149
- name: "createAndJoinStablePool",
150
- outputs: [
151
- {
152
- internalType: "address",
153
- name: "pool",
154
- type: "address",
155
- },
156
- ],
157
- stateMutability: "payable",
158
- type: "function",
159
- },
160
- {
161
- inputs: [
162
- {
163
- internalType: "string",
164
- name: "name",
165
- type: "string",
166
- },
167
- {
168
- internalType: "string",
169
- name: "symbol",
170
- type: "string",
171
- },
172
- {
173
- internalType: "contract IERC20[]",
174
- name: "createPoolTokens",
175
- type: "address[]",
176
- },
177
- {
178
- internalType: "contract IERC20[]",
179
- name: "joinPoolTokens",
180
- type: "address[]",
181
- },
182
- {
183
- internalType: "uint256[]",
184
- name: "normalizedWeights",
185
- type: "uint256[]",
186
- },
187
- {
188
- internalType: "contract IRateProvider[]",
189
- name: "rateProviders",
190
- type: "address[]",
191
- },
192
- {
193
- internalType: "uint256",
194
- name: "swapFeePercentage",
195
- type: "uint256",
196
- },
197
- {
198
- internalType: "uint256[]",
199
- name: "amountsIn",
200
- type: "uint256[]",
201
- },
202
- {
203
- internalType: "address",
204
- name: "owner",
205
- type: "address",
206
- },
207
- {
208
- internalType: "bytes32",
209
- name: "salt",
210
- type: "bytes32",
211
- },
212
- ],
213
- name: "createAndJoinWeightedPool",
214
- outputs: [
215
- {
216
- internalType: "address",
217
- name: "pool",
218
- type: "address",
219
- },
220
- ],
221
- stateMutability: "payable",
222
- type: "function",
223
- },
224
- {
225
- inputs: [],
226
- name: "vault",
227
- outputs: [
228
- {
229
- internalType: "contract IVault",
230
- name: "",
231
- type: "address",
232
- },
233
- ],
234
- stateMutability: "view",
235
- type: "function",
236
- },
237
- {
238
- inputs: [],
239
- name: "wBERA",
240
- outputs: [
241
- {
242
- internalType: "contract IERC20",
243
- name: "",
244
- type: "address",
245
- },
246
- ],
247
- stateMutability: "view",
248
- type: "function",
249
- },
250
- {
251
- inputs: [],
252
- name: "weightedPoolFactory",
253
- outputs: [
254
- {
255
- internalType: "contract WeightedPoolFactory",
256
- name: "",
257
- type: "address",
258
- },
259
- ],
260
- stateMutability: "view",
261
- type: "function",
262
- },
263
- {
264
- stateMutability: "payable",
265
- type: "receive",
266
- },
267
- ] as const;