@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.
- package/.claude/skills/berajs/SKILL.md +222 -0
- package/.claude/skills/berajs/references/dex.md +235 -0
- package/.claude/skills/berajs/references/pol.md +194 -0
- package/.claude/skills/berajs/references/staking.md +198 -0
- package/.claude/skills/berajs/references/tokens.md +170 -0
- package/dist/{BexStatusProvider-nS3NcdxI.d.cts → BexStatusProvider-DRymVlQf.d.cts} +1 -1
- package/dist/{BexStatusProvider-nS3NcdxI.d.ts → BexStatusProvider-DRymVlQf.d.ts} +1 -1
- package/dist/{HoneyConfigProvider-CK6mOKFH.d.ts → HoneyConfigProvider-DVP_9KZn.d.ts} +1 -1
- package/dist/{HoneyConfigProvider-Ca3ouozs.d.cts → HoneyConfigProvider-DfkjmzEf.d.cts} +1 -1
- package/dist/abi/exports.cjs +1 -1
- package/dist/abi/exports.cjs.map +1 -1
- package/dist/abi/exports.d.cts +1893 -25347
- package/dist/abi/exports.d.ts +1893 -25347
- package/dist/abi/exports.mjs +1 -1
- package/dist/abi/exports.mjs.map +1 -1
- package/dist/actions/exports.cjs +1 -1
- package/dist/actions/exports.cjs.map +1 -1
- package/dist/actions/exports.d.cts +10 -9
- package/dist/actions/exports.d.ts +10 -9
- package/dist/actions/exports.mjs +1 -1
- package/dist/actions/exports.mjs.map +1 -1
- package/dist/chunk-4GU2O2OW.cjs +4 -0
- package/dist/chunk-4GU2O2OW.cjs.map +1 -0
- package/dist/chunk-5XWELBWR.mjs +2 -0
- package/dist/chunk-5XWELBWR.mjs.map +1 -0
- package/dist/chunk-BS6K7HGH.cjs +2 -0
- package/dist/chunk-BS6K7HGH.cjs.map +1 -0
- package/dist/chunk-NLVWRMGD.mjs +2 -0
- package/dist/chunk-NLVWRMGD.mjs.map +1 -0
- package/dist/chunk-OUD27MU7.cjs +2 -0
- package/dist/chunk-OUD27MU7.cjs.map +1 -0
- package/dist/chunk-RW3JFPED.mjs +4 -0
- package/dist/chunk-RW3JFPED.mjs.map +1 -0
- package/dist/chunk-S3EAKCVM.cjs +2 -0
- package/dist/{chunk-PKXAW6MO.cjs.map → chunk-S3EAKCVM.cjs.map} +1 -1
- package/dist/chunk-YNO7BCCM.mjs +2 -0
- package/dist/{chunk-3YXSUBA5.mjs.map → chunk-YNO7BCCM.mjs.map} +1 -1
- package/dist/contexts/exports.d.cts +3 -3
- package/dist/contexts/exports.d.ts +3 -3
- package/dist/enum/exports.d.cts +1 -1
- package/dist/enum/exports.d.ts +1 -1
- package/dist/errors/exports.d.cts +1 -1
- package/dist/errors/exports.d.ts +1 -1
- package/dist/{getValidatorQueuedOperatorAddress-RW4OMcD1.d.ts → getValidatorQueuedOperatorAddress-CqR6cyqC.d.ts} +3 -3
- package/dist/{getValidatorQueuedOperatorAddress-Dstyaomr.d.cts → getValidatorQueuedOperatorAddress-DZgrPmZ2.d.cts} +3 -3
- package/dist/{global.d-wYu8G8IQ.d.ts → global.d-BeYWDreg.d.ts} +5 -4
- package/dist/{global.d-CN6l2b9E.d.cts → global.d-DghRxpHd.d.cts} +5 -4
- package/dist/hooks/exports.cjs +3 -3
- package/dist/hooks/exports.cjs.map +1 -1
- package/dist/hooks/exports.d.cts +63 -39
- package/dist/hooks/exports.d.ts +63 -39
- package/dist/hooks/exports.mjs +3 -3
- package/dist/hooks/exports.mjs.map +1 -1
- package/dist/{txnEnum-BlBYhNRl.d.cts → txnEnum-DxPRHSJt.d.cts} +1 -1
- package/dist/{txnEnum-BlBYhNRl.d.ts → txnEnum-DxPRHSJt.d.ts} +1 -1
- package/dist/types/exports.d.cts +3 -3
- package/dist/types/exports.d.ts +3 -3
- package/dist/{useHoneySwapState-D1DKG_Of.d.ts → useHoneySwapState-B494PQDl.d.ts} +1 -1
- package/dist/{useHoneySwapState-B-vmIP1b.d.cts → useHoneySwapState-D6vpv19r.d.cts} +1 -1
- package/dist/utils/exports.cjs +1 -1
- package/dist/utils/exports.cjs.map +1 -1
- package/dist/utils/exports.d.cts +2 -2
- package/dist/utils/exports.d.ts +2 -2
- package/dist/utils/exports.mjs +1 -1
- package/dist/utils/exports.mjs.map +1 -1
- package/package.json +9 -10
- package/src/abi/exports.ts +0 -27
- package/src/actions/bend/getConvertToAssets.ts +1 -1
- package/src/actions/bend/getMaxDeposit.ts +1 -1
- package/src/actions/dex/aggregators/bex.ts +2 -1
- package/src/actions/dex/aggregators/enso/enso.ts +3 -2
- package/src/actions/dex/aggregators/enso/ensoErc4626.debug.test.ts +2 -3
- package/src/actions/dex/aggregators/erc4626.ts +2 -1
- package/src/actions/dex/aggregators/fly.ts +2 -1
- package/src/actions/dex/aggregators/haiku.ts +2 -1
- package/src/actions/dex/aggregators/kyberswap.ts +2 -2
- package/src/actions/dex/aggregators/oogabooga.ts +2 -1
- package/src/actions/dex/aggregators/openOcean.ts +2 -1
- package/src/actions/dex/aggregators/wbera.ts +2 -1
- package/src/actions/dex/getVaultPausedState.ts +2 -1
- package/src/actions/enso/getEnsoUserTokensWithBalances.debug.test.ts +1 -1
- package/src/actions/governance/__tests__/checkProposalField.unit.test.ts +2 -1
- package/src/actions/governance/__tests__/getDecodedFunctionData.integration.test.ts +66 -78
- package/src/actions/governance/__tests__/getQuorum.integration.test.ts +6 -7
- package/src/actions/governance/getDecodedFunctionData.ts +2 -2
- package/src/actions/governance/getProposalFromTx.ts +2 -1
- package/src/actions/governance/getProposalParams.ts +3 -2
- package/src/actions/governance/getQuorum.ts +2 -1
- package/src/actions/honey/getCollateralWeights.ts +2 -1
- package/src/actions/honey/getGlobalCapLimit.ts +2 -1
- package/src/actions/honey/getHoneyCollaterals.ts +2 -1
- package/src/actions/honey/getHoneyFees.ts +2 -1
- package/src/actions/honey/getHoneyPausedState.ts +2 -1
- package/src/actions/honey/getHoneyPreview.ts +2 -1
- package/src/actions/honey/getHoneyPythPriceOracle.ts +1 -1
- package/src/actions/honey/getHoneyRootPriceOracle.ts +2 -1
- package/src/actions/honey/getHoneyVaultsBalance.ts +3 -2
- package/src/actions/honey/getRelativeCapLimit.ts +2 -1
- package/src/actions/honey/getSharesWithoutFees.ts +3 -2
- package/src/actions/honey/getSwapPayload.ts +3 -2
- package/src/actions/honey/isBadCollateralAsset.ts +3 -2
- package/src/actions/honey/isBasketModeEnabled.ts +3 -2
- package/src/actions/pol/getBgtTokenTotalBoosts.ts +2 -1
- package/src/actions/pol/getLSTStakeConfig.ts +2 -1
- package/src/actions/pol/getRewardTokenToBeraRate.ts +2 -1
- package/src/actions/pol/getRewardVaultBeaconImplementation.ts +2 -1
- package/src/actions/pol/getRewardVaultDurationConstants.ts +2 -1
- package/src/actions/pol/getRewardVaultFromToken.ts +2 -1
- package/src/actions/pol/getRewardVaultIncentives.ts +2 -1
- package/src/actions/pol/getRewardVaultRewards.ts +2 -1
- package/src/actions/pol/getRewardVaultStakingToken.ts +1 -1
- package/src/actions/pol/getRewardVaults.ts +2 -1
- package/src/actions/pol/getSWBeraVaultMetadata.ts +2 -1
- package/src/actions/pol/getSWBeraWithdrawal.ts +2 -1
- package/src/actions/pol/getStakeWithdrawalCooldown.ts +1 -1
- package/src/actions/pol/getTotalStakedAmount.ts +2 -1
- package/src/actions/pol/getUserVaults.ts +2 -1
- package/src/actions/pol/getUserVaultsBalance.ts +2 -1
- package/src/actions/pol/getUserVaultsReward.ts +1 -1
- package/src/actions/pol/getVaultsSupply.ts +1 -1
- package/src/actions/pyth/getHoneyPythFeeds.ts +2 -1
- package/src/actions/transactions/beraWriteContract.integration.test.ts +48 -51
- package/src/actions/validators/getActiveBoostAndCommissionChangeDelay.ts +3 -2
- package/src/actions/validators/getBaselineRewardAllocation.ts +2 -1
- package/src/actions/validators/getDefaultRewardAllocation.ts +2 -1
- package/src/actions/validators/getUserBoostsOnValidator.ts +2 -1
- package/src/actions/validators/getValidatorCommission.ts +2 -1
- package/src/actions/validators/getValidatorOperatorAddress.ts +2 -1
- package/src/actions/validators/getValidatorQueuedCommission.ts +2 -1
- package/src/actions/validators/getValidatorQueuedOperatorAddress.ts +2 -1
- package/src/actions/validators/getValidatorQueuedRewardAllocation.ts +2 -1
- package/src/actions/validators/getValidatorRewardAllocation.ts +2 -1
- package/src/actions/validators/getValidatorRewardAllocatorAddress.ts +2 -1
- package/src/actions/validators/utils/__tests__/validatorUtils.integration.test.ts +10 -11
- package/src/errors/getRevertReason.integration.test.ts +115 -107
- package/src/hooks/dex/useAggregatorsRouterFeeBps.ts +2 -1
- package/src/hooks/dex/useCreatePool.ts +2 -1
- package/src/hooks/dex/usePollPoolCreationRelayerApproval.ts +2 -1
- package/src/hooks/governance/useGetPastVotes.ts +2 -1
- package/src/hooks/governance/useHasVoted.ts +2 -1
- package/src/hooks/governance/useIsCanceller.ts +2 -1
- package/src/hooks/governance/usePollProposalThreshold.ts +2 -1
- package/src/hooks/governance/usePollUserDelegates.ts +2 -1
- package/src/hooks/governance/useProposalSnapshot.ts +2 -1
- package/src/hooks/governance/useProposalState.ts +2 -1
- package/src/hooks/governance/useProposalTimelockState.ts +5 -4
- package/src/hooks/pol/useBgtUnstakedBalance.ts +2 -1
- package/src/hooks/pol/useOnChainRewardVault.ts +2 -1
- package/src/hooks/pol/useRewardVaultBalanceFromStakingToken.ts +2 -1
- package/src/hooks/pol/useRewardVaultFromToken.ts +2 -1
- package/src/hooks/pol/useStakedData.ts +169 -92
- package/src/hooks/validators/useOnChainValidator.ts +4 -3
- package/src/types/pol.d.ts +1 -0
- package/dist/chunk-3YXSUBA5.mjs +0 -2
- package/dist/chunk-A4UDYSB6.mjs +0 -4
- package/dist/chunk-A4UDYSB6.mjs.map +0 -1
- package/dist/chunk-CYKCYPFR.cjs +0 -2
- package/dist/chunk-CYKCYPFR.cjs.map +0 -1
- package/dist/chunk-ECRMUMTA.mjs +0 -2
- package/dist/chunk-ECRMUMTA.mjs.map +0 -1
- package/dist/chunk-F4BKSBEM.mjs +0 -2
- package/dist/chunk-F4BKSBEM.mjs.map +0 -1
- package/dist/chunk-FL2N3XHK.cjs +0 -2
- package/dist/chunk-FL2N3XHK.cjs.map +0 -1
- package/dist/chunk-MUCEYO3E.cjs +0 -4
- package/dist/chunk-MUCEYO3E.cjs.map +0 -1
- package/dist/chunk-P2Q7CMUD.cjs +0 -2
- package/dist/chunk-P2Q7CMUD.cjs.map +0 -1
- package/dist/chunk-PKXAW6MO.cjs +0 -2
- package/dist/chunk-Q3SCM6WL.mjs +0 -2
- package/dist/chunk-Q3SCM6WL.mjs.map +0 -1
- package/dist/chunk-TEBJWAVU.mjs +0 -2
- package/dist/chunk-TEBJWAVU.mjs.map +0 -1
- package/dist/chunk-VP7XUOSI.cjs +0 -2
- package/dist/chunk-VP7XUOSI.cjs.map +0 -1
- package/dist/pythWrapper-CBjsmmsK.d.cts +0 -1958
- package/dist/pythWrapper-CBjsmmsK.d.ts +0 -1958
- package/src/abi/bend/metaMorpho.ts +0 -2584
- package/src/abi/bend/morpho.ts +0 -444
- package/src/abi/bex/aggregatorsRouter.ts +0 -492
- package/src/abi/bex/balancerComposableStablePoolFactoryV6.ts +0 -283
- package/src/abi/bex/balancerPoolCreationHelper.ts +0 -267
- package/src/abi/bex/balancerVault.ts +0 -757
- package/src/abi/governance/governance.ts +0 -1016
- package/src/abi/governance/governanceTimelock.ts +0 -589
- package/src/abi/honey/collateralVault.ts +0 -1144
- package/src/abi/honey/honey.ts +0 -563
- package/src/abi/honey/honeyFactory.ts +0 -1270
- package/src/abi/honey/honeyFactoryReader.ts +0 -894
- package/src/abi/honey/honeyRootOracle.ts +0 -492
- package/src/abi/honey/pythPriceOracle.ts +0 -619
- package/src/abi/honey/pythWrapper.ts +0 -446
- package/src/abi/pol/LSTStakerVault.ts +0 -2032
- package/src/abi/pol/beaconDeposit.ts +0 -595
- package/src/abi/pol/beraChef.ts +0 -1019
- package/src/abi/pol/bgt.ts +0 -1008
- package/src/abi/pol/bgtIncentiveDistributor.ts +0 -640
- package/src/abi/pol/bgtStaker.ts +0 -1034
- package/src/abi/pol/rewardAllocationFactory.ts +0 -408
- package/src/abi/pol/rewardVault.ts +0 -1928
- package/src/abi/pol/rewardVaultFactory.ts +0 -586
- package/src/abi/pol/rewardVaultHelper.ts +0 -882
- package/src/abi/pol/stakeBeraVault.ts +0 -1116
- package/src/abi/pol/stakeBeraVaultWithdrawalRequest.ts +0 -618
- 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;
|