@dhedge/trading-widget 1.2.5 → 1.2.6
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/core-kit/abi/pool-logic.d.ts +6 -593
- package/core-kit/abi/pool-manager-logic.d.ts +14 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +20 -593
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +122 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +42 -1462
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +240 -2001
- package/core-kit/hooks/state/action.d.ts +1 -1
- package/core-kit/hooks/state/meta.d.ts +1 -1
- package/{index-c7b5008a.js → index-49e86eb7.js} +5317 -6051
- package/index-8d970364.cjs +207 -0
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{pyth-adapter-cc027435.cjs → pyth-adapter-8eca747e.cjs} +1 -1
- package/{pyth-adapter-1507ec85.js → pyth-adapter-b5e265c0.js} +1 -1
- package/index-ed13e84a.cjs +0 -207
|
@@ -1,247 +1,4 @@
|
|
|
1
1
|
export declare const PoolLogicAbi: readonly [{
|
|
2
|
-
readonly anonymous: false;
|
|
3
|
-
readonly inputs: readonly [{
|
|
4
|
-
readonly indexed: true;
|
|
5
|
-
readonly internalType: "address";
|
|
6
|
-
readonly name: "owner";
|
|
7
|
-
readonly type: "address";
|
|
8
|
-
}, {
|
|
9
|
-
readonly indexed: true;
|
|
10
|
-
readonly internalType: "address";
|
|
11
|
-
readonly name: "spender";
|
|
12
|
-
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
2
|
readonly inputs: readonly [{
|
|
246
3
|
readonly internalType: "address";
|
|
247
4
|
readonly name: "owner";
|
|
@@ -277,30 +34,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
277
34
|
}];
|
|
278
35
|
readonly stateMutability: "nonpayable";
|
|
279
36
|
readonly type: "function";
|
|
280
|
-
}, {
|
|
281
|
-
readonly inputs: readonly [];
|
|
282
|
-
readonly name: "availableManagerFee";
|
|
283
|
-
readonly outputs: readonly [{
|
|
284
|
-
readonly internalType: "uint256";
|
|
285
|
-
readonly name: "fee";
|
|
286
|
-
readonly type: "uint256";
|
|
287
|
-
}];
|
|
288
|
-
readonly stateMutability: "view";
|
|
289
|
-
readonly type: "function";
|
|
290
|
-
}, {
|
|
291
|
-
readonly inputs: readonly [];
|
|
292
|
-
readonly name: "availableManagerFeeAndTotalFundValue";
|
|
293
|
-
readonly outputs: readonly [{
|
|
294
|
-
readonly internalType: "uint256";
|
|
295
|
-
readonly name: "fee";
|
|
296
|
-
readonly type: "uint256";
|
|
297
|
-
}, {
|
|
298
|
-
readonly internalType: "uint256";
|
|
299
|
-
readonly name: "fundValue";
|
|
300
|
-
readonly type: "uint256";
|
|
301
|
-
}];
|
|
302
|
-
readonly stateMutability: "view";
|
|
303
|
-
readonly type: "function";
|
|
304
37
|
}, {
|
|
305
38
|
readonly inputs: readonly [{
|
|
306
39
|
readonly internalType: "address";
|
|
@@ -316,22 +49,16 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
316
49
|
readonly stateMutability: "view";
|
|
317
50
|
readonly type: "function";
|
|
318
51
|
}, {
|
|
319
|
-
readonly inputs: readonly [
|
|
320
|
-
readonly name: "creationTime";
|
|
321
|
-
readonly outputs: readonly [{
|
|
52
|
+
readonly inputs: readonly [{
|
|
322
53
|
readonly internalType: "uint256";
|
|
323
|
-
readonly name: "";
|
|
54
|
+
readonly name: "fundValue";
|
|
324
55
|
readonly type: "uint256";
|
|
325
56
|
}];
|
|
326
|
-
readonly
|
|
327
|
-
readonly type: "function";
|
|
328
|
-
}, {
|
|
329
|
-
readonly inputs: readonly [];
|
|
330
|
-
readonly name: "creator";
|
|
57
|
+
readonly name: "calculateAvailableManagerFee";
|
|
331
58
|
readonly outputs: readonly [{
|
|
332
|
-
readonly internalType: "
|
|
333
|
-
readonly name: "";
|
|
334
|
-
readonly type: "
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
readonly name: "fee";
|
|
61
|
+
readonly type: "uint256";
|
|
335
62
|
}];
|
|
336
63
|
readonly stateMutability: "view";
|
|
337
64
|
readonly type: "function";
|
|
@@ -345,24 +72,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
345
72
|
}];
|
|
346
73
|
readonly stateMutability: "view";
|
|
347
74
|
readonly type: "function";
|
|
348
|
-
}, {
|
|
349
|
-
readonly inputs: readonly [{
|
|
350
|
-
readonly internalType: "address";
|
|
351
|
-
readonly name: "spender";
|
|
352
|
-
readonly type: "address";
|
|
353
|
-
}, {
|
|
354
|
-
readonly internalType: "uint256";
|
|
355
|
-
readonly name: "subtractedValue";
|
|
356
|
-
readonly type: "uint256";
|
|
357
|
-
}];
|
|
358
|
-
readonly name: "decreaseAllowance";
|
|
359
|
-
readonly outputs: readonly [{
|
|
360
|
-
readonly internalType: "bool";
|
|
361
|
-
readonly name: "";
|
|
362
|
-
readonly type: "bool";
|
|
363
|
-
}];
|
|
364
|
-
readonly stateMutability: "nonpayable";
|
|
365
|
-
readonly type: "function";
|
|
366
75
|
}, {
|
|
367
76
|
readonly inputs: readonly [{
|
|
368
77
|
readonly internalType: "address";
|
|
@@ -381,74 +90,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
381
90
|
}];
|
|
382
91
|
readonly stateMutability: "nonpayable";
|
|
383
92
|
readonly type: "function";
|
|
384
|
-
}, {
|
|
385
|
-
readonly inputs: readonly [{
|
|
386
|
-
readonly internalType: "address";
|
|
387
|
-
readonly name: "to";
|
|
388
|
-
readonly type: "address";
|
|
389
|
-
}, {
|
|
390
|
-
readonly internalType: "bytes";
|
|
391
|
-
readonly name: "data";
|
|
392
|
-
readonly type: "bytes";
|
|
393
|
-
}];
|
|
394
|
-
readonly name: "execTransaction";
|
|
395
|
-
readonly outputs: readonly [{
|
|
396
|
-
readonly internalType: "bool";
|
|
397
|
-
readonly name: "success";
|
|
398
|
-
readonly type: "bool";
|
|
399
|
-
}];
|
|
400
|
-
readonly stateMutability: "nonpayable";
|
|
401
|
-
readonly type: "function";
|
|
402
|
-
}, {
|
|
403
|
-
readonly inputs: readonly [{
|
|
404
|
-
readonly internalType: "address[]";
|
|
405
|
-
readonly name: "assets";
|
|
406
|
-
readonly type: "address[]";
|
|
407
|
-
}, {
|
|
408
|
-
readonly internalType: "uint256[]";
|
|
409
|
-
readonly name: "amounts";
|
|
410
|
-
readonly type: "uint256[]";
|
|
411
|
-
}, {
|
|
412
|
-
readonly internalType: "uint256[]";
|
|
413
|
-
readonly name: "premiums";
|
|
414
|
-
readonly type: "uint256[]";
|
|
415
|
-
}, {
|
|
416
|
-
readonly internalType: "address";
|
|
417
|
-
readonly name: "originator";
|
|
418
|
-
readonly type: "address";
|
|
419
|
-
}, {
|
|
420
|
-
readonly internalType: "bytes";
|
|
421
|
-
readonly name: "params";
|
|
422
|
-
readonly type: "bytes";
|
|
423
|
-
}];
|
|
424
|
-
readonly name: "executeOperation";
|
|
425
|
-
readonly outputs: readonly [{
|
|
426
|
-
readonly internalType: "bool";
|
|
427
|
-
readonly name: "success";
|
|
428
|
-
readonly type: "bool";
|
|
429
|
-
}];
|
|
430
|
-
readonly stateMutability: "nonpayable";
|
|
431
|
-
readonly type: "function";
|
|
432
|
-
}, {
|
|
433
|
-
readonly inputs: readonly [];
|
|
434
|
-
readonly name: "factory";
|
|
435
|
-
readonly outputs: readonly [{
|
|
436
|
-
readonly internalType: "address";
|
|
437
|
-
readonly name: "";
|
|
438
|
-
readonly type: "address";
|
|
439
|
-
}];
|
|
440
|
-
readonly stateMutability: "view";
|
|
441
|
-
readonly type: "function";
|
|
442
|
-
}, {
|
|
443
|
-
readonly inputs: readonly [];
|
|
444
|
-
readonly name: "getExitCooldown";
|
|
445
|
-
readonly outputs: readonly [{
|
|
446
|
-
readonly internalType: "uint256";
|
|
447
|
-
readonly name: "exitCooldown";
|
|
448
|
-
readonly type: "uint256";
|
|
449
|
-
}];
|
|
450
|
-
readonly stateMutability: "view";
|
|
451
|
-
readonly type: "function";
|
|
452
93
|
}, {
|
|
453
94
|
readonly inputs: readonly [{
|
|
454
95
|
readonly internalType: "address";
|
|
@@ -526,112 +167,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
526
167
|
}];
|
|
527
168
|
readonly stateMutability: "view";
|
|
528
169
|
readonly type: "function";
|
|
529
|
-
}, {
|
|
530
|
-
readonly inputs: readonly [{
|
|
531
|
-
readonly internalType: "address";
|
|
532
|
-
readonly name: "_asset";
|
|
533
|
-
readonly type: "address";
|
|
534
|
-
}];
|
|
535
|
-
readonly name: "getWithdrawSingleMax";
|
|
536
|
-
readonly outputs: readonly [{
|
|
537
|
-
readonly internalType: "uint256";
|
|
538
|
-
readonly name: "fundTokenAmount";
|
|
539
|
-
readonly type: "uint256";
|
|
540
|
-
}];
|
|
541
|
-
readonly stateMutability: "view";
|
|
542
|
-
readonly type: "function";
|
|
543
|
-
}, {
|
|
544
|
-
readonly inputs: readonly [{
|
|
545
|
-
readonly internalType: "address";
|
|
546
|
-
readonly name: "spender";
|
|
547
|
-
readonly type: "address";
|
|
548
|
-
}, {
|
|
549
|
-
readonly internalType: "uint256";
|
|
550
|
-
readonly name: "addedValue";
|
|
551
|
-
readonly type: "uint256";
|
|
552
|
-
}];
|
|
553
|
-
readonly name: "increaseAllowance";
|
|
554
|
-
readonly outputs: readonly [{
|
|
555
|
-
readonly internalType: "bool";
|
|
556
|
-
readonly name: "";
|
|
557
|
-
readonly type: "bool";
|
|
558
|
-
}];
|
|
559
|
-
readonly stateMutability: "nonpayable";
|
|
560
|
-
readonly type: "function";
|
|
561
|
-
}, {
|
|
562
|
-
readonly inputs: readonly [{
|
|
563
|
-
readonly internalType: "address";
|
|
564
|
-
readonly name: "_factory";
|
|
565
|
-
readonly type: "address";
|
|
566
|
-
}, {
|
|
567
|
-
readonly internalType: "bool";
|
|
568
|
-
readonly name: "_privatePool";
|
|
569
|
-
readonly type: "bool";
|
|
570
|
-
}, {
|
|
571
|
-
readonly internalType: "string";
|
|
572
|
-
readonly name: "_fundName";
|
|
573
|
-
readonly type: "string";
|
|
574
|
-
}, {
|
|
575
|
-
readonly internalType: "string";
|
|
576
|
-
readonly name: "_fundSymbol";
|
|
577
|
-
readonly type: "string";
|
|
578
|
-
}];
|
|
579
|
-
readonly name: "initialize";
|
|
580
|
-
readonly outputs: readonly [];
|
|
581
|
-
readonly stateMutability: "nonpayable";
|
|
582
|
-
readonly type: "function";
|
|
583
|
-
}, {
|
|
584
|
-
readonly inputs: readonly [{
|
|
585
|
-
readonly internalType: "address";
|
|
586
|
-
readonly name: "member";
|
|
587
|
-
readonly type: "address";
|
|
588
|
-
}];
|
|
589
|
-
readonly name: "isMemberAllowed";
|
|
590
|
-
readonly outputs: readonly [{
|
|
591
|
-
readonly internalType: "bool";
|
|
592
|
-
readonly name: "";
|
|
593
|
-
readonly type: "bool";
|
|
594
|
-
}];
|
|
595
|
-
readonly stateMutability: "view";
|
|
596
|
-
readonly type: "function";
|
|
597
|
-
}, {
|
|
598
|
-
readonly inputs: readonly [{
|
|
599
|
-
readonly internalType: "address";
|
|
600
|
-
readonly name: "";
|
|
601
|
-
readonly type: "address";
|
|
602
|
-
}];
|
|
603
|
-
readonly name: "lastDeposit";
|
|
604
|
-
readonly outputs: readonly [{
|
|
605
|
-
readonly internalType: "uint256";
|
|
606
|
-
readonly name: "";
|
|
607
|
-
readonly type: "uint256";
|
|
608
|
-
}];
|
|
609
|
-
readonly stateMutability: "view";
|
|
610
|
-
readonly type: "function";
|
|
611
|
-
}, {
|
|
612
|
-
readonly inputs: readonly [{
|
|
613
|
-
readonly internalType: "address";
|
|
614
|
-
readonly name: "";
|
|
615
|
-
readonly type: "address";
|
|
616
|
-
}];
|
|
617
|
-
readonly name: "lastWhitelistTransfer";
|
|
618
|
-
readonly outputs: readonly [{
|
|
619
|
-
readonly internalType: "uint256";
|
|
620
|
-
readonly name: "";
|
|
621
|
-
readonly type: "uint256";
|
|
622
|
-
}];
|
|
623
|
-
readonly stateMutability: "view";
|
|
624
|
-
readonly type: "function";
|
|
625
|
-
}, {
|
|
626
|
-
readonly inputs: readonly [];
|
|
627
|
-
readonly name: "managerName";
|
|
628
|
-
readonly outputs: readonly [{
|
|
629
|
-
readonly internalType: "string";
|
|
630
|
-
readonly name: "_managerName";
|
|
631
|
-
readonly type: "string";
|
|
632
|
-
}];
|
|
633
|
-
readonly stateMutability: "view";
|
|
634
|
-
readonly type: "function";
|
|
635
170
|
}, {
|
|
636
171
|
readonly inputs: readonly [];
|
|
637
172
|
readonly name: "mintManagerFee";
|
|
@@ -658,40 +193,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
658
193
|
}];
|
|
659
194
|
readonly stateMutability: "view";
|
|
660
195
|
readonly type: "function";
|
|
661
|
-
}, {
|
|
662
|
-
readonly inputs: readonly [];
|
|
663
|
-
readonly name: "privatePool";
|
|
664
|
-
readonly outputs: readonly [{
|
|
665
|
-
readonly internalType: "bool";
|
|
666
|
-
readonly name: "";
|
|
667
|
-
readonly type: "bool";
|
|
668
|
-
}];
|
|
669
|
-
readonly stateMutability: "view";
|
|
670
|
-
readonly type: "function";
|
|
671
|
-
}, {
|
|
672
|
-
readonly inputs: readonly [{
|
|
673
|
-
readonly internalType: "address";
|
|
674
|
-
readonly name: "_poolManagerLogic";
|
|
675
|
-
readonly type: "address";
|
|
676
|
-
}];
|
|
677
|
-
readonly name: "setPoolManagerLogic";
|
|
678
|
-
readonly outputs: readonly [{
|
|
679
|
-
readonly internalType: "bool";
|
|
680
|
-
readonly name: "";
|
|
681
|
-
readonly type: "bool";
|
|
682
|
-
}];
|
|
683
|
-
readonly stateMutability: "nonpayable";
|
|
684
|
-
readonly type: "function";
|
|
685
|
-
}, {
|
|
686
|
-
readonly inputs: readonly [{
|
|
687
|
-
readonly internalType: "bool";
|
|
688
|
-
readonly name: "_privatePool";
|
|
689
|
-
readonly type: "bool";
|
|
690
|
-
}];
|
|
691
|
-
readonly name: "setPoolPrivate";
|
|
692
|
-
readonly outputs: readonly [];
|
|
693
|
-
readonly stateMutability: "nonpayable";
|
|
694
|
-
readonly type: "function";
|
|
695
196
|
}, {
|
|
696
197
|
readonly inputs: readonly [];
|
|
697
198
|
readonly name: "symbol";
|
|
@@ -712,26 +213,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
712
213
|
}];
|
|
713
214
|
readonly stateMutability: "view";
|
|
714
215
|
readonly type: "function";
|
|
715
|
-
}, {
|
|
716
|
-
readonly inputs: readonly [];
|
|
717
|
-
readonly name: "tokenPriceAtLastFeeMint";
|
|
718
|
-
readonly outputs: readonly [{
|
|
719
|
-
readonly internalType: "uint256";
|
|
720
|
-
readonly name: "";
|
|
721
|
-
readonly type: "uint256";
|
|
722
|
-
}];
|
|
723
|
-
readonly stateMutability: "view";
|
|
724
|
-
readonly type: "function";
|
|
725
|
-
}, {
|
|
726
|
-
readonly inputs: readonly [];
|
|
727
|
-
readonly name: "tokenPriceWithoutManagerFee";
|
|
728
|
-
readonly outputs: readonly [{
|
|
729
|
-
readonly internalType: "uint256";
|
|
730
|
-
readonly name: "price";
|
|
731
|
-
readonly type: "uint256";
|
|
732
|
-
}];
|
|
733
|
-
readonly stateMutability: "view";
|
|
734
|
-
readonly type: "function";
|
|
735
216
|
}, {
|
|
736
217
|
readonly inputs: readonly [];
|
|
737
218
|
readonly name: "totalSupply";
|
|
@@ -742,74 +223,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
742
223
|
}];
|
|
743
224
|
readonly stateMutability: "view";
|
|
744
225
|
readonly type: "function";
|
|
745
|
-
}, {
|
|
746
|
-
readonly inputs: readonly [{
|
|
747
|
-
readonly internalType: "address";
|
|
748
|
-
readonly name: "recipient";
|
|
749
|
-
readonly type: "address";
|
|
750
|
-
}, {
|
|
751
|
-
readonly internalType: "uint256";
|
|
752
|
-
readonly name: "amount";
|
|
753
|
-
readonly type: "uint256";
|
|
754
|
-
}];
|
|
755
|
-
readonly name: "transfer";
|
|
756
|
-
readonly outputs: readonly [{
|
|
757
|
-
readonly internalType: "bool";
|
|
758
|
-
readonly name: "";
|
|
759
|
-
readonly type: "bool";
|
|
760
|
-
}];
|
|
761
|
-
readonly stateMutability: "nonpayable";
|
|
762
|
-
readonly type: "function";
|
|
763
|
-
}, {
|
|
764
|
-
readonly inputs: readonly [{
|
|
765
|
-
readonly internalType: "address";
|
|
766
|
-
readonly name: "sender";
|
|
767
|
-
readonly type: "address";
|
|
768
|
-
}, {
|
|
769
|
-
readonly internalType: "address";
|
|
770
|
-
readonly name: "recipient";
|
|
771
|
-
readonly type: "address";
|
|
772
|
-
}, {
|
|
773
|
-
readonly internalType: "uint256";
|
|
774
|
-
readonly name: "amount";
|
|
775
|
-
readonly type: "uint256";
|
|
776
|
-
}];
|
|
777
|
-
readonly name: "transferFrom";
|
|
778
|
-
readonly outputs: readonly [{
|
|
779
|
-
readonly internalType: "bool";
|
|
780
|
-
readonly name: "";
|
|
781
|
-
readonly type: "bool";
|
|
782
|
-
}];
|
|
783
|
-
readonly stateMutability: "nonpayable";
|
|
784
|
-
readonly type: "function";
|
|
785
|
-
}, {
|
|
786
|
-
readonly inputs: readonly [{
|
|
787
|
-
readonly internalType: "uint256";
|
|
788
|
-
readonly name: "_fundTokenAmount";
|
|
789
|
-
readonly type: "uint256";
|
|
790
|
-
}, {
|
|
791
|
-
readonly internalType: "address";
|
|
792
|
-
readonly name: "_asset";
|
|
793
|
-
readonly type: "address";
|
|
794
|
-
}];
|
|
795
|
-
readonly name: "withdrawSingle";
|
|
796
|
-
readonly outputs: readonly [];
|
|
797
|
-
readonly stateMutability: "nonpayable";
|
|
798
|
-
readonly type: "function";
|
|
799
|
-
}, {
|
|
800
|
-
readonly inputs: readonly [{
|
|
801
|
-
readonly internalType: "uint256";
|
|
802
|
-
readonly name: "fundValue";
|
|
803
|
-
readonly type: "uint256";
|
|
804
|
-
}];
|
|
805
|
-
readonly name: "calculateAvailableManagerFee";
|
|
806
|
-
readonly outputs: readonly [{
|
|
807
|
-
readonly internalType: "uint256";
|
|
808
|
-
readonly name: "fee";
|
|
809
|
-
readonly type: "uint256";
|
|
810
|
-
}];
|
|
811
|
-
readonly stateMutability: "view";
|
|
812
|
-
readonly type: "function";
|
|
813
226
|
}, {
|
|
814
227
|
readonly inputs: readonly [{
|
|
815
228
|
readonly internalType: "uint256";
|
|
@@ -51,6 +51,20 @@ export declare const PoolManagerLogicAbi: readonly [{
|
|
|
51
51
|
}];
|
|
52
52
|
readonly stateMutability: "view";
|
|
53
53
|
readonly type: "function";
|
|
54
|
+
}, {
|
|
55
|
+
readonly inputs: readonly [{
|
|
56
|
+
readonly internalType: "address";
|
|
57
|
+
readonly name: "member";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly name: "isMemberAllowed";
|
|
61
|
+
readonly outputs: readonly [{
|
|
62
|
+
readonly internalType: "bool";
|
|
63
|
+
readonly name: "";
|
|
64
|
+
readonly type: "bool";
|
|
65
|
+
}];
|
|
66
|
+
readonly stateMutability: "view";
|
|
67
|
+
readonly type: "function";
|
|
54
68
|
}, {
|
|
55
69
|
readonly inputs: readonly [];
|
|
56
70
|
readonly name: "minDepositUSD";
|