@berachain/berajs 0.1.0-alpha.0 → 0.1.0-alpha.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/dist/BeraError-CfcNTfpH.d.cts +69 -0
- package/dist/BexStatusProvider-nS3NcdxI.d.cts +70 -0
- package/dist/RequestError-BPxCeq0x.d.cts +57 -0
- package/dist/abi/index.cjs +1 -0
- package/dist/abi/index.d.cts +26765 -0
- package/dist/actions/index.cjs +1 -0
- package/dist/actions/index.d.cts +1649 -0
- package/dist/actions/index.d.ts +7 -7
- package/dist/aggregatorsRouter-Cny4B_MB.d.cts +593 -0
- package/dist/chunk-33CW5NUN.cjs +1 -0
- package/dist/chunk-6PL44I45.cjs +1 -0
- package/dist/chunk-IKAE7CQU.cjs +1 -0
- package/dist/chunk-ILYYJYGV.cjs +3 -0
- package/dist/chunk-KIA6GUIN.cjs +1 -0
- package/dist/chunk-LHFVY26H.cjs +2 -0
- package/dist/chunk-LX5CM4Y6.cjs +1 -0
- package/dist/chunk-MDA4YT6J.cjs +1 -0
- package/dist/chunk-NOV7UCGA.cjs +1 -0
- package/dist/chunk-SW47CI6T.cjs +1 -0
- package/dist/chunk-YKKMWJX5.cjs +1 -0
- package/dist/contexts/index.cjs +1 -0
- package/dist/contexts/index.d.cts +81 -0
- package/dist/contexts/index.d.ts +3 -3
- package/dist/defaultFlags-V-tJs2K8.d.cts +10 -0
- package/dist/{dex-DreiokgL.d.ts → dex-D9U93Ib-.d.cts} +3 -3
- package/dist/enum/index.cjs +1 -0
- package/dist/enum/index.d.cts +31 -0
- package/dist/enum/index.d.ts +1 -1
- package/dist/errors/index.cjs +1 -0
- package/dist/errors/index.d.cts +204 -0
- package/dist/errors/index.d.ts +1 -1
- package/dist/{getValidatorQueuedOperatorAddress-DK2Xv19c.d.ts → getValidatorQueuedOperatorAddress-BbyH7asf.d.cts} +2 -2
- package/dist/hooks/index.cjs +3 -0
- package/dist/hooks/index.d.cts +1703 -0
- package/dist/hooks/index.d.ts +7 -7
- package/dist/polling-BKnyavLI.d.cts +8 -0
- package/dist/pythWrapper-CBjsmmsK.d.cts +1958 -0
- package/dist/{staking-Cggi38So.d.ts → staking-DHCsSRru.d.cts} +1 -1
- package/dist/{txnEnum-BQKDfaeH.d.ts → txnEnum-Diichv9Z.d.cts} +0 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +56 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/{useHoneySwapState-Ci8_c2bT.d.ts → useHoneySwapState-A9cyIoOS.d.cts} +1 -1
- package/dist/utils/index.cjs +1 -0
- package/dist/utils/index.d.cts +349 -0
- package/dist/utils/index.d.ts +3 -3
- package/package.json +3 -4
|
@@ -0,0 +1,1958 @@
|
|
|
1
|
+
declare const honeyFactoryAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [];
|
|
3
|
+
readonly stateMutability: "nonpayable";
|
|
4
|
+
readonly type: "constructor";
|
|
5
|
+
}, {
|
|
6
|
+
readonly inputs: readonly [];
|
|
7
|
+
readonly name: "AccessControlBadConfirmation";
|
|
8
|
+
readonly type: "error";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [{
|
|
11
|
+
readonly internalType: "address";
|
|
12
|
+
readonly name: "account";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}, {
|
|
15
|
+
readonly internalType: "bytes32";
|
|
16
|
+
readonly name: "neededRole";
|
|
17
|
+
readonly type: "bytes32";
|
|
18
|
+
}];
|
|
19
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
20
|
+
readonly type: "error";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [{
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
readonly name: "target";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}];
|
|
27
|
+
readonly name: "AddressEmptyCode";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "AmountOutOfRange";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
readonly name: "asset";
|
|
37
|
+
readonly type: "address";
|
|
38
|
+
}];
|
|
39
|
+
readonly name: "AssetIsBadCollateral";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
readonly name: "asset";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "AssetIsNotBadCollateral";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [{
|
|
51
|
+
readonly internalType: "address";
|
|
52
|
+
readonly name: "asset";
|
|
53
|
+
readonly type: "address";
|
|
54
|
+
}];
|
|
55
|
+
readonly name: "AssetNotRegistered";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly name: "CapCanCauseDenialOfService";
|
|
60
|
+
readonly type: "error";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
readonly name: "implementation";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
68
|
+
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly name: "ERC1967NonPayable";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly name: "EnforcedPause";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "ExceedGlobalCap";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [];
|
|
83
|
+
readonly name: "ExceedRelativeCap";
|
|
84
|
+
readonly type: "error";
|
|
85
|
+
}, {
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly name: "ExpectedPause";
|
|
88
|
+
readonly type: "error";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "FailedCall";
|
|
92
|
+
readonly type: "error";
|
|
93
|
+
}, {
|
|
94
|
+
readonly inputs: readonly [{
|
|
95
|
+
readonly internalType: "uint256";
|
|
96
|
+
readonly name: "assets";
|
|
97
|
+
readonly type: "uint256";
|
|
98
|
+
}, {
|
|
99
|
+
readonly internalType: "uint256";
|
|
100
|
+
readonly name: "shares";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
}];
|
|
103
|
+
readonly name: "InsufficientAssets";
|
|
104
|
+
readonly type: "error";
|
|
105
|
+
}, {
|
|
106
|
+
readonly inputs: readonly [];
|
|
107
|
+
readonly name: "InsufficientBalanceToPayPythFee";
|
|
108
|
+
readonly type: "error";
|
|
109
|
+
}, {
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly internalType: "uint256";
|
|
112
|
+
readonly name: "amount";
|
|
113
|
+
readonly type: "uint256";
|
|
114
|
+
}];
|
|
115
|
+
readonly name: "InsufficientRecapitalizeAmount";
|
|
116
|
+
readonly type: "error";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [];
|
|
119
|
+
readonly name: "InvalidCustodyInfoInput";
|
|
120
|
+
readonly type: "error";
|
|
121
|
+
}, {
|
|
122
|
+
readonly inputs: readonly [];
|
|
123
|
+
readonly name: "InvalidInitialization";
|
|
124
|
+
readonly type: "error";
|
|
125
|
+
}, {
|
|
126
|
+
readonly inputs: readonly [];
|
|
127
|
+
readonly name: "LiquidationDisabled";
|
|
128
|
+
readonly type: "error";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly name: "LiquidationWithReferenceCollateral";
|
|
132
|
+
readonly type: "error";
|
|
133
|
+
}, {
|
|
134
|
+
readonly inputs: readonly [{
|
|
135
|
+
readonly internalType: "address";
|
|
136
|
+
readonly name: "owner";
|
|
137
|
+
readonly type: "address";
|
|
138
|
+
}, {
|
|
139
|
+
readonly internalType: "address";
|
|
140
|
+
readonly name: "expectedOwner";
|
|
141
|
+
readonly type: "address";
|
|
142
|
+
}];
|
|
143
|
+
readonly name: "MismatchedOwner";
|
|
144
|
+
readonly type: "error";
|
|
145
|
+
}, {
|
|
146
|
+
readonly inputs: readonly [];
|
|
147
|
+
readonly name: "NotFactory";
|
|
148
|
+
readonly type: "error";
|
|
149
|
+
}, {
|
|
150
|
+
readonly inputs: readonly [];
|
|
151
|
+
readonly name: "NotInitializing";
|
|
152
|
+
readonly type: "error";
|
|
153
|
+
}, {
|
|
154
|
+
readonly inputs: readonly [{
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "asset";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "NotPegged";
|
|
160
|
+
readonly type: "error";
|
|
161
|
+
}, {
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly internalType: "uint256";
|
|
164
|
+
readonly name: "rate";
|
|
165
|
+
readonly type: "uint256";
|
|
166
|
+
}];
|
|
167
|
+
readonly name: "OverOneHundredPercentRate";
|
|
168
|
+
readonly type: "error";
|
|
169
|
+
}, {
|
|
170
|
+
readonly inputs: readonly [{
|
|
171
|
+
readonly internalType: "address";
|
|
172
|
+
readonly name: "asset";
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
}];
|
|
175
|
+
readonly name: "RecapitalizeNotNeeded";
|
|
176
|
+
readonly type: "error";
|
|
177
|
+
}, {
|
|
178
|
+
readonly inputs: readonly [];
|
|
179
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
180
|
+
readonly type: "error";
|
|
181
|
+
}, {
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly internalType: "bytes32";
|
|
184
|
+
readonly name: "slot";
|
|
185
|
+
readonly type: "bytes32";
|
|
186
|
+
}];
|
|
187
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
188
|
+
readonly type: "error";
|
|
189
|
+
}, {
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly name: "caller";
|
|
193
|
+
readonly type: "address";
|
|
194
|
+
}, {
|
|
195
|
+
readonly internalType: "address";
|
|
196
|
+
readonly name: "expectedCaller";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
}];
|
|
199
|
+
readonly name: "UnauthorizedCaller";
|
|
200
|
+
readonly type: "error";
|
|
201
|
+
}, {
|
|
202
|
+
readonly inputs: readonly [{
|
|
203
|
+
readonly internalType: "uint256";
|
|
204
|
+
readonly name: "rate";
|
|
205
|
+
readonly type: "uint256";
|
|
206
|
+
}];
|
|
207
|
+
readonly name: "UnderNinetyEightPercentRate";
|
|
208
|
+
readonly type: "error";
|
|
209
|
+
}, {
|
|
210
|
+
readonly inputs: readonly [];
|
|
211
|
+
readonly name: "UnexpectedBasketModeStatus";
|
|
212
|
+
readonly type: "error";
|
|
213
|
+
}, {
|
|
214
|
+
readonly inputs: readonly [{
|
|
215
|
+
readonly internalType: "address";
|
|
216
|
+
readonly name: "asset";
|
|
217
|
+
readonly type: "address";
|
|
218
|
+
}];
|
|
219
|
+
readonly name: "VaultAlreadyRegistered";
|
|
220
|
+
readonly type: "error";
|
|
221
|
+
}, {
|
|
222
|
+
readonly inputs: readonly [];
|
|
223
|
+
readonly name: "VaultPaused";
|
|
224
|
+
readonly type: "error";
|
|
225
|
+
}, {
|
|
226
|
+
readonly inputs: readonly [];
|
|
227
|
+
readonly name: "ZeroAddress";
|
|
228
|
+
readonly type: "error";
|
|
229
|
+
}, {
|
|
230
|
+
readonly inputs: readonly [];
|
|
231
|
+
readonly name: "ZeroAmount";
|
|
232
|
+
readonly type: "error";
|
|
233
|
+
}, {
|
|
234
|
+
readonly inputs: readonly [{
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
readonly name: "asset";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
}];
|
|
239
|
+
readonly name: "ZeroWeight";
|
|
240
|
+
readonly type: "error";
|
|
241
|
+
}, {
|
|
242
|
+
readonly anonymous: false;
|
|
243
|
+
readonly inputs: readonly [{
|
|
244
|
+
readonly indexed: false;
|
|
245
|
+
readonly internalType: "bool";
|
|
246
|
+
readonly name: "forced";
|
|
247
|
+
readonly type: "bool";
|
|
248
|
+
}];
|
|
249
|
+
readonly name: "BasketModeForced";
|
|
250
|
+
readonly type: "event";
|
|
251
|
+
}, {
|
|
252
|
+
readonly anonymous: false;
|
|
253
|
+
readonly inputs: readonly [{
|
|
254
|
+
readonly indexed: true;
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
readonly name: "asset";
|
|
257
|
+
readonly type: "address";
|
|
258
|
+
}, {
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "bool";
|
|
261
|
+
readonly name: "isBadCollateral";
|
|
262
|
+
readonly type: "bool";
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "CollateralAssetStatusSet";
|
|
265
|
+
readonly type: "event";
|
|
266
|
+
}, {
|
|
267
|
+
readonly anonymous: false;
|
|
268
|
+
readonly inputs: readonly [{
|
|
269
|
+
readonly indexed: true;
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
readonly name: "asset";
|
|
272
|
+
readonly type: "address";
|
|
273
|
+
}, {
|
|
274
|
+
readonly indexed: true;
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly name: "receiver";
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
}, {
|
|
279
|
+
readonly indexed: false;
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
readonly name: "shares";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}, {
|
|
284
|
+
readonly indexed: false;
|
|
285
|
+
readonly internalType: "uint256";
|
|
286
|
+
readonly name: "assets";
|
|
287
|
+
readonly type: "uint256";
|
|
288
|
+
}];
|
|
289
|
+
readonly name: "CollectedFeeWithdrawn";
|
|
290
|
+
readonly type: "event";
|
|
291
|
+
}, {
|
|
292
|
+
readonly anonymous: false;
|
|
293
|
+
readonly inputs: readonly [{
|
|
294
|
+
readonly indexed: false;
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
readonly name: "asset";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
}, {
|
|
299
|
+
readonly indexed: false;
|
|
300
|
+
readonly internalType: "uint256";
|
|
301
|
+
readonly name: "lower";
|
|
302
|
+
readonly type: "uint256";
|
|
303
|
+
}, {
|
|
304
|
+
readonly indexed: false;
|
|
305
|
+
readonly internalType: "uint256";
|
|
306
|
+
readonly name: "upper";
|
|
307
|
+
readonly type: "uint256";
|
|
308
|
+
}];
|
|
309
|
+
readonly name: "DepegOffsetsSet";
|
|
310
|
+
readonly type: "event";
|
|
311
|
+
}, {
|
|
312
|
+
readonly anonymous: false;
|
|
313
|
+
readonly inputs: readonly [{
|
|
314
|
+
readonly indexed: true;
|
|
315
|
+
readonly internalType: "address";
|
|
316
|
+
readonly name: "feeReceiver";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}];
|
|
319
|
+
readonly name: "FeeReceiverSet";
|
|
320
|
+
readonly type: "event";
|
|
321
|
+
}, {
|
|
322
|
+
readonly anonymous: false;
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly indexed: false;
|
|
325
|
+
readonly internalType: "uint256";
|
|
326
|
+
readonly name: "globalCap";
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
}];
|
|
329
|
+
readonly name: "GlobalCapSet";
|
|
330
|
+
readonly type: "event";
|
|
331
|
+
}, {
|
|
332
|
+
readonly anonymous: false;
|
|
333
|
+
readonly inputs: readonly [{
|
|
334
|
+
readonly indexed: true;
|
|
335
|
+
readonly internalType: "address";
|
|
336
|
+
readonly name: "from";
|
|
337
|
+
readonly type: "address";
|
|
338
|
+
}, {
|
|
339
|
+
readonly indexed: true;
|
|
340
|
+
readonly internalType: "address";
|
|
341
|
+
readonly name: "to";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}, {
|
|
344
|
+
readonly indexed: true;
|
|
345
|
+
readonly internalType: "address";
|
|
346
|
+
readonly name: "asset";
|
|
347
|
+
readonly type: "address";
|
|
348
|
+
}, {
|
|
349
|
+
readonly indexed: false;
|
|
350
|
+
readonly internalType: "uint256";
|
|
351
|
+
readonly name: "assetAmount";
|
|
352
|
+
readonly type: "uint256";
|
|
353
|
+
}, {
|
|
354
|
+
readonly indexed: false;
|
|
355
|
+
readonly internalType: "uint256";
|
|
356
|
+
readonly name: "mintAmount";
|
|
357
|
+
readonly type: "uint256";
|
|
358
|
+
}];
|
|
359
|
+
readonly name: "HoneyMinted";
|
|
360
|
+
readonly type: "event";
|
|
361
|
+
}, {
|
|
362
|
+
readonly anonymous: false;
|
|
363
|
+
readonly inputs: readonly [{
|
|
364
|
+
readonly indexed: true;
|
|
365
|
+
readonly internalType: "address";
|
|
366
|
+
readonly name: "from";
|
|
367
|
+
readonly type: "address";
|
|
368
|
+
}, {
|
|
369
|
+
readonly indexed: true;
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
readonly name: "to";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
}, {
|
|
374
|
+
readonly indexed: true;
|
|
375
|
+
readonly internalType: "address";
|
|
376
|
+
readonly name: "asset";
|
|
377
|
+
readonly type: "address";
|
|
378
|
+
}, {
|
|
379
|
+
readonly indexed: false;
|
|
380
|
+
readonly internalType: "uint256";
|
|
381
|
+
readonly name: "assetAmount";
|
|
382
|
+
readonly type: "uint256";
|
|
383
|
+
}, {
|
|
384
|
+
readonly indexed: false;
|
|
385
|
+
readonly internalType: "uint256";
|
|
386
|
+
readonly name: "redeemAmount";
|
|
387
|
+
readonly type: "uint256";
|
|
388
|
+
}];
|
|
389
|
+
readonly name: "HoneyRedeemed";
|
|
390
|
+
readonly type: "event";
|
|
391
|
+
}, {
|
|
392
|
+
readonly anonymous: false;
|
|
393
|
+
readonly inputs: readonly [{
|
|
394
|
+
readonly indexed: false;
|
|
395
|
+
readonly internalType: "uint64";
|
|
396
|
+
readonly name: "version";
|
|
397
|
+
readonly type: "uint64";
|
|
398
|
+
}];
|
|
399
|
+
readonly name: "Initialized";
|
|
400
|
+
readonly type: "event";
|
|
401
|
+
}, {
|
|
402
|
+
readonly anonymous: false;
|
|
403
|
+
readonly inputs: readonly [{
|
|
404
|
+
readonly indexed: false;
|
|
405
|
+
readonly internalType: "address";
|
|
406
|
+
readonly name: "badAsset";
|
|
407
|
+
readonly type: "address";
|
|
408
|
+
}, {
|
|
409
|
+
readonly indexed: false;
|
|
410
|
+
readonly internalType: "address";
|
|
411
|
+
readonly name: "goodAsset";
|
|
412
|
+
readonly type: "address";
|
|
413
|
+
}, {
|
|
414
|
+
readonly indexed: false;
|
|
415
|
+
readonly internalType: "uint256";
|
|
416
|
+
readonly name: "amount";
|
|
417
|
+
readonly type: "uint256";
|
|
418
|
+
}, {
|
|
419
|
+
readonly indexed: false;
|
|
420
|
+
readonly internalType: "address";
|
|
421
|
+
readonly name: "sender";
|
|
422
|
+
readonly type: "address";
|
|
423
|
+
}];
|
|
424
|
+
readonly name: "Liquidated";
|
|
425
|
+
readonly type: "event";
|
|
426
|
+
}, {
|
|
427
|
+
readonly anonymous: false;
|
|
428
|
+
readonly inputs: readonly [{
|
|
429
|
+
readonly indexed: false;
|
|
430
|
+
readonly internalType: "address";
|
|
431
|
+
readonly name: "asset";
|
|
432
|
+
readonly type: "address";
|
|
433
|
+
}, {
|
|
434
|
+
readonly indexed: false;
|
|
435
|
+
readonly internalType: "uint256";
|
|
436
|
+
readonly name: "rate";
|
|
437
|
+
readonly type: "uint256";
|
|
438
|
+
}];
|
|
439
|
+
readonly name: "LiquidationRateSet";
|
|
440
|
+
readonly type: "event";
|
|
441
|
+
}, {
|
|
442
|
+
readonly anonymous: false;
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly indexed: false;
|
|
445
|
+
readonly internalType: "bool";
|
|
446
|
+
readonly name: "enabled";
|
|
447
|
+
readonly type: "bool";
|
|
448
|
+
}];
|
|
449
|
+
readonly name: "LiquidationStatusSet";
|
|
450
|
+
readonly type: "event";
|
|
451
|
+
}, {
|
|
452
|
+
readonly anonymous: false;
|
|
453
|
+
readonly inputs: readonly [{
|
|
454
|
+
readonly indexed: false;
|
|
455
|
+
readonly internalType: "uint256";
|
|
456
|
+
readonly name: "maxFeedDelay";
|
|
457
|
+
readonly type: "uint256";
|
|
458
|
+
}];
|
|
459
|
+
readonly name: "MaxFeedDelaySet";
|
|
460
|
+
readonly type: "event";
|
|
461
|
+
}, {
|
|
462
|
+
readonly anonymous: false;
|
|
463
|
+
readonly inputs: readonly [{
|
|
464
|
+
readonly indexed: false;
|
|
465
|
+
readonly internalType: "uint256";
|
|
466
|
+
readonly name: "minShareAmount";
|
|
467
|
+
readonly type: "uint256";
|
|
468
|
+
}];
|
|
469
|
+
readonly name: "MinSharesToRecapitalizeSet";
|
|
470
|
+
readonly type: "event";
|
|
471
|
+
}, {
|
|
472
|
+
readonly anonymous: false;
|
|
473
|
+
readonly inputs: readonly [{
|
|
474
|
+
readonly indexed: true;
|
|
475
|
+
readonly internalType: "address";
|
|
476
|
+
readonly name: "asset";
|
|
477
|
+
readonly type: "address";
|
|
478
|
+
}, {
|
|
479
|
+
readonly indexed: false;
|
|
480
|
+
readonly internalType: "uint256";
|
|
481
|
+
readonly name: "rate";
|
|
482
|
+
readonly type: "uint256";
|
|
483
|
+
}];
|
|
484
|
+
readonly name: "MintRateSet";
|
|
485
|
+
readonly type: "event";
|
|
486
|
+
}, {
|
|
487
|
+
readonly anonymous: false;
|
|
488
|
+
readonly inputs: readonly [{
|
|
489
|
+
readonly indexed: false;
|
|
490
|
+
readonly internalType: "uint256";
|
|
491
|
+
readonly name: "rate";
|
|
492
|
+
readonly type: "uint256";
|
|
493
|
+
}];
|
|
494
|
+
readonly name: "POLFeeCollectorFeeRateSet";
|
|
495
|
+
readonly type: "event";
|
|
496
|
+
}, {
|
|
497
|
+
readonly anonymous: false;
|
|
498
|
+
readonly inputs: readonly [{
|
|
499
|
+
readonly indexed: true;
|
|
500
|
+
readonly internalType: "address";
|
|
501
|
+
readonly name: "polFeeCollector";
|
|
502
|
+
readonly type: "address";
|
|
503
|
+
}];
|
|
504
|
+
readonly name: "POLFeeCollectorSet";
|
|
505
|
+
readonly type: "event";
|
|
506
|
+
}, {
|
|
507
|
+
readonly anonymous: false;
|
|
508
|
+
readonly inputs: readonly [{
|
|
509
|
+
readonly indexed: false;
|
|
510
|
+
readonly internalType: "address";
|
|
511
|
+
readonly name: "account";
|
|
512
|
+
readonly type: "address";
|
|
513
|
+
}];
|
|
514
|
+
readonly name: "Paused";
|
|
515
|
+
readonly type: "event";
|
|
516
|
+
}, {
|
|
517
|
+
readonly anonymous: false;
|
|
518
|
+
readonly inputs: readonly [{
|
|
519
|
+
readonly indexed: true;
|
|
520
|
+
readonly internalType: "address";
|
|
521
|
+
readonly name: "asset";
|
|
522
|
+
readonly type: "address";
|
|
523
|
+
}, {
|
|
524
|
+
readonly indexed: false;
|
|
525
|
+
readonly internalType: "bytes32";
|
|
526
|
+
readonly name: "id";
|
|
527
|
+
readonly type: "bytes32";
|
|
528
|
+
}];
|
|
529
|
+
readonly name: "PriceFeedChanged";
|
|
530
|
+
readonly type: "event";
|
|
531
|
+
}, {
|
|
532
|
+
readonly anonymous: false;
|
|
533
|
+
readonly inputs: readonly [{
|
|
534
|
+
readonly indexed: false;
|
|
535
|
+
readonly internalType: "address";
|
|
536
|
+
readonly name: "oracle";
|
|
537
|
+
readonly type: "address";
|
|
538
|
+
}];
|
|
539
|
+
readonly name: "PriceOracleSet";
|
|
540
|
+
readonly type: "event";
|
|
541
|
+
}, {
|
|
542
|
+
readonly anonymous: false;
|
|
543
|
+
readonly inputs: readonly [{
|
|
544
|
+
readonly indexed: false;
|
|
545
|
+
readonly internalType: "address";
|
|
546
|
+
readonly name: "asset";
|
|
547
|
+
readonly type: "address";
|
|
548
|
+
}, {
|
|
549
|
+
readonly indexed: false;
|
|
550
|
+
readonly internalType: "uint256";
|
|
551
|
+
readonly name: "target";
|
|
552
|
+
readonly type: "uint256";
|
|
553
|
+
}];
|
|
554
|
+
readonly name: "RecapitalizeBalanceThresholdSet";
|
|
555
|
+
readonly type: "event";
|
|
556
|
+
}, {
|
|
557
|
+
readonly anonymous: false;
|
|
558
|
+
readonly inputs: readonly [{
|
|
559
|
+
readonly indexed: false;
|
|
560
|
+
readonly internalType: "address";
|
|
561
|
+
readonly name: "asset";
|
|
562
|
+
readonly type: "address";
|
|
563
|
+
}, {
|
|
564
|
+
readonly indexed: false;
|
|
565
|
+
readonly internalType: "uint256";
|
|
566
|
+
readonly name: "amount";
|
|
567
|
+
readonly type: "uint256";
|
|
568
|
+
}, {
|
|
569
|
+
readonly indexed: false;
|
|
570
|
+
readonly internalType: "address";
|
|
571
|
+
readonly name: "sender";
|
|
572
|
+
readonly type: "address";
|
|
573
|
+
}];
|
|
574
|
+
readonly name: "Recapitalized";
|
|
575
|
+
readonly type: "event";
|
|
576
|
+
}, {
|
|
577
|
+
readonly anonymous: false;
|
|
578
|
+
readonly inputs: readonly [{
|
|
579
|
+
readonly indexed: true;
|
|
580
|
+
readonly internalType: "address";
|
|
581
|
+
readonly name: "asset";
|
|
582
|
+
readonly type: "address";
|
|
583
|
+
}, {
|
|
584
|
+
readonly indexed: false;
|
|
585
|
+
readonly internalType: "uint256";
|
|
586
|
+
readonly name: "rate";
|
|
587
|
+
readonly type: "uint256";
|
|
588
|
+
}];
|
|
589
|
+
readonly name: "RedeemRateSet";
|
|
590
|
+
readonly type: "event";
|
|
591
|
+
}, {
|
|
592
|
+
readonly anonymous: false;
|
|
593
|
+
readonly inputs: readonly [{
|
|
594
|
+
readonly indexed: false;
|
|
595
|
+
readonly internalType: "address";
|
|
596
|
+
readonly name: "old";
|
|
597
|
+
readonly type: "address";
|
|
598
|
+
}, {
|
|
599
|
+
readonly indexed: false;
|
|
600
|
+
readonly internalType: "address";
|
|
601
|
+
readonly name: "asset";
|
|
602
|
+
readonly type: "address";
|
|
603
|
+
}];
|
|
604
|
+
readonly name: "ReferenceCollateralSet";
|
|
605
|
+
readonly type: "event";
|
|
606
|
+
}, {
|
|
607
|
+
readonly anonymous: false;
|
|
608
|
+
readonly inputs: readonly [{
|
|
609
|
+
readonly indexed: false;
|
|
610
|
+
readonly internalType: "address";
|
|
611
|
+
readonly name: "asset";
|
|
612
|
+
readonly type: "address";
|
|
613
|
+
}, {
|
|
614
|
+
readonly indexed: false;
|
|
615
|
+
readonly internalType: "uint256";
|
|
616
|
+
readonly name: "relativeCap";
|
|
617
|
+
readonly type: "uint256";
|
|
618
|
+
}];
|
|
619
|
+
readonly name: "RelativeCapSet";
|
|
620
|
+
readonly type: "event";
|
|
621
|
+
}, {
|
|
622
|
+
readonly anonymous: false;
|
|
623
|
+
readonly inputs: readonly [{
|
|
624
|
+
readonly indexed: true;
|
|
625
|
+
readonly internalType: "bytes32";
|
|
626
|
+
readonly name: "role";
|
|
627
|
+
readonly type: "bytes32";
|
|
628
|
+
}, {
|
|
629
|
+
readonly indexed: true;
|
|
630
|
+
readonly internalType: "bytes32";
|
|
631
|
+
readonly name: "previousAdminRole";
|
|
632
|
+
readonly type: "bytes32";
|
|
633
|
+
}, {
|
|
634
|
+
readonly indexed: true;
|
|
635
|
+
readonly internalType: "bytes32";
|
|
636
|
+
readonly name: "newAdminRole";
|
|
637
|
+
readonly type: "bytes32";
|
|
638
|
+
}];
|
|
639
|
+
readonly name: "RoleAdminChanged";
|
|
640
|
+
readonly type: "event";
|
|
641
|
+
}, {
|
|
642
|
+
readonly anonymous: false;
|
|
643
|
+
readonly inputs: readonly [{
|
|
644
|
+
readonly indexed: true;
|
|
645
|
+
readonly internalType: "bytes32";
|
|
646
|
+
readonly name: "role";
|
|
647
|
+
readonly type: "bytes32";
|
|
648
|
+
}, {
|
|
649
|
+
readonly indexed: true;
|
|
650
|
+
readonly internalType: "address";
|
|
651
|
+
readonly name: "account";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
}, {
|
|
654
|
+
readonly indexed: true;
|
|
655
|
+
readonly internalType: "address";
|
|
656
|
+
readonly name: "sender";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
}];
|
|
659
|
+
readonly name: "RoleGranted";
|
|
660
|
+
readonly type: "event";
|
|
661
|
+
}, {
|
|
662
|
+
readonly anonymous: false;
|
|
663
|
+
readonly inputs: readonly [{
|
|
664
|
+
readonly indexed: true;
|
|
665
|
+
readonly internalType: "bytes32";
|
|
666
|
+
readonly name: "role";
|
|
667
|
+
readonly type: "bytes32";
|
|
668
|
+
}, {
|
|
669
|
+
readonly indexed: true;
|
|
670
|
+
readonly internalType: "address";
|
|
671
|
+
readonly name: "account";
|
|
672
|
+
readonly type: "address";
|
|
673
|
+
}, {
|
|
674
|
+
readonly indexed: true;
|
|
675
|
+
readonly internalType: "address";
|
|
676
|
+
readonly name: "sender";
|
|
677
|
+
readonly type: "address";
|
|
678
|
+
}];
|
|
679
|
+
readonly name: "RoleRevoked";
|
|
680
|
+
readonly type: "event";
|
|
681
|
+
}, {
|
|
682
|
+
readonly anonymous: false;
|
|
683
|
+
readonly inputs: readonly [{
|
|
684
|
+
readonly indexed: false;
|
|
685
|
+
readonly internalType: "address";
|
|
686
|
+
readonly name: "account";
|
|
687
|
+
readonly type: "address";
|
|
688
|
+
}];
|
|
689
|
+
readonly name: "Unpaused";
|
|
690
|
+
readonly type: "event";
|
|
691
|
+
}, {
|
|
692
|
+
readonly anonymous: false;
|
|
693
|
+
readonly inputs: readonly [{
|
|
694
|
+
readonly indexed: true;
|
|
695
|
+
readonly internalType: "address";
|
|
696
|
+
readonly name: "implementation";
|
|
697
|
+
readonly type: "address";
|
|
698
|
+
}];
|
|
699
|
+
readonly name: "Upgraded";
|
|
700
|
+
readonly type: "event";
|
|
701
|
+
}, {
|
|
702
|
+
readonly anonymous: false;
|
|
703
|
+
readonly inputs: readonly [{
|
|
704
|
+
readonly indexed: true;
|
|
705
|
+
readonly internalType: "address";
|
|
706
|
+
readonly name: "vault";
|
|
707
|
+
readonly type: "address";
|
|
708
|
+
}, {
|
|
709
|
+
readonly indexed: true;
|
|
710
|
+
readonly internalType: "address";
|
|
711
|
+
readonly name: "asset";
|
|
712
|
+
readonly type: "address";
|
|
713
|
+
}];
|
|
714
|
+
readonly name: "VaultCreated";
|
|
715
|
+
readonly type: "event";
|
|
716
|
+
}, {
|
|
717
|
+
readonly inputs: readonly [];
|
|
718
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
719
|
+
readonly outputs: readonly [{
|
|
720
|
+
readonly internalType: "bytes32";
|
|
721
|
+
readonly name: "";
|
|
722
|
+
readonly type: "bytes32";
|
|
723
|
+
}];
|
|
724
|
+
readonly stateMutability: "view";
|
|
725
|
+
readonly type: "function";
|
|
726
|
+
}, {
|
|
727
|
+
readonly inputs: readonly [];
|
|
728
|
+
readonly name: "MANAGER_ROLE";
|
|
729
|
+
readonly outputs: readonly [{
|
|
730
|
+
readonly internalType: "bytes32";
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "bytes32";
|
|
733
|
+
}];
|
|
734
|
+
readonly stateMutability: "view";
|
|
735
|
+
readonly type: "function";
|
|
736
|
+
}, {
|
|
737
|
+
readonly inputs: readonly [];
|
|
738
|
+
readonly name: "PAUSER_ROLE";
|
|
739
|
+
readonly outputs: readonly [{
|
|
740
|
+
readonly internalType: "bytes32";
|
|
741
|
+
readonly name: "";
|
|
742
|
+
readonly type: "bytes32";
|
|
743
|
+
}];
|
|
744
|
+
readonly stateMutability: "view";
|
|
745
|
+
readonly type: "function";
|
|
746
|
+
}, {
|
|
747
|
+
readonly inputs: readonly [];
|
|
748
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
749
|
+
readonly outputs: readonly [{
|
|
750
|
+
readonly internalType: "string";
|
|
751
|
+
readonly name: "";
|
|
752
|
+
readonly type: "string";
|
|
753
|
+
}];
|
|
754
|
+
readonly stateMutability: "view";
|
|
755
|
+
readonly type: "function";
|
|
756
|
+
}, {
|
|
757
|
+
readonly inputs: readonly [];
|
|
758
|
+
readonly name: "beacon";
|
|
759
|
+
readonly outputs: readonly [{
|
|
760
|
+
readonly internalType: "address";
|
|
761
|
+
readonly name: "";
|
|
762
|
+
readonly type: "address";
|
|
763
|
+
}];
|
|
764
|
+
readonly stateMutability: "view";
|
|
765
|
+
readonly type: "function";
|
|
766
|
+
}, {
|
|
767
|
+
readonly inputs: readonly [{
|
|
768
|
+
readonly internalType: "address";
|
|
769
|
+
readonly name: "asset";
|
|
770
|
+
readonly type: "address";
|
|
771
|
+
}];
|
|
772
|
+
readonly name: "collectedAssetFees";
|
|
773
|
+
readonly outputs: readonly [{
|
|
774
|
+
readonly internalType: "uint256";
|
|
775
|
+
readonly name: "collectedFee";
|
|
776
|
+
readonly type: "uint256";
|
|
777
|
+
}];
|
|
778
|
+
readonly stateMutability: "view";
|
|
779
|
+
readonly type: "function";
|
|
780
|
+
}, {
|
|
781
|
+
readonly inputs: readonly [{
|
|
782
|
+
readonly internalType: "address";
|
|
783
|
+
readonly name: "receiver";
|
|
784
|
+
readonly type: "address";
|
|
785
|
+
}, {
|
|
786
|
+
readonly internalType: "address";
|
|
787
|
+
readonly name: "asset";
|
|
788
|
+
readonly type: "address";
|
|
789
|
+
}];
|
|
790
|
+
readonly name: "collectedFees";
|
|
791
|
+
readonly outputs: readonly [{
|
|
792
|
+
readonly internalType: "uint256";
|
|
793
|
+
readonly name: "collectedFee";
|
|
794
|
+
readonly type: "uint256";
|
|
795
|
+
}];
|
|
796
|
+
readonly stateMutability: "view";
|
|
797
|
+
readonly type: "function";
|
|
798
|
+
}, {
|
|
799
|
+
readonly inputs: readonly [{
|
|
800
|
+
readonly internalType: "address";
|
|
801
|
+
readonly name: "asset";
|
|
802
|
+
readonly type: "address";
|
|
803
|
+
}];
|
|
804
|
+
readonly name: "createVault";
|
|
805
|
+
readonly outputs: readonly [{
|
|
806
|
+
readonly internalType: "contract ERC4626";
|
|
807
|
+
readonly name: "vault";
|
|
808
|
+
readonly type: "address";
|
|
809
|
+
}];
|
|
810
|
+
readonly stateMutability: "nonpayable";
|
|
811
|
+
readonly type: "function";
|
|
812
|
+
}, {
|
|
813
|
+
readonly inputs: readonly [];
|
|
814
|
+
readonly name: "feeReceiver";
|
|
815
|
+
readonly outputs: readonly [{
|
|
816
|
+
readonly internalType: "address";
|
|
817
|
+
readonly name: "";
|
|
818
|
+
readonly type: "address";
|
|
819
|
+
}];
|
|
820
|
+
readonly stateMutability: "view";
|
|
821
|
+
readonly type: "function";
|
|
822
|
+
}, {
|
|
823
|
+
readonly inputs: readonly [];
|
|
824
|
+
readonly name: "forcedBasketMode";
|
|
825
|
+
readonly outputs: readonly [{
|
|
826
|
+
readonly internalType: "bool";
|
|
827
|
+
readonly name: "";
|
|
828
|
+
readonly type: "bool";
|
|
829
|
+
}];
|
|
830
|
+
readonly stateMutability: "view";
|
|
831
|
+
readonly type: "function";
|
|
832
|
+
}, {
|
|
833
|
+
readonly inputs: readonly [{
|
|
834
|
+
readonly internalType: "bytes32";
|
|
835
|
+
readonly name: "role";
|
|
836
|
+
readonly type: "bytes32";
|
|
837
|
+
}];
|
|
838
|
+
readonly name: "getRoleAdmin";
|
|
839
|
+
readonly outputs: readonly [{
|
|
840
|
+
readonly internalType: "bytes32";
|
|
841
|
+
readonly name: "";
|
|
842
|
+
readonly type: "bytes32";
|
|
843
|
+
}];
|
|
844
|
+
readonly stateMutability: "view";
|
|
845
|
+
readonly type: "function";
|
|
846
|
+
}, {
|
|
847
|
+
readonly inputs: readonly [];
|
|
848
|
+
readonly name: "getWeights";
|
|
849
|
+
readonly outputs: readonly [{
|
|
850
|
+
readonly internalType: "uint256[]";
|
|
851
|
+
readonly name: "w";
|
|
852
|
+
readonly type: "uint256[]";
|
|
853
|
+
}];
|
|
854
|
+
readonly stateMutability: "view";
|
|
855
|
+
readonly type: "function";
|
|
856
|
+
}, {
|
|
857
|
+
readonly inputs: readonly [];
|
|
858
|
+
readonly name: "globalCap";
|
|
859
|
+
readonly outputs: readonly [{
|
|
860
|
+
readonly internalType: "uint256";
|
|
861
|
+
readonly name: "";
|
|
862
|
+
readonly type: "uint256";
|
|
863
|
+
}];
|
|
864
|
+
readonly stateMutability: "view";
|
|
865
|
+
readonly type: "function";
|
|
866
|
+
}, {
|
|
867
|
+
readonly inputs: readonly [{
|
|
868
|
+
readonly internalType: "bytes32";
|
|
869
|
+
readonly name: "role";
|
|
870
|
+
readonly type: "bytes32";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "address";
|
|
873
|
+
readonly name: "account";
|
|
874
|
+
readonly type: "address";
|
|
875
|
+
}];
|
|
876
|
+
readonly name: "grantRole";
|
|
877
|
+
readonly outputs: readonly [];
|
|
878
|
+
readonly stateMutability: "nonpayable";
|
|
879
|
+
readonly type: "function";
|
|
880
|
+
}, {
|
|
881
|
+
readonly inputs: readonly [{
|
|
882
|
+
readonly internalType: "bytes32";
|
|
883
|
+
readonly name: "role";
|
|
884
|
+
readonly type: "bytes32";
|
|
885
|
+
}, {
|
|
886
|
+
readonly internalType: "address";
|
|
887
|
+
readonly name: "account";
|
|
888
|
+
readonly type: "address";
|
|
889
|
+
}];
|
|
890
|
+
readonly name: "hasRole";
|
|
891
|
+
readonly outputs: readonly [{
|
|
892
|
+
readonly internalType: "bool";
|
|
893
|
+
readonly name: "";
|
|
894
|
+
readonly type: "bool";
|
|
895
|
+
}];
|
|
896
|
+
readonly stateMutability: "view";
|
|
897
|
+
readonly type: "function";
|
|
898
|
+
}, {
|
|
899
|
+
readonly inputs: readonly [];
|
|
900
|
+
readonly name: "honey";
|
|
901
|
+
readonly outputs: readonly [{
|
|
902
|
+
readonly internalType: "contract Honey";
|
|
903
|
+
readonly name: "";
|
|
904
|
+
readonly type: "address";
|
|
905
|
+
}];
|
|
906
|
+
readonly stateMutability: "view";
|
|
907
|
+
readonly type: "function";
|
|
908
|
+
}, {
|
|
909
|
+
readonly inputs: readonly [{
|
|
910
|
+
readonly internalType: "address";
|
|
911
|
+
readonly name: "_governance";
|
|
912
|
+
readonly type: "address";
|
|
913
|
+
}, {
|
|
914
|
+
readonly internalType: "address";
|
|
915
|
+
readonly name: "_honey";
|
|
916
|
+
readonly type: "address";
|
|
917
|
+
}, {
|
|
918
|
+
readonly internalType: "address";
|
|
919
|
+
readonly name: "_polFeeCollector";
|
|
920
|
+
readonly type: "address";
|
|
921
|
+
}, {
|
|
922
|
+
readonly internalType: "address";
|
|
923
|
+
readonly name: "_feeReceiver";
|
|
924
|
+
readonly type: "address";
|
|
925
|
+
}, {
|
|
926
|
+
readonly internalType: "address";
|
|
927
|
+
readonly name: "_priceOracle";
|
|
928
|
+
readonly type: "address";
|
|
929
|
+
}, {
|
|
930
|
+
readonly internalType: "address";
|
|
931
|
+
readonly name: "_beacon";
|
|
932
|
+
readonly type: "address";
|
|
933
|
+
}];
|
|
934
|
+
readonly name: "initialize";
|
|
935
|
+
readonly outputs: readonly [];
|
|
936
|
+
readonly stateMutability: "nonpayable";
|
|
937
|
+
readonly type: "function";
|
|
938
|
+
}, {
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly internalType: "address";
|
|
941
|
+
readonly name: "asset";
|
|
942
|
+
readonly type: "address";
|
|
943
|
+
}];
|
|
944
|
+
readonly name: "isBadCollateralAsset";
|
|
945
|
+
readonly outputs: readonly [{
|
|
946
|
+
readonly internalType: "bool";
|
|
947
|
+
readonly name: "badCollateral";
|
|
948
|
+
readonly type: "bool";
|
|
949
|
+
}];
|
|
950
|
+
readonly stateMutability: "view";
|
|
951
|
+
readonly type: "function";
|
|
952
|
+
}, {
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly internalType: "bool";
|
|
955
|
+
readonly name: "isMint";
|
|
956
|
+
readonly type: "bool";
|
|
957
|
+
}];
|
|
958
|
+
readonly name: "isBasketModeEnabled";
|
|
959
|
+
readonly outputs: readonly [{
|
|
960
|
+
readonly internalType: "bool";
|
|
961
|
+
readonly name: "basketMode";
|
|
962
|
+
readonly type: "bool";
|
|
963
|
+
}];
|
|
964
|
+
readonly stateMutability: "view";
|
|
965
|
+
readonly type: "function";
|
|
966
|
+
}, {
|
|
967
|
+
readonly inputs: readonly [{
|
|
968
|
+
readonly internalType: "address";
|
|
969
|
+
readonly name: "asset";
|
|
970
|
+
readonly type: "address";
|
|
971
|
+
}];
|
|
972
|
+
readonly name: "isPegged";
|
|
973
|
+
readonly outputs: readonly [{
|
|
974
|
+
readonly internalType: "bool";
|
|
975
|
+
readonly name: "";
|
|
976
|
+
readonly type: "bool";
|
|
977
|
+
}];
|
|
978
|
+
readonly stateMutability: "view";
|
|
979
|
+
readonly type: "function";
|
|
980
|
+
}, {
|
|
981
|
+
readonly inputs: readonly [{
|
|
982
|
+
readonly internalType: "address";
|
|
983
|
+
readonly name: "badCollateral";
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
}, {
|
|
986
|
+
readonly internalType: "address";
|
|
987
|
+
readonly name: "goodCollateral";
|
|
988
|
+
readonly type: "address";
|
|
989
|
+
}, {
|
|
990
|
+
readonly internalType: "uint256";
|
|
991
|
+
readonly name: "goodAmount";
|
|
992
|
+
readonly type: "uint256";
|
|
993
|
+
}];
|
|
994
|
+
readonly name: "liquidate";
|
|
995
|
+
readonly outputs: readonly [{
|
|
996
|
+
readonly internalType: "uint256";
|
|
997
|
+
readonly name: "badAmount";
|
|
998
|
+
readonly type: "uint256";
|
|
999
|
+
}];
|
|
1000
|
+
readonly stateMutability: "nonpayable";
|
|
1001
|
+
readonly type: "function";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly inputs: readonly [];
|
|
1004
|
+
readonly name: "liquidationEnabled";
|
|
1005
|
+
readonly outputs: readonly [{
|
|
1006
|
+
readonly internalType: "bool";
|
|
1007
|
+
readonly name: "";
|
|
1008
|
+
readonly type: "bool";
|
|
1009
|
+
}];
|
|
1010
|
+
readonly stateMutability: "view";
|
|
1011
|
+
readonly type: "function";
|
|
1012
|
+
}, {
|
|
1013
|
+
readonly inputs: readonly [{
|
|
1014
|
+
readonly internalType: "address";
|
|
1015
|
+
readonly name: "asset";
|
|
1016
|
+
readonly type: "address";
|
|
1017
|
+
}];
|
|
1018
|
+
readonly name: "lowerPegOffsets";
|
|
1019
|
+
readonly outputs: readonly [{
|
|
1020
|
+
readonly internalType: "uint256";
|
|
1021
|
+
readonly name: "lowerPegOffset";
|
|
1022
|
+
readonly type: "uint256";
|
|
1023
|
+
}];
|
|
1024
|
+
readonly stateMutability: "view";
|
|
1025
|
+
readonly type: "function";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly inputs: readonly [];
|
|
1028
|
+
readonly name: "minSharesToRecapitalize";
|
|
1029
|
+
readonly outputs: readonly [{
|
|
1030
|
+
readonly internalType: "uint256";
|
|
1031
|
+
readonly name: "";
|
|
1032
|
+
readonly type: "uint256";
|
|
1033
|
+
}];
|
|
1034
|
+
readonly stateMutability: "view";
|
|
1035
|
+
readonly type: "function";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly inputs: readonly [{
|
|
1038
|
+
readonly internalType: "address";
|
|
1039
|
+
readonly name: "asset";
|
|
1040
|
+
readonly type: "address";
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly internalType: "uint256";
|
|
1043
|
+
readonly name: "amount";
|
|
1044
|
+
readonly type: "uint256";
|
|
1045
|
+
}, {
|
|
1046
|
+
readonly internalType: "address";
|
|
1047
|
+
readonly name: "receiver";
|
|
1048
|
+
readonly type: "address";
|
|
1049
|
+
}, {
|
|
1050
|
+
readonly internalType: "bool";
|
|
1051
|
+
readonly name: "expectBasketMode";
|
|
1052
|
+
readonly type: "bool";
|
|
1053
|
+
}];
|
|
1054
|
+
readonly name: "mint";
|
|
1055
|
+
readonly outputs: readonly [{
|
|
1056
|
+
readonly internalType: "uint256";
|
|
1057
|
+
readonly name: "honeyToMint";
|
|
1058
|
+
readonly type: "uint256";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly stateMutability: "nonpayable";
|
|
1061
|
+
readonly type: "function";
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly inputs: readonly [{
|
|
1064
|
+
readonly internalType: "address";
|
|
1065
|
+
readonly name: "asset";
|
|
1066
|
+
readonly type: "address";
|
|
1067
|
+
}];
|
|
1068
|
+
readonly name: "mintRates";
|
|
1069
|
+
readonly outputs: readonly [{
|
|
1070
|
+
readonly internalType: "uint256";
|
|
1071
|
+
readonly name: "rate";
|
|
1072
|
+
readonly type: "uint256";
|
|
1073
|
+
}];
|
|
1074
|
+
readonly stateMutability: "view";
|
|
1075
|
+
readonly type: "function";
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly inputs: readonly [];
|
|
1078
|
+
readonly name: "numRegisteredAssets";
|
|
1079
|
+
readonly outputs: readonly [{
|
|
1080
|
+
readonly internalType: "uint256";
|
|
1081
|
+
readonly name: "";
|
|
1082
|
+
readonly type: "uint256";
|
|
1083
|
+
}];
|
|
1084
|
+
readonly stateMutability: "view";
|
|
1085
|
+
readonly type: "function";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly inputs: readonly [];
|
|
1088
|
+
readonly name: "pause";
|
|
1089
|
+
readonly outputs: readonly [];
|
|
1090
|
+
readonly stateMutability: "nonpayable";
|
|
1091
|
+
readonly type: "function";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly inputs: readonly [{
|
|
1094
|
+
readonly internalType: "address";
|
|
1095
|
+
readonly name: "asset";
|
|
1096
|
+
readonly type: "address";
|
|
1097
|
+
}];
|
|
1098
|
+
readonly name: "pauseVault";
|
|
1099
|
+
readonly outputs: readonly [];
|
|
1100
|
+
readonly stateMutability: "nonpayable";
|
|
1101
|
+
readonly type: "function";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly inputs: readonly [];
|
|
1104
|
+
readonly name: "paused";
|
|
1105
|
+
readonly outputs: readonly [{
|
|
1106
|
+
readonly internalType: "bool";
|
|
1107
|
+
readonly name: "";
|
|
1108
|
+
readonly type: "bool";
|
|
1109
|
+
}];
|
|
1110
|
+
readonly stateMutability: "view";
|
|
1111
|
+
readonly type: "function";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly inputs: readonly [];
|
|
1114
|
+
readonly name: "polFeeCollector";
|
|
1115
|
+
readonly outputs: readonly [{
|
|
1116
|
+
readonly internalType: "address";
|
|
1117
|
+
readonly name: "";
|
|
1118
|
+
readonly type: "address";
|
|
1119
|
+
}];
|
|
1120
|
+
readonly stateMutability: "view";
|
|
1121
|
+
readonly type: "function";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly inputs: readonly [];
|
|
1124
|
+
readonly name: "polFeeCollectorFeeRate";
|
|
1125
|
+
readonly outputs: readonly [{
|
|
1126
|
+
readonly internalType: "uint256";
|
|
1127
|
+
readonly name: "";
|
|
1128
|
+
readonly type: "uint256";
|
|
1129
|
+
}];
|
|
1130
|
+
readonly stateMutability: "view";
|
|
1131
|
+
readonly type: "function";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly inputs: readonly [];
|
|
1134
|
+
readonly name: "priceFeedMaxDelay";
|
|
1135
|
+
readonly outputs: readonly [{
|
|
1136
|
+
readonly internalType: "uint256";
|
|
1137
|
+
readonly name: "";
|
|
1138
|
+
readonly type: "uint256";
|
|
1139
|
+
}];
|
|
1140
|
+
readonly stateMutability: "view";
|
|
1141
|
+
readonly type: "function";
|
|
1142
|
+
}, {
|
|
1143
|
+
readonly inputs: readonly [];
|
|
1144
|
+
readonly name: "priceOracle";
|
|
1145
|
+
readonly outputs: readonly [{
|
|
1146
|
+
readonly internalType: "contract IPriceOracle";
|
|
1147
|
+
readonly name: "";
|
|
1148
|
+
readonly type: "address";
|
|
1149
|
+
}];
|
|
1150
|
+
readonly stateMutability: "view";
|
|
1151
|
+
readonly type: "function";
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly inputs: readonly [];
|
|
1154
|
+
readonly name: "proxiableUUID";
|
|
1155
|
+
readonly outputs: readonly [{
|
|
1156
|
+
readonly internalType: "bytes32";
|
|
1157
|
+
readonly name: "";
|
|
1158
|
+
readonly type: "bytes32";
|
|
1159
|
+
}];
|
|
1160
|
+
readonly stateMutability: "view";
|
|
1161
|
+
readonly type: "function";
|
|
1162
|
+
}, {
|
|
1163
|
+
readonly inputs: readonly [{
|
|
1164
|
+
readonly internalType: "address";
|
|
1165
|
+
readonly name: "asset";
|
|
1166
|
+
readonly type: "address";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "uint256";
|
|
1169
|
+
readonly name: "amount";
|
|
1170
|
+
readonly type: "uint256";
|
|
1171
|
+
}];
|
|
1172
|
+
readonly name: "recapitalize";
|
|
1173
|
+
readonly outputs: readonly [];
|
|
1174
|
+
readonly stateMutability: "nonpayable";
|
|
1175
|
+
readonly type: "function";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly inputs: readonly [{
|
|
1178
|
+
readonly internalType: "address";
|
|
1179
|
+
readonly name: "asset";
|
|
1180
|
+
readonly type: "address";
|
|
1181
|
+
}];
|
|
1182
|
+
readonly name: "recapitalizeBalanceThreshold";
|
|
1183
|
+
readonly outputs: readonly [{
|
|
1184
|
+
readonly internalType: "uint256";
|
|
1185
|
+
readonly name: "targetBalance";
|
|
1186
|
+
readonly type: "uint256";
|
|
1187
|
+
}];
|
|
1188
|
+
readonly stateMutability: "view";
|
|
1189
|
+
readonly type: "function";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly inputs: readonly [{
|
|
1192
|
+
readonly internalType: "address";
|
|
1193
|
+
readonly name: "asset";
|
|
1194
|
+
readonly type: "address";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly internalType: "uint256";
|
|
1197
|
+
readonly name: "honeyAmount";
|
|
1198
|
+
readonly type: "uint256";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly internalType: "address";
|
|
1201
|
+
readonly name: "receiver";
|
|
1202
|
+
readonly type: "address";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly internalType: "bool";
|
|
1205
|
+
readonly name: "expectBasketMode";
|
|
1206
|
+
readonly type: "bool";
|
|
1207
|
+
}];
|
|
1208
|
+
readonly name: "redeem";
|
|
1209
|
+
readonly outputs: readonly [{
|
|
1210
|
+
readonly internalType: "uint256[]";
|
|
1211
|
+
readonly name: "redeemed";
|
|
1212
|
+
readonly type: "uint256[]";
|
|
1213
|
+
}];
|
|
1214
|
+
readonly stateMutability: "nonpayable";
|
|
1215
|
+
readonly type: "function";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly inputs: readonly [{
|
|
1218
|
+
readonly internalType: "address";
|
|
1219
|
+
readonly name: "asset";
|
|
1220
|
+
readonly type: "address";
|
|
1221
|
+
}];
|
|
1222
|
+
readonly name: "redeemRates";
|
|
1223
|
+
readonly outputs: readonly [{
|
|
1224
|
+
readonly internalType: "uint256";
|
|
1225
|
+
readonly name: "rate";
|
|
1226
|
+
readonly type: "uint256";
|
|
1227
|
+
}];
|
|
1228
|
+
readonly stateMutability: "view";
|
|
1229
|
+
readonly type: "function";
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly inputs: readonly [];
|
|
1232
|
+
readonly name: "referenceCollateral";
|
|
1233
|
+
readonly outputs: readonly [{
|
|
1234
|
+
readonly internalType: "address";
|
|
1235
|
+
readonly name: "";
|
|
1236
|
+
readonly type: "address";
|
|
1237
|
+
}];
|
|
1238
|
+
readonly stateMutability: "view";
|
|
1239
|
+
readonly type: "function";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly inputs: readonly [{
|
|
1242
|
+
readonly internalType: "uint256";
|
|
1243
|
+
readonly name: "";
|
|
1244
|
+
readonly type: "uint256";
|
|
1245
|
+
}];
|
|
1246
|
+
readonly name: "registeredAssets";
|
|
1247
|
+
readonly outputs: readonly [{
|
|
1248
|
+
readonly internalType: "address";
|
|
1249
|
+
readonly name: "";
|
|
1250
|
+
readonly type: "address";
|
|
1251
|
+
}];
|
|
1252
|
+
readonly stateMutability: "view";
|
|
1253
|
+
readonly type: "function";
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly inputs: readonly [{
|
|
1256
|
+
readonly internalType: "address";
|
|
1257
|
+
readonly name: "asset";
|
|
1258
|
+
readonly type: "address";
|
|
1259
|
+
}];
|
|
1260
|
+
readonly name: "relativeCap";
|
|
1261
|
+
readonly outputs: readonly [{
|
|
1262
|
+
readonly internalType: "uint256";
|
|
1263
|
+
readonly name: "limit";
|
|
1264
|
+
readonly type: "uint256";
|
|
1265
|
+
}];
|
|
1266
|
+
readonly stateMutability: "view";
|
|
1267
|
+
readonly type: "function";
|
|
1268
|
+
}, {
|
|
1269
|
+
readonly inputs: readonly [{
|
|
1270
|
+
readonly internalType: "bytes32";
|
|
1271
|
+
readonly name: "role";
|
|
1272
|
+
readonly type: "bytes32";
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly internalType: "address";
|
|
1275
|
+
readonly name: "callerConfirmation";
|
|
1276
|
+
readonly type: "address";
|
|
1277
|
+
}];
|
|
1278
|
+
readonly name: "renounceRole";
|
|
1279
|
+
readonly outputs: readonly [];
|
|
1280
|
+
readonly stateMutability: "nonpayable";
|
|
1281
|
+
readonly type: "function";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly inputs: readonly [{
|
|
1284
|
+
readonly internalType: "bytes32";
|
|
1285
|
+
readonly name: "role";
|
|
1286
|
+
readonly type: "bytes32";
|
|
1287
|
+
}, {
|
|
1288
|
+
readonly internalType: "address";
|
|
1289
|
+
readonly name: "account";
|
|
1290
|
+
readonly type: "address";
|
|
1291
|
+
}];
|
|
1292
|
+
readonly name: "revokeRole";
|
|
1293
|
+
readonly outputs: readonly [];
|
|
1294
|
+
readonly stateMutability: "nonpayable";
|
|
1295
|
+
readonly type: "function";
|
|
1296
|
+
}, {
|
|
1297
|
+
readonly inputs: readonly [{
|
|
1298
|
+
readonly internalType: "address";
|
|
1299
|
+
readonly name: "asset";
|
|
1300
|
+
readonly type: "address";
|
|
1301
|
+
}, {
|
|
1302
|
+
readonly internalType: "bool";
|
|
1303
|
+
readonly name: "_isBadCollateral";
|
|
1304
|
+
readonly type: "bool";
|
|
1305
|
+
}];
|
|
1306
|
+
readonly name: "setCollateralAssetStatus";
|
|
1307
|
+
readonly outputs: readonly [];
|
|
1308
|
+
readonly stateMutability: "nonpayable";
|
|
1309
|
+
readonly type: "function";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly inputs: readonly [{
|
|
1312
|
+
readonly internalType: "address";
|
|
1313
|
+
readonly name: "asset";
|
|
1314
|
+
readonly type: "address";
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly internalType: "bool";
|
|
1317
|
+
readonly name: "isCustodyVault";
|
|
1318
|
+
readonly type: "bool";
|
|
1319
|
+
}, {
|
|
1320
|
+
readonly internalType: "address";
|
|
1321
|
+
readonly name: "custodyAddress";
|
|
1322
|
+
readonly type: "address";
|
|
1323
|
+
}];
|
|
1324
|
+
readonly name: "setCustodyInfo";
|
|
1325
|
+
readonly outputs: readonly [];
|
|
1326
|
+
readonly stateMutability: "nonpayable";
|
|
1327
|
+
readonly type: "function";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly inputs: readonly [{
|
|
1330
|
+
readonly internalType: "address";
|
|
1331
|
+
readonly name: "asset";
|
|
1332
|
+
readonly type: "address";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly internalType: "uint256";
|
|
1335
|
+
readonly name: "lowerOffset";
|
|
1336
|
+
readonly type: "uint256";
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly internalType: "uint256";
|
|
1339
|
+
readonly name: "upperOffset";
|
|
1340
|
+
readonly type: "uint256";
|
|
1341
|
+
}];
|
|
1342
|
+
readonly name: "setDepegOffsets";
|
|
1343
|
+
readonly outputs: readonly [];
|
|
1344
|
+
readonly stateMutability: "nonpayable";
|
|
1345
|
+
readonly type: "function";
|
|
1346
|
+
}, {
|
|
1347
|
+
readonly inputs: readonly [{
|
|
1348
|
+
readonly internalType: "address";
|
|
1349
|
+
readonly name: "_feeReceiver";
|
|
1350
|
+
readonly type: "address";
|
|
1351
|
+
}];
|
|
1352
|
+
readonly name: "setFeeReceiver";
|
|
1353
|
+
readonly outputs: readonly [];
|
|
1354
|
+
readonly stateMutability: "nonpayable";
|
|
1355
|
+
readonly type: "function";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly inputs: readonly [{
|
|
1358
|
+
readonly internalType: "bool";
|
|
1359
|
+
readonly name: "forced";
|
|
1360
|
+
readonly type: "bool";
|
|
1361
|
+
}];
|
|
1362
|
+
readonly name: "setForcedBasketMode";
|
|
1363
|
+
readonly outputs: readonly [];
|
|
1364
|
+
readonly stateMutability: "nonpayable";
|
|
1365
|
+
readonly type: "function";
|
|
1366
|
+
}, {
|
|
1367
|
+
readonly inputs: readonly [{
|
|
1368
|
+
readonly internalType: "uint256";
|
|
1369
|
+
readonly name: "limit";
|
|
1370
|
+
readonly type: "uint256";
|
|
1371
|
+
}];
|
|
1372
|
+
readonly name: "setGlobalCap";
|
|
1373
|
+
readonly outputs: readonly [];
|
|
1374
|
+
readonly stateMutability: "nonpayable";
|
|
1375
|
+
readonly type: "function";
|
|
1376
|
+
}, {
|
|
1377
|
+
readonly inputs: readonly [{
|
|
1378
|
+
readonly internalType: "bool";
|
|
1379
|
+
readonly name: "enabled";
|
|
1380
|
+
readonly type: "bool";
|
|
1381
|
+
}];
|
|
1382
|
+
readonly name: "setLiquidationEnabled";
|
|
1383
|
+
readonly outputs: readonly [];
|
|
1384
|
+
readonly stateMutability: "nonpayable";
|
|
1385
|
+
readonly type: "function";
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly inputs: readonly [{
|
|
1388
|
+
readonly internalType: "address";
|
|
1389
|
+
readonly name: "asset";
|
|
1390
|
+
readonly type: "address";
|
|
1391
|
+
}, {
|
|
1392
|
+
readonly internalType: "uint256";
|
|
1393
|
+
readonly name: "extraRate";
|
|
1394
|
+
readonly type: "uint256";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly name: "setLiquidationRate";
|
|
1397
|
+
readonly outputs: readonly [];
|
|
1398
|
+
readonly stateMutability: "nonpayable";
|
|
1399
|
+
readonly type: "function";
|
|
1400
|
+
}, {
|
|
1401
|
+
readonly inputs: readonly [{
|
|
1402
|
+
readonly internalType: "uint256";
|
|
1403
|
+
readonly name: "maxTolerance";
|
|
1404
|
+
readonly type: "uint256";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly name: "setMaxFeedDelay";
|
|
1407
|
+
readonly outputs: readonly [];
|
|
1408
|
+
readonly stateMutability: "nonpayable";
|
|
1409
|
+
readonly type: "function";
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly inputs: readonly [{
|
|
1412
|
+
readonly internalType: "uint256";
|
|
1413
|
+
readonly name: "minSharesAmount";
|
|
1414
|
+
readonly type: "uint256";
|
|
1415
|
+
}];
|
|
1416
|
+
readonly name: "setMinSharesToRecapitalize";
|
|
1417
|
+
readonly outputs: readonly [];
|
|
1418
|
+
readonly stateMutability: "nonpayable";
|
|
1419
|
+
readonly type: "function";
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly inputs: readonly [{
|
|
1422
|
+
readonly internalType: "address";
|
|
1423
|
+
readonly name: "asset";
|
|
1424
|
+
readonly type: "address";
|
|
1425
|
+
}, {
|
|
1426
|
+
readonly internalType: "uint256";
|
|
1427
|
+
readonly name: "mintRate";
|
|
1428
|
+
readonly type: "uint256";
|
|
1429
|
+
}];
|
|
1430
|
+
readonly name: "setMintRate";
|
|
1431
|
+
readonly outputs: readonly [];
|
|
1432
|
+
readonly stateMutability: "nonpayable";
|
|
1433
|
+
readonly type: "function";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly internalType: "address";
|
|
1437
|
+
readonly name: "_polFeeCollector";
|
|
1438
|
+
readonly type: "address";
|
|
1439
|
+
}];
|
|
1440
|
+
readonly name: "setPOLFeeCollector";
|
|
1441
|
+
readonly outputs: readonly [];
|
|
1442
|
+
readonly stateMutability: "nonpayable";
|
|
1443
|
+
readonly type: "function";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly inputs: readonly [{
|
|
1446
|
+
readonly internalType: "uint256";
|
|
1447
|
+
readonly name: "_polFeeCollectorFeeRate";
|
|
1448
|
+
readonly type: "uint256";
|
|
1449
|
+
}];
|
|
1450
|
+
readonly name: "setPOLFeeCollectorFeeRate";
|
|
1451
|
+
readonly outputs: readonly [];
|
|
1452
|
+
readonly stateMutability: "nonpayable";
|
|
1453
|
+
readonly type: "function";
|
|
1454
|
+
}, {
|
|
1455
|
+
readonly inputs: readonly [{
|
|
1456
|
+
readonly internalType: "address";
|
|
1457
|
+
readonly name: "priceOracle_";
|
|
1458
|
+
readonly type: "address";
|
|
1459
|
+
}];
|
|
1460
|
+
readonly name: "setPriceOracle";
|
|
1461
|
+
readonly outputs: readonly [];
|
|
1462
|
+
readonly stateMutability: "nonpayable";
|
|
1463
|
+
readonly type: "function";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly inputs: readonly [{
|
|
1466
|
+
readonly internalType: "address";
|
|
1467
|
+
readonly name: "asset";
|
|
1468
|
+
readonly type: "address";
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly internalType: "uint256";
|
|
1471
|
+
readonly name: "target";
|
|
1472
|
+
readonly type: "uint256";
|
|
1473
|
+
}];
|
|
1474
|
+
readonly name: "setRecapitalizeBalanceThreshold";
|
|
1475
|
+
readonly outputs: readonly [];
|
|
1476
|
+
readonly stateMutability: "nonpayable";
|
|
1477
|
+
readonly type: "function";
|
|
1478
|
+
}, {
|
|
1479
|
+
readonly inputs: readonly [{
|
|
1480
|
+
readonly internalType: "address";
|
|
1481
|
+
readonly name: "asset";
|
|
1482
|
+
readonly type: "address";
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly internalType: "uint256";
|
|
1485
|
+
readonly name: "redeemRate";
|
|
1486
|
+
readonly type: "uint256";
|
|
1487
|
+
}];
|
|
1488
|
+
readonly name: "setRedeemRate";
|
|
1489
|
+
readonly outputs: readonly [];
|
|
1490
|
+
readonly stateMutability: "nonpayable";
|
|
1491
|
+
readonly type: "function";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly inputs: readonly [{
|
|
1494
|
+
readonly internalType: "address";
|
|
1495
|
+
readonly name: "asset";
|
|
1496
|
+
readonly type: "address";
|
|
1497
|
+
}];
|
|
1498
|
+
readonly name: "setReferenceCollateral";
|
|
1499
|
+
readonly outputs: readonly [];
|
|
1500
|
+
readonly stateMutability: "nonpayable";
|
|
1501
|
+
readonly type: "function";
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly inputs: readonly [{
|
|
1504
|
+
readonly internalType: "address";
|
|
1505
|
+
readonly name: "asset";
|
|
1506
|
+
readonly type: "address";
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly internalType: "uint256";
|
|
1509
|
+
readonly name: "limit";
|
|
1510
|
+
readonly type: "uint256";
|
|
1511
|
+
}];
|
|
1512
|
+
readonly name: "setRelativeCap";
|
|
1513
|
+
readonly outputs: readonly [];
|
|
1514
|
+
readonly stateMutability: "nonpayable";
|
|
1515
|
+
readonly type: "function";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly inputs: readonly [{
|
|
1518
|
+
readonly internalType: "bytes4";
|
|
1519
|
+
readonly name: "interfaceId";
|
|
1520
|
+
readonly type: "bytes4";
|
|
1521
|
+
}];
|
|
1522
|
+
readonly name: "supportsInterface";
|
|
1523
|
+
readonly outputs: readonly [{
|
|
1524
|
+
readonly internalType: "bool";
|
|
1525
|
+
readonly name: "";
|
|
1526
|
+
readonly type: "bool";
|
|
1527
|
+
}];
|
|
1528
|
+
readonly stateMutability: "view";
|
|
1529
|
+
readonly type: "function";
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly inputs: readonly [];
|
|
1532
|
+
readonly name: "unpause";
|
|
1533
|
+
readonly outputs: readonly [];
|
|
1534
|
+
readonly stateMutability: "nonpayable";
|
|
1535
|
+
readonly type: "function";
|
|
1536
|
+
}, {
|
|
1537
|
+
readonly inputs: readonly [{
|
|
1538
|
+
readonly internalType: "address";
|
|
1539
|
+
readonly name: "asset";
|
|
1540
|
+
readonly type: "address";
|
|
1541
|
+
}];
|
|
1542
|
+
readonly name: "unpauseVault";
|
|
1543
|
+
readonly outputs: readonly [];
|
|
1544
|
+
readonly stateMutability: "nonpayable";
|
|
1545
|
+
readonly type: "function";
|
|
1546
|
+
}, {
|
|
1547
|
+
readonly inputs: readonly [{
|
|
1548
|
+
readonly internalType: "address";
|
|
1549
|
+
readonly name: "newImplementation";
|
|
1550
|
+
readonly type: "address";
|
|
1551
|
+
}, {
|
|
1552
|
+
readonly internalType: "bytes";
|
|
1553
|
+
readonly name: "data";
|
|
1554
|
+
readonly type: "bytes";
|
|
1555
|
+
}];
|
|
1556
|
+
readonly name: "upgradeToAndCall";
|
|
1557
|
+
readonly outputs: readonly [];
|
|
1558
|
+
readonly stateMutability: "payable";
|
|
1559
|
+
readonly type: "function";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly inputs: readonly [{
|
|
1562
|
+
readonly internalType: "address";
|
|
1563
|
+
readonly name: "asset";
|
|
1564
|
+
readonly type: "address";
|
|
1565
|
+
}];
|
|
1566
|
+
readonly name: "upperPegOffsets";
|
|
1567
|
+
readonly outputs: readonly [{
|
|
1568
|
+
readonly internalType: "uint256";
|
|
1569
|
+
readonly name: "upperPegOffset";
|
|
1570
|
+
readonly type: "uint256";
|
|
1571
|
+
}];
|
|
1572
|
+
readonly stateMutability: "view";
|
|
1573
|
+
readonly type: "function";
|
|
1574
|
+
}, {
|
|
1575
|
+
readonly inputs: readonly [{
|
|
1576
|
+
readonly internalType: "address";
|
|
1577
|
+
readonly name: "asset";
|
|
1578
|
+
readonly type: "address";
|
|
1579
|
+
}];
|
|
1580
|
+
readonly name: "vaults";
|
|
1581
|
+
readonly outputs: readonly [{
|
|
1582
|
+
readonly internalType: "contract CollateralVault";
|
|
1583
|
+
readonly name: "vault";
|
|
1584
|
+
readonly type: "address";
|
|
1585
|
+
}];
|
|
1586
|
+
readonly stateMutability: "view";
|
|
1587
|
+
readonly type: "function";
|
|
1588
|
+
}, {
|
|
1589
|
+
readonly inputs: readonly [{
|
|
1590
|
+
readonly internalType: "address";
|
|
1591
|
+
readonly name: "receiver";
|
|
1592
|
+
readonly type: "address";
|
|
1593
|
+
}];
|
|
1594
|
+
readonly name: "withdrawAllFees";
|
|
1595
|
+
readonly outputs: readonly [];
|
|
1596
|
+
readonly stateMutability: "nonpayable";
|
|
1597
|
+
readonly type: "function";
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly inputs: readonly [{
|
|
1600
|
+
readonly internalType: "address";
|
|
1601
|
+
readonly name: "asset";
|
|
1602
|
+
readonly type: "address";
|
|
1603
|
+
}, {
|
|
1604
|
+
readonly internalType: "address";
|
|
1605
|
+
readonly name: "receiver";
|
|
1606
|
+
readonly type: "address";
|
|
1607
|
+
}];
|
|
1608
|
+
readonly name: "withdrawFee";
|
|
1609
|
+
readonly outputs: readonly [{
|
|
1610
|
+
readonly internalType: "uint256";
|
|
1611
|
+
readonly name: "assets";
|
|
1612
|
+
readonly type: "uint256";
|
|
1613
|
+
}];
|
|
1614
|
+
readonly stateMutability: "nonpayable";
|
|
1615
|
+
readonly type: "function";
|
|
1616
|
+
}];
|
|
1617
|
+
|
|
1618
|
+
declare const pythWrapperAbi: readonly [{
|
|
1619
|
+
readonly inputs: readonly [{
|
|
1620
|
+
readonly internalType: "address";
|
|
1621
|
+
readonly name: "factory_";
|
|
1622
|
+
readonly type: "address";
|
|
1623
|
+
}, {
|
|
1624
|
+
readonly internalType: "address";
|
|
1625
|
+
readonly name: "pythPriceOracle_";
|
|
1626
|
+
readonly type: "address";
|
|
1627
|
+
}, {
|
|
1628
|
+
readonly internalType: "address";
|
|
1629
|
+
readonly name: "factoryReader_";
|
|
1630
|
+
readonly type: "address";
|
|
1631
|
+
}];
|
|
1632
|
+
readonly stateMutability: "nonpayable";
|
|
1633
|
+
readonly type: "constructor";
|
|
1634
|
+
}, {
|
|
1635
|
+
readonly inputs: readonly [];
|
|
1636
|
+
readonly name: "AmountOutOfRange";
|
|
1637
|
+
readonly type: "error";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly inputs: readonly [{
|
|
1640
|
+
readonly internalType: "address";
|
|
1641
|
+
readonly name: "asset";
|
|
1642
|
+
readonly type: "address";
|
|
1643
|
+
}];
|
|
1644
|
+
readonly name: "AssetIsBadCollateral";
|
|
1645
|
+
readonly type: "error";
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly inputs: readonly [{
|
|
1648
|
+
readonly internalType: "address";
|
|
1649
|
+
readonly name: "asset";
|
|
1650
|
+
readonly type: "address";
|
|
1651
|
+
}];
|
|
1652
|
+
readonly name: "AssetIsNotBadCollateral";
|
|
1653
|
+
readonly type: "error";
|
|
1654
|
+
}, {
|
|
1655
|
+
readonly inputs: readonly [{
|
|
1656
|
+
readonly internalType: "address";
|
|
1657
|
+
readonly name: "asset";
|
|
1658
|
+
readonly type: "address";
|
|
1659
|
+
}];
|
|
1660
|
+
readonly name: "AssetNotRegistered";
|
|
1661
|
+
readonly type: "error";
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly inputs: readonly [];
|
|
1664
|
+
readonly name: "CapCanCauseDenialOfService";
|
|
1665
|
+
readonly type: "error";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly inputs: readonly [];
|
|
1668
|
+
readonly name: "ExceedGlobalCap";
|
|
1669
|
+
readonly type: "error";
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly inputs: readonly [];
|
|
1672
|
+
readonly name: "ExceedRelativeCap";
|
|
1673
|
+
readonly type: "error";
|
|
1674
|
+
}, {
|
|
1675
|
+
readonly inputs: readonly [{
|
|
1676
|
+
readonly internalType: "uint256";
|
|
1677
|
+
readonly name: "assets";
|
|
1678
|
+
readonly type: "uint256";
|
|
1679
|
+
}, {
|
|
1680
|
+
readonly internalType: "uint256";
|
|
1681
|
+
readonly name: "shares";
|
|
1682
|
+
readonly type: "uint256";
|
|
1683
|
+
}];
|
|
1684
|
+
readonly name: "InsufficientAssets";
|
|
1685
|
+
readonly type: "error";
|
|
1686
|
+
}, {
|
|
1687
|
+
readonly inputs: readonly [];
|
|
1688
|
+
readonly name: "InsufficientBalanceToPayPythFee";
|
|
1689
|
+
readonly type: "error";
|
|
1690
|
+
}, {
|
|
1691
|
+
readonly inputs: readonly [{
|
|
1692
|
+
readonly internalType: "uint256";
|
|
1693
|
+
readonly name: "amount";
|
|
1694
|
+
readonly type: "uint256";
|
|
1695
|
+
}];
|
|
1696
|
+
readonly name: "InsufficientRecapitalizeAmount";
|
|
1697
|
+
readonly type: "error";
|
|
1698
|
+
}, {
|
|
1699
|
+
readonly inputs: readonly [];
|
|
1700
|
+
readonly name: "InvalidCustodyInfoInput";
|
|
1701
|
+
readonly type: "error";
|
|
1702
|
+
}, {
|
|
1703
|
+
readonly inputs: readonly [];
|
|
1704
|
+
readonly name: "LiquidationDisabled";
|
|
1705
|
+
readonly type: "error";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly inputs: readonly [];
|
|
1708
|
+
readonly name: "LiquidationWithReferenceCollateral";
|
|
1709
|
+
readonly type: "error";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly inputs: readonly [{
|
|
1712
|
+
readonly internalType: "address";
|
|
1713
|
+
readonly name: "owner";
|
|
1714
|
+
readonly type: "address";
|
|
1715
|
+
}, {
|
|
1716
|
+
readonly internalType: "address";
|
|
1717
|
+
readonly name: "expectedOwner";
|
|
1718
|
+
readonly type: "address";
|
|
1719
|
+
}];
|
|
1720
|
+
readonly name: "MismatchedOwner";
|
|
1721
|
+
readonly type: "error";
|
|
1722
|
+
}, {
|
|
1723
|
+
readonly inputs: readonly [];
|
|
1724
|
+
readonly name: "NotFactory";
|
|
1725
|
+
readonly type: "error";
|
|
1726
|
+
}, {
|
|
1727
|
+
readonly inputs: readonly [{
|
|
1728
|
+
readonly internalType: "address";
|
|
1729
|
+
readonly name: "asset";
|
|
1730
|
+
readonly type: "address";
|
|
1731
|
+
}];
|
|
1732
|
+
readonly name: "NotPegged";
|
|
1733
|
+
readonly type: "error";
|
|
1734
|
+
}, {
|
|
1735
|
+
readonly inputs: readonly [{
|
|
1736
|
+
readonly internalType: "uint256";
|
|
1737
|
+
readonly name: "rate";
|
|
1738
|
+
readonly type: "uint256";
|
|
1739
|
+
}];
|
|
1740
|
+
readonly name: "OverOneHundredPercentRate";
|
|
1741
|
+
readonly type: "error";
|
|
1742
|
+
}, {
|
|
1743
|
+
readonly inputs: readonly [{
|
|
1744
|
+
readonly internalType: "address";
|
|
1745
|
+
readonly name: "asset";
|
|
1746
|
+
readonly type: "address";
|
|
1747
|
+
}];
|
|
1748
|
+
readonly name: "RecapitalizeNotNeeded";
|
|
1749
|
+
readonly type: "error";
|
|
1750
|
+
}, {
|
|
1751
|
+
readonly inputs: readonly [{
|
|
1752
|
+
readonly internalType: "address";
|
|
1753
|
+
readonly name: "caller";
|
|
1754
|
+
readonly type: "address";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly internalType: "address";
|
|
1757
|
+
readonly name: "expectedCaller";
|
|
1758
|
+
readonly type: "address";
|
|
1759
|
+
}];
|
|
1760
|
+
readonly name: "UnauthorizedCaller";
|
|
1761
|
+
readonly type: "error";
|
|
1762
|
+
}, {
|
|
1763
|
+
readonly inputs: readonly [{
|
|
1764
|
+
readonly internalType: "uint256";
|
|
1765
|
+
readonly name: "rate";
|
|
1766
|
+
readonly type: "uint256";
|
|
1767
|
+
}];
|
|
1768
|
+
readonly name: "UnderNinetyEightPercentRate";
|
|
1769
|
+
readonly type: "error";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly inputs: readonly [];
|
|
1772
|
+
readonly name: "UnexpectedBasketModeStatus";
|
|
1773
|
+
readonly type: "error";
|
|
1774
|
+
}, {
|
|
1775
|
+
readonly inputs: readonly [{
|
|
1776
|
+
readonly internalType: "address";
|
|
1777
|
+
readonly name: "asset";
|
|
1778
|
+
readonly type: "address";
|
|
1779
|
+
}];
|
|
1780
|
+
readonly name: "VaultAlreadyRegistered";
|
|
1781
|
+
readonly type: "error";
|
|
1782
|
+
}, {
|
|
1783
|
+
readonly inputs: readonly [];
|
|
1784
|
+
readonly name: "VaultPaused";
|
|
1785
|
+
readonly type: "error";
|
|
1786
|
+
}, {
|
|
1787
|
+
readonly inputs: readonly [];
|
|
1788
|
+
readonly name: "ZeroAddress";
|
|
1789
|
+
readonly type: "error";
|
|
1790
|
+
}, {
|
|
1791
|
+
readonly inputs: readonly [];
|
|
1792
|
+
readonly name: "ZeroAmount";
|
|
1793
|
+
readonly type: "error";
|
|
1794
|
+
}, {
|
|
1795
|
+
readonly inputs: readonly [{
|
|
1796
|
+
readonly internalType: "address";
|
|
1797
|
+
readonly name: "asset";
|
|
1798
|
+
readonly type: "address";
|
|
1799
|
+
}];
|
|
1800
|
+
readonly name: "ZeroWeight";
|
|
1801
|
+
readonly type: "error";
|
|
1802
|
+
}, {
|
|
1803
|
+
readonly anonymous: false;
|
|
1804
|
+
readonly inputs: readonly [{
|
|
1805
|
+
readonly indexed: false;
|
|
1806
|
+
readonly internalType: "uint256";
|
|
1807
|
+
readonly name: "fee";
|
|
1808
|
+
readonly type: "uint256";
|
|
1809
|
+
}];
|
|
1810
|
+
readonly name: "PythOracleUpdated";
|
|
1811
|
+
readonly type: "event";
|
|
1812
|
+
}, {
|
|
1813
|
+
readonly inputs: readonly [];
|
|
1814
|
+
readonly name: "factory";
|
|
1815
|
+
readonly outputs: readonly [{
|
|
1816
|
+
readonly internalType: "address";
|
|
1817
|
+
readonly name: "";
|
|
1818
|
+
readonly type: "address";
|
|
1819
|
+
}];
|
|
1820
|
+
readonly stateMutability: "view";
|
|
1821
|
+
readonly type: "function";
|
|
1822
|
+
}, {
|
|
1823
|
+
readonly inputs: readonly [];
|
|
1824
|
+
readonly name: "factoryReader";
|
|
1825
|
+
readonly outputs: readonly [{
|
|
1826
|
+
readonly internalType: "address";
|
|
1827
|
+
readonly name: "";
|
|
1828
|
+
readonly type: "address";
|
|
1829
|
+
}];
|
|
1830
|
+
readonly stateMutability: "view";
|
|
1831
|
+
readonly type: "function";
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly inputs: readonly [];
|
|
1834
|
+
readonly name: "honey";
|
|
1835
|
+
readonly outputs: readonly [{
|
|
1836
|
+
readonly internalType: "address";
|
|
1837
|
+
readonly name: "";
|
|
1838
|
+
readonly type: "address";
|
|
1839
|
+
}];
|
|
1840
|
+
readonly stateMutability: "view";
|
|
1841
|
+
readonly type: "function";
|
|
1842
|
+
}, {
|
|
1843
|
+
readonly inputs: readonly [{
|
|
1844
|
+
readonly internalType: "bytes[]";
|
|
1845
|
+
readonly name: "updateData";
|
|
1846
|
+
readonly type: "bytes[]";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly internalType: "address";
|
|
1849
|
+
readonly name: "badCollateral";
|
|
1850
|
+
readonly type: "address";
|
|
1851
|
+
}, {
|
|
1852
|
+
readonly internalType: "address";
|
|
1853
|
+
readonly name: "goodCollateral";
|
|
1854
|
+
readonly type: "address";
|
|
1855
|
+
}, {
|
|
1856
|
+
readonly internalType: "uint256";
|
|
1857
|
+
readonly name: "goodAmount";
|
|
1858
|
+
readonly type: "uint256";
|
|
1859
|
+
}];
|
|
1860
|
+
readonly name: "liquidate";
|
|
1861
|
+
readonly outputs: readonly [{
|
|
1862
|
+
readonly internalType: "uint256";
|
|
1863
|
+
readonly name: "badAmount";
|
|
1864
|
+
readonly type: "uint256";
|
|
1865
|
+
}];
|
|
1866
|
+
readonly stateMutability: "payable";
|
|
1867
|
+
readonly type: "function";
|
|
1868
|
+
}, {
|
|
1869
|
+
readonly inputs: readonly [{
|
|
1870
|
+
readonly internalType: "bytes[]";
|
|
1871
|
+
readonly name: "updateData";
|
|
1872
|
+
readonly type: "bytes[]";
|
|
1873
|
+
}, {
|
|
1874
|
+
readonly internalType: "address";
|
|
1875
|
+
readonly name: "asset";
|
|
1876
|
+
readonly type: "address";
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly internalType: "uint256";
|
|
1879
|
+
readonly name: "amount";
|
|
1880
|
+
readonly type: "uint256";
|
|
1881
|
+
}, {
|
|
1882
|
+
readonly internalType: "address";
|
|
1883
|
+
readonly name: "receiver";
|
|
1884
|
+
readonly type: "address";
|
|
1885
|
+
}, {
|
|
1886
|
+
readonly internalType: "bool";
|
|
1887
|
+
readonly name: "expectBasketMode";
|
|
1888
|
+
readonly type: "bool";
|
|
1889
|
+
}];
|
|
1890
|
+
readonly name: "mint";
|
|
1891
|
+
readonly outputs: readonly [{
|
|
1892
|
+
readonly internalType: "uint256";
|
|
1893
|
+
readonly name: "minted";
|
|
1894
|
+
readonly type: "uint256";
|
|
1895
|
+
}];
|
|
1896
|
+
readonly stateMutability: "payable";
|
|
1897
|
+
readonly type: "function";
|
|
1898
|
+
}, {
|
|
1899
|
+
readonly inputs: readonly [];
|
|
1900
|
+
readonly name: "pyth";
|
|
1901
|
+
readonly outputs: readonly [{
|
|
1902
|
+
readonly internalType: "address";
|
|
1903
|
+
readonly name: "";
|
|
1904
|
+
readonly type: "address";
|
|
1905
|
+
}];
|
|
1906
|
+
readonly stateMutability: "view";
|
|
1907
|
+
readonly type: "function";
|
|
1908
|
+
}, {
|
|
1909
|
+
readonly inputs: readonly [{
|
|
1910
|
+
readonly internalType: "bytes[]";
|
|
1911
|
+
readonly name: "updateData";
|
|
1912
|
+
readonly type: "bytes[]";
|
|
1913
|
+
}, {
|
|
1914
|
+
readonly internalType: "address";
|
|
1915
|
+
readonly name: "asset";
|
|
1916
|
+
readonly type: "address";
|
|
1917
|
+
}, {
|
|
1918
|
+
readonly internalType: "uint256";
|
|
1919
|
+
readonly name: "amount";
|
|
1920
|
+
readonly type: "uint256";
|
|
1921
|
+
}];
|
|
1922
|
+
readonly name: "recapitalize";
|
|
1923
|
+
readonly outputs: readonly [];
|
|
1924
|
+
readonly stateMutability: "payable";
|
|
1925
|
+
readonly type: "function";
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly inputs: readonly [{
|
|
1928
|
+
readonly internalType: "bytes[]";
|
|
1929
|
+
readonly name: "updateData";
|
|
1930
|
+
readonly type: "bytes[]";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly internalType: "address";
|
|
1933
|
+
readonly name: "asset";
|
|
1934
|
+
readonly type: "address";
|
|
1935
|
+
}, {
|
|
1936
|
+
readonly internalType: "uint256";
|
|
1937
|
+
readonly name: "honeyAmount";
|
|
1938
|
+
readonly type: "uint256";
|
|
1939
|
+
}, {
|
|
1940
|
+
readonly internalType: "address";
|
|
1941
|
+
readonly name: "receiver";
|
|
1942
|
+
readonly type: "address";
|
|
1943
|
+
}, {
|
|
1944
|
+
readonly internalType: "bool";
|
|
1945
|
+
readonly name: "expectBasketMode";
|
|
1946
|
+
readonly type: "bool";
|
|
1947
|
+
}];
|
|
1948
|
+
readonly name: "redeem";
|
|
1949
|
+
readonly outputs: readonly [{
|
|
1950
|
+
readonly internalType: "uint256[]";
|
|
1951
|
+
readonly name: "amounts";
|
|
1952
|
+
readonly type: "uint256[]";
|
|
1953
|
+
}];
|
|
1954
|
+
readonly stateMutability: "payable";
|
|
1955
|
+
readonly type: "function";
|
|
1956
|
+
}];
|
|
1957
|
+
|
|
1958
|
+
export { honeyFactoryAbi as h, pythWrapperAbi as p };
|