@dhedge/trading-widget 3.2.0-alpha.0 → 3.2.1
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/README.md +95 -98
- package/core-kit/abi/easy-swapper-v2.d.ts +4 -48
- package/core-kit/abi/index.d.ts +2 -3
- package/core-kit/abi/pool-logic.d.ts +124 -878
- package/core-kit/abi/pool-manager-logic.d.ts +0 -19
- package/core-kit/const/contracts/base.d.ts +1 -1
- package/core-kit/const/contracts/polygon.d.ts +0 -2
- package/core-kit/const/default-data.d.ts +1 -1
- package/core-kit/const/synthetix.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +190 -75
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +0 -57
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +90 -955
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +214 -3315
- package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +0 -1
- package/core-kit/hooks/pool/use-pool-fees.d.ts +1 -0
- package/core-kit/hooks/state/action.d.ts +0 -3
- package/core-kit/hooks/state/index.d.ts +1 -2
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +4 -48
- package/core-kit/hooks/trading/use-is-transaction-loading.d.ts +2 -0
- package/core-kit/hooks/trading/use-swaps-data-query.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/index.d.ts +1 -1
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction-arguments.d.ts +1 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction.d.ts +5 -1
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +4 -48
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +4 -48
- package/core-kit/hooks/web3/use-static-call-query.d.ts +6 -7
- package/core-kit/types/index.d.ts +0 -1
- package/core-kit/types/state.types.d.ts +0 -8
- package/core-kit/types/web3.types.d.ts +12 -0
- package/core-kit/utils/transaction.d.ts +3 -14
- package/core-kit/utils/web3.d.ts +2 -0
- package/{index-97262ee5.js → index-1ece81a6.js} +11509 -12797
- package/index-925f46e2.cjs +217 -0
- package/index.cjs +1 -1
- package/index.d.ts +3 -3
- package/index.js +203 -204
- package/package.json +1 -1
- package/{pyth-adapter-3dec6847.cjs → pyth-adapter-59d66d7b.cjs} +1 -1
- package/{pyth-adapter-4822ae26.js → pyth-adapter-de3394ab.js} +1 -1
- package/style.css +1 -1
- package/trading-widget/components/deposit/button/trade-button/trade-button.hooks.d.ts +1 -0
- package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +1 -0
- package/trading-widget/components/deposit/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +0 -3
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.hooks.d.ts +1 -3
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.hooks.d.ts +1 -3
- package/trading-widget/components/widget/widget-overlay/index.d.ts +0 -1
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/vault-transaction-summary.d.ts +1 -7
- package/trading-widget/components/withdraw/complete-step/button/claim-button/claim-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +1 -3
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +0 -1
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +1 -1
- package/core-kit/abi/aave/aave-asset-guard.d.ts +0 -50
- package/core-kit/hooks/state/meta.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-aave-swap-params.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-complex-asset-data.d.ts +0 -5
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-aave-swap-data.d.ts +0 -5
- package/core-kit/types/contract.types.d.ts +0 -28
- package/index-3ff0a312.cjs +0 -217
- package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.d.ts +0 -2
- package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.hooks.d.ts +0 -3
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/claim-summary.d.ts +0 -7
- /package/core-kit/abi/{aave/aave-lending-pool.d.ts → aave-lending-pool.d.ts} +0 -0
|
@@ -1,817 +1,92 @@
|
|
|
1
1
|
export declare const PoolLogicAbi: readonly [{
|
|
2
|
-
readonly anonymous: false;
|
|
3
2
|
readonly inputs: readonly [{
|
|
4
|
-
readonly indexed: true;
|
|
5
3
|
readonly internalType: "address";
|
|
6
4
|
readonly name: "owner";
|
|
7
5
|
readonly type: "address";
|
|
8
6
|
}, {
|
|
9
|
-
readonly indexed: true;
|
|
10
7
|
readonly internalType: "address";
|
|
11
8
|
readonly name: "spender";
|
|
12
9
|
readonly type: "address";
|
|
13
|
-
}, {
|
|
14
|
-
readonly indexed: false;
|
|
15
|
-
readonly internalType: "uint256";
|
|
16
|
-
readonly name: "value";
|
|
17
|
-
readonly type: "uint256";
|
|
18
|
-
}];
|
|
19
|
-
readonly name: "Approval";
|
|
20
|
-
readonly type: "event";
|
|
21
|
-
}, {
|
|
22
|
-
readonly anonymous: false;
|
|
23
|
-
readonly inputs: readonly [{
|
|
24
|
-
readonly indexed: false;
|
|
25
|
-
readonly internalType: "address";
|
|
26
|
-
readonly name: "fundAddress";
|
|
27
|
-
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
|
-
readonly indexed: false;
|
|
30
|
-
readonly internalType: "address";
|
|
31
|
-
readonly name: "investor";
|
|
32
|
-
readonly type: "address";
|
|
33
|
-
}, {
|
|
34
|
-
readonly indexed: false;
|
|
35
|
-
readonly internalType: "address";
|
|
36
|
-
readonly name: "assetDeposited";
|
|
37
|
-
readonly type: "address";
|
|
38
|
-
}, {
|
|
39
|
-
readonly indexed: false;
|
|
40
|
-
readonly internalType: "uint256";
|
|
41
|
-
readonly name: "amountDeposited";
|
|
42
|
-
readonly type: "uint256";
|
|
43
|
-
}, {
|
|
44
|
-
readonly indexed: false;
|
|
45
|
-
readonly internalType: "uint256";
|
|
46
|
-
readonly name: "valueDeposited";
|
|
47
|
-
readonly type: "uint256";
|
|
48
|
-
}, {
|
|
49
|
-
readonly indexed: false;
|
|
50
|
-
readonly internalType: "uint256";
|
|
51
|
-
readonly name: "fundTokensReceived";
|
|
52
|
-
readonly type: "uint256";
|
|
53
|
-
}, {
|
|
54
|
-
readonly indexed: false;
|
|
55
|
-
readonly internalType: "uint256";
|
|
56
|
-
readonly name: "totalInvestorFundTokens";
|
|
57
|
-
readonly type: "uint256";
|
|
58
|
-
}, {
|
|
59
|
-
readonly indexed: false;
|
|
60
|
-
readonly internalType: "uint256";
|
|
61
|
-
readonly name: "fundValue";
|
|
62
|
-
readonly type: "uint256";
|
|
63
|
-
}, {
|
|
64
|
-
readonly indexed: false;
|
|
65
|
-
readonly internalType: "uint256";
|
|
66
|
-
readonly name: "totalSupply";
|
|
67
|
-
readonly type: "uint256";
|
|
68
|
-
}, {
|
|
69
|
-
readonly indexed: false;
|
|
70
|
-
readonly internalType: "uint256";
|
|
71
|
-
readonly name: "time";
|
|
72
|
-
readonly type: "uint256";
|
|
73
|
-
}];
|
|
74
|
-
readonly name: "Deposit";
|
|
75
|
-
readonly type: "event";
|
|
76
|
-
}, {
|
|
77
|
-
readonly anonymous: false;
|
|
78
|
-
readonly inputs: readonly [{
|
|
79
|
-
readonly indexed: false;
|
|
80
|
-
readonly internalType: "address";
|
|
81
|
-
readonly name: "pool";
|
|
82
|
-
readonly type: "address";
|
|
83
|
-
}, {
|
|
84
|
-
readonly indexed: false;
|
|
85
|
-
readonly internalType: "address";
|
|
86
|
-
readonly name: "manager";
|
|
87
|
-
readonly type: "address";
|
|
88
|
-
}, {
|
|
89
|
-
readonly indexed: false;
|
|
90
|
-
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "available";
|
|
92
|
-
readonly type: "uint256";
|
|
93
|
-
}, {
|
|
94
|
-
readonly indexed: false;
|
|
95
|
-
readonly internalType: "uint256";
|
|
96
|
-
readonly name: "daoFee";
|
|
97
|
-
readonly type: "uint256";
|
|
98
|
-
}, {
|
|
99
|
-
readonly indexed: false;
|
|
100
|
-
readonly internalType: "uint256";
|
|
101
|
-
readonly name: "managerFee";
|
|
102
|
-
readonly type: "uint256";
|
|
103
|
-
}, {
|
|
104
|
-
readonly indexed: false;
|
|
105
|
-
readonly internalType: "uint256";
|
|
106
|
-
readonly name: "tokenPriceAtLastFeeMint";
|
|
107
|
-
readonly type: "uint256";
|
|
108
|
-
}];
|
|
109
|
-
readonly name: "ManagerFeeMinted";
|
|
110
|
-
readonly type: "event";
|
|
111
|
-
}, {
|
|
112
|
-
readonly anonymous: false;
|
|
113
|
-
readonly inputs: readonly [{
|
|
114
|
-
readonly indexed: false;
|
|
115
|
-
readonly internalType: "address";
|
|
116
|
-
readonly name: "poolManagerLogic";
|
|
117
|
-
readonly type: "address";
|
|
118
|
-
}, {
|
|
119
|
-
readonly indexed: false;
|
|
120
|
-
readonly internalType: "address";
|
|
121
|
-
readonly name: "from";
|
|
122
|
-
readonly type: "address";
|
|
123
|
-
}];
|
|
124
|
-
readonly name: "PoolManagerLogicSet";
|
|
125
|
-
readonly type: "event";
|
|
126
|
-
}, {
|
|
127
|
-
readonly anonymous: false;
|
|
128
|
-
readonly inputs: readonly [{
|
|
129
|
-
readonly indexed: false;
|
|
130
|
-
readonly internalType: "bool";
|
|
131
|
-
readonly name: "isPoolPrivate";
|
|
132
|
-
readonly type: "bool";
|
|
133
|
-
}];
|
|
134
|
-
readonly name: "PoolPrivacyUpdated";
|
|
135
|
-
readonly type: "event";
|
|
136
|
-
}, {
|
|
137
|
-
readonly anonymous: false;
|
|
138
|
-
readonly inputs: readonly [{
|
|
139
|
-
readonly indexed: false;
|
|
140
|
-
readonly internalType: "address";
|
|
141
|
-
readonly name: "pool";
|
|
142
|
-
readonly type: "address";
|
|
143
|
-
}, {
|
|
144
|
-
readonly indexed: false;
|
|
145
|
-
readonly internalType: "address";
|
|
146
|
-
readonly name: "manager";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
}, {
|
|
149
|
-
readonly indexed: false;
|
|
150
|
-
readonly internalType: "uint16";
|
|
151
|
-
readonly name: "transactionType";
|
|
152
|
-
readonly type: "uint16";
|
|
153
|
-
}, {
|
|
154
|
-
readonly indexed: false;
|
|
155
|
-
readonly internalType: "uint256";
|
|
156
|
-
readonly name: "time";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
}];
|
|
159
|
-
readonly name: "TransactionExecuted";
|
|
160
|
-
readonly type: "event";
|
|
161
|
-
}, {
|
|
162
|
-
readonly anonymous: false;
|
|
163
|
-
readonly inputs: readonly [{
|
|
164
|
-
readonly indexed: true;
|
|
165
|
-
readonly internalType: "address";
|
|
166
|
-
readonly name: "from";
|
|
167
|
-
readonly type: "address";
|
|
168
|
-
}, {
|
|
169
|
-
readonly indexed: true;
|
|
170
|
-
readonly internalType: "address";
|
|
171
|
-
readonly name: "to";
|
|
172
|
-
readonly type: "address";
|
|
173
|
-
}, {
|
|
174
|
-
readonly indexed: false;
|
|
175
|
-
readonly internalType: "uint256";
|
|
176
|
-
readonly name: "value";
|
|
177
|
-
readonly type: "uint256";
|
|
178
|
-
}];
|
|
179
|
-
readonly name: "Transfer";
|
|
180
|
-
readonly type: "event";
|
|
181
|
-
}, {
|
|
182
|
-
readonly anonymous: false;
|
|
183
|
-
readonly inputs: readonly [{
|
|
184
|
-
readonly indexed: false;
|
|
185
|
-
readonly internalType: "address";
|
|
186
|
-
readonly name: "fundAddress";
|
|
187
|
-
readonly type: "address";
|
|
188
|
-
}, {
|
|
189
|
-
readonly indexed: false;
|
|
190
|
-
readonly internalType: "address";
|
|
191
|
-
readonly name: "investor";
|
|
192
|
-
readonly type: "address";
|
|
193
|
-
}, {
|
|
194
|
-
readonly indexed: false;
|
|
195
|
-
readonly internalType: "uint256";
|
|
196
|
-
readonly name: "valueWithdrawn";
|
|
197
|
-
readonly type: "uint256";
|
|
198
|
-
}, {
|
|
199
|
-
readonly indexed: false;
|
|
200
|
-
readonly internalType: "uint256";
|
|
201
|
-
readonly name: "fundTokensWithdrawn";
|
|
202
|
-
readonly type: "uint256";
|
|
203
|
-
}, {
|
|
204
|
-
readonly indexed: false;
|
|
205
|
-
readonly internalType: "uint256";
|
|
206
|
-
readonly name: "totalInvestorFundTokens";
|
|
207
|
-
readonly type: "uint256";
|
|
208
|
-
}, {
|
|
209
|
-
readonly indexed: false;
|
|
210
|
-
readonly internalType: "uint256";
|
|
211
|
-
readonly name: "fundValue";
|
|
212
|
-
readonly type: "uint256";
|
|
213
|
-
}, {
|
|
214
|
-
readonly indexed: false;
|
|
215
|
-
readonly internalType: "uint256";
|
|
216
|
-
readonly name: "totalSupply";
|
|
217
|
-
readonly type: "uint256";
|
|
218
|
-
}, {
|
|
219
|
-
readonly components: readonly [{
|
|
220
|
-
readonly internalType: "address";
|
|
221
|
-
readonly name: "asset";
|
|
222
|
-
readonly type: "address";
|
|
223
|
-
}, {
|
|
224
|
-
readonly internalType: "uint256";
|
|
225
|
-
readonly name: "amount";
|
|
226
|
-
readonly type: "uint256";
|
|
227
|
-
}, {
|
|
228
|
-
readonly internalType: "bool";
|
|
229
|
-
readonly name: "externalWithdrawProcessed";
|
|
230
|
-
readonly type: "bool";
|
|
231
|
-
}];
|
|
232
|
-
readonly indexed: false;
|
|
233
|
-
readonly internalType: "struct PoolLogic.WithdrawnAsset[]";
|
|
234
|
-
readonly name: "withdrawnAssets";
|
|
235
|
-
readonly type: "tuple[]";
|
|
236
|
-
}, {
|
|
237
|
-
readonly indexed: false;
|
|
238
|
-
readonly internalType: "uint256";
|
|
239
|
-
readonly name: "time";
|
|
240
|
-
readonly type: "uint256";
|
|
241
|
-
}];
|
|
242
|
-
readonly name: "Withdrawal";
|
|
243
|
-
readonly type: "event";
|
|
244
|
-
}, {
|
|
245
|
-
readonly inputs: readonly [{
|
|
246
|
-
readonly internalType: "address";
|
|
247
|
-
readonly name: "owner";
|
|
248
|
-
readonly type: "address";
|
|
249
|
-
}, {
|
|
250
|
-
readonly internalType: "address";
|
|
251
|
-
readonly name: "spender";
|
|
252
|
-
readonly type: "address";
|
|
253
|
-
}];
|
|
254
|
-
readonly name: "allowance";
|
|
255
|
-
readonly outputs: readonly [{
|
|
256
|
-
readonly internalType: "uint256";
|
|
257
|
-
readonly name: "";
|
|
258
|
-
readonly type: "uint256";
|
|
259
|
-
}];
|
|
260
|
-
readonly stateMutability: "view";
|
|
261
|
-
readonly type: "function";
|
|
262
|
-
}, {
|
|
263
|
-
readonly inputs: readonly [{
|
|
264
|
-
readonly internalType: "address";
|
|
265
|
-
readonly name: "spender";
|
|
266
|
-
readonly type: "address";
|
|
267
|
-
}, {
|
|
268
|
-
readonly internalType: "uint256";
|
|
269
|
-
readonly name: "amount";
|
|
270
|
-
readonly type: "uint256";
|
|
271
|
-
}];
|
|
272
|
-
readonly name: "approve";
|
|
273
|
-
readonly outputs: readonly [{
|
|
274
|
-
readonly internalType: "bool";
|
|
275
|
-
readonly name: "";
|
|
276
|
-
readonly type: "bool";
|
|
277
|
-
}];
|
|
278
|
-
readonly stateMutability: "nonpayable";
|
|
279
|
-
readonly type: "function";
|
|
280
|
-
}, {
|
|
281
|
-
readonly inputs: readonly [{
|
|
282
|
-
readonly internalType: "address";
|
|
283
|
-
readonly name: "account";
|
|
284
|
-
readonly type: "address";
|
|
285
|
-
}];
|
|
286
|
-
readonly name: "balanceOf";
|
|
287
|
-
readonly outputs: readonly [{
|
|
288
|
-
readonly internalType: "uint256";
|
|
289
|
-
readonly name: "";
|
|
290
|
-
readonly type: "uint256";
|
|
291
|
-
}];
|
|
292
|
-
readonly stateMutability: "view";
|
|
293
|
-
readonly type: "function";
|
|
294
|
-
}, {
|
|
295
|
-
readonly inputs: readonly [{
|
|
296
|
-
readonly internalType: "uint256";
|
|
297
|
-
readonly name: "fundValue";
|
|
298
|
-
readonly type: "uint256";
|
|
299
|
-
}];
|
|
300
|
-
readonly name: "calculateAvailableManagerFee";
|
|
301
|
-
readonly outputs: readonly [{
|
|
302
|
-
readonly internalType: "uint256";
|
|
303
|
-
readonly name: "fee";
|
|
304
|
-
readonly type: "uint256";
|
|
305
|
-
}];
|
|
306
|
-
readonly stateMutability: "view";
|
|
307
|
-
readonly type: "function";
|
|
308
|
-
}, {
|
|
309
|
-
readonly inputs: readonly [];
|
|
310
|
-
readonly name: "creationTime";
|
|
311
|
-
readonly outputs: readonly [{
|
|
312
|
-
readonly internalType: "uint256";
|
|
313
|
-
readonly name: "";
|
|
314
|
-
readonly type: "uint256";
|
|
315
|
-
}];
|
|
316
|
-
readonly stateMutability: "view";
|
|
317
|
-
readonly type: "function";
|
|
318
|
-
}, {
|
|
319
|
-
readonly inputs: readonly [];
|
|
320
|
-
readonly name: "creator";
|
|
321
|
-
readonly outputs: readonly [{
|
|
322
|
-
readonly internalType: "address";
|
|
323
|
-
readonly name: "";
|
|
324
|
-
readonly type: "address";
|
|
325
|
-
}];
|
|
326
|
-
readonly stateMutability: "view";
|
|
327
|
-
readonly type: "function";
|
|
328
|
-
}, {
|
|
329
|
-
readonly inputs: readonly [];
|
|
330
|
-
readonly name: "decimals";
|
|
331
|
-
readonly outputs: readonly [{
|
|
332
|
-
readonly internalType: "uint8";
|
|
333
|
-
readonly name: "";
|
|
334
|
-
readonly type: "uint8";
|
|
335
|
-
}];
|
|
336
|
-
readonly stateMutability: "view";
|
|
337
|
-
readonly type: "function";
|
|
338
|
-
}, {
|
|
339
|
-
readonly inputs: readonly [{
|
|
340
|
-
readonly internalType: "address";
|
|
341
|
-
readonly name: "spender";
|
|
342
|
-
readonly type: "address";
|
|
343
|
-
}, {
|
|
344
|
-
readonly internalType: "uint256";
|
|
345
|
-
readonly name: "subtractedValue";
|
|
346
|
-
readonly type: "uint256";
|
|
347
|
-
}];
|
|
348
|
-
readonly name: "decreaseAllowance";
|
|
349
|
-
readonly outputs: readonly [{
|
|
350
|
-
readonly internalType: "bool";
|
|
351
|
-
readonly name: "";
|
|
352
|
-
readonly type: "bool";
|
|
353
|
-
}];
|
|
354
|
-
readonly stateMutability: "nonpayable";
|
|
355
|
-
readonly type: "function";
|
|
356
|
-
}, {
|
|
357
|
-
readonly inputs: readonly [{
|
|
358
|
-
readonly internalType: "address";
|
|
359
|
-
readonly name: "_asset";
|
|
360
|
-
readonly type: "address";
|
|
361
|
-
}, {
|
|
362
|
-
readonly internalType: "uint256";
|
|
363
|
-
readonly name: "_amount";
|
|
364
|
-
readonly type: "uint256";
|
|
365
|
-
}];
|
|
366
|
-
readonly name: "deposit";
|
|
367
|
-
readonly outputs: readonly [{
|
|
368
|
-
readonly internalType: "uint256";
|
|
369
|
-
readonly name: "liquidityMinted";
|
|
370
|
-
readonly type: "uint256";
|
|
371
|
-
}];
|
|
372
|
-
readonly stateMutability: "nonpayable";
|
|
373
|
-
readonly type: "function";
|
|
374
|
-
}, {
|
|
375
|
-
readonly inputs: readonly [{
|
|
376
|
-
readonly internalType: "address";
|
|
377
|
-
readonly name: "_recipient";
|
|
378
|
-
readonly type: "address";
|
|
379
|
-
}, {
|
|
380
|
-
readonly internalType: "address";
|
|
381
|
-
readonly name: "_asset";
|
|
382
|
-
readonly type: "address";
|
|
383
|
-
}, {
|
|
384
|
-
readonly internalType: "uint256";
|
|
385
|
-
readonly name: "_amount";
|
|
386
|
-
readonly type: "uint256";
|
|
387
|
-
}];
|
|
388
|
-
readonly name: "depositFor";
|
|
389
|
-
readonly outputs: readonly [{
|
|
390
|
-
readonly internalType: "uint256";
|
|
391
|
-
readonly name: "liquidityMinted";
|
|
392
|
-
readonly type: "uint256";
|
|
393
|
-
}];
|
|
394
|
-
readonly stateMutability: "nonpayable";
|
|
395
|
-
readonly type: "function";
|
|
396
|
-
}, {
|
|
397
|
-
readonly inputs: readonly [{
|
|
398
|
-
readonly internalType: "address";
|
|
399
|
-
readonly name: "_recipient";
|
|
400
|
-
readonly type: "address";
|
|
401
|
-
}, {
|
|
402
|
-
readonly internalType: "address";
|
|
403
|
-
readonly name: "_asset";
|
|
404
|
-
readonly type: "address";
|
|
405
|
-
}, {
|
|
406
|
-
readonly internalType: "uint256";
|
|
407
|
-
readonly name: "_amount";
|
|
408
|
-
readonly type: "uint256";
|
|
409
|
-
}, {
|
|
410
|
-
readonly internalType: "uint256";
|
|
411
|
-
readonly name: "_cooldown";
|
|
412
|
-
readonly type: "uint256";
|
|
413
|
-
}];
|
|
414
|
-
readonly name: "depositForWithCustomCooldown";
|
|
415
|
-
readonly outputs: readonly [{
|
|
416
|
-
readonly internalType: "uint256";
|
|
417
|
-
readonly name: "liquidityMinted";
|
|
418
|
-
readonly type: "uint256";
|
|
419
|
-
}];
|
|
420
|
-
readonly stateMutability: "nonpayable";
|
|
421
|
-
readonly type: "function";
|
|
422
|
-
}, {
|
|
423
|
-
readonly inputs: readonly [{
|
|
424
|
-
readonly internalType: "address";
|
|
425
|
-
readonly name: "to";
|
|
426
|
-
readonly type: "address";
|
|
427
|
-
}, {
|
|
428
|
-
readonly internalType: "bytes";
|
|
429
|
-
readonly name: "data";
|
|
430
|
-
readonly type: "bytes";
|
|
431
|
-
}];
|
|
432
|
-
readonly name: "execTransaction";
|
|
433
|
-
readonly outputs: readonly [{
|
|
434
|
-
readonly internalType: "bool";
|
|
435
|
-
readonly name: "success";
|
|
436
|
-
readonly type: "bool";
|
|
437
|
-
}];
|
|
438
|
-
readonly stateMutability: "nonpayable";
|
|
439
|
-
readonly type: "function";
|
|
440
|
-
}, {
|
|
441
|
-
readonly inputs: readonly [{
|
|
442
|
-
readonly components: readonly [{
|
|
443
|
-
readonly internalType: "address";
|
|
444
|
-
readonly name: "to";
|
|
445
|
-
readonly type: "address";
|
|
446
|
-
}, {
|
|
447
|
-
readonly internalType: "bytes";
|
|
448
|
-
readonly name: "data";
|
|
449
|
-
readonly type: "bytes";
|
|
450
|
-
}];
|
|
451
|
-
readonly internalType: "struct PoolLogic.TxToExecute[]";
|
|
452
|
-
readonly name: "txs";
|
|
453
|
-
readonly type: "tuple[]";
|
|
454
|
-
}];
|
|
455
|
-
readonly name: "execTransactions";
|
|
456
|
-
readonly outputs: readonly [];
|
|
457
|
-
readonly stateMutability: "nonpayable";
|
|
458
|
-
readonly type: "function";
|
|
459
|
-
}, {
|
|
460
|
-
readonly inputs: readonly [{
|
|
461
|
-
readonly internalType: "address[]";
|
|
462
|
-
readonly name: "assets";
|
|
463
|
-
readonly type: "address[]";
|
|
464
|
-
}, {
|
|
465
|
-
readonly internalType: "uint256[]";
|
|
466
|
-
readonly name: "amounts";
|
|
467
|
-
readonly type: "uint256[]";
|
|
468
|
-
}, {
|
|
469
|
-
readonly internalType: "uint256[]";
|
|
470
|
-
readonly name: "premiums";
|
|
471
|
-
readonly type: "uint256[]";
|
|
472
|
-
}, {
|
|
473
|
-
readonly internalType: "address";
|
|
474
|
-
readonly name: "initiator";
|
|
475
|
-
readonly type: "address";
|
|
476
|
-
}, {
|
|
477
|
-
readonly internalType: "bytes";
|
|
478
|
-
readonly name: "params";
|
|
479
|
-
readonly type: "bytes";
|
|
480
|
-
}];
|
|
481
|
-
readonly name: "executeOperation";
|
|
482
|
-
readonly outputs: readonly [{
|
|
483
|
-
readonly internalType: "bool";
|
|
484
|
-
readonly name: "success";
|
|
485
|
-
readonly type: "bool";
|
|
486
|
-
}];
|
|
487
|
-
readonly stateMutability: "nonpayable";
|
|
488
|
-
readonly type: "function";
|
|
489
|
-
}, {
|
|
490
|
-
readonly inputs: readonly [];
|
|
491
|
-
readonly name: "factory";
|
|
492
|
-
readonly outputs: readonly [{
|
|
493
|
-
readonly internalType: "address";
|
|
494
|
-
readonly name: "";
|
|
495
|
-
readonly type: "address";
|
|
496
|
-
}];
|
|
497
|
-
readonly stateMutability: "view";
|
|
498
|
-
readonly type: "function";
|
|
499
|
-
}, {
|
|
500
|
-
readonly inputs: readonly [{
|
|
501
|
-
readonly internalType: "address";
|
|
502
|
-
readonly name: "sender";
|
|
503
|
-
readonly type: "address";
|
|
504
|
-
}];
|
|
505
|
-
readonly name: "getExitRemainingCooldown";
|
|
506
|
-
readonly outputs: readonly [{
|
|
507
|
-
readonly internalType: "uint256";
|
|
508
|
-
readonly name: "remaining";
|
|
509
|
-
readonly type: "uint256";
|
|
510
|
-
}];
|
|
511
|
-
readonly stateMutability: "view";
|
|
512
|
-
readonly type: "function";
|
|
513
|
-
}, {
|
|
514
|
-
readonly inputs: readonly [];
|
|
515
|
-
readonly name: "getFundSummary";
|
|
516
|
-
readonly outputs: readonly [{
|
|
517
|
-
readonly components: readonly [{
|
|
518
|
-
readonly internalType: "string";
|
|
519
|
-
readonly name: "name";
|
|
520
|
-
readonly type: "string";
|
|
521
|
-
}, {
|
|
522
|
-
readonly internalType: "uint256";
|
|
523
|
-
readonly name: "totalSupply";
|
|
524
|
-
readonly type: "uint256";
|
|
525
|
-
}, {
|
|
526
|
-
readonly internalType: "uint256";
|
|
527
|
-
readonly name: "totalFundValue";
|
|
528
|
-
readonly type: "uint256";
|
|
529
|
-
}, {
|
|
530
|
-
readonly internalType: "address";
|
|
531
|
-
readonly name: "manager";
|
|
532
|
-
readonly type: "address";
|
|
533
|
-
}, {
|
|
534
|
-
readonly internalType: "string";
|
|
535
|
-
readonly name: "managerName";
|
|
536
|
-
readonly type: "string";
|
|
537
|
-
}, {
|
|
538
|
-
readonly internalType: "uint256";
|
|
539
|
-
readonly name: "creationTime";
|
|
540
|
-
readonly type: "uint256";
|
|
541
|
-
}, {
|
|
542
|
-
readonly internalType: "bool";
|
|
543
|
-
readonly name: "privatePool";
|
|
544
|
-
readonly type: "bool";
|
|
545
|
-
}, {
|
|
546
|
-
readonly internalType: "uint256";
|
|
547
|
-
readonly name: "performanceFeeNumerator";
|
|
548
|
-
readonly type: "uint256";
|
|
549
|
-
}, {
|
|
550
|
-
readonly internalType: "uint256";
|
|
551
|
-
readonly name: "managerFeeNumerator";
|
|
552
|
-
readonly type: "uint256";
|
|
553
|
-
}, {
|
|
554
|
-
readonly internalType: "uint256";
|
|
555
|
-
readonly name: "managerFeeDenominator";
|
|
556
|
-
readonly type: "uint256";
|
|
557
|
-
}, {
|
|
558
|
-
readonly internalType: "uint256";
|
|
559
|
-
readonly name: "exitFeeNumerator";
|
|
560
|
-
readonly type: "uint256";
|
|
561
|
-
}, {
|
|
562
|
-
readonly internalType: "uint256";
|
|
563
|
-
readonly name: "exitFeeDenominator";
|
|
564
|
-
readonly type: "uint256";
|
|
565
|
-
}, {
|
|
566
|
-
readonly internalType: "uint256";
|
|
567
|
-
readonly name: "entryFeeNumerator";
|
|
568
|
-
readonly type: "uint256";
|
|
569
|
-
}];
|
|
570
|
-
readonly internalType: "struct PoolLogic.FundSummary";
|
|
571
|
-
readonly name: "";
|
|
572
|
-
readonly type: "tuple";
|
|
573
|
-
}];
|
|
574
|
-
readonly stateMutability: "view";
|
|
575
|
-
readonly type: "function";
|
|
576
|
-
}, {
|
|
577
|
-
readonly inputs: readonly [{
|
|
578
|
-
readonly internalType: "address";
|
|
579
|
-
readonly name: "spender";
|
|
580
|
-
readonly type: "address";
|
|
581
|
-
}, {
|
|
582
|
-
readonly internalType: "uint256";
|
|
583
|
-
readonly name: "addedValue";
|
|
584
|
-
readonly type: "uint256";
|
|
585
|
-
}];
|
|
586
|
-
readonly name: "increaseAllowance";
|
|
587
|
-
readonly outputs: readonly [{
|
|
588
|
-
readonly internalType: "bool";
|
|
589
|
-
readonly name: "";
|
|
590
|
-
readonly type: "bool";
|
|
591
|
-
}];
|
|
592
|
-
readonly stateMutability: "nonpayable";
|
|
593
|
-
readonly type: "function";
|
|
594
|
-
}, {
|
|
595
|
-
readonly inputs: readonly [{
|
|
596
|
-
readonly internalType: "address";
|
|
597
|
-
readonly name: "_factory";
|
|
598
|
-
readonly type: "address";
|
|
599
|
-
}, {
|
|
600
|
-
readonly internalType: "bool";
|
|
601
|
-
readonly name: "_privatePool";
|
|
602
|
-
readonly type: "bool";
|
|
603
|
-
}, {
|
|
604
|
-
readonly internalType: "string";
|
|
605
|
-
readonly name: "_fundName";
|
|
606
|
-
readonly type: "string";
|
|
607
|
-
}, {
|
|
608
|
-
readonly internalType: "string";
|
|
609
|
-
readonly name: "_fundSymbol";
|
|
610
|
-
readonly type: "string";
|
|
611
|
-
}];
|
|
612
|
-
readonly name: "initialize";
|
|
613
|
-
readonly outputs: readonly [];
|
|
614
|
-
readonly stateMutability: "nonpayable";
|
|
615
|
-
readonly type: "function";
|
|
616
|
-
}, {
|
|
617
|
-
readonly inputs: readonly [{
|
|
618
|
-
readonly internalType: "address";
|
|
619
|
-
readonly name: "";
|
|
620
|
-
readonly type: "address";
|
|
621
|
-
}];
|
|
622
|
-
readonly name: "lastDeposit";
|
|
623
|
-
readonly outputs: readonly [{
|
|
624
|
-
readonly internalType: "uint256";
|
|
625
|
-
readonly name: "";
|
|
626
|
-
readonly type: "uint256";
|
|
627
|
-
}];
|
|
628
|
-
readonly stateMutability: "view";
|
|
629
|
-
readonly type: "function";
|
|
630
|
-
}, {
|
|
631
|
-
readonly inputs: readonly [{
|
|
632
|
-
readonly internalType: "address";
|
|
633
|
-
readonly name: "";
|
|
634
|
-
readonly type: "address";
|
|
635
|
-
}];
|
|
636
|
-
readonly name: "lastExitCooldown";
|
|
637
|
-
readonly outputs: readonly [{
|
|
638
|
-
readonly internalType: "uint256";
|
|
639
|
-
readonly name: "";
|
|
640
|
-
readonly type: "uint256";
|
|
641
|
-
}];
|
|
642
|
-
readonly stateMutability: "view";
|
|
643
|
-
readonly type: "function";
|
|
644
|
-
}, {
|
|
645
|
-
readonly inputs: readonly [];
|
|
646
|
-
readonly name: "lastFeeMintTime";
|
|
647
|
-
readonly outputs: readonly [{
|
|
648
|
-
readonly internalType: "uint256";
|
|
649
|
-
readonly name: "";
|
|
650
|
-
readonly type: "uint256";
|
|
651
|
-
}];
|
|
652
|
-
readonly stateMutability: "view";
|
|
653
|
-
readonly type: "function";
|
|
654
|
-
}, {
|
|
655
|
-
readonly inputs: readonly [{
|
|
656
|
-
readonly internalType: "address";
|
|
657
|
-
readonly name: "";
|
|
658
|
-
readonly type: "address";
|
|
659
|
-
}];
|
|
660
|
-
readonly name: "lastWhitelistTransfer";
|
|
661
|
-
readonly outputs: readonly [{
|
|
662
|
-
readonly internalType: "uint256";
|
|
663
|
-
readonly name: "";
|
|
664
|
-
readonly type: "uint256";
|
|
665
|
-
}];
|
|
666
|
-
readonly stateMutability: "view";
|
|
667
|
-
readonly type: "function";
|
|
668
|
-
}, {
|
|
669
|
-
readonly inputs: readonly [];
|
|
670
|
-
readonly name: "mintManagerFee";
|
|
671
|
-
readonly outputs: readonly [];
|
|
672
|
-
readonly stateMutability: "nonpayable";
|
|
673
|
-
readonly type: "function";
|
|
674
|
-
}, {
|
|
675
|
-
readonly inputs: readonly [];
|
|
676
|
-
readonly name: "name";
|
|
677
|
-
readonly outputs: readonly [{
|
|
678
|
-
readonly internalType: "string";
|
|
679
|
-
readonly name: "";
|
|
680
|
-
readonly type: "string";
|
|
681
|
-
}];
|
|
682
|
-
readonly stateMutability: "view";
|
|
683
|
-
readonly type: "function";
|
|
684
|
-
}, {
|
|
685
|
-
readonly inputs: readonly [{
|
|
686
|
-
readonly internalType: "address";
|
|
687
|
-
readonly name: "operator";
|
|
688
|
-
readonly type: "address";
|
|
689
|
-
}, {
|
|
690
|
-
readonly internalType: "address";
|
|
691
|
-
readonly name: "from";
|
|
692
|
-
readonly type: "address";
|
|
693
|
-
}, {
|
|
694
|
-
readonly internalType: "uint256";
|
|
695
|
-
readonly name: "tokenId";
|
|
696
|
-
readonly type: "uint256";
|
|
697
|
-
}, {
|
|
698
|
-
readonly internalType: "bytes";
|
|
699
|
-
readonly name: "data";
|
|
700
|
-
readonly type: "bytes";
|
|
701
10
|
}];
|
|
702
|
-
readonly name: "
|
|
11
|
+
readonly name: "allowance";
|
|
703
12
|
readonly outputs: readonly [{
|
|
704
|
-
readonly internalType: "
|
|
705
|
-
readonly name: "
|
|
706
|
-
readonly type: "
|
|
13
|
+
readonly internalType: "uint256";
|
|
14
|
+
readonly name: "";
|
|
15
|
+
readonly type: "uint256";
|
|
707
16
|
}];
|
|
708
|
-
readonly stateMutability: "
|
|
17
|
+
readonly stateMutability: "view";
|
|
709
18
|
readonly type: "function";
|
|
710
19
|
}, {
|
|
711
|
-
readonly inputs: readonly [
|
|
712
|
-
readonly name: "poolManagerLogic";
|
|
713
|
-
readonly outputs: readonly [{
|
|
20
|
+
readonly inputs: readonly [{
|
|
714
21
|
readonly internalType: "address";
|
|
715
|
-
readonly name: "";
|
|
22
|
+
readonly name: "spender";
|
|
716
23
|
readonly type: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly internalType: "uint256";
|
|
26
|
+
readonly name: "amount";
|
|
27
|
+
readonly type: "uint256";
|
|
717
28
|
}];
|
|
718
|
-
readonly
|
|
719
|
-
readonly type: "function";
|
|
720
|
-
}, {
|
|
721
|
-
readonly inputs: readonly [];
|
|
722
|
-
readonly name: "privatePool";
|
|
29
|
+
readonly name: "approve";
|
|
723
30
|
readonly outputs: readonly [{
|
|
724
31
|
readonly internalType: "bool";
|
|
725
32
|
readonly name: "";
|
|
726
33
|
readonly type: "bool";
|
|
727
34
|
}];
|
|
728
|
-
readonly stateMutability: "
|
|
35
|
+
readonly stateMutability: "nonpayable";
|
|
729
36
|
readonly type: "function";
|
|
730
37
|
}, {
|
|
731
38
|
readonly inputs: readonly [{
|
|
732
39
|
readonly internalType: "address";
|
|
733
|
-
readonly name: "
|
|
40
|
+
readonly name: "account";
|
|
734
41
|
readonly type: "address";
|
|
735
42
|
}];
|
|
736
|
-
readonly name: "
|
|
737
|
-
readonly outputs: readonly [];
|
|
738
|
-
readonly stateMutability: "nonpayable";
|
|
739
|
-
readonly type: "function";
|
|
740
|
-
}, {
|
|
741
|
-
readonly inputs: readonly [{
|
|
742
|
-
readonly internalType: "bool";
|
|
743
|
-
readonly name: "_privatePool";
|
|
744
|
-
readonly type: "bool";
|
|
745
|
-
}];
|
|
746
|
-
readonly name: "setPoolPrivate";
|
|
747
|
-
readonly outputs: readonly [];
|
|
748
|
-
readonly stateMutability: "nonpayable";
|
|
749
|
-
readonly type: "function";
|
|
750
|
-
}, {
|
|
751
|
-
readonly inputs: readonly [];
|
|
752
|
-
readonly name: "symbol";
|
|
753
|
-
readonly outputs: readonly [{
|
|
754
|
-
readonly internalType: "string";
|
|
755
|
-
readonly name: "";
|
|
756
|
-
readonly type: "string";
|
|
757
|
-
}];
|
|
758
|
-
readonly stateMutability: "view";
|
|
759
|
-
readonly type: "function";
|
|
760
|
-
}, {
|
|
761
|
-
readonly inputs: readonly [];
|
|
762
|
-
readonly name: "tokenPrice";
|
|
43
|
+
readonly name: "balanceOf";
|
|
763
44
|
readonly outputs: readonly [{
|
|
764
45
|
readonly internalType: "uint256";
|
|
765
|
-
readonly name: "
|
|
46
|
+
readonly name: "";
|
|
766
47
|
readonly type: "uint256";
|
|
767
48
|
}];
|
|
768
49
|
readonly stateMutability: "view";
|
|
769
50
|
readonly type: "function";
|
|
770
51
|
}, {
|
|
771
|
-
readonly inputs: readonly [
|
|
772
|
-
readonly name: "tokenPriceAtLastFeeMint";
|
|
773
|
-
readonly outputs: readonly [{
|
|
52
|
+
readonly inputs: readonly [{
|
|
774
53
|
readonly internalType: "uint256";
|
|
775
|
-
readonly name: "";
|
|
54
|
+
readonly name: "fundValue";
|
|
776
55
|
readonly type: "uint256";
|
|
777
56
|
}];
|
|
778
|
-
readonly
|
|
779
|
-
readonly type: "function";
|
|
780
|
-
}, {
|
|
781
|
-
readonly inputs: readonly [];
|
|
782
|
-
readonly name: "tokenPriceWithoutManagerFee";
|
|
57
|
+
readonly name: "calculateAvailableManagerFee";
|
|
783
58
|
readonly outputs: readonly [{
|
|
784
59
|
readonly internalType: "uint256";
|
|
785
|
-
readonly name: "
|
|
60
|
+
readonly name: "fee";
|
|
786
61
|
readonly type: "uint256";
|
|
787
62
|
}];
|
|
788
63
|
readonly stateMutability: "view";
|
|
789
64
|
readonly type: "function";
|
|
790
65
|
}, {
|
|
791
66
|
readonly inputs: readonly [];
|
|
792
|
-
readonly name: "
|
|
67
|
+
readonly name: "decimals";
|
|
793
68
|
readonly outputs: readonly [{
|
|
794
|
-
readonly internalType: "
|
|
69
|
+
readonly internalType: "uint8";
|
|
795
70
|
readonly name: "";
|
|
796
|
-
readonly type: "
|
|
71
|
+
readonly type: "uint8";
|
|
797
72
|
}];
|
|
798
73
|
readonly stateMutability: "view";
|
|
799
74
|
readonly type: "function";
|
|
800
75
|
}, {
|
|
801
76
|
readonly inputs: readonly [{
|
|
802
77
|
readonly internalType: "address";
|
|
803
|
-
readonly name: "
|
|
78
|
+
readonly name: "_asset";
|
|
804
79
|
readonly type: "address";
|
|
805
80
|
}, {
|
|
806
81
|
readonly internalType: "uint256";
|
|
807
|
-
readonly name: "
|
|
82
|
+
readonly name: "_amount";
|
|
808
83
|
readonly type: "uint256";
|
|
809
84
|
}];
|
|
810
|
-
readonly name: "
|
|
85
|
+
readonly name: "deposit";
|
|
811
86
|
readonly outputs: readonly [{
|
|
812
|
-
readonly internalType: "
|
|
813
|
-
readonly name: "";
|
|
814
|
-
readonly type: "
|
|
87
|
+
readonly internalType: "uint256";
|
|
88
|
+
readonly name: "liquidityMinted";
|
|
89
|
+
readonly type: "uint256";
|
|
815
90
|
}];
|
|
816
91
|
readonly stateMutability: "nonpayable";
|
|
817
92
|
readonly type: "function";
|
|
@@ -820,125 +95,136 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
820
95
|
readonly internalType: "address";
|
|
821
96
|
readonly name: "sender";
|
|
822
97
|
readonly type: "address";
|
|
823
|
-
}, {
|
|
824
|
-
readonly internalType: "address";
|
|
825
|
-
readonly name: "recipient";
|
|
826
|
-
readonly type: "address";
|
|
827
|
-
}, {
|
|
828
|
-
readonly internalType: "uint256";
|
|
829
|
-
readonly name: "amount";
|
|
830
|
-
readonly type: "uint256";
|
|
831
98
|
}];
|
|
832
|
-
readonly name: "
|
|
99
|
+
readonly name: "getExitRemainingCooldown";
|
|
833
100
|
readonly outputs: readonly [{
|
|
834
|
-
readonly internalType: "bool";
|
|
835
|
-
readonly name: "";
|
|
836
|
-
readonly type: "bool";
|
|
837
|
-
}];
|
|
838
|
-
readonly stateMutability: "nonpayable";
|
|
839
|
-
readonly type: "function";
|
|
840
|
-
}, {
|
|
841
|
-
readonly inputs: readonly [{
|
|
842
101
|
readonly internalType: "uint256";
|
|
843
|
-
readonly name: "
|
|
102
|
+
readonly name: "remaining";
|
|
844
103
|
readonly type: "uint256";
|
|
845
104
|
}];
|
|
846
|
-
readonly
|
|
847
|
-
readonly outputs: readonly [];
|
|
848
|
-
readonly stateMutability: "nonpayable";
|
|
105
|
+
readonly stateMutability: "view";
|
|
849
106
|
readonly type: "function";
|
|
850
107
|
}, {
|
|
851
|
-
readonly inputs: readonly [
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
readonly type: "uint256";
|
|
855
|
-
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "getFundSummary";
|
|
110
|
+
readonly outputs: readonly [{
|
|
856
111
|
readonly components: readonly [{
|
|
112
|
+
readonly internalType: "string";
|
|
113
|
+
readonly name: "name";
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
}, {
|
|
116
|
+
readonly internalType: "uint256";
|
|
117
|
+
readonly name: "totalSupply";
|
|
118
|
+
readonly type: "uint256";
|
|
119
|
+
}, {
|
|
120
|
+
readonly internalType: "uint256";
|
|
121
|
+
readonly name: "totalFundValue";
|
|
122
|
+
readonly type: "uint256";
|
|
123
|
+
}, {
|
|
857
124
|
readonly internalType: "address";
|
|
858
|
-
readonly name: "
|
|
125
|
+
readonly name: "manager";
|
|
859
126
|
readonly type: "address";
|
|
860
127
|
}, {
|
|
861
|
-
readonly internalType: "
|
|
862
|
-
readonly name: "
|
|
863
|
-
readonly type: "
|
|
128
|
+
readonly internalType: "string";
|
|
129
|
+
readonly name: "managerName";
|
|
130
|
+
readonly type: "string";
|
|
131
|
+
}, {
|
|
132
|
+
readonly internalType: "uint256";
|
|
133
|
+
readonly name: "creationTime";
|
|
134
|
+
readonly type: "uint256";
|
|
135
|
+
}, {
|
|
136
|
+
readonly internalType: "bool";
|
|
137
|
+
readonly name: "privatePool";
|
|
138
|
+
readonly type: "bool";
|
|
139
|
+
}, {
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "performanceFeeNumerator";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}, {
|
|
144
|
+
readonly internalType: "uint256";
|
|
145
|
+
readonly name: "managerFeeNumerator";
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
}, {
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "managerFeeDenominator";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}, {
|
|
152
|
+
readonly internalType: "uint256";
|
|
153
|
+
readonly name: "exitFeeNumerator";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
}, {
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
readonly name: "exitFeeDenominator";
|
|
158
|
+
readonly type: "uint256";
|
|
864
159
|
}, {
|
|
865
160
|
readonly internalType: "uint256";
|
|
866
|
-
readonly name: "
|
|
161
|
+
readonly name: "entryFeeNumerator";
|
|
867
162
|
readonly type: "uint256";
|
|
868
163
|
}];
|
|
869
|
-
readonly internalType: "struct
|
|
870
|
-
readonly name: "
|
|
871
|
-
readonly type: "tuple
|
|
164
|
+
readonly internalType: "struct PoolLogic.FundSummary";
|
|
165
|
+
readonly name: "";
|
|
166
|
+
readonly type: "tuple";
|
|
872
167
|
}];
|
|
873
|
-
readonly
|
|
168
|
+
readonly stateMutability: "view";
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
}, {
|
|
171
|
+
readonly inputs: readonly [];
|
|
172
|
+
readonly name: "mintManagerFee";
|
|
874
173
|
readonly outputs: readonly [];
|
|
875
174
|
readonly stateMutability: "nonpayable";
|
|
876
175
|
readonly type: "function";
|
|
877
176
|
}, {
|
|
878
|
-
readonly inputs: readonly [
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
readonly
|
|
882
|
-
|
|
883
|
-
readonly
|
|
884
|
-
readonly name: "_slippageTolerance";
|
|
885
|
-
readonly type: "uint256";
|
|
177
|
+
readonly inputs: readonly [];
|
|
178
|
+
readonly name: "name";
|
|
179
|
+
readonly outputs: readonly [{
|
|
180
|
+
readonly internalType: "string";
|
|
181
|
+
readonly name: "";
|
|
182
|
+
readonly type: "string";
|
|
886
183
|
}];
|
|
887
|
-
readonly
|
|
888
|
-
readonly outputs: readonly [];
|
|
889
|
-
readonly stateMutability: "nonpayable";
|
|
184
|
+
readonly stateMutability: "view";
|
|
890
185
|
readonly type: "function";
|
|
891
186
|
}, {
|
|
892
|
-
readonly inputs: readonly [
|
|
187
|
+
readonly inputs: readonly [];
|
|
188
|
+
readonly name: "poolManagerLogic";
|
|
189
|
+
readonly outputs: readonly [{
|
|
893
190
|
readonly internalType: "address";
|
|
894
|
-
readonly name: "
|
|
191
|
+
readonly name: "";
|
|
895
192
|
readonly type: "address";
|
|
896
|
-
}
|
|
193
|
+
}];
|
|
194
|
+
readonly stateMutability: "view";
|
|
195
|
+
readonly type: "function";
|
|
196
|
+
}, {
|
|
197
|
+
readonly inputs: readonly [];
|
|
198
|
+
readonly name: "symbol";
|
|
199
|
+
readonly outputs: readonly [{
|
|
200
|
+
readonly internalType: "string";
|
|
201
|
+
readonly name: "";
|
|
202
|
+
readonly type: "string";
|
|
203
|
+
}];
|
|
204
|
+
readonly stateMutability: "view";
|
|
205
|
+
readonly type: "function";
|
|
206
|
+
}, {
|
|
207
|
+
readonly inputs: readonly [];
|
|
208
|
+
readonly name: "tokenPrice";
|
|
209
|
+
readonly outputs: readonly [{
|
|
897
210
|
readonly internalType: "uint256";
|
|
898
|
-
readonly name: "
|
|
211
|
+
readonly name: "price";
|
|
899
212
|
readonly type: "uint256";
|
|
900
213
|
}];
|
|
901
|
-
readonly
|
|
902
|
-
readonly outputs: readonly [];
|
|
903
|
-
readonly stateMutability: "nonpayable";
|
|
214
|
+
readonly stateMutability: "view";
|
|
904
215
|
readonly type: "function";
|
|
905
216
|
}, {
|
|
906
|
-
readonly inputs: readonly [
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
readonly type: "address";
|
|
910
|
-
}, {
|
|
217
|
+
readonly inputs: readonly [];
|
|
218
|
+
readonly name: "totalSupply";
|
|
219
|
+
readonly outputs: readonly [{
|
|
911
220
|
readonly internalType: "uint256";
|
|
912
|
-
readonly name: "
|
|
221
|
+
readonly name: "";
|
|
913
222
|
readonly type: "uint256";
|
|
914
|
-
}, {
|
|
915
|
-
readonly components: readonly [{
|
|
916
|
-
readonly internalType: "address";
|
|
917
|
-
readonly name: "supportedAsset";
|
|
918
|
-
readonly type: "address";
|
|
919
|
-
}, {
|
|
920
|
-
readonly internalType: "bytes";
|
|
921
|
-
readonly name: "withdrawData";
|
|
922
|
-
readonly type: "bytes";
|
|
923
|
-
}, {
|
|
924
|
-
readonly internalType: "uint256";
|
|
925
|
-
readonly name: "slippageTolerance";
|
|
926
|
-
readonly type: "uint256";
|
|
927
|
-
}];
|
|
928
|
-
readonly internalType: "struct IPoolLogic.ComplexAsset[]";
|
|
929
|
-
readonly name: "_complexAssetsData";
|
|
930
|
-
readonly type: "tuple[]";
|
|
931
223
|
}];
|
|
932
|
-
readonly
|
|
933
|
-
readonly outputs: readonly [];
|
|
934
|
-
readonly stateMutability: "nonpayable";
|
|
224
|
+
readonly stateMutability: "view";
|
|
935
225
|
readonly type: "function";
|
|
936
226
|
}, {
|
|
937
227
|
readonly inputs: readonly [{
|
|
938
|
-
readonly internalType: "address";
|
|
939
|
-
readonly name: "_recipient";
|
|
940
|
-
readonly type: "address";
|
|
941
|
-
}, {
|
|
942
228
|
readonly internalType: "uint256";
|
|
943
229
|
readonly name: "_fundTokenAmount";
|
|
944
230
|
readonly type: "uint256";
|
|
@@ -947,48 +233,8 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
947
233
|
readonly name: "_slippageTolerance";
|
|
948
234
|
readonly type: "uint256";
|
|
949
235
|
}];
|
|
950
|
-
readonly name: "
|
|
236
|
+
readonly name: "withdrawSafe";
|
|
951
237
|
readonly outputs: readonly [];
|
|
952
238
|
readonly stateMutability: "nonpayable";
|
|
953
239
|
readonly type: "function";
|
|
954
240
|
}];
|
|
955
|
-
export declare const ComplexWithdrawalAssetSrcDataAbiItem: readonly [{
|
|
956
|
-
readonly type: "tuple[]";
|
|
957
|
-
readonly components: readonly [{
|
|
958
|
-
readonly type: "address";
|
|
959
|
-
readonly name: "asset";
|
|
960
|
-
}, {
|
|
961
|
-
readonly type: "uint256";
|
|
962
|
-
readonly name: "amount";
|
|
963
|
-
}, {
|
|
964
|
-
readonly type: "tuple";
|
|
965
|
-
readonly name: "swapData";
|
|
966
|
-
readonly components: readonly [{
|
|
967
|
-
readonly type: "bytes32";
|
|
968
|
-
readonly name: "routerKey";
|
|
969
|
-
}, {
|
|
970
|
-
readonly type: "bytes";
|
|
971
|
-
readonly name: "txData";
|
|
972
|
-
}];
|
|
973
|
-
}];
|
|
974
|
-
}];
|
|
975
|
-
export declare const ComplexWithdrawalDataAbiItem: readonly [{
|
|
976
|
-
readonly type: "tuple";
|
|
977
|
-
readonly components: readonly [{
|
|
978
|
-
readonly type: "bytes";
|
|
979
|
-
readonly name: "encodedSrcData";
|
|
980
|
-
}, {
|
|
981
|
-
readonly type: "tuple";
|
|
982
|
-
readonly name: "dstData";
|
|
983
|
-
readonly components: readonly [{
|
|
984
|
-
readonly type: "address";
|
|
985
|
-
readonly name: "dstAddress";
|
|
986
|
-
}, {
|
|
987
|
-
readonly type: "uint256";
|
|
988
|
-
readonly name: "dstAmount";
|
|
989
|
-
}];
|
|
990
|
-
}, {
|
|
991
|
-
readonly type: "uint256";
|
|
992
|
-
readonly name: "slippage";
|
|
993
|
-
}];
|
|
994
|
-
}];
|