@gitmyabi-stg/usdat 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +108 -0
- package/contracts/TransparentUpgradeableProxy.d.ts +185 -0
- package/contracts/TransparentUpgradeableProxy.js +238 -0
- package/contracts/TransparentUpgradeableProxy.ts +268 -0
- package/contracts/USDat.d.ts +3665 -0
- package/contracts/USDat.js +3994 -0
- package/contracts/USDat.ts +4846 -0
- package/contracts/index.d.ts +4 -0
- package/contracts/index.js +10 -0
- package/contracts/index.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,3665 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* USDat ABI
|
|
4
|
+
*
|
|
5
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
6
|
+
*/
|
|
7
|
+
export declare const USDatAbi: readonly [{
|
|
8
|
+
readonly inputs: readonly [{
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "mToken_";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}, {
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly name: "swapFacility_";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}];
|
|
17
|
+
readonly stateMutability: "nonpayable";
|
|
18
|
+
readonly type: "constructor";
|
|
19
|
+
}, {
|
|
20
|
+
readonly inputs: readonly [];
|
|
21
|
+
readonly name: "AccessControlBadConfirmation";
|
|
22
|
+
readonly type: "error";
|
|
23
|
+
}, {
|
|
24
|
+
readonly inputs: readonly [{
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
readonly name: "account";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}, {
|
|
29
|
+
readonly internalType: "bytes32";
|
|
30
|
+
readonly name: "neededRole";
|
|
31
|
+
readonly type: "bytes32";
|
|
32
|
+
}];
|
|
33
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
34
|
+
readonly type: "error";
|
|
35
|
+
}, {
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly internalType: "address";
|
|
38
|
+
readonly name: "account";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
}];
|
|
41
|
+
readonly name: "AccountFrozen";
|
|
42
|
+
readonly type: "error";
|
|
43
|
+
}, {
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly name: "account";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}];
|
|
49
|
+
readonly name: "AccountNotFrozen";
|
|
50
|
+
readonly type: "error";
|
|
51
|
+
}, {
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "account";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "AccountNotWhitelisted";
|
|
58
|
+
readonly type: "error";
|
|
59
|
+
}, {
|
|
60
|
+
readonly inputs: readonly [];
|
|
61
|
+
readonly name: "ArrayLengthMismatch";
|
|
62
|
+
readonly type: "error";
|
|
63
|
+
}, {
|
|
64
|
+
readonly inputs: readonly [{
|
|
65
|
+
readonly internalType: "address";
|
|
66
|
+
readonly name: "asset";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}];
|
|
69
|
+
readonly name: "AssetCapReached";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [{
|
|
73
|
+
readonly internalType: "address";
|
|
74
|
+
readonly name: "authorizer";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
}, {
|
|
77
|
+
readonly internalType: "bytes32";
|
|
78
|
+
readonly name: "nonce";
|
|
79
|
+
readonly type: "bytes32";
|
|
80
|
+
}];
|
|
81
|
+
readonly name: "AuthorizationAlreadyUsed";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly internalType: "uint256";
|
|
86
|
+
readonly name: "timestamp";
|
|
87
|
+
readonly type: "uint256";
|
|
88
|
+
}, {
|
|
89
|
+
readonly internalType: "uint256";
|
|
90
|
+
readonly name: "validBefore";
|
|
91
|
+
readonly type: "uint256";
|
|
92
|
+
}];
|
|
93
|
+
readonly name: "AuthorizationExpired";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly internalType: "uint256";
|
|
98
|
+
readonly name: "timestamp";
|
|
99
|
+
readonly type: "uint256";
|
|
100
|
+
}, {
|
|
101
|
+
readonly internalType: "uint256";
|
|
102
|
+
readonly name: "validAfter";
|
|
103
|
+
readonly type: "uint256";
|
|
104
|
+
}];
|
|
105
|
+
readonly name: "AuthorizationNotYetValid";
|
|
106
|
+
readonly type: "error";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [{
|
|
109
|
+
readonly internalType: "address";
|
|
110
|
+
readonly name: "caller";
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
}, {
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
readonly name: "payee";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}];
|
|
117
|
+
readonly name: "CallerMustBePayee";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "EarningIsDisabled";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly name: "EarningIsEnabled";
|
|
126
|
+
readonly type: "error";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly name: "EnforcedPause";
|
|
130
|
+
readonly type: "error";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [];
|
|
133
|
+
readonly name: "ExpectedPause";
|
|
134
|
+
readonly type: "error";
|
|
135
|
+
}, {
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
readonly name: "spender";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly internalType: "uint256";
|
|
142
|
+
readonly name: "allowance";
|
|
143
|
+
readonly type: "uint256";
|
|
144
|
+
}, {
|
|
145
|
+
readonly internalType: "uint256";
|
|
146
|
+
readonly name: "needed";
|
|
147
|
+
readonly type: "uint256";
|
|
148
|
+
}];
|
|
149
|
+
readonly name: "InsufficientAllowance";
|
|
150
|
+
readonly type: "error";
|
|
151
|
+
}, {
|
|
152
|
+
readonly inputs: readonly [{
|
|
153
|
+
readonly internalType: "uint256";
|
|
154
|
+
readonly name: "amount";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
}];
|
|
157
|
+
readonly name: "InsufficientAmount";
|
|
158
|
+
readonly type: "error";
|
|
159
|
+
}, {
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly internalType: "address";
|
|
162
|
+
readonly name: "asset";
|
|
163
|
+
readonly type: "address";
|
|
164
|
+
}, {
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
|
+
readonly name: "amount";
|
|
167
|
+
readonly type: "uint256";
|
|
168
|
+
}, {
|
|
169
|
+
readonly internalType: "uint256";
|
|
170
|
+
readonly name: "assetAvailable";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
}];
|
|
173
|
+
readonly name: "InsufficientAssetBacking";
|
|
174
|
+
readonly type: "error";
|
|
175
|
+
}, {
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly name: "asset";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
}, {
|
|
181
|
+
readonly internalType: "uint256";
|
|
182
|
+
readonly name: "amountExpected";
|
|
183
|
+
readonly type: "uint256";
|
|
184
|
+
}, {
|
|
185
|
+
readonly internalType: "uint256";
|
|
186
|
+
readonly name: "amountReceived";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
}];
|
|
189
|
+
readonly name: "InsufficientAssetReceived";
|
|
190
|
+
readonly type: "error";
|
|
191
|
+
}, {
|
|
192
|
+
readonly inputs: readonly [{
|
|
193
|
+
readonly internalType: "address";
|
|
194
|
+
readonly name: "account";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
}, {
|
|
197
|
+
readonly internalType: "uint256";
|
|
198
|
+
readonly name: "balance";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}, {
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
readonly name: "amount";
|
|
203
|
+
readonly type: "uint256";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "InsufficientBalance";
|
|
206
|
+
readonly type: "error";
|
|
207
|
+
}, {
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
readonly name: "amount";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
}, {
|
|
213
|
+
readonly internalType: "uint256";
|
|
214
|
+
readonly name: "mAvailable";
|
|
215
|
+
readonly type: "uint256";
|
|
216
|
+
}];
|
|
217
|
+
readonly name: "InsufficientMBacking";
|
|
218
|
+
readonly type: "error";
|
|
219
|
+
}, {
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly name: "nonce";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}, {
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly name: "expectedNonce";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}];
|
|
229
|
+
readonly name: "InvalidAccountNonce";
|
|
230
|
+
readonly type: "error";
|
|
231
|
+
}, {
|
|
232
|
+
readonly inputs: readonly [{
|
|
233
|
+
readonly internalType: "address";
|
|
234
|
+
readonly name: "asset";
|
|
235
|
+
readonly type: "address";
|
|
236
|
+
}];
|
|
237
|
+
readonly name: "InvalidAsset";
|
|
238
|
+
readonly type: "error";
|
|
239
|
+
}, {
|
|
240
|
+
readonly inputs: readonly [];
|
|
241
|
+
readonly name: "InvalidInitialization";
|
|
242
|
+
readonly type: "error";
|
|
243
|
+
}, {
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly name: "recipient";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
}];
|
|
249
|
+
readonly name: "InvalidRecipient";
|
|
250
|
+
readonly type: "error";
|
|
251
|
+
}, {
|
|
252
|
+
readonly inputs: readonly [];
|
|
253
|
+
readonly name: "InvalidSignature";
|
|
254
|
+
readonly type: "error";
|
|
255
|
+
}, {
|
|
256
|
+
readonly inputs: readonly [];
|
|
257
|
+
readonly name: "InvalidSignatureLength";
|
|
258
|
+
readonly type: "error";
|
|
259
|
+
}, {
|
|
260
|
+
readonly inputs: readonly [];
|
|
261
|
+
readonly name: "InvalidSignatureS";
|
|
262
|
+
readonly type: "error";
|
|
263
|
+
}, {
|
|
264
|
+
readonly inputs: readonly [];
|
|
265
|
+
readonly name: "InvalidSignatureV";
|
|
266
|
+
readonly type: "error";
|
|
267
|
+
}, {
|
|
268
|
+
readonly inputs: readonly [];
|
|
269
|
+
readonly name: "InvalidUInt240";
|
|
270
|
+
readonly type: "error";
|
|
271
|
+
}, {
|
|
272
|
+
readonly inputs: readonly [];
|
|
273
|
+
readonly name: "NotInitializing";
|
|
274
|
+
readonly type: "error";
|
|
275
|
+
}, {
|
|
276
|
+
readonly inputs: readonly [];
|
|
277
|
+
readonly name: "NotSwapFacility";
|
|
278
|
+
readonly type: "error";
|
|
279
|
+
}, {
|
|
280
|
+
readonly inputs: readonly [{
|
|
281
|
+
readonly internalType: "address";
|
|
282
|
+
readonly name: "token";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
}];
|
|
285
|
+
readonly name: "SafeERC20FailedOperation";
|
|
286
|
+
readonly type: "error";
|
|
287
|
+
}, {
|
|
288
|
+
readonly inputs: readonly [{
|
|
289
|
+
readonly internalType: "uint256";
|
|
290
|
+
readonly name: "deadline";
|
|
291
|
+
readonly type: "uint256";
|
|
292
|
+
}, {
|
|
293
|
+
readonly internalType: "uint256";
|
|
294
|
+
readonly name: "timestamp";
|
|
295
|
+
readonly type: "uint256";
|
|
296
|
+
}];
|
|
297
|
+
readonly name: "SignatureExpired";
|
|
298
|
+
readonly type: "error";
|
|
299
|
+
}, {
|
|
300
|
+
readonly inputs: readonly [];
|
|
301
|
+
readonly name: "SignerMismatch";
|
|
302
|
+
readonly type: "error";
|
|
303
|
+
}, {
|
|
304
|
+
readonly inputs: readonly [];
|
|
305
|
+
readonly name: "ZeroAdmin";
|
|
306
|
+
readonly type: "error";
|
|
307
|
+
}, {
|
|
308
|
+
readonly inputs: readonly [];
|
|
309
|
+
readonly name: "ZeroAssetCapManager";
|
|
310
|
+
readonly type: "error";
|
|
311
|
+
}, {
|
|
312
|
+
readonly inputs: readonly [];
|
|
313
|
+
readonly name: "ZeroForcedTransferManager";
|
|
314
|
+
readonly type: "error";
|
|
315
|
+
}, {
|
|
316
|
+
readonly inputs: readonly [];
|
|
317
|
+
readonly name: "ZeroFreezeManager";
|
|
318
|
+
readonly type: "error";
|
|
319
|
+
}, {
|
|
320
|
+
readonly inputs: readonly [];
|
|
321
|
+
readonly name: "ZeroMToken";
|
|
322
|
+
readonly type: "error";
|
|
323
|
+
}, {
|
|
324
|
+
readonly inputs: readonly [];
|
|
325
|
+
readonly name: "ZeroPauser";
|
|
326
|
+
readonly type: "error";
|
|
327
|
+
}, {
|
|
328
|
+
readonly inputs: readonly [];
|
|
329
|
+
readonly name: "ZeroSwapFacility";
|
|
330
|
+
readonly type: "error";
|
|
331
|
+
}, {
|
|
332
|
+
readonly inputs: readonly [];
|
|
333
|
+
readonly name: "ZeroYieldRecipient";
|
|
334
|
+
readonly type: "error";
|
|
335
|
+
}, {
|
|
336
|
+
readonly inputs: readonly [];
|
|
337
|
+
readonly name: "ZeroYieldRecipientManager";
|
|
338
|
+
readonly type: "error";
|
|
339
|
+
}, {
|
|
340
|
+
readonly anonymous: false;
|
|
341
|
+
readonly inputs: readonly [{
|
|
342
|
+
readonly indexed: true;
|
|
343
|
+
readonly internalType: "address";
|
|
344
|
+
readonly name: "account";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
}, {
|
|
347
|
+
readonly indexed: true;
|
|
348
|
+
readonly internalType: "address";
|
|
349
|
+
readonly name: "spender";
|
|
350
|
+
readonly type: "address";
|
|
351
|
+
}, {
|
|
352
|
+
readonly indexed: false;
|
|
353
|
+
readonly internalType: "uint256";
|
|
354
|
+
readonly name: "amount";
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "Approval";
|
|
358
|
+
readonly type: "event";
|
|
359
|
+
}, {
|
|
360
|
+
readonly anonymous: false;
|
|
361
|
+
readonly inputs: readonly [{
|
|
362
|
+
readonly indexed: true;
|
|
363
|
+
readonly internalType: "address";
|
|
364
|
+
readonly name: "asset";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
}, {
|
|
367
|
+
readonly indexed: false;
|
|
368
|
+
readonly internalType: "uint256";
|
|
369
|
+
readonly name: "cap";
|
|
370
|
+
readonly type: "uint256";
|
|
371
|
+
}];
|
|
372
|
+
readonly name: "AssetCapSet";
|
|
373
|
+
readonly type: "event";
|
|
374
|
+
}, {
|
|
375
|
+
readonly anonymous: false;
|
|
376
|
+
readonly inputs: readonly [{
|
|
377
|
+
readonly indexed: true;
|
|
378
|
+
readonly internalType: "address";
|
|
379
|
+
readonly name: "asset";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
}, {
|
|
382
|
+
readonly indexed: false;
|
|
383
|
+
readonly internalType: "uint256";
|
|
384
|
+
readonly name: "assetAmount";
|
|
385
|
+
readonly type: "uint256";
|
|
386
|
+
}, {
|
|
387
|
+
readonly indexed: true;
|
|
388
|
+
readonly internalType: "address";
|
|
389
|
+
readonly name: "recipient";
|
|
390
|
+
readonly type: "address";
|
|
391
|
+
}, {
|
|
392
|
+
readonly indexed: false;
|
|
393
|
+
readonly internalType: "uint256";
|
|
394
|
+
readonly name: "mAmount";
|
|
395
|
+
readonly type: "uint256";
|
|
396
|
+
}];
|
|
397
|
+
readonly name: "AssetReplacedWithM";
|
|
398
|
+
readonly type: "event";
|
|
399
|
+
}, {
|
|
400
|
+
readonly anonymous: false;
|
|
401
|
+
readonly inputs: readonly [{
|
|
402
|
+
readonly indexed: true;
|
|
403
|
+
readonly internalType: "address";
|
|
404
|
+
readonly name: "authorizer";
|
|
405
|
+
readonly type: "address";
|
|
406
|
+
}, {
|
|
407
|
+
readonly indexed: true;
|
|
408
|
+
readonly internalType: "bytes32";
|
|
409
|
+
readonly name: "nonce";
|
|
410
|
+
readonly type: "bytes32";
|
|
411
|
+
}];
|
|
412
|
+
readonly name: "AuthorizationCanceled";
|
|
413
|
+
readonly type: "event";
|
|
414
|
+
}, {
|
|
415
|
+
readonly anonymous: false;
|
|
416
|
+
readonly inputs: readonly [{
|
|
417
|
+
readonly indexed: true;
|
|
418
|
+
readonly internalType: "address";
|
|
419
|
+
readonly name: "authorizer";
|
|
420
|
+
readonly type: "address";
|
|
421
|
+
}, {
|
|
422
|
+
readonly indexed: true;
|
|
423
|
+
readonly internalType: "bytes32";
|
|
424
|
+
readonly name: "nonce";
|
|
425
|
+
readonly type: "bytes32";
|
|
426
|
+
}];
|
|
427
|
+
readonly name: "AuthorizationUsed";
|
|
428
|
+
readonly type: "event";
|
|
429
|
+
}, {
|
|
430
|
+
readonly anonymous: false;
|
|
431
|
+
readonly inputs: readonly [];
|
|
432
|
+
readonly name: "EIP712DomainChanged";
|
|
433
|
+
readonly type: "event";
|
|
434
|
+
}, {
|
|
435
|
+
readonly anonymous: false;
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly indexed: false;
|
|
438
|
+
readonly internalType: "uint128";
|
|
439
|
+
readonly name: "index";
|
|
440
|
+
readonly type: "uint128";
|
|
441
|
+
}];
|
|
442
|
+
readonly name: "EarningDisabled";
|
|
443
|
+
readonly type: "event";
|
|
444
|
+
}, {
|
|
445
|
+
readonly anonymous: false;
|
|
446
|
+
readonly inputs: readonly [{
|
|
447
|
+
readonly indexed: false;
|
|
448
|
+
readonly internalType: "uint128";
|
|
449
|
+
readonly name: "index";
|
|
450
|
+
readonly type: "uint128";
|
|
451
|
+
}];
|
|
452
|
+
readonly name: "EarningEnabled";
|
|
453
|
+
readonly type: "event";
|
|
454
|
+
}, {
|
|
455
|
+
readonly anonymous: false;
|
|
456
|
+
readonly inputs: readonly [{
|
|
457
|
+
readonly indexed: true;
|
|
458
|
+
readonly internalType: "address";
|
|
459
|
+
readonly name: "frozenAccount";
|
|
460
|
+
readonly type: "address";
|
|
461
|
+
}, {
|
|
462
|
+
readonly indexed: true;
|
|
463
|
+
readonly internalType: "address";
|
|
464
|
+
readonly name: "recipient";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
}, {
|
|
467
|
+
readonly indexed: true;
|
|
468
|
+
readonly internalType: "address";
|
|
469
|
+
readonly name: "forcedTransferManager";
|
|
470
|
+
readonly type: "address";
|
|
471
|
+
}, {
|
|
472
|
+
readonly indexed: false;
|
|
473
|
+
readonly internalType: "uint256";
|
|
474
|
+
readonly name: "amount";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
}];
|
|
477
|
+
readonly name: "ForcedTransfer";
|
|
478
|
+
readonly type: "event";
|
|
479
|
+
}, {
|
|
480
|
+
readonly anonymous: false;
|
|
481
|
+
readonly inputs: readonly [{
|
|
482
|
+
readonly indexed: true;
|
|
483
|
+
readonly internalType: "address";
|
|
484
|
+
readonly name: "account";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
}, {
|
|
487
|
+
readonly indexed: false;
|
|
488
|
+
readonly internalType: "uint256";
|
|
489
|
+
readonly name: "timestamp";
|
|
490
|
+
readonly type: "uint256";
|
|
491
|
+
}];
|
|
492
|
+
readonly name: "Frozen";
|
|
493
|
+
readonly type: "event";
|
|
494
|
+
}, {
|
|
495
|
+
readonly anonymous: false;
|
|
496
|
+
readonly inputs: readonly [{
|
|
497
|
+
readonly indexed: false;
|
|
498
|
+
readonly internalType: "uint64";
|
|
499
|
+
readonly name: "version";
|
|
500
|
+
readonly type: "uint64";
|
|
501
|
+
}];
|
|
502
|
+
readonly name: "Initialized";
|
|
503
|
+
readonly type: "event";
|
|
504
|
+
}, {
|
|
505
|
+
readonly anonymous: false;
|
|
506
|
+
readonly inputs: readonly [{
|
|
507
|
+
readonly indexed: false;
|
|
508
|
+
readonly internalType: "address";
|
|
509
|
+
readonly name: "account";
|
|
510
|
+
readonly type: "address";
|
|
511
|
+
}];
|
|
512
|
+
readonly name: "Paused";
|
|
513
|
+
readonly type: "event";
|
|
514
|
+
}, {
|
|
515
|
+
readonly anonymous: false;
|
|
516
|
+
readonly inputs: readonly [{
|
|
517
|
+
readonly indexed: true;
|
|
518
|
+
readonly internalType: "address";
|
|
519
|
+
readonly name: "account";
|
|
520
|
+
readonly type: "address";
|
|
521
|
+
}, {
|
|
522
|
+
readonly indexed: false;
|
|
523
|
+
readonly internalType: "uint256";
|
|
524
|
+
readonly name: "timestamp";
|
|
525
|
+
readonly type: "uint256";
|
|
526
|
+
}];
|
|
527
|
+
readonly name: "RemovedFromWhitelist";
|
|
528
|
+
readonly type: "event";
|
|
529
|
+
}, {
|
|
530
|
+
readonly anonymous: false;
|
|
531
|
+
readonly inputs: readonly [{
|
|
532
|
+
readonly indexed: true;
|
|
533
|
+
readonly internalType: "bytes32";
|
|
534
|
+
readonly name: "role";
|
|
535
|
+
readonly type: "bytes32";
|
|
536
|
+
}, {
|
|
537
|
+
readonly indexed: true;
|
|
538
|
+
readonly internalType: "bytes32";
|
|
539
|
+
readonly name: "previousAdminRole";
|
|
540
|
+
readonly type: "bytes32";
|
|
541
|
+
}, {
|
|
542
|
+
readonly indexed: true;
|
|
543
|
+
readonly internalType: "bytes32";
|
|
544
|
+
readonly name: "newAdminRole";
|
|
545
|
+
readonly type: "bytes32";
|
|
546
|
+
}];
|
|
547
|
+
readonly name: "RoleAdminChanged";
|
|
548
|
+
readonly type: "event";
|
|
549
|
+
}, {
|
|
550
|
+
readonly anonymous: false;
|
|
551
|
+
readonly inputs: readonly [{
|
|
552
|
+
readonly indexed: true;
|
|
553
|
+
readonly internalType: "bytes32";
|
|
554
|
+
readonly name: "role";
|
|
555
|
+
readonly type: "bytes32";
|
|
556
|
+
}, {
|
|
557
|
+
readonly indexed: true;
|
|
558
|
+
readonly internalType: "address";
|
|
559
|
+
readonly name: "account";
|
|
560
|
+
readonly type: "address";
|
|
561
|
+
}, {
|
|
562
|
+
readonly indexed: true;
|
|
563
|
+
readonly internalType: "address";
|
|
564
|
+
readonly name: "sender";
|
|
565
|
+
readonly type: "address";
|
|
566
|
+
}];
|
|
567
|
+
readonly name: "RoleGranted";
|
|
568
|
+
readonly type: "event";
|
|
569
|
+
}, {
|
|
570
|
+
readonly anonymous: false;
|
|
571
|
+
readonly inputs: readonly [{
|
|
572
|
+
readonly indexed: true;
|
|
573
|
+
readonly internalType: "bytes32";
|
|
574
|
+
readonly name: "role";
|
|
575
|
+
readonly type: "bytes32";
|
|
576
|
+
}, {
|
|
577
|
+
readonly indexed: true;
|
|
578
|
+
readonly internalType: "address";
|
|
579
|
+
readonly name: "account";
|
|
580
|
+
readonly type: "address";
|
|
581
|
+
}, {
|
|
582
|
+
readonly indexed: true;
|
|
583
|
+
readonly internalType: "address";
|
|
584
|
+
readonly name: "sender";
|
|
585
|
+
readonly type: "address";
|
|
586
|
+
}];
|
|
587
|
+
readonly name: "RoleRevoked";
|
|
588
|
+
readonly type: "event";
|
|
589
|
+
}, {
|
|
590
|
+
readonly anonymous: false;
|
|
591
|
+
readonly inputs: readonly [{
|
|
592
|
+
readonly indexed: true;
|
|
593
|
+
readonly internalType: "address";
|
|
594
|
+
readonly name: "sender";
|
|
595
|
+
readonly type: "address";
|
|
596
|
+
}, {
|
|
597
|
+
readonly indexed: true;
|
|
598
|
+
readonly internalType: "address";
|
|
599
|
+
readonly name: "recipient";
|
|
600
|
+
readonly type: "address";
|
|
601
|
+
}, {
|
|
602
|
+
readonly indexed: false;
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
readonly name: "amount";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
}];
|
|
607
|
+
readonly name: "Transfer";
|
|
608
|
+
readonly type: "event";
|
|
609
|
+
}, {
|
|
610
|
+
readonly anonymous: false;
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly indexed: true;
|
|
613
|
+
readonly internalType: "address";
|
|
614
|
+
readonly name: "account";
|
|
615
|
+
readonly type: "address";
|
|
616
|
+
}, {
|
|
617
|
+
readonly indexed: false;
|
|
618
|
+
readonly internalType: "uint256";
|
|
619
|
+
readonly name: "timestamp";
|
|
620
|
+
readonly type: "uint256";
|
|
621
|
+
}];
|
|
622
|
+
readonly name: "Unfrozen";
|
|
623
|
+
readonly type: "event";
|
|
624
|
+
}, {
|
|
625
|
+
readonly anonymous: false;
|
|
626
|
+
readonly inputs: readonly [{
|
|
627
|
+
readonly indexed: false;
|
|
628
|
+
readonly internalType: "address";
|
|
629
|
+
readonly name: "account";
|
|
630
|
+
readonly type: "address";
|
|
631
|
+
}];
|
|
632
|
+
readonly name: "Unpaused";
|
|
633
|
+
readonly type: "event";
|
|
634
|
+
}, {
|
|
635
|
+
readonly anonymous: false;
|
|
636
|
+
readonly inputs: readonly [{
|
|
637
|
+
readonly indexed: false;
|
|
638
|
+
readonly internalType: "uint256";
|
|
639
|
+
readonly name: "timestamp";
|
|
640
|
+
readonly type: "uint256";
|
|
641
|
+
}];
|
|
642
|
+
readonly name: "WhitelistDisabled";
|
|
643
|
+
readonly type: "event";
|
|
644
|
+
}, {
|
|
645
|
+
readonly anonymous: false;
|
|
646
|
+
readonly inputs: readonly [{
|
|
647
|
+
readonly indexed: false;
|
|
648
|
+
readonly internalType: "uint256";
|
|
649
|
+
readonly name: "timestamp";
|
|
650
|
+
readonly type: "uint256";
|
|
651
|
+
}];
|
|
652
|
+
readonly name: "WhitelistEnabled";
|
|
653
|
+
readonly type: "event";
|
|
654
|
+
}, {
|
|
655
|
+
readonly anonymous: false;
|
|
656
|
+
readonly inputs: readonly [{
|
|
657
|
+
readonly indexed: true;
|
|
658
|
+
readonly internalType: "address";
|
|
659
|
+
readonly name: "account";
|
|
660
|
+
readonly type: "address";
|
|
661
|
+
}, {
|
|
662
|
+
readonly indexed: false;
|
|
663
|
+
readonly internalType: "uint256";
|
|
664
|
+
readonly name: "timestamp";
|
|
665
|
+
readonly type: "uint256";
|
|
666
|
+
}];
|
|
667
|
+
readonly name: "Whitelisted";
|
|
668
|
+
readonly type: "event";
|
|
669
|
+
}, {
|
|
670
|
+
readonly anonymous: false;
|
|
671
|
+
readonly inputs: readonly [{
|
|
672
|
+
readonly indexed: false;
|
|
673
|
+
readonly internalType: "uint256";
|
|
674
|
+
readonly name: "yield";
|
|
675
|
+
readonly type: "uint256";
|
|
676
|
+
}];
|
|
677
|
+
readonly name: "YieldClaimed";
|
|
678
|
+
readonly type: "event";
|
|
679
|
+
}, {
|
|
680
|
+
readonly anonymous: false;
|
|
681
|
+
readonly inputs: readonly [{
|
|
682
|
+
readonly indexed: true;
|
|
683
|
+
readonly internalType: "address";
|
|
684
|
+
readonly name: "yieldRecipient";
|
|
685
|
+
readonly type: "address";
|
|
686
|
+
}];
|
|
687
|
+
readonly name: "YieldRecipientSet";
|
|
688
|
+
readonly type: "event";
|
|
689
|
+
}, {
|
|
690
|
+
readonly inputs: readonly [];
|
|
691
|
+
readonly name: "ASSET_CAP_MANAGER_ROLE";
|
|
692
|
+
readonly outputs: readonly [{
|
|
693
|
+
readonly internalType: "bytes32";
|
|
694
|
+
readonly name: "";
|
|
695
|
+
readonly type: "bytes32";
|
|
696
|
+
}];
|
|
697
|
+
readonly stateMutability: "view";
|
|
698
|
+
readonly type: "function";
|
|
699
|
+
}, {
|
|
700
|
+
readonly inputs: readonly [];
|
|
701
|
+
readonly name: "CANCEL_AUTHORIZATION_TYPEHASH";
|
|
702
|
+
readonly outputs: readonly [{
|
|
703
|
+
readonly internalType: "bytes32";
|
|
704
|
+
readonly name: "";
|
|
705
|
+
readonly type: "bytes32";
|
|
706
|
+
}];
|
|
707
|
+
readonly stateMutability: "view";
|
|
708
|
+
readonly type: "function";
|
|
709
|
+
}, {
|
|
710
|
+
readonly inputs: readonly [];
|
|
711
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
712
|
+
readonly outputs: readonly [{
|
|
713
|
+
readonly internalType: "bytes32";
|
|
714
|
+
readonly name: "";
|
|
715
|
+
readonly type: "bytes32";
|
|
716
|
+
}];
|
|
717
|
+
readonly stateMutability: "view";
|
|
718
|
+
readonly type: "function";
|
|
719
|
+
}, {
|
|
720
|
+
readonly inputs: readonly [];
|
|
721
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
722
|
+
readonly outputs: readonly [{
|
|
723
|
+
readonly internalType: "bytes32";
|
|
724
|
+
readonly name: "";
|
|
725
|
+
readonly type: "bytes32";
|
|
726
|
+
}];
|
|
727
|
+
readonly stateMutability: "view";
|
|
728
|
+
readonly type: "function";
|
|
729
|
+
}, {
|
|
730
|
+
readonly inputs: readonly [];
|
|
731
|
+
readonly name: "FORCED_TRANSFER_MANAGER_ROLE";
|
|
732
|
+
readonly outputs: readonly [{
|
|
733
|
+
readonly internalType: "bytes32";
|
|
734
|
+
readonly name: "";
|
|
735
|
+
readonly type: "bytes32";
|
|
736
|
+
}];
|
|
737
|
+
readonly stateMutability: "view";
|
|
738
|
+
readonly type: "function";
|
|
739
|
+
}, {
|
|
740
|
+
readonly inputs: readonly [];
|
|
741
|
+
readonly name: "FREEZE_MANAGER_ROLE";
|
|
742
|
+
readonly outputs: readonly [{
|
|
743
|
+
readonly internalType: "bytes32";
|
|
744
|
+
readonly name: "";
|
|
745
|
+
readonly type: "bytes32";
|
|
746
|
+
}];
|
|
747
|
+
readonly stateMutability: "view";
|
|
748
|
+
readonly type: "function";
|
|
749
|
+
}, {
|
|
750
|
+
readonly inputs: readonly [];
|
|
751
|
+
readonly name: "M_DECIMALS";
|
|
752
|
+
readonly outputs: readonly [{
|
|
753
|
+
readonly internalType: "uint8";
|
|
754
|
+
readonly name: "";
|
|
755
|
+
readonly type: "uint8";
|
|
756
|
+
}];
|
|
757
|
+
readonly stateMutability: "view";
|
|
758
|
+
readonly type: "function";
|
|
759
|
+
}, {
|
|
760
|
+
readonly inputs: readonly [];
|
|
761
|
+
readonly name: "PAUSER_ROLE";
|
|
762
|
+
readonly outputs: readonly [{
|
|
763
|
+
readonly internalType: "bytes32";
|
|
764
|
+
readonly name: "";
|
|
765
|
+
readonly type: "bytes32";
|
|
766
|
+
}];
|
|
767
|
+
readonly stateMutability: "view";
|
|
768
|
+
readonly type: "function";
|
|
769
|
+
}, {
|
|
770
|
+
readonly inputs: readonly [];
|
|
771
|
+
readonly name: "PERMIT_TYPEHASH";
|
|
772
|
+
readonly outputs: readonly [{
|
|
773
|
+
readonly internalType: "bytes32";
|
|
774
|
+
readonly name: "";
|
|
775
|
+
readonly type: "bytes32";
|
|
776
|
+
}];
|
|
777
|
+
readonly stateMutability: "view";
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
}, {
|
|
780
|
+
readonly inputs: readonly [];
|
|
781
|
+
readonly name: "RECEIVE_WITH_AUTHORIZATION_TYPEHASH";
|
|
782
|
+
readonly outputs: readonly [{
|
|
783
|
+
readonly internalType: "bytes32";
|
|
784
|
+
readonly name: "";
|
|
785
|
+
readonly type: "bytes32";
|
|
786
|
+
}];
|
|
787
|
+
readonly stateMutability: "view";
|
|
788
|
+
readonly type: "function";
|
|
789
|
+
}, {
|
|
790
|
+
readonly inputs: readonly [];
|
|
791
|
+
readonly name: "TRANSFER_WITH_AUTHORIZATION_TYPEHASH";
|
|
792
|
+
readonly outputs: readonly [{
|
|
793
|
+
readonly internalType: "bytes32";
|
|
794
|
+
readonly name: "";
|
|
795
|
+
readonly type: "bytes32";
|
|
796
|
+
}];
|
|
797
|
+
readonly stateMutability: "view";
|
|
798
|
+
readonly type: "function";
|
|
799
|
+
}, {
|
|
800
|
+
readonly inputs: readonly [];
|
|
801
|
+
readonly name: "WHITELIST_MANAGER_ROLE";
|
|
802
|
+
readonly outputs: readonly [{
|
|
803
|
+
readonly internalType: "bytes32";
|
|
804
|
+
readonly name: "";
|
|
805
|
+
readonly type: "bytes32";
|
|
806
|
+
}];
|
|
807
|
+
readonly stateMutability: "view";
|
|
808
|
+
readonly type: "function";
|
|
809
|
+
}, {
|
|
810
|
+
readonly inputs: readonly [];
|
|
811
|
+
readonly name: "YIELD_RECIPIENT_MANAGER_ROLE";
|
|
812
|
+
readonly outputs: readonly [{
|
|
813
|
+
readonly internalType: "bytes32";
|
|
814
|
+
readonly name: "";
|
|
815
|
+
readonly type: "bytes32";
|
|
816
|
+
}];
|
|
817
|
+
readonly stateMutability: "view";
|
|
818
|
+
readonly type: "function";
|
|
819
|
+
}, {
|
|
820
|
+
readonly inputs: readonly [{
|
|
821
|
+
readonly internalType: "address";
|
|
822
|
+
readonly name: "account";
|
|
823
|
+
readonly type: "address";
|
|
824
|
+
}, {
|
|
825
|
+
readonly internalType: "address";
|
|
826
|
+
readonly name: "spender";
|
|
827
|
+
readonly type: "address";
|
|
828
|
+
}];
|
|
829
|
+
readonly name: "allowance";
|
|
830
|
+
readonly outputs: readonly [{
|
|
831
|
+
readonly internalType: "uint256";
|
|
832
|
+
readonly name: "";
|
|
833
|
+
readonly type: "uint256";
|
|
834
|
+
}];
|
|
835
|
+
readonly stateMutability: "view";
|
|
836
|
+
readonly type: "function";
|
|
837
|
+
}, {
|
|
838
|
+
readonly inputs: readonly [{
|
|
839
|
+
readonly internalType: "address";
|
|
840
|
+
readonly name: "spender_";
|
|
841
|
+
readonly type: "address";
|
|
842
|
+
}, {
|
|
843
|
+
readonly internalType: "uint256";
|
|
844
|
+
readonly name: "amount_";
|
|
845
|
+
readonly type: "uint256";
|
|
846
|
+
}];
|
|
847
|
+
readonly name: "approve";
|
|
848
|
+
readonly outputs: readonly [{
|
|
849
|
+
readonly internalType: "bool";
|
|
850
|
+
readonly name: "";
|
|
851
|
+
readonly type: "bool";
|
|
852
|
+
}];
|
|
853
|
+
readonly stateMutability: "nonpayable";
|
|
854
|
+
readonly type: "function";
|
|
855
|
+
}, {
|
|
856
|
+
readonly inputs: readonly [{
|
|
857
|
+
readonly internalType: "address";
|
|
858
|
+
readonly name: "asset";
|
|
859
|
+
readonly type: "address";
|
|
860
|
+
}];
|
|
861
|
+
readonly name: "assetBalanceOf";
|
|
862
|
+
readonly outputs: readonly [{
|
|
863
|
+
readonly internalType: "uint256";
|
|
864
|
+
readonly name: "";
|
|
865
|
+
readonly type: "uint256";
|
|
866
|
+
}];
|
|
867
|
+
readonly stateMutability: "view";
|
|
868
|
+
readonly type: "function";
|
|
869
|
+
}, {
|
|
870
|
+
readonly inputs: readonly [{
|
|
871
|
+
readonly internalType: "address";
|
|
872
|
+
readonly name: "asset";
|
|
873
|
+
readonly type: "address";
|
|
874
|
+
}];
|
|
875
|
+
readonly name: "assetCap";
|
|
876
|
+
readonly outputs: readonly [{
|
|
877
|
+
readonly internalType: "uint256";
|
|
878
|
+
readonly name: "";
|
|
879
|
+
readonly type: "uint256";
|
|
880
|
+
}];
|
|
881
|
+
readonly stateMutability: "view";
|
|
882
|
+
readonly type: "function";
|
|
883
|
+
}, {
|
|
884
|
+
readonly inputs: readonly [{
|
|
885
|
+
readonly internalType: "address";
|
|
886
|
+
readonly name: "asset";
|
|
887
|
+
readonly type: "address";
|
|
888
|
+
}];
|
|
889
|
+
readonly name: "assetDecimals";
|
|
890
|
+
readonly outputs: readonly [{
|
|
891
|
+
readonly internalType: "uint8";
|
|
892
|
+
readonly name: "";
|
|
893
|
+
readonly type: "uint8";
|
|
894
|
+
}];
|
|
895
|
+
readonly stateMutability: "view";
|
|
896
|
+
readonly type: "function";
|
|
897
|
+
}, {
|
|
898
|
+
readonly inputs: readonly [{
|
|
899
|
+
readonly internalType: "address";
|
|
900
|
+
readonly name: "authorizer";
|
|
901
|
+
readonly type: "address";
|
|
902
|
+
}, {
|
|
903
|
+
readonly internalType: "bytes32";
|
|
904
|
+
readonly name: "nonce";
|
|
905
|
+
readonly type: "bytes32";
|
|
906
|
+
}];
|
|
907
|
+
readonly name: "authorizationState";
|
|
908
|
+
readonly outputs: readonly [{
|
|
909
|
+
readonly internalType: "bool";
|
|
910
|
+
readonly name: "";
|
|
911
|
+
readonly type: "bool";
|
|
912
|
+
}];
|
|
913
|
+
readonly stateMutability: "view";
|
|
914
|
+
readonly type: "function";
|
|
915
|
+
}, {
|
|
916
|
+
readonly inputs: readonly [{
|
|
917
|
+
readonly internalType: "address";
|
|
918
|
+
readonly name: "account";
|
|
919
|
+
readonly type: "address";
|
|
920
|
+
}];
|
|
921
|
+
readonly name: "balanceOf";
|
|
922
|
+
readonly outputs: readonly [{
|
|
923
|
+
readonly internalType: "uint256";
|
|
924
|
+
readonly name: "";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
}];
|
|
927
|
+
readonly stateMutability: "view";
|
|
928
|
+
readonly type: "function";
|
|
929
|
+
}, {
|
|
930
|
+
readonly inputs: readonly [{
|
|
931
|
+
readonly internalType: "address";
|
|
932
|
+
readonly name: "authorizer_";
|
|
933
|
+
readonly type: "address";
|
|
934
|
+
}, {
|
|
935
|
+
readonly internalType: "bytes32";
|
|
936
|
+
readonly name: "nonce_";
|
|
937
|
+
readonly type: "bytes32";
|
|
938
|
+
}, {
|
|
939
|
+
readonly internalType: "bytes32";
|
|
940
|
+
readonly name: "r_";
|
|
941
|
+
readonly type: "bytes32";
|
|
942
|
+
}, {
|
|
943
|
+
readonly internalType: "bytes32";
|
|
944
|
+
readonly name: "vs_";
|
|
945
|
+
readonly type: "bytes32";
|
|
946
|
+
}];
|
|
947
|
+
readonly name: "cancelAuthorization";
|
|
948
|
+
readonly outputs: readonly [];
|
|
949
|
+
readonly stateMutability: "nonpayable";
|
|
950
|
+
readonly type: "function";
|
|
951
|
+
}, {
|
|
952
|
+
readonly inputs: readonly [{
|
|
953
|
+
readonly internalType: "address";
|
|
954
|
+
readonly name: "authorizer_";
|
|
955
|
+
readonly type: "address";
|
|
956
|
+
}, {
|
|
957
|
+
readonly internalType: "bytes32";
|
|
958
|
+
readonly name: "nonce_";
|
|
959
|
+
readonly type: "bytes32";
|
|
960
|
+
}, {
|
|
961
|
+
readonly internalType: "uint8";
|
|
962
|
+
readonly name: "v_";
|
|
963
|
+
readonly type: "uint8";
|
|
964
|
+
}, {
|
|
965
|
+
readonly internalType: "bytes32";
|
|
966
|
+
readonly name: "r_";
|
|
967
|
+
readonly type: "bytes32";
|
|
968
|
+
}, {
|
|
969
|
+
readonly internalType: "bytes32";
|
|
970
|
+
readonly name: "s_";
|
|
971
|
+
readonly type: "bytes32";
|
|
972
|
+
}];
|
|
973
|
+
readonly name: "cancelAuthorization";
|
|
974
|
+
readonly outputs: readonly [];
|
|
975
|
+
readonly stateMutability: "nonpayable";
|
|
976
|
+
readonly type: "function";
|
|
977
|
+
}, {
|
|
978
|
+
readonly inputs: readonly [{
|
|
979
|
+
readonly internalType: "address";
|
|
980
|
+
readonly name: "authorizer_";
|
|
981
|
+
readonly type: "address";
|
|
982
|
+
}, {
|
|
983
|
+
readonly internalType: "bytes32";
|
|
984
|
+
readonly name: "nonce_";
|
|
985
|
+
readonly type: "bytes32";
|
|
986
|
+
}, {
|
|
987
|
+
readonly internalType: "bytes";
|
|
988
|
+
readonly name: "signature_";
|
|
989
|
+
readonly type: "bytes";
|
|
990
|
+
}];
|
|
991
|
+
readonly name: "cancelAuthorization";
|
|
992
|
+
readonly outputs: readonly [];
|
|
993
|
+
readonly stateMutability: "nonpayable";
|
|
994
|
+
readonly type: "function";
|
|
995
|
+
}, {
|
|
996
|
+
readonly inputs: readonly [];
|
|
997
|
+
readonly name: "claimYield";
|
|
998
|
+
readonly outputs: readonly [{
|
|
999
|
+
readonly internalType: "uint256";
|
|
1000
|
+
readonly name: "";
|
|
1001
|
+
readonly type: "uint256";
|
|
1002
|
+
}];
|
|
1003
|
+
readonly stateMutability: "nonpayable";
|
|
1004
|
+
readonly type: "function";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly inputs: readonly [];
|
|
1007
|
+
readonly name: "currentIndex";
|
|
1008
|
+
readonly outputs: readonly [{
|
|
1009
|
+
readonly internalType: "uint128";
|
|
1010
|
+
readonly name: "";
|
|
1011
|
+
readonly type: "uint128";
|
|
1012
|
+
}];
|
|
1013
|
+
readonly stateMutability: "view";
|
|
1014
|
+
readonly type: "function";
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly inputs: readonly [];
|
|
1017
|
+
readonly name: "decimals";
|
|
1018
|
+
readonly outputs: readonly [{
|
|
1019
|
+
readonly internalType: "uint8";
|
|
1020
|
+
readonly name: "";
|
|
1021
|
+
readonly type: "uint8";
|
|
1022
|
+
}];
|
|
1023
|
+
readonly stateMutability: "view";
|
|
1024
|
+
readonly type: "function";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly inputs: readonly [];
|
|
1027
|
+
readonly name: "disableEarning";
|
|
1028
|
+
readonly outputs: readonly [];
|
|
1029
|
+
readonly stateMutability: "nonpayable";
|
|
1030
|
+
readonly type: "function";
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly inputs: readonly [];
|
|
1033
|
+
readonly name: "disableWhitelist";
|
|
1034
|
+
readonly outputs: readonly [];
|
|
1035
|
+
readonly stateMutability: "nonpayable";
|
|
1036
|
+
readonly type: "function";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly inputs: readonly [];
|
|
1039
|
+
readonly name: "eip712Domain";
|
|
1040
|
+
readonly outputs: readonly [{
|
|
1041
|
+
readonly internalType: "bytes1";
|
|
1042
|
+
readonly name: "fields_";
|
|
1043
|
+
readonly type: "bytes1";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly internalType: "string";
|
|
1046
|
+
readonly name: "name_";
|
|
1047
|
+
readonly type: "string";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly internalType: "string";
|
|
1050
|
+
readonly name: "version_";
|
|
1051
|
+
readonly type: "string";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly internalType: "uint256";
|
|
1054
|
+
readonly name: "chainId_";
|
|
1055
|
+
readonly type: "uint256";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly internalType: "address";
|
|
1058
|
+
readonly name: "verifyingContract_";
|
|
1059
|
+
readonly type: "address";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly internalType: "bytes32";
|
|
1062
|
+
readonly name: "salt_";
|
|
1063
|
+
readonly type: "bytes32";
|
|
1064
|
+
}, {
|
|
1065
|
+
readonly internalType: "uint256[]";
|
|
1066
|
+
readonly name: "extensions_";
|
|
1067
|
+
readonly type: "uint256[]";
|
|
1068
|
+
}];
|
|
1069
|
+
readonly stateMutability: "view";
|
|
1070
|
+
readonly type: "function";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly inputs: readonly [];
|
|
1073
|
+
readonly name: "enableEarning";
|
|
1074
|
+
readonly outputs: readonly [];
|
|
1075
|
+
readonly stateMutability: "nonpayable";
|
|
1076
|
+
readonly type: "function";
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly inputs: readonly [];
|
|
1079
|
+
readonly name: "enableWhitelist";
|
|
1080
|
+
readonly outputs: readonly [];
|
|
1081
|
+
readonly stateMutability: "nonpayable";
|
|
1082
|
+
readonly type: "function";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly inputs: readonly [{
|
|
1085
|
+
readonly internalType: "address";
|
|
1086
|
+
readonly name: "frozenAccount";
|
|
1087
|
+
readonly type: "address";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly internalType: "address";
|
|
1090
|
+
readonly name: "recipient";
|
|
1091
|
+
readonly type: "address";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly internalType: "uint256";
|
|
1094
|
+
readonly name: "amount";
|
|
1095
|
+
readonly type: "uint256";
|
|
1096
|
+
}];
|
|
1097
|
+
readonly name: "forceTransfer";
|
|
1098
|
+
readonly outputs: readonly [];
|
|
1099
|
+
readonly stateMutability: "nonpayable";
|
|
1100
|
+
readonly type: "function";
|
|
1101
|
+
}, {
|
|
1102
|
+
readonly inputs: readonly [{
|
|
1103
|
+
readonly internalType: "address[]";
|
|
1104
|
+
readonly name: "frozenAccounts";
|
|
1105
|
+
readonly type: "address[]";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly internalType: "address[]";
|
|
1108
|
+
readonly name: "recipients";
|
|
1109
|
+
readonly type: "address[]";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly internalType: "uint256[]";
|
|
1112
|
+
readonly name: "amounts";
|
|
1113
|
+
readonly type: "uint256[]";
|
|
1114
|
+
}];
|
|
1115
|
+
readonly name: "forceTransfers";
|
|
1116
|
+
readonly outputs: readonly [];
|
|
1117
|
+
readonly stateMutability: "nonpayable";
|
|
1118
|
+
readonly type: "function";
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly inputs: readonly [{
|
|
1121
|
+
readonly internalType: "address";
|
|
1122
|
+
readonly name: "account";
|
|
1123
|
+
readonly type: "address";
|
|
1124
|
+
}];
|
|
1125
|
+
readonly name: "freeze";
|
|
1126
|
+
readonly outputs: readonly [];
|
|
1127
|
+
readonly stateMutability: "nonpayable";
|
|
1128
|
+
readonly type: "function";
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly inputs: readonly [{
|
|
1131
|
+
readonly internalType: "address[]";
|
|
1132
|
+
readonly name: "accounts";
|
|
1133
|
+
readonly type: "address[]";
|
|
1134
|
+
}];
|
|
1135
|
+
readonly name: "freezeAccounts";
|
|
1136
|
+
readonly outputs: readonly [];
|
|
1137
|
+
readonly stateMutability: "nonpayable";
|
|
1138
|
+
readonly type: "function";
|
|
1139
|
+
}, {
|
|
1140
|
+
readonly inputs: readonly [{
|
|
1141
|
+
readonly internalType: "bytes32";
|
|
1142
|
+
readonly name: "role";
|
|
1143
|
+
readonly type: "bytes32";
|
|
1144
|
+
}];
|
|
1145
|
+
readonly name: "getRoleAdmin";
|
|
1146
|
+
readonly outputs: readonly [{
|
|
1147
|
+
readonly internalType: "bytes32";
|
|
1148
|
+
readonly name: "";
|
|
1149
|
+
readonly type: "bytes32";
|
|
1150
|
+
}];
|
|
1151
|
+
readonly stateMutability: "view";
|
|
1152
|
+
readonly type: "function";
|
|
1153
|
+
}, {
|
|
1154
|
+
readonly inputs: readonly [{
|
|
1155
|
+
readonly internalType: "bytes32";
|
|
1156
|
+
readonly name: "role";
|
|
1157
|
+
readonly type: "bytes32";
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly internalType: "address";
|
|
1160
|
+
readonly name: "account";
|
|
1161
|
+
readonly type: "address";
|
|
1162
|
+
}];
|
|
1163
|
+
readonly name: "grantRole";
|
|
1164
|
+
readonly outputs: readonly [];
|
|
1165
|
+
readonly stateMutability: "nonpayable";
|
|
1166
|
+
readonly type: "function";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly inputs: readonly [{
|
|
1169
|
+
readonly internalType: "bytes32";
|
|
1170
|
+
readonly name: "role";
|
|
1171
|
+
readonly type: "bytes32";
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly internalType: "address";
|
|
1174
|
+
readonly name: "account";
|
|
1175
|
+
readonly type: "address";
|
|
1176
|
+
}];
|
|
1177
|
+
readonly name: "hasRole";
|
|
1178
|
+
readonly outputs: readonly [{
|
|
1179
|
+
readonly internalType: "bool";
|
|
1180
|
+
readonly name: "";
|
|
1181
|
+
readonly type: "bool";
|
|
1182
|
+
}];
|
|
1183
|
+
readonly stateMutability: "view";
|
|
1184
|
+
readonly type: "function";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly inputs: readonly [{
|
|
1187
|
+
readonly internalType: "string";
|
|
1188
|
+
readonly name: "name";
|
|
1189
|
+
readonly type: "string";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly internalType: "string";
|
|
1192
|
+
readonly name: "symbol";
|
|
1193
|
+
readonly type: "string";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly internalType: "address";
|
|
1196
|
+
readonly name: "yieldRecipient";
|
|
1197
|
+
readonly type: "address";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly internalType: "address";
|
|
1200
|
+
readonly name: "admin";
|
|
1201
|
+
readonly type: "address";
|
|
1202
|
+
}, {
|
|
1203
|
+
readonly internalType: "address";
|
|
1204
|
+
readonly name: "assetCapManager";
|
|
1205
|
+
readonly type: "address";
|
|
1206
|
+
}, {
|
|
1207
|
+
readonly internalType: "address";
|
|
1208
|
+
readonly name: "freezeManager";
|
|
1209
|
+
readonly type: "address";
|
|
1210
|
+
}, {
|
|
1211
|
+
readonly internalType: "address";
|
|
1212
|
+
readonly name: "pauser";
|
|
1213
|
+
readonly type: "address";
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly internalType: "address";
|
|
1216
|
+
readonly name: "yieldRecipientManager";
|
|
1217
|
+
readonly type: "address";
|
|
1218
|
+
}];
|
|
1219
|
+
readonly name: "initialize";
|
|
1220
|
+
readonly outputs: readonly [];
|
|
1221
|
+
readonly stateMutability: "nonpayable";
|
|
1222
|
+
readonly type: "function";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly inputs: readonly [{
|
|
1225
|
+
readonly internalType: "string";
|
|
1226
|
+
readonly name: "name";
|
|
1227
|
+
readonly type: "string";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly internalType: "string";
|
|
1230
|
+
readonly name: "symbol";
|
|
1231
|
+
readonly type: "string";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly internalType: "address";
|
|
1234
|
+
readonly name: "yieldRecipient_";
|
|
1235
|
+
readonly type: "address";
|
|
1236
|
+
}, {
|
|
1237
|
+
readonly internalType: "address";
|
|
1238
|
+
readonly name: "admin";
|
|
1239
|
+
readonly type: "address";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly internalType: "address";
|
|
1242
|
+
readonly name: "freezeManager";
|
|
1243
|
+
readonly type: "address";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly internalType: "address";
|
|
1246
|
+
readonly name: "yieldRecipientManager";
|
|
1247
|
+
readonly type: "address";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly internalType: "address";
|
|
1250
|
+
readonly name: "pauser";
|
|
1251
|
+
readonly type: "address";
|
|
1252
|
+
}];
|
|
1253
|
+
readonly name: "initialize";
|
|
1254
|
+
readonly outputs: readonly [];
|
|
1255
|
+
readonly stateMutability: "nonpayable";
|
|
1256
|
+
readonly type: "function";
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly inputs: readonly [{
|
|
1259
|
+
readonly internalType: "address";
|
|
1260
|
+
readonly name: "yieldRecipient";
|
|
1261
|
+
readonly type: "address";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly internalType: "address";
|
|
1264
|
+
readonly name: "admin";
|
|
1265
|
+
readonly type: "address";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly internalType: "address";
|
|
1268
|
+
readonly name: "compliance";
|
|
1269
|
+
readonly type: "address";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly internalType: "address";
|
|
1272
|
+
readonly name: "processor";
|
|
1273
|
+
readonly type: "address";
|
|
1274
|
+
}];
|
|
1275
|
+
readonly name: "initialize";
|
|
1276
|
+
readonly outputs: readonly [];
|
|
1277
|
+
readonly stateMutability: "nonpayable";
|
|
1278
|
+
readonly type: "function";
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly inputs: readonly [{
|
|
1281
|
+
readonly internalType: "address";
|
|
1282
|
+
readonly name: "asset";
|
|
1283
|
+
readonly type: "address";
|
|
1284
|
+
}];
|
|
1285
|
+
readonly name: "isAllowedAsset";
|
|
1286
|
+
readonly outputs: readonly [{
|
|
1287
|
+
readonly internalType: "bool";
|
|
1288
|
+
readonly name: "";
|
|
1289
|
+
readonly type: "bool";
|
|
1290
|
+
}];
|
|
1291
|
+
readonly stateMutability: "view";
|
|
1292
|
+
readonly type: "function";
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly inputs: readonly [{
|
|
1295
|
+
readonly internalType: "address";
|
|
1296
|
+
readonly name: "asset";
|
|
1297
|
+
readonly type: "address";
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly internalType: "uint256";
|
|
1300
|
+
readonly name: "amount";
|
|
1301
|
+
readonly type: "uint256";
|
|
1302
|
+
}];
|
|
1303
|
+
readonly name: "isAllowedToReplaceAssetWithM";
|
|
1304
|
+
readonly outputs: readonly [{
|
|
1305
|
+
readonly internalType: "bool";
|
|
1306
|
+
readonly name: "";
|
|
1307
|
+
readonly type: "bool";
|
|
1308
|
+
}];
|
|
1309
|
+
readonly stateMutability: "view";
|
|
1310
|
+
readonly type: "function";
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly inputs: readonly [{
|
|
1313
|
+
readonly internalType: "uint256";
|
|
1314
|
+
readonly name: "amount";
|
|
1315
|
+
readonly type: "uint256";
|
|
1316
|
+
}];
|
|
1317
|
+
readonly name: "isAllowedToUnwrap";
|
|
1318
|
+
readonly outputs: readonly [{
|
|
1319
|
+
readonly internalType: "bool";
|
|
1320
|
+
readonly name: "";
|
|
1321
|
+
readonly type: "bool";
|
|
1322
|
+
}];
|
|
1323
|
+
readonly stateMutability: "view";
|
|
1324
|
+
readonly type: "function";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly inputs: readonly [{
|
|
1327
|
+
readonly internalType: "address";
|
|
1328
|
+
readonly name: "asset";
|
|
1329
|
+
readonly type: "address";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly internalType: "uint256";
|
|
1332
|
+
readonly name: "amount";
|
|
1333
|
+
readonly type: "uint256";
|
|
1334
|
+
}];
|
|
1335
|
+
readonly name: "isAllowedToWrap";
|
|
1336
|
+
readonly outputs: readonly [{
|
|
1337
|
+
readonly internalType: "bool";
|
|
1338
|
+
readonly name: "";
|
|
1339
|
+
readonly type: "bool";
|
|
1340
|
+
}];
|
|
1341
|
+
readonly stateMutability: "view";
|
|
1342
|
+
readonly type: "function";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly inputs: readonly [];
|
|
1345
|
+
readonly name: "isEarningEnabled";
|
|
1346
|
+
readonly outputs: readonly [{
|
|
1347
|
+
readonly internalType: "bool";
|
|
1348
|
+
readonly name: "";
|
|
1349
|
+
readonly type: "bool";
|
|
1350
|
+
}];
|
|
1351
|
+
readonly stateMutability: "view";
|
|
1352
|
+
readonly type: "function";
|
|
1353
|
+
}, {
|
|
1354
|
+
readonly inputs: readonly [{
|
|
1355
|
+
readonly internalType: "address";
|
|
1356
|
+
readonly name: "account";
|
|
1357
|
+
readonly type: "address";
|
|
1358
|
+
}];
|
|
1359
|
+
readonly name: "isFrozen";
|
|
1360
|
+
readonly outputs: readonly [{
|
|
1361
|
+
readonly internalType: "bool";
|
|
1362
|
+
readonly name: "";
|
|
1363
|
+
readonly type: "bool";
|
|
1364
|
+
}];
|
|
1365
|
+
readonly stateMutability: "view";
|
|
1366
|
+
readonly type: "function";
|
|
1367
|
+
}, {
|
|
1368
|
+
readonly inputs: readonly [];
|
|
1369
|
+
readonly name: "isWhitelistEnabled";
|
|
1370
|
+
readonly outputs: readonly [{
|
|
1371
|
+
readonly internalType: "bool";
|
|
1372
|
+
readonly name: "";
|
|
1373
|
+
readonly type: "bool";
|
|
1374
|
+
}];
|
|
1375
|
+
readonly stateMutability: "view";
|
|
1376
|
+
readonly type: "function";
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly inputs: readonly [{
|
|
1379
|
+
readonly internalType: "address";
|
|
1380
|
+
readonly name: "account";
|
|
1381
|
+
readonly type: "address";
|
|
1382
|
+
}];
|
|
1383
|
+
readonly name: "isWhitelisted";
|
|
1384
|
+
readonly outputs: readonly [{
|
|
1385
|
+
readonly internalType: "bool";
|
|
1386
|
+
readonly name: "";
|
|
1387
|
+
readonly type: "bool";
|
|
1388
|
+
}];
|
|
1389
|
+
readonly stateMutability: "view";
|
|
1390
|
+
readonly type: "function";
|
|
1391
|
+
}, {
|
|
1392
|
+
readonly inputs: readonly [];
|
|
1393
|
+
readonly name: "mToken";
|
|
1394
|
+
readonly outputs: readonly [{
|
|
1395
|
+
readonly internalType: "address";
|
|
1396
|
+
readonly name: "";
|
|
1397
|
+
readonly type: "address";
|
|
1398
|
+
}];
|
|
1399
|
+
readonly stateMutability: "view";
|
|
1400
|
+
readonly type: "function";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly inputs: readonly [];
|
|
1403
|
+
readonly name: "name";
|
|
1404
|
+
readonly outputs: readonly [{
|
|
1405
|
+
readonly internalType: "string";
|
|
1406
|
+
readonly name: "";
|
|
1407
|
+
readonly type: "string";
|
|
1408
|
+
}];
|
|
1409
|
+
readonly stateMutability: "view";
|
|
1410
|
+
readonly type: "function";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly inputs: readonly [{
|
|
1413
|
+
readonly internalType: "address";
|
|
1414
|
+
readonly name: "account";
|
|
1415
|
+
readonly type: "address";
|
|
1416
|
+
}];
|
|
1417
|
+
readonly name: "nonces";
|
|
1418
|
+
readonly outputs: readonly [{
|
|
1419
|
+
readonly internalType: "uint256";
|
|
1420
|
+
readonly name: "";
|
|
1421
|
+
readonly type: "uint256";
|
|
1422
|
+
}];
|
|
1423
|
+
readonly stateMutability: "view";
|
|
1424
|
+
readonly type: "function";
|
|
1425
|
+
}, {
|
|
1426
|
+
readonly inputs: readonly [];
|
|
1427
|
+
readonly name: "pause";
|
|
1428
|
+
readonly outputs: readonly [];
|
|
1429
|
+
readonly stateMutability: "nonpayable";
|
|
1430
|
+
readonly type: "function";
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly inputs: readonly [];
|
|
1433
|
+
readonly name: "paused";
|
|
1434
|
+
readonly outputs: readonly [{
|
|
1435
|
+
readonly internalType: "bool";
|
|
1436
|
+
readonly name: "";
|
|
1437
|
+
readonly type: "bool";
|
|
1438
|
+
}];
|
|
1439
|
+
readonly stateMutability: "view";
|
|
1440
|
+
readonly type: "function";
|
|
1441
|
+
}, {
|
|
1442
|
+
readonly inputs: readonly [{
|
|
1443
|
+
readonly internalType: "address";
|
|
1444
|
+
readonly name: "owner_";
|
|
1445
|
+
readonly type: "address";
|
|
1446
|
+
}, {
|
|
1447
|
+
readonly internalType: "address";
|
|
1448
|
+
readonly name: "spender_";
|
|
1449
|
+
readonly type: "address";
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly internalType: "uint256";
|
|
1452
|
+
readonly name: "value_";
|
|
1453
|
+
readonly type: "uint256";
|
|
1454
|
+
}, {
|
|
1455
|
+
readonly internalType: "uint256";
|
|
1456
|
+
readonly name: "deadline_";
|
|
1457
|
+
readonly type: "uint256";
|
|
1458
|
+
}, {
|
|
1459
|
+
readonly internalType: "bytes";
|
|
1460
|
+
readonly name: "signature_";
|
|
1461
|
+
readonly type: "bytes";
|
|
1462
|
+
}];
|
|
1463
|
+
readonly name: "permit";
|
|
1464
|
+
readonly outputs: readonly [];
|
|
1465
|
+
readonly stateMutability: "nonpayable";
|
|
1466
|
+
readonly type: "function";
|
|
1467
|
+
}, {
|
|
1468
|
+
readonly inputs: readonly [{
|
|
1469
|
+
readonly internalType: "address";
|
|
1470
|
+
readonly name: "owner_";
|
|
1471
|
+
readonly type: "address";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly internalType: "address";
|
|
1474
|
+
readonly name: "spender_";
|
|
1475
|
+
readonly type: "address";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly internalType: "uint256";
|
|
1478
|
+
readonly name: "value_";
|
|
1479
|
+
readonly type: "uint256";
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly internalType: "uint256";
|
|
1482
|
+
readonly name: "deadline_";
|
|
1483
|
+
readonly type: "uint256";
|
|
1484
|
+
}, {
|
|
1485
|
+
readonly internalType: "uint8";
|
|
1486
|
+
readonly name: "v_";
|
|
1487
|
+
readonly type: "uint8";
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly internalType: "bytes32";
|
|
1490
|
+
readonly name: "r_";
|
|
1491
|
+
readonly type: "bytes32";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly internalType: "bytes32";
|
|
1494
|
+
readonly name: "s_";
|
|
1495
|
+
readonly type: "bytes32";
|
|
1496
|
+
}];
|
|
1497
|
+
readonly name: "permit";
|
|
1498
|
+
readonly outputs: readonly [];
|
|
1499
|
+
readonly stateMutability: "nonpayable";
|
|
1500
|
+
readonly type: "function";
|
|
1501
|
+
}, {
|
|
1502
|
+
readonly inputs: readonly [{
|
|
1503
|
+
readonly internalType: "address";
|
|
1504
|
+
readonly name: "from_";
|
|
1505
|
+
readonly type: "address";
|
|
1506
|
+
}, {
|
|
1507
|
+
readonly internalType: "address";
|
|
1508
|
+
readonly name: "to_";
|
|
1509
|
+
readonly type: "address";
|
|
1510
|
+
}, {
|
|
1511
|
+
readonly internalType: "uint256";
|
|
1512
|
+
readonly name: "value_";
|
|
1513
|
+
readonly type: "uint256";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly internalType: "uint256";
|
|
1516
|
+
readonly name: "validAfter_";
|
|
1517
|
+
readonly type: "uint256";
|
|
1518
|
+
}, {
|
|
1519
|
+
readonly internalType: "uint256";
|
|
1520
|
+
readonly name: "validBefore_";
|
|
1521
|
+
readonly type: "uint256";
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly internalType: "bytes32";
|
|
1524
|
+
readonly name: "nonce_";
|
|
1525
|
+
readonly type: "bytes32";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly internalType: "bytes";
|
|
1528
|
+
readonly name: "signature_";
|
|
1529
|
+
readonly type: "bytes";
|
|
1530
|
+
}];
|
|
1531
|
+
readonly name: "receiveWithAuthorization";
|
|
1532
|
+
readonly outputs: readonly [];
|
|
1533
|
+
readonly stateMutability: "nonpayable";
|
|
1534
|
+
readonly type: "function";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly inputs: readonly [{
|
|
1537
|
+
readonly internalType: "address";
|
|
1538
|
+
readonly name: "from_";
|
|
1539
|
+
readonly type: "address";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly internalType: "address";
|
|
1542
|
+
readonly name: "to_";
|
|
1543
|
+
readonly type: "address";
|
|
1544
|
+
}, {
|
|
1545
|
+
readonly internalType: "uint256";
|
|
1546
|
+
readonly name: "value_";
|
|
1547
|
+
readonly type: "uint256";
|
|
1548
|
+
}, {
|
|
1549
|
+
readonly internalType: "uint256";
|
|
1550
|
+
readonly name: "validAfter_";
|
|
1551
|
+
readonly type: "uint256";
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly internalType: "uint256";
|
|
1554
|
+
readonly name: "validBefore_";
|
|
1555
|
+
readonly type: "uint256";
|
|
1556
|
+
}, {
|
|
1557
|
+
readonly internalType: "bytes32";
|
|
1558
|
+
readonly name: "nonce_";
|
|
1559
|
+
readonly type: "bytes32";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly internalType: "bytes32";
|
|
1562
|
+
readonly name: "r_";
|
|
1563
|
+
readonly type: "bytes32";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly internalType: "bytes32";
|
|
1566
|
+
readonly name: "vs_";
|
|
1567
|
+
readonly type: "bytes32";
|
|
1568
|
+
}];
|
|
1569
|
+
readonly name: "receiveWithAuthorization";
|
|
1570
|
+
readonly outputs: readonly [];
|
|
1571
|
+
readonly stateMutability: "nonpayable";
|
|
1572
|
+
readonly type: "function";
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly inputs: readonly [{
|
|
1575
|
+
readonly internalType: "address";
|
|
1576
|
+
readonly name: "from_";
|
|
1577
|
+
readonly type: "address";
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly internalType: "address";
|
|
1580
|
+
readonly name: "to_";
|
|
1581
|
+
readonly type: "address";
|
|
1582
|
+
}, {
|
|
1583
|
+
readonly internalType: "uint256";
|
|
1584
|
+
readonly name: "value_";
|
|
1585
|
+
readonly type: "uint256";
|
|
1586
|
+
}, {
|
|
1587
|
+
readonly internalType: "uint256";
|
|
1588
|
+
readonly name: "validAfter_";
|
|
1589
|
+
readonly type: "uint256";
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly internalType: "uint256";
|
|
1592
|
+
readonly name: "validBefore_";
|
|
1593
|
+
readonly type: "uint256";
|
|
1594
|
+
}, {
|
|
1595
|
+
readonly internalType: "bytes32";
|
|
1596
|
+
readonly name: "nonce_";
|
|
1597
|
+
readonly type: "bytes32";
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly internalType: "uint8";
|
|
1600
|
+
readonly name: "v_";
|
|
1601
|
+
readonly type: "uint8";
|
|
1602
|
+
}, {
|
|
1603
|
+
readonly internalType: "bytes32";
|
|
1604
|
+
readonly name: "r_";
|
|
1605
|
+
readonly type: "bytes32";
|
|
1606
|
+
}, {
|
|
1607
|
+
readonly internalType: "bytes32";
|
|
1608
|
+
readonly name: "s_";
|
|
1609
|
+
readonly type: "bytes32";
|
|
1610
|
+
}];
|
|
1611
|
+
readonly name: "receiveWithAuthorization";
|
|
1612
|
+
readonly outputs: readonly [];
|
|
1613
|
+
readonly stateMutability: "nonpayable";
|
|
1614
|
+
readonly type: "function";
|
|
1615
|
+
}, {
|
|
1616
|
+
readonly inputs: readonly [{
|
|
1617
|
+
readonly internalType: "address";
|
|
1618
|
+
readonly name: "account";
|
|
1619
|
+
readonly type: "address";
|
|
1620
|
+
}];
|
|
1621
|
+
readonly name: "removeFromWhitelist";
|
|
1622
|
+
readonly outputs: readonly [];
|
|
1623
|
+
readonly stateMutability: "nonpayable";
|
|
1624
|
+
readonly type: "function";
|
|
1625
|
+
}, {
|
|
1626
|
+
readonly inputs: readonly [{
|
|
1627
|
+
readonly internalType: "bytes32";
|
|
1628
|
+
readonly name: "role";
|
|
1629
|
+
readonly type: "bytes32";
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly internalType: "address";
|
|
1632
|
+
readonly name: "callerConfirmation";
|
|
1633
|
+
readonly type: "address";
|
|
1634
|
+
}];
|
|
1635
|
+
readonly name: "renounceRole";
|
|
1636
|
+
readonly outputs: readonly [];
|
|
1637
|
+
readonly stateMutability: "nonpayable";
|
|
1638
|
+
readonly type: "function";
|
|
1639
|
+
}, {
|
|
1640
|
+
readonly inputs: readonly [{
|
|
1641
|
+
readonly internalType: "address";
|
|
1642
|
+
readonly name: "asset";
|
|
1643
|
+
readonly type: "address";
|
|
1644
|
+
}, {
|
|
1645
|
+
readonly internalType: "address";
|
|
1646
|
+
readonly name: "recipient";
|
|
1647
|
+
readonly type: "address";
|
|
1648
|
+
}, {
|
|
1649
|
+
readonly internalType: "uint256";
|
|
1650
|
+
readonly name: "amount";
|
|
1651
|
+
readonly type: "uint256";
|
|
1652
|
+
}];
|
|
1653
|
+
readonly name: "replaceAssetWithM";
|
|
1654
|
+
readonly outputs: readonly [];
|
|
1655
|
+
readonly stateMutability: "nonpayable";
|
|
1656
|
+
readonly type: "function";
|
|
1657
|
+
}, {
|
|
1658
|
+
readonly inputs: readonly [{
|
|
1659
|
+
readonly internalType: "bytes32";
|
|
1660
|
+
readonly name: "role";
|
|
1661
|
+
readonly type: "bytes32";
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly internalType: "address";
|
|
1664
|
+
readonly name: "account";
|
|
1665
|
+
readonly type: "address";
|
|
1666
|
+
}];
|
|
1667
|
+
readonly name: "revokeRole";
|
|
1668
|
+
readonly outputs: readonly [];
|
|
1669
|
+
readonly stateMutability: "nonpayable";
|
|
1670
|
+
readonly type: "function";
|
|
1671
|
+
}, {
|
|
1672
|
+
readonly inputs: readonly [{
|
|
1673
|
+
readonly internalType: "address";
|
|
1674
|
+
readonly name: "asset";
|
|
1675
|
+
readonly type: "address";
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly internalType: "uint256";
|
|
1678
|
+
readonly name: "cap";
|
|
1679
|
+
readonly type: "uint256";
|
|
1680
|
+
}];
|
|
1681
|
+
readonly name: "setAssetCap";
|
|
1682
|
+
readonly outputs: readonly [];
|
|
1683
|
+
readonly stateMutability: "nonpayable";
|
|
1684
|
+
readonly type: "function";
|
|
1685
|
+
}, {
|
|
1686
|
+
readonly inputs: readonly [{
|
|
1687
|
+
readonly internalType: "address";
|
|
1688
|
+
readonly name: "account";
|
|
1689
|
+
readonly type: "address";
|
|
1690
|
+
}];
|
|
1691
|
+
readonly name: "setYieldRecipient";
|
|
1692
|
+
readonly outputs: readonly [];
|
|
1693
|
+
readonly stateMutability: "nonpayable";
|
|
1694
|
+
readonly type: "function";
|
|
1695
|
+
}, {
|
|
1696
|
+
readonly inputs: readonly [{
|
|
1697
|
+
readonly internalType: "bytes4";
|
|
1698
|
+
readonly name: "interfaceId";
|
|
1699
|
+
readonly type: "bytes4";
|
|
1700
|
+
}];
|
|
1701
|
+
readonly name: "supportsInterface";
|
|
1702
|
+
readonly outputs: readonly [{
|
|
1703
|
+
readonly internalType: "bool";
|
|
1704
|
+
readonly name: "";
|
|
1705
|
+
readonly type: "bool";
|
|
1706
|
+
}];
|
|
1707
|
+
readonly stateMutability: "view";
|
|
1708
|
+
readonly type: "function";
|
|
1709
|
+
}, {
|
|
1710
|
+
readonly inputs: readonly [];
|
|
1711
|
+
readonly name: "swapFacility";
|
|
1712
|
+
readonly outputs: readonly [{
|
|
1713
|
+
readonly internalType: "address";
|
|
1714
|
+
readonly name: "";
|
|
1715
|
+
readonly type: "address";
|
|
1716
|
+
}];
|
|
1717
|
+
readonly stateMutability: "view";
|
|
1718
|
+
readonly type: "function";
|
|
1719
|
+
}, {
|
|
1720
|
+
readonly inputs: readonly [];
|
|
1721
|
+
readonly name: "symbol";
|
|
1722
|
+
readonly outputs: readonly [{
|
|
1723
|
+
readonly internalType: "string";
|
|
1724
|
+
readonly name: "";
|
|
1725
|
+
readonly type: "string";
|
|
1726
|
+
}];
|
|
1727
|
+
readonly stateMutability: "view";
|
|
1728
|
+
readonly type: "function";
|
|
1729
|
+
}, {
|
|
1730
|
+
readonly inputs: readonly [];
|
|
1731
|
+
readonly name: "totalAssets";
|
|
1732
|
+
readonly outputs: readonly [{
|
|
1733
|
+
readonly internalType: "uint256";
|
|
1734
|
+
readonly name: "";
|
|
1735
|
+
readonly type: "uint256";
|
|
1736
|
+
}];
|
|
1737
|
+
readonly stateMutability: "view";
|
|
1738
|
+
readonly type: "function";
|
|
1739
|
+
}, {
|
|
1740
|
+
readonly inputs: readonly [];
|
|
1741
|
+
readonly name: "totalSupply";
|
|
1742
|
+
readonly outputs: readonly [{
|
|
1743
|
+
readonly internalType: "uint256";
|
|
1744
|
+
readonly name: "";
|
|
1745
|
+
readonly type: "uint256";
|
|
1746
|
+
}];
|
|
1747
|
+
readonly stateMutability: "view";
|
|
1748
|
+
readonly type: "function";
|
|
1749
|
+
}, {
|
|
1750
|
+
readonly inputs: readonly [{
|
|
1751
|
+
readonly internalType: "address";
|
|
1752
|
+
readonly name: "recipient_";
|
|
1753
|
+
readonly type: "address";
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly internalType: "uint256";
|
|
1756
|
+
readonly name: "amount_";
|
|
1757
|
+
readonly type: "uint256";
|
|
1758
|
+
}];
|
|
1759
|
+
readonly name: "transfer";
|
|
1760
|
+
readonly outputs: readonly [{
|
|
1761
|
+
readonly internalType: "bool";
|
|
1762
|
+
readonly name: "";
|
|
1763
|
+
readonly type: "bool";
|
|
1764
|
+
}];
|
|
1765
|
+
readonly stateMutability: "nonpayable";
|
|
1766
|
+
readonly type: "function";
|
|
1767
|
+
}, {
|
|
1768
|
+
readonly inputs: readonly [{
|
|
1769
|
+
readonly internalType: "address";
|
|
1770
|
+
readonly name: "sender_";
|
|
1771
|
+
readonly type: "address";
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly internalType: "address";
|
|
1774
|
+
readonly name: "recipient_";
|
|
1775
|
+
readonly type: "address";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly internalType: "uint256";
|
|
1778
|
+
readonly name: "amount_";
|
|
1779
|
+
readonly type: "uint256";
|
|
1780
|
+
}];
|
|
1781
|
+
readonly name: "transferFrom";
|
|
1782
|
+
readonly outputs: readonly [{
|
|
1783
|
+
readonly internalType: "bool";
|
|
1784
|
+
readonly name: "";
|
|
1785
|
+
readonly type: "bool";
|
|
1786
|
+
}];
|
|
1787
|
+
readonly stateMutability: "nonpayable";
|
|
1788
|
+
readonly type: "function";
|
|
1789
|
+
}, {
|
|
1790
|
+
readonly inputs: readonly [{
|
|
1791
|
+
readonly internalType: "address";
|
|
1792
|
+
readonly name: "from_";
|
|
1793
|
+
readonly type: "address";
|
|
1794
|
+
}, {
|
|
1795
|
+
readonly internalType: "address";
|
|
1796
|
+
readonly name: "to_";
|
|
1797
|
+
readonly type: "address";
|
|
1798
|
+
}, {
|
|
1799
|
+
readonly internalType: "uint256";
|
|
1800
|
+
readonly name: "value_";
|
|
1801
|
+
readonly type: "uint256";
|
|
1802
|
+
}, {
|
|
1803
|
+
readonly internalType: "uint256";
|
|
1804
|
+
readonly name: "validAfter_";
|
|
1805
|
+
readonly type: "uint256";
|
|
1806
|
+
}, {
|
|
1807
|
+
readonly internalType: "uint256";
|
|
1808
|
+
readonly name: "validBefore_";
|
|
1809
|
+
readonly type: "uint256";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly internalType: "bytes32";
|
|
1812
|
+
readonly name: "nonce_";
|
|
1813
|
+
readonly type: "bytes32";
|
|
1814
|
+
}, {
|
|
1815
|
+
readonly internalType: "bytes32";
|
|
1816
|
+
readonly name: "r_";
|
|
1817
|
+
readonly type: "bytes32";
|
|
1818
|
+
}, {
|
|
1819
|
+
readonly internalType: "bytes32";
|
|
1820
|
+
readonly name: "vs_";
|
|
1821
|
+
readonly type: "bytes32";
|
|
1822
|
+
}];
|
|
1823
|
+
readonly name: "transferWithAuthorization";
|
|
1824
|
+
readonly outputs: readonly [];
|
|
1825
|
+
readonly stateMutability: "nonpayable";
|
|
1826
|
+
readonly type: "function";
|
|
1827
|
+
}, {
|
|
1828
|
+
readonly inputs: readonly [{
|
|
1829
|
+
readonly internalType: "address";
|
|
1830
|
+
readonly name: "from_";
|
|
1831
|
+
readonly type: "address";
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly internalType: "address";
|
|
1834
|
+
readonly name: "to_";
|
|
1835
|
+
readonly type: "address";
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly internalType: "uint256";
|
|
1838
|
+
readonly name: "value_";
|
|
1839
|
+
readonly type: "uint256";
|
|
1840
|
+
}, {
|
|
1841
|
+
readonly internalType: "uint256";
|
|
1842
|
+
readonly name: "validAfter_";
|
|
1843
|
+
readonly type: "uint256";
|
|
1844
|
+
}, {
|
|
1845
|
+
readonly internalType: "uint256";
|
|
1846
|
+
readonly name: "validBefore_";
|
|
1847
|
+
readonly type: "uint256";
|
|
1848
|
+
}, {
|
|
1849
|
+
readonly internalType: "bytes32";
|
|
1850
|
+
readonly name: "nonce_";
|
|
1851
|
+
readonly type: "bytes32";
|
|
1852
|
+
}, {
|
|
1853
|
+
readonly internalType: "bytes";
|
|
1854
|
+
readonly name: "signature_";
|
|
1855
|
+
readonly type: "bytes";
|
|
1856
|
+
}];
|
|
1857
|
+
readonly name: "transferWithAuthorization";
|
|
1858
|
+
readonly outputs: readonly [];
|
|
1859
|
+
readonly stateMutability: "nonpayable";
|
|
1860
|
+
readonly type: "function";
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly inputs: readonly [{
|
|
1863
|
+
readonly internalType: "address";
|
|
1864
|
+
readonly name: "from_";
|
|
1865
|
+
readonly type: "address";
|
|
1866
|
+
}, {
|
|
1867
|
+
readonly internalType: "address";
|
|
1868
|
+
readonly name: "to_";
|
|
1869
|
+
readonly type: "address";
|
|
1870
|
+
}, {
|
|
1871
|
+
readonly internalType: "uint256";
|
|
1872
|
+
readonly name: "value_";
|
|
1873
|
+
readonly type: "uint256";
|
|
1874
|
+
}, {
|
|
1875
|
+
readonly internalType: "uint256";
|
|
1876
|
+
readonly name: "validAfter_";
|
|
1877
|
+
readonly type: "uint256";
|
|
1878
|
+
}, {
|
|
1879
|
+
readonly internalType: "uint256";
|
|
1880
|
+
readonly name: "validBefore_";
|
|
1881
|
+
readonly type: "uint256";
|
|
1882
|
+
}, {
|
|
1883
|
+
readonly internalType: "bytes32";
|
|
1884
|
+
readonly name: "nonce_";
|
|
1885
|
+
readonly type: "bytes32";
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly internalType: "uint8";
|
|
1888
|
+
readonly name: "v_";
|
|
1889
|
+
readonly type: "uint8";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly internalType: "bytes32";
|
|
1892
|
+
readonly name: "r_";
|
|
1893
|
+
readonly type: "bytes32";
|
|
1894
|
+
}, {
|
|
1895
|
+
readonly internalType: "bytes32";
|
|
1896
|
+
readonly name: "s_";
|
|
1897
|
+
readonly type: "bytes32";
|
|
1898
|
+
}];
|
|
1899
|
+
readonly name: "transferWithAuthorization";
|
|
1900
|
+
readonly outputs: readonly [];
|
|
1901
|
+
readonly stateMutability: "nonpayable";
|
|
1902
|
+
readonly type: "function";
|
|
1903
|
+
}, {
|
|
1904
|
+
readonly inputs: readonly [{
|
|
1905
|
+
readonly internalType: "address";
|
|
1906
|
+
readonly name: "account";
|
|
1907
|
+
readonly type: "address";
|
|
1908
|
+
}];
|
|
1909
|
+
readonly name: "unfreeze";
|
|
1910
|
+
readonly outputs: readonly [];
|
|
1911
|
+
readonly stateMutability: "nonpayable";
|
|
1912
|
+
readonly type: "function";
|
|
1913
|
+
}, {
|
|
1914
|
+
readonly inputs: readonly [{
|
|
1915
|
+
readonly internalType: "address[]";
|
|
1916
|
+
readonly name: "accounts";
|
|
1917
|
+
readonly type: "address[]";
|
|
1918
|
+
}];
|
|
1919
|
+
readonly name: "unfreezeAccounts";
|
|
1920
|
+
readonly outputs: readonly [];
|
|
1921
|
+
readonly stateMutability: "nonpayable";
|
|
1922
|
+
readonly type: "function";
|
|
1923
|
+
}, {
|
|
1924
|
+
readonly inputs: readonly [];
|
|
1925
|
+
readonly name: "unpause";
|
|
1926
|
+
readonly outputs: readonly [];
|
|
1927
|
+
readonly stateMutability: "nonpayable";
|
|
1928
|
+
readonly type: "function";
|
|
1929
|
+
}, {
|
|
1930
|
+
readonly inputs: readonly [{
|
|
1931
|
+
readonly internalType: "address";
|
|
1932
|
+
readonly name: "";
|
|
1933
|
+
readonly type: "address";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly internalType: "uint256";
|
|
1936
|
+
readonly name: "amount";
|
|
1937
|
+
readonly type: "uint256";
|
|
1938
|
+
}];
|
|
1939
|
+
readonly name: "unwrap";
|
|
1940
|
+
readonly outputs: readonly [];
|
|
1941
|
+
readonly stateMutability: "nonpayable";
|
|
1942
|
+
readonly type: "function";
|
|
1943
|
+
}, {
|
|
1944
|
+
readonly inputs: readonly [{
|
|
1945
|
+
readonly internalType: "address";
|
|
1946
|
+
readonly name: "account";
|
|
1947
|
+
readonly type: "address";
|
|
1948
|
+
}];
|
|
1949
|
+
readonly name: "whitelist";
|
|
1950
|
+
readonly outputs: readonly [];
|
|
1951
|
+
readonly stateMutability: "nonpayable";
|
|
1952
|
+
readonly type: "function";
|
|
1953
|
+
}, {
|
|
1954
|
+
readonly inputs: readonly [{
|
|
1955
|
+
readonly internalType: "address";
|
|
1956
|
+
readonly name: "asset";
|
|
1957
|
+
readonly type: "address";
|
|
1958
|
+
}, {
|
|
1959
|
+
readonly internalType: "address";
|
|
1960
|
+
readonly name: "recipient";
|
|
1961
|
+
readonly type: "address";
|
|
1962
|
+
}, {
|
|
1963
|
+
readonly internalType: "uint256";
|
|
1964
|
+
readonly name: "amount";
|
|
1965
|
+
readonly type: "uint256";
|
|
1966
|
+
}];
|
|
1967
|
+
readonly name: "wrap";
|
|
1968
|
+
readonly outputs: readonly [];
|
|
1969
|
+
readonly stateMutability: "nonpayable";
|
|
1970
|
+
readonly type: "function";
|
|
1971
|
+
}, {
|
|
1972
|
+
readonly inputs: readonly [{
|
|
1973
|
+
readonly internalType: "address";
|
|
1974
|
+
readonly name: "recipient";
|
|
1975
|
+
readonly type: "address";
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly internalType: "uint256";
|
|
1978
|
+
readonly name: "amount";
|
|
1979
|
+
readonly type: "uint256";
|
|
1980
|
+
}];
|
|
1981
|
+
readonly name: "wrap";
|
|
1982
|
+
readonly outputs: readonly [];
|
|
1983
|
+
readonly stateMutability: "nonpayable";
|
|
1984
|
+
readonly type: "function";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly inputs: readonly [];
|
|
1987
|
+
readonly name: "yield";
|
|
1988
|
+
readonly outputs: readonly [{
|
|
1989
|
+
readonly internalType: "uint256";
|
|
1990
|
+
readonly name: "";
|
|
1991
|
+
readonly type: "uint256";
|
|
1992
|
+
}];
|
|
1993
|
+
readonly stateMutability: "view";
|
|
1994
|
+
readonly type: "function";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly inputs: readonly [];
|
|
1997
|
+
readonly name: "yieldRecipient";
|
|
1998
|
+
readonly outputs: readonly [{
|
|
1999
|
+
readonly internalType: "address";
|
|
2000
|
+
readonly name: "";
|
|
2001
|
+
readonly type: "address";
|
|
2002
|
+
}];
|
|
2003
|
+
readonly stateMutability: "view";
|
|
2004
|
+
readonly type: "function";
|
|
2005
|
+
}];
|
|
2006
|
+
/**
|
|
2007
|
+
* Type-safe ABI for USDat
|
|
2008
|
+
*/
|
|
2009
|
+
export type USDatAbi = typeof USDatAbi;
|
|
2010
|
+
/**
|
|
2011
|
+
* Contract instance type for USDat
|
|
2012
|
+
*/
|
|
2013
|
+
export type USDatContract = any;
|
|
2014
|
+
/**
|
|
2015
|
+
* USDat Contract Class
|
|
2016
|
+
*
|
|
2017
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
2018
|
+
*
|
|
2019
|
+
* @example
|
|
2020
|
+
* ```typescript
|
|
2021
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
2022
|
+
* import { mainnet } from 'viem/chains';
|
|
2023
|
+
* import { USDat } from 'USDat';
|
|
2024
|
+
*
|
|
2025
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
2026
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
2027
|
+
*
|
|
2028
|
+
* const contract = new USDat('0x...', { publicClient, walletClient });
|
|
2029
|
+
*
|
|
2030
|
+
* // Read functions
|
|
2031
|
+
* const result = await contract.balanceOf('0x...');
|
|
2032
|
+
*
|
|
2033
|
+
* // Write functions
|
|
2034
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
2035
|
+
*
|
|
2036
|
+
* // Simulate transactions (dry-run)
|
|
2037
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
2038
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
2039
|
+
*
|
|
2040
|
+
* // Watch events
|
|
2041
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2042
|
+
* console.log('Transfer event:', event);
|
|
2043
|
+
* });
|
|
2044
|
+
* ```
|
|
2045
|
+
*/
|
|
2046
|
+
export declare class USDat {
|
|
2047
|
+
private contract;
|
|
2048
|
+
private contractAddress;
|
|
2049
|
+
private publicClient;
|
|
2050
|
+
constructor(address: Address, clients: {
|
|
2051
|
+
publicClient: PublicClient;
|
|
2052
|
+
walletClient?: WalletClient;
|
|
2053
|
+
});
|
|
2054
|
+
/**
|
|
2055
|
+
* Get the contract address
|
|
2056
|
+
*/
|
|
2057
|
+
get address(): Address;
|
|
2058
|
+
/**
|
|
2059
|
+
* Get the underlying viem contract instance.
|
|
2060
|
+
*/
|
|
2061
|
+
getContract(): USDatContract;
|
|
2062
|
+
/**
|
|
2063
|
+
* ASSET_CAP_MANAGER_ROLE
|
|
2064
|
+
* view
|
|
2065
|
+
*/
|
|
2066
|
+
ASSET_CAP_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
2067
|
+
/**
|
|
2068
|
+
* CANCEL_AUTHORIZATION_TYPEHASH
|
|
2069
|
+
* view
|
|
2070
|
+
*/
|
|
2071
|
+
CANCEL_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
|
|
2072
|
+
/**
|
|
2073
|
+
* DEFAULT_ADMIN_ROLE
|
|
2074
|
+
* view
|
|
2075
|
+
*/
|
|
2076
|
+
DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
|
|
2077
|
+
/**
|
|
2078
|
+
* DOMAIN_SEPARATOR
|
|
2079
|
+
* view
|
|
2080
|
+
*/
|
|
2081
|
+
DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
|
|
2082
|
+
/**
|
|
2083
|
+
* FORCED_TRANSFER_MANAGER_ROLE
|
|
2084
|
+
* view
|
|
2085
|
+
*/
|
|
2086
|
+
FORCED_TRANSFER_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
2087
|
+
/**
|
|
2088
|
+
* FREEZE_MANAGER_ROLE
|
|
2089
|
+
* view
|
|
2090
|
+
*/
|
|
2091
|
+
FREEZE_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
2092
|
+
/**
|
|
2093
|
+
* M_DECIMALS
|
|
2094
|
+
* view
|
|
2095
|
+
*/
|
|
2096
|
+
M_DECIMALS(): Promise<bigint>;
|
|
2097
|
+
/**
|
|
2098
|
+
* PAUSER_ROLE
|
|
2099
|
+
* view
|
|
2100
|
+
*/
|
|
2101
|
+
PAUSER_ROLE(): Promise<`0x${string}`>;
|
|
2102
|
+
/**
|
|
2103
|
+
* PERMIT_TYPEHASH
|
|
2104
|
+
* view
|
|
2105
|
+
*/
|
|
2106
|
+
PERMIT_TYPEHASH(): Promise<`0x${string}`>;
|
|
2107
|
+
/**
|
|
2108
|
+
* RECEIVE_WITH_AUTHORIZATION_TYPEHASH
|
|
2109
|
+
* view
|
|
2110
|
+
*/
|
|
2111
|
+
RECEIVE_WITH_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
|
|
2112
|
+
/**
|
|
2113
|
+
* TRANSFER_WITH_AUTHORIZATION_TYPEHASH
|
|
2114
|
+
* view
|
|
2115
|
+
*/
|
|
2116
|
+
TRANSFER_WITH_AUTHORIZATION_TYPEHASH(): Promise<`0x${string}`>;
|
|
2117
|
+
/**
|
|
2118
|
+
* WHITELIST_MANAGER_ROLE
|
|
2119
|
+
* view
|
|
2120
|
+
*/
|
|
2121
|
+
WHITELIST_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
2122
|
+
/**
|
|
2123
|
+
* YIELD_RECIPIENT_MANAGER_ROLE
|
|
2124
|
+
* view
|
|
2125
|
+
*/
|
|
2126
|
+
YIELD_RECIPIENT_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
2127
|
+
/**
|
|
2128
|
+
* allowance
|
|
2129
|
+
* view
|
|
2130
|
+
*/
|
|
2131
|
+
allowance(account: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
2132
|
+
/**
|
|
2133
|
+
* assetBalanceOf
|
|
2134
|
+
* view
|
|
2135
|
+
*/
|
|
2136
|
+
assetBalanceOf(asset: `0x${string}`): Promise<bigint>;
|
|
2137
|
+
/**
|
|
2138
|
+
* assetCap
|
|
2139
|
+
* view
|
|
2140
|
+
*/
|
|
2141
|
+
assetCap(asset: `0x${string}`): Promise<bigint>;
|
|
2142
|
+
/**
|
|
2143
|
+
* assetDecimals
|
|
2144
|
+
* view
|
|
2145
|
+
*/
|
|
2146
|
+
assetDecimals(asset: `0x${string}`): Promise<bigint>;
|
|
2147
|
+
/**
|
|
2148
|
+
* authorizationState
|
|
2149
|
+
* view
|
|
2150
|
+
*/
|
|
2151
|
+
authorizationState(authorizer: `0x${string}`, nonce: `0x${string}`): Promise<boolean>;
|
|
2152
|
+
/**
|
|
2153
|
+
* balanceOf
|
|
2154
|
+
* view
|
|
2155
|
+
*/
|
|
2156
|
+
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
2157
|
+
/**
|
|
2158
|
+
* currentIndex
|
|
2159
|
+
* view
|
|
2160
|
+
*/
|
|
2161
|
+
currentIndex(): Promise<bigint>;
|
|
2162
|
+
/**
|
|
2163
|
+
* decimals
|
|
2164
|
+
* view
|
|
2165
|
+
*/
|
|
2166
|
+
decimals(): Promise<bigint>;
|
|
2167
|
+
/**
|
|
2168
|
+
* eip712Domain
|
|
2169
|
+
* view
|
|
2170
|
+
*/
|
|
2171
|
+
eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
|
|
2172
|
+
/**
|
|
2173
|
+
* getRoleAdmin
|
|
2174
|
+
* view
|
|
2175
|
+
*/
|
|
2176
|
+
getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
|
|
2177
|
+
/**
|
|
2178
|
+
* hasRole
|
|
2179
|
+
* view
|
|
2180
|
+
*/
|
|
2181
|
+
hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
|
|
2182
|
+
/**
|
|
2183
|
+
* isAllowedAsset
|
|
2184
|
+
* view
|
|
2185
|
+
*/
|
|
2186
|
+
isAllowedAsset(asset: `0x${string}`): Promise<boolean>;
|
|
2187
|
+
/**
|
|
2188
|
+
* isAllowedToReplaceAssetWithM
|
|
2189
|
+
* view
|
|
2190
|
+
*/
|
|
2191
|
+
isAllowedToReplaceAssetWithM(asset: `0x${string}`, amount: bigint): Promise<boolean>;
|
|
2192
|
+
/**
|
|
2193
|
+
* isAllowedToUnwrap
|
|
2194
|
+
* view
|
|
2195
|
+
*/
|
|
2196
|
+
isAllowedToUnwrap(amount: bigint): Promise<boolean>;
|
|
2197
|
+
/**
|
|
2198
|
+
* isAllowedToWrap
|
|
2199
|
+
* view
|
|
2200
|
+
*/
|
|
2201
|
+
isAllowedToWrap(asset: `0x${string}`, amount: bigint): Promise<boolean>;
|
|
2202
|
+
/**
|
|
2203
|
+
* isEarningEnabled
|
|
2204
|
+
* view
|
|
2205
|
+
*/
|
|
2206
|
+
isEarningEnabled(): Promise<boolean>;
|
|
2207
|
+
/**
|
|
2208
|
+
* isFrozen
|
|
2209
|
+
* view
|
|
2210
|
+
*/
|
|
2211
|
+
isFrozen(account: `0x${string}`): Promise<boolean>;
|
|
2212
|
+
/**
|
|
2213
|
+
* isWhitelistEnabled
|
|
2214
|
+
* view
|
|
2215
|
+
*/
|
|
2216
|
+
isWhitelistEnabled(): Promise<boolean>;
|
|
2217
|
+
/**
|
|
2218
|
+
* isWhitelisted
|
|
2219
|
+
* view
|
|
2220
|
+
*/
|
|
2221
|
+
isWhitelisted(account: `0x${string}`): Promise<boolean>;
|
|
2222
|
+
/**
|
|
2223
|
+
* mToken
|
|
2224
|
+
* view
|
|
2225
|
+
*/
|
|
2226
|
+
mToken(): Promise<`0x${string}`>;
|
|
2227
|
+
/**
|
|
2228
|
+
* name
|
|
2229
|
+
* view
|
|
2230
|
+
*/
|
|
2231
|
+
name(): Promise<string>;
|
|
2232
|
+
/**
|
|
2233
|
+
* nonces
|
|
2234
|
+
* view
|
|
2235
|
+
*/
|
|
2236
|
+
nonces(account: `0x${string}`): Promise<bigint>;
|
|
2237
|
+
/**
|
|
2238
|
+
* paused
|
|
2239
|
+
* view
|
|
2240
|
+
*/
|
|
2241
|
+
paused(): Promise<boolean>;
|
|
2242
|
+
/**
|
|
2243
|
+
* supportsInterface
|
|
2244
|
+
* view
|
|
2245
|
+
*/
|
|
2246
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
2247
|
+
/**
|
|
2248
|
+
* swapFacility
|
|
2249
|
+
* view
|
|
2250
|
+
*/
|
|
2251
|
+
swapFacility(): Promise<`0x${string}`>;
|
|
2252
|
+
/**
|
|
2253
|
+
* symbol
|
|
2254
|
+
* view
|
|
2255
|
+
*/
|
|
2256
|
+
symbol(): Promise<string>;
|
|
2257
|
+
/**
|
|
2258
|
+
* totalAssets
|
|
2259
|
+
* view
|
|
2260
|
+
*/
|
|
2261
|
+
totalAssets(): Promise<bigint>;
|
|
2262
|
+
/**
|
|
2263
|
+
* totalSupply
|
|
2264
|
+
* view
|
|
2265
|
+
*/
|
|
2266
|
+
totalSupply(): Promise<bigint>;
|
|
2267
|
+
/**
|
|
2268
|
+
* yield
|
|
2269
|
+
* view
|
|
2270
|
+
*/
|
|
2271
|
+
yield(): Promise<bigint>;
|
|
2272
|
+
/**
|
|
2273
|
+
* yieldRecipient
|
|
2274
|
+
* view
|
|
2275
|
+
*/
|
|
2276
|
+
yieldRecipient(): Promise<`0x${string}`>;
|
|
2277
|
+
/**
|
|
2278
|
+
* approve
|
|
2279
|
+
* nonpayable
|
|
2280
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2281
|
+
*/
|
|
2282
|
+
approve(spender_: `0x${string}`, amount_: bigint, options?: {
|
|
2283
|
+
accessList?: import('viem').AccessList;
|
|
2284
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2285
|
+
chain?: import('viem').Chain | null;
|
|
2286
|
+
dataSuffix?: `0x${string}`;
|
|
2287
|
+
gas?: bigint;
|
|
2288
|
+
gasPrice?: bigint;
|
|
2289
|
+
maxFeePerGas?: bigint;
|
|
2290
|
+
maxPriorityFeePerGas?: bigint;
|
|
2291
|
+
nonce?: number;
|
|
2292
|
+
value?: bigint;
|
|
2293
|
+
}): Promise<`0x${string}`>;
|
|
2294
|
+
cancelAuthorization(authorizer_: `0x${string}`, nonce_: `0x${string}`, r_: `0x${string}`, vs_: `0x${string}`, options?: {
|
|
2295
|
+
accessList?: import('viem').AccessList;
|
|
2296
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2297
|
+
chain?: import('viem').Chain | null;
|
|
2298
|
+
dataSuffix?: `0x${string}`;
|
|
2299
|
+
gas?: bigint;
|
|
2300
|
+
gasPrice?: bigint;
|
|
2301
|
+
maxFeePerGas?: bigint;
|
|
2302
|
+
maxPriorityFeePerGas?: bigint;
|
|
2303
|
+
nonce?: number;
|
|
2304
|
+
value?: bigint;
|
|
2305
|
+
}): Promise<`0x${string}`>;
|
|
2306
|
+
cancelAuthorization(authorizer_: `0x${string}`, nonce_: `0x${string}`, v_: bigint, r_: `0x${string}`, s_: `0x${string}`, options?: {
|
|
2307
|
+
accessList?: import('viem').AccessList;
|
|
2308
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2309
|
+
chain?: import('viem').Chain | null;
|
|
2310
|
+
dataSuffix?: `0x${string}`;
|
|
2311
|
+
gas?: bigint;
|
|
2312
|
+
gasPrice?: bigint;
|
|
2313
|
+
maxFeePerGas?: bigint;
|
|
2314
|
+
maxPriorityFeePerGas?: bigint;
|
|
2315
|
+
nonce?: number;
|
|
2316
|
+
value?: bigint;
|
|
2317
|
+
}): Promise<`0x${string}`>;
|
|
2318
|
+
cancelAuthorization(authorizer_: `0x${string}`, nonce_: `0x${string}`, signature_: `0x${string}`, options?: {
|
|
2319
|
+
accessList?: import('viem').AccessList;
|
|
2320
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2321
|
+
chain?: import('viem').Chain | null;
|
|
2322
|
+
dataSuffix?: `0x${string}`;
|
|
2323
|
+
gas?: bigint;
|
|
2324
|
+
gasPrice?: bigint;
|
|
2325
|
+
maxFeePerGas?: bigint;
|
|
2326
|
+
maxPriorityFeePerGas?: bigint;
|
|
2327
|
+
nonce?: number;
|
|
2328
|
+
value?: bigint;
|
|
2329
|
+
}): Promise<`0x${string}`>;
|
|
2330
|
+
/**
|
|
2331
|
+
* claimYield
|
|
2332
|
+
* nonpayable
|
|
2333
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2334
|
+
*/
|
|
2335
|
+
claimYield(options?: {
|
|
2336
|
+
accessList?: import('viem').AccessList;
|
|
2337
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2338
|
+
chain?: import('viem').Chain | null;
|
|
2339
|
+
dataSuffix?: `0x${string}`;
|
|
2340
|
+
gas?: bigint;
|
|
2341
|
+
gasPrice?: bigint;
|
|
2342
|
+
maxFeePerGas?: bigint;
|
|
2343
|
+
maxPriorityFeePerGas?: bigint;
|
|
2344
|
+
nonce?: number;
|
|
2345
|
+
value?: bigint;
|
|
2346
|
+
}): Promise<`0x${string}`>;
|
|
2347
|
+
/**
|
|
2348
|
+
* disableEarning
|
|
2349
|
+
* nonpayable
|
|
2350
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2351
|
+
*/
|
|
2352
|
+
disableEarning(options?: {
|
|
2353
|
+
accessList?: import('viem').AccessList;
|
|
2354
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2355
|
+
chain?: import('viem').Chain | null;
|
|
2356
|
+
dataSuffix?: `0x${string}`;
|
|
2357
|
+
gas?: bigint;
|
|
2358
|
+
gasPrice?: bigint;
|
|
2359
|
+
maxFeePerGas?: bigint;
|
|
2360
|
+
maxPriorityFeePerGas?: bigint;
|
|
2361
|
+
nonce?: number;
|
|
2362
|
+
value?: bigint;
|
|
2363
|
+
}): Promise<`0x${string}`>;
|
|
2364
|
+
/**
|
|
2365
|
+
* disableWhitelist
|
|
2366
|
+
* nonpayable
|
|
2367
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2368
|
+
*/
|
|
2369
|
+
disableWhitelist(options?: {
|
|
2370
|
+
accessList?: import('viem').AccessList;
|
|
2371
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2372
|
+
chain?: import('viem').Chain | null;
|
|
2373
|
+
dataSuffix?: `0x${string}`;
|
|
2374
|
+
gas?: bigint;
|
|
2375
|
+
gasPrice?: bigint;
|
|
2376
|
+
maxFeePerGas?: bigint;
|
|
2377
|
+
maxPriorityFeePerGas?: bigint;
|
|
2378
|
+
nonce?: number;
|
|
2379
|
+
value?: bigint;
|
|
2380
|
+
}): Promise<`0x${string}`>;
|
|
2381
|
+
/**
|
|
2382
|
+
* enableEarning
|
|
2383
|
+
* nonpayable
|
|
2384
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2385
|
+
*/
|
|
2386
|
+
enableEarning(options?: {
|
|
2387
|
+
accessList?: import('viem').AccessList;
|
|
2388
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2389
|
+
chain?: import('viem').Chain | null;
|
|
2390
|
+
dataSuffix?: `0x${string}`;
|
|
2391
|
+
gas?: bigint;
|
|
2392
|
+
gasPrice?: bigint;
|
|
2393
|
+
maxFeePerGas?: bigint;
|
|
2394
|
+
maxPriorityFeePerGas?: bigint;
|
|
2395
|
+
nonce?: number;
|
|
2396
|
+
value?: bigint;
|
|
2397
|
+
}): Promise<`0x${string}`>;
|
|
2398
|
+
/**
|
|
2399
|
+
* enableWhitelist
|
|
2400
|
+
* nonpayable
|
|
2401
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2402
|
+
*/
|
|
2403
|
+
enableWhitelist(options?: {
|
|
2404
|
+
accessList?: import('viem').AccessList;
|
|
2405
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2406
|
+
chain?: import('viem').Chain | null;
|
|
2407
|
+
dataSuffix?: `0x${string}`;
|
|
2408
|
+
gas?: bigint;
|
|
2409
|
+
gasPrice?: bigint;
|
|
2410
|
+
maxFeePerGas?: bigint;
|
|
2411
|
+
maxPriorityFeePerGas?: bigint;
|
|
2412
|
+
nonce?: number;
|
|
2413
|
+
value?: bigint;
|
|
2414
|
+
}): Promise<`0x${string}`>;
|
|
2415
|
+
/**
|
|
2416
|
+
* forceTransfer
|
|
2417
|
+
* nonpayable
|
|
2418
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2419
|
+
*/
|
|
2420
|
+
forceTransfer(frozenAccount: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
2421
|
+
accessList?: import('viem').AccessList;
|
|
2422
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2423
|
+
chain?: import('viem').Chain | null;
|
|
2424
|
+
dataSuffix?: `0x${string}`;
|
|
2425
|
+
gas?: bigint;
|
|
2426
|
+
gasPrice?: bigint;
|
|
2427
|
+
maxFeePerGas?: bigint;
|
|
2428
|
+
maxPriorityFeePerGas?: bigint;
|
|
2429
|
+
nonce?: number;
|
|
2430
|
+
value?: bigint;
|
|
2431
|
+
}): Promise<`0x${string}`>;
|
|
2432
|
+
/**
|
|
2433
|
+
* forceTransfers
|
|
2434
|
+
* nonpayable
|
|
2435
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2436
|
+
*/
|
|
2437
|
+
forceTransfers(frozenAccounts: `0x${string}`[], recipients: `0x${string}`[], amounts: bigint[], options?: {
|
|
2438
|
+
accessList?: import('viem').AccessList;
|
|
2439
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2440
|
+
chain?: import('viem').Chain | null;
|
|
2441
|
+
dataSuffix?: `0x${string}`;
|
|
2442
|
+
gas?: bigint;
|
|
2443
|
+
gasPrice?: bigint;
|
|
2444
|
+
maxFeePerGas?: bigint;
|
|
2445
|
+
maxPriorityFeePerGas?: bigint;
|
|
2446
|
+
nonce?: number;
|
|
2447
|
+
value?: bigint;
|
|
2448
|
+
}): Promise<`0x${string}`>;
|
|
2449
|
+
/**
|
|
2450
|
+
* freeze
|
|
2451
|
+
* nonpayable
|
|
2452
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2453
|
+
*/
|
|
2454
|
+
freeze(account: `0x${string}`, options?: {
|
|
2455
|
+
accessList?: import('viem').AccessList;
|
|
2456
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2457
|
+
chain?: import('viem').Chain | null;
|
|
2458
|
+
dataSuffix?: `0x${string}`;
|
|
2459
|
+
gas?: bigint;
|
|
2460
|
+
gasPrice?: bigint;
|
|
2461
|
+
maxFeePerGas?: bigint;
|
|
2462
|
+
maxPriorityFeePerGas?: bigint;
|
|
2463
|
+
nonce?: number;
|
|
2464
|
+
value?: bigint;
|
|
2465
|
+
}): Promise<`0x${string}`>;
|
|
2466
|
+
/**
|
|
2467
|
+
* freezeAccounts
|
|
2468
|
+
* nonpayable
|
|
2469
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2470
|
+
*/
|
|
2471
|
+
freezeAccounts(accounts: `0x${string}`[], options?: {
|
|
2472
|
+
accessList?: import('viem').AccessList;
|
|
2473
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2474
|
+
chain?: import('viem').Chain | null;
|
|
2475
|
+
dataSuffix?: `0x${string}`;
|
|
2476
|
+
gas?: bigint;
|
|
2477
|
+
gasPrice?: bigint;
|
|
2478
|
+
maxFeePerGas?: bigint;
|
|
2479
|
+
maxPriorityFeePerGas?: bigint;
|
|
2480
|
+
nonce?: number;
|
|
2481
|
+
value?: bigint;
|
|
2482
|
+
}): Promise<`0x${string}`>;
|
|
2483
|
+
/**
|
|
2484
|
+
* grantRole
|
|
2485
|
+
* nonpayable
|
|
2486
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2487
|
+
*/
|
|
2488
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2489
|
+
accessList?: import('viem').AccessList;
|
|
2490
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2491
|
+
chain?: import('viem').Chain | null;
|
|
2492
|
+
dataSuffix?: `0x${string}`;
|
|
2493
|
+
gas?: bigint;
|
|
2494
|
+
gasPrice?: bigint;
|
|
2495
|
+
maxFeePerGas?: bigint;
|
|
2496
|
+
maxPriorityFeePerGas?: bigint;
|
|
2497
|
+
nonce?: number;
|
|
2498
|
+
value?: bigint;
|
|
2499
|
+
}): Promise<`0x${string}`>;
|
|
2500
|
+
initialize(name: string, symbol: string, yieldRecipient: `0x${string}`, admin: `0x${string}`, assetCapManager: `0x${string}`, freezeManager: `0x${string}`, pauser: `0x${string}`, yieldRecipientManager: `0x${string}`, options?: {
|
|
2501
|
+
accessList?: import('viem').AccessList;
|
|
2502
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2503
|
+
chain?: import('viem').Chain | null;
|
|
2504
|
+
dataSuffix?: `0x${string}`;
|
|
2505
|
+
gas?: bigint;
|
|
2506
|
+
gasPrice?: bigint;
|
|
2507
|
+
maxFeePerGas?: bigint;
|
|
2508
|
+
maxPriorityFeePerGas?: bigint;
|
|
2509
|
+
nonce?: number;
|
|
2510
|
+
value?: bigint;
|
|
2511
|
+
}): Promise<`0x${string}`>;
|
|
2512
|
+
initialize(name: string, symbol: string, yieldRecipient_: `0x${string}`, admin: `0x${string}`, freezeManager: `0x${string}`, yieldRecipientManager: `0x${string}`, pauser: `0x${string}`, options?: {
|
|
2513
|
+
accessList?: import('viem').AccessList;
|
|
2514
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2515
|
+
chain?: import('viem').Chain | null;
|
|
2516
|
+
dataSuffix?: `0x${string}`;
|
|
2517
|
+
gas?: bigint;
|
|
2518
|
+
gasPrice?: bigint;
|
|
2519
|
+
maxFeePerGas?: bigint;
|
|
2520
|
+
maxPriorityFeePerGas?: bigint;
|
|
2521
|
+
nonce?: number;
|
|
2522
|
+
value?: bigint;
|
|
2523
|
+
}): Promise<`0x${string}`>;
|
|
2524
|
+
initialize(yieldRecipient: `0x${string}`, admin: `0x${string}`, compliance: `0x${string}`, processor: `0x${string}`, options?: {
|
|
2525
|
+
accessList?: import('viem').AccessList;
|
|
2526
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2527
|
+
chain?: import('viem').Chain | null;
|
|
2528
|
+
dataSuffix?: `0x${string}`;
|
|
2529
|
+
gas?: bigint;
|
|
2530
|
+
gasPrice?: bigint;
|
|
2531
|
+
maxFeePerGas?: bigint;
|
|
2532
|
+
maxPriorityFeePerGas?: bigint;
|
|
2533
|
+
nonce?: number;
|
|
2534
|
+
value?: bigint;
|
|
2535
|
+
}): Promise<`0x${string}`>;
|
|
2536
|
+
/**
|
|
2537
|
+
* pause
|
|
2538
|
+
* nonpayable
|
|
2539
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2540
|
+
*/
|
|
2541
|
+
pause(options?: {
|
|
2542
|
+
accessList?: import('viem').AccessList;
|
|
2543
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2544
|
+
chain?: import('viem').Chain | null;
|
|
2545
|
+
dataSuffix?: `0x${string}`;
|
|
2546
|
+
gas?: bigint;
|
|
2547
|
+
gasPrice?: bigint;
|
|
2548
|
+
maxFeePerGas?: bigint;
|
|
2549
|
+
maxPriorityFeePerGas?: bigint;
|
|
2550
|
+
nonce?: number;
|
|
2551
|
+
value?: bigint;
|
|
2552
|
+
}): Promise<`0x${string}`>;
|
|
2553
|
+
permit(owner_: `0x${string}`, spender_: `0x${string}`, value_: bigint, deadline_: bigint, signature_: `0x${string}`, options?: {
|
|
2554
|
+
accessList?: import('viem').AccessList;
|
|
2555
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2556
|
+
chain?: import('viem').Chain | null;
|
|
2557
|
+
dataSuffix?: `0x${string}`;
|
|
2558
|
+
gas?: bigint;
|
|
2559
|
+
gasPrice?: bigint;
|
|
2560
|
+
maxFeePerGas?: bigint;
|
|
2561
|
+
maxPriorityFeePerGas?: bigint;
|
|
2562
|
+
nonce?: number;
|
|
2563
|
+
value?: bigint;
|
|
2564
|
+
}): Promise<`0x${string}`>;
|
|
2565
|
+
permit(owner_: `0x${string}`, spender_: `0x${string}`, value_: bigint, deadline_: bigint, v_: bigint, r_: `0x${string}`, s_: `0x${string}`, options?: {
|
|
2566
|
+
accessList?: import('viem').AccessList;
|
|
2567
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2568
|
+
chain?: import('viem').Chain | null;
|
|
2569
|
+
dataSuffix?: `0x${string}`;
|
|
2570
|
+
gas?: bigint;
|
|
2571
|
+
gasPrice?: bigint;
|
|
2572
|
+
maxFeePerGas?: bigint;
|
|
2573
|
+
maxPriorityFeePerGas?: bigint;
|
|
2574
|
+
nonce?: number;
|
|
2575
|
+
value?: bigint;
|
|
2576
|
+
}): Promise<`0x${string}`>;
|
|
2577
|
+
receiveWithAuthorization(from_: `0x${string}`, to_: `0x${string}`, value_: bigint, validAfter_: bigint, validBefore_: bigint, nonce_: `0x${string}`, signature_: `0x${string}`, options?: {
|
|
2578
|
+
accessList?: import('viem').AccessList;
|
|
2579
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2580
|
+
chain?: import('viem').Chain | null;
|
|
2581
|
+
dataSuffix?: `0x${string}`;
|
|
2582
|
+
gas?: bigint;
|
|
2583
|
+
gasPrice?: bigint;
|
|
2584
|
+
maxFeePerGas?: bigint;
|
|
2585
|
+
maxPriorityFeePerGas?: bigint;
|
|
2586
|
+
nonce?: number;
|
|
2587
|
+
value?: bigint;
|
|
2588
|
+
}): Promise<`0x${string}`>;
|
|
2589
|
+
receiveWithAuthorization(from_: `0x${string}`, to_: `0x${string}`, value_: bigint, validAfter_: bigint, validBefore_: bigint, nonce_: `0x${string}`, r_: `0x${string}`, vs_: `0x${string}`, options?: {
|
|
2590
|
+
accessList?: import('viem').AccessList;
|
|
2591
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2592
|
+
chain?: import('viem').Chain | null;
|
|
2593
|
+
dataSuffix?: `0x${string}`;
|
|
2594
|
+
gas?: bigint;
|
|
2595
|
+
gasPrice?: bigint;
|
|
2596
|
+
maxFeePerGas?: bigint;
|
|
2597
|
+
maxPriorityFeePerGas?: bigint;
|
|
2598
|
+
nonce?: number;
|
|
2599
|
+
value?: bigint;
|
|
2600
|
+
}): Promise<`0x${string}`>;
|
|
2601
|
+
receiveWithAuthorization(from_: `0x${string}`, to_: `0x${string}`, value_: bigint, validAfter_: bigint, validBefore_: bigint, nonce_: `0x${string}`, v_: bigint, r_: `0x${string}`, s_: `0x${string}`, options?: {
|
|
2602
|
+
accessList?: import('viem').AccessList;
|
|
2603
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2604
|
+
chain?: import('viem').Chain | null;
|
|
2605
|
+
dataSuffix?: `0x${string}`;
|
|
2606
|
+
gas?: bigint;
|
|
2607
|
+
gasPrice?: bigint;
|
|
2608
|
+
maxFeePerGas?: bigint;
|
|
2609
|
+
maxPriorityFeePerGas?: bigint;
|
|
2610
|
+
nonce?: number;
|
|
2611
|
+
value?: bigint;
|
|
2612
|
+
}): Promise<`0x${string}`>;
|
|
2613
|
+
/**
|
|
2614
|
+
* removeFromWhitelist
|
|
2615
|
+
* nonpayable
|
|
2616
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2617
|
+
*/
|
|
2618
|
+
removeFromWhitelist(account: `0x${string}`, options?: {
|
|
2619
|
+
accessList?: import('viem').AccessList;
|
|
2620
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2621
|
+
chain?: import('viem').Chain | null;
|
|
2622
|
+
dataSuffix?: `0x${string}`;
|
|
2623
|
+
gas?: bigint;
|
|
2624
|
+
gasPrice?: bigint;
|
|
2625
|
+
maxFeePerGas?: bigint;
|
|
2626
|
+
maxPriorityFeePerGas?: bigint;
|
|
2627
|
+
nonce?: number;
|
|
2628
|
+
value?: bigint;
|
|
2629
|
+
}): Promise<`0x${string}`>;
|
|
2630
|
+
/**
|
|
2631
|
+
* renounceRole
|
|
2632
|
+
* nonpayable
|
|
2633
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2634
|
+
*/
|
|
2635
|
+
renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
|
|
2636
|
+
accessList?: import('viem').AccessList;
|
|
2637
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2638
|
+
chain?: import('viem').Chain | null;
|
|
2639
|
+
dataSuffix?: `0x${string}`;
|
|
2640
|
+
gas?: bigint;
|
|
2641
|
+
gasPrice?: bigint;
|
|
2642
|
+
maxFeePerGas?: bigint;
|
|
2643
|
+
maxPriorityFeePerGas?: bigint;
|
|
2644
|
+
nonce?: number;
|
|
2645
|
+
value?: bigint;
|
|
2646
|
+
}): Promise<`0x${string}`>;
|
|
2647
|
+
/**
|
|
2648
|
+
* replaceAssetWithM
|
|
2649
|
+
* nonpayable
|
|
2650
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2651
|
+
*/
|
|
2652
|
+
replaceAssetWithM(asset: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
2653
|
+
accessList?: import('viem').AccessList;
|
|
2654
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2655
|
+
chain?: import('viem').Chain | null;
|
|
2656
|
+
dataSuffix?: `0x${string}`;
|
|
2657
|
+
gas?: bigint;
|
|
2658
|
+
gasPrice?: bigint;
|
|
2659
|
+
maxFeePerGas?: bigint;
|
|
2660
|
+
maxPriorityFeePerGas?: bigint;
|
|
2661
|
+
nonce?: number;
|
|
2662
|
+
value?: bigint;
|
|
2663
|
+
}): Promise<`0x${string}`>;
|
|
2664
|
+
/**
|
|
2665
|
+
* revokeRole
|
|
2666
|
+
* nonpayable
|
|
2667
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2668
|
+
*/
|
|
2669
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
2670
|
+
accessList?: import('viem').AccessList;
|
|
2671
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2672
|
+
chain?: import('viem').Chain | null;
|
|
2673
|
+
dataSuffix?: `0x${string}`;
|
|
2674
|
+
gas?: bigint;
|
|
2675
|
+
gasPrice?: bigint;
|
|
2676
|
+
maxFeePerGas?: bigint;
|
|
2677
|
+
maxPriorityFeePerGas?: bigint;
|
|
2678
|
+
nonce?: number;
|
|
2679
|
+
value?: bigint;
|
|
2680
|
+
}): Promise<`0x${string}`>;
|
|
2681
|
+
/**
|
|
2682
|
+
* setAssetCap
|
|
2683
|
+
* nonpayable
|
|
2684
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2685
|
+
*/
|
|
2686
|
+
setAssetCap(asset: `0x${string}`, cap: bigint, options?: {
|
|
2687
|
+
accessList?: import('viem').AccessList;
|
|
2688
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2689
|
+
chain?: import('viem').Chain | null;
|
|
2690
|
+
dataSuffix?: `0x${string}`;
|
|
2691
|
+
gas?: bigint;
|
|
2692
|
+
gasPrice?: bigint;
|
|
2693
|
+
maxFeePerGas?: bigint;
|
|
2694
|
+
maxPriorityFeePerGas?: bigint;
|
|
2695
|
+
nonce?: number;
|
|
2696
|
+
value?: bigint;
|
|
2697
|
+
}): Promise<`0x${string}`>;
|
|
2698
|
+
/**
|
|
2699
|
+
* setYieldRecipient
|
|
2700
|
+
* nonpayable
|
|
2701
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2702
|
+
*/
|
|
2703
|
+
setYieldRecipient(account: `0x${string}`, options?: {
|
|
2704
|
+
accessList?: import('viem').AccessList;
|
|
2705
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2706
|
+
chain?: import('viem').Chain | null;
|
|
2707
|
+
dataSuffix?: `0x${string}`;
|
|
2708
|
+
gas?: bigint;
|
|
2709
|
+
gasPrice?: bigint;
|
|
2710
|
+
maxFeePerGas?: bigint;
|
|
2711
|
+
maxPriorityFeePerGas?: bigint;
|
|
2712
|
+
nonce?: number;
|
|
2713
|
+
value?: bigint;
|
|
2714
|
+
}): Promise<`0x${string}`>;
|
|
2715
|
+
/**
|
|
2716
|
+
* transfer
|
|
2717
|
+
* nonpayable
|
|
2718
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2719
|
+
*/
|
|
2720
|
+
transfer(recipient_: `0x${string}`, amount_: bigint, options?: {
|
|
2721
|
+
accessList?: import('viem').AccessList;
|
|
2722
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2723
|
+
chain?: import('viem').Chain | null;
|
|
2724
|
+
dataSuffix?: `0x${string}`;
|
|
2725
|
+
gas?: bigint;
|
|
2726
|
+
gasPrice?: bigint;
|
|
2727
|
+
maxFeePerGas?: bigint;
|
|
2728
|
+
maxPriorityFeePerGas?: bigint;
|
|
2729
|
+
nonce?: number;
|
|
2730
|
+
value?: bigint;
|
|
2731
|
+
}): Promise<`0x${string}`>;
|
|
2732
|
+
/**
|
|
2733
|
+
* transferFrom
|
|
2734
|
+
* nonpayable
|
|
2735
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2736
|
+
*/
|
|
2737
|
+
transferFrom(sender_: `0x${string}`, recipient_: `0x${string}`, amount_: bigint, options?: {
|
|
2738
|
+
accessList?: import('viem').AccessList;
|
|
2739
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2740
|
+
chain?: import('viem').Chain | null;
|
|
2741
|
+
dataSuffix?: `0x${string}`;
|
|
2742
|
+
gas?: bigint;
|
|
2743
|
+
gasPrice?: bigint;
|
|
2744
|
+
maxFeePerGas?: bigint;
|
|
2745
|
+
maxPriorityFeePerGas?: bigint;
|
|
2746
|
+
nonce?: number;
|
|
2747
|
+
value?: bigint;
|
|
2748
|
+
}): Promise<`0x${string}`>;
|
|
2749
|
+
transferWithAuthorization(from_: `0x${string}`, to_: `0x${string}`, value_: bigint, validAfter_: bigint, validBefore_: bigint, nonce_: `0x${string}`, r_: `0x${string}`, vs_: `0x${string}`, options?: {
|
|
2750
|
+
accessList?: import('viem').AccessList;
|
|
2751
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2752
|
+
chain?: import('viem').Chain | null;
|
|
2753
|
+
dataSuffix?: `0x${string}`;
|
|
2754
|
+
gas?: bigint;
|
|
2755
|
+
gasPrice?: bigint;
|
|
2756
|
+
maxFeePerGas?: bigint;
|
|
2757
|
+
maxPriorityFeePerGas?: bigint;
|
|
2758
|
+
nonce?: number;
|
|
2759
|
+
value?: bigint;
|
|
2760
|
+
}): Promise<`0x${string}`>;
|
|
2761
|
+
transferWithAuthorization(from_: `0x${string}`, to_: `0x${string}`, value_: bigint, validAfter_: bigint, validBefore_: bigint, nonce_: `0x${string}`, signature_: `0x${string}`, options?: {
|
|
2762
|
+
accessList?: import('viem').AccessList;
|
|
2763
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2764
|
+
chain?: import('viem').Chain | null;
|
|
2765
|
+
dataSuffix?: `0x${string}`;
|
|
2766
|
+
gas?: bigint;
|
|
2767
|
+
gasPrice?: bigint;
|
|
2768
|
+
maxFeePerGas?: bigint;
|
|
2769
|
+
maxPriorityFeePerGas?: bigint;
|
|
2770
|
+
nonce?: number;
|
|
2771
|
+
value?: bigint;
|
|
2772
|
+
}): Promise<`0x${string}`>;
|
|
2773
|
+
transferWithAuthorization(from_: `0x${string}`, to_: `0x${string}`, value_: bigint, validAfter_: bigint, validBefore_: bigint, nonce_: `0x${string}`, v_: bigint, r_: `0x${string}`, s_: `0x${string}`, options?: {
|
|
2774
|
+
accessList?: import('viem').AccessList;
|
|
2775
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2776
|
+
chain?: import('viem').Chain | null;
|
|
2777
|
+
dataSuffix?: `0x${string}`;
|
|
2778
|
+
gas?: bigint;
|
|
2779
|
+
gasPrice?: bigint;
|
|
2780
|
+
maxFeePerGas?: bigint;
|
|
2781
|
+
maxPriorityFeePerGas?: bigint;
|
|
2782
|
+
nonce?: number;
|
|
2783
|
+
value?: bigint;
|
|
2784
|
+
}): Promise<`0x${string}`>;
|
|
2785
|
+
/**
|
|
2786
|
+
* unfreeze
|
|
2787
|
+
* nonpayable
|
|
2788
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2789
|
+
*/
|
|
2790
|
+
unfreeze(account: `0x${string}`, options?: {
|
|
2791
|
+
accessList?: import('viem').AccessList;
|
|
2792
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2793
|
+
chain?: import('viem').Chain | null;
|
|
2794
|
+
dataSuffix?: `0x${string}`;
|
|
2795
|
+
gas?: bigint;
|
|
2796
|
+
gasPrice?: bigint;
|
|
2797
|
+
maxFeePerGas?: bigint;
|
|
2798
|
+
maxPriorityFeePerGas?: bigint;
|
|
2799
|
+
nonce?: number;
|
|
2800
|
+
value?: bigint;
|
|
2801
|
+
}): Promise<`0x${string}`>;
|
|
2802
|
+
/**
|
|
2803
|
+
* unfreezeAccounts
|
|
2804
|
+
* nonpayable
|
|
2805
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2806
|
+
*/
|
|
2807
|
+
unfreezeAccounts(accounts: `0x${string}`[], options?: {
|
|
2808
|
+
accessList?: import('viem').AccessList;
|
|
2809
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2810
|
+
chain?: import('viem').Chain | null;
|
|
2811
|
+
dataSuffix?: `0x${string}`;
|
|
2812
|
+
gas?: bigint;
|
|
2813
|
+
gasPrice?: bigint;
|
|
2814
|
+
maxFeePerGas?: bigint;
|
|
2815
|
+
maxPriorityFeePerGas?: bigint;
|
|
2816
|
+
nonce?: number;
|
|
2817
|
+
value?: bigint;
|
|
2818
|
+
}): Promise<`0x${string}`>;
|
|
2819
|
+
/**
|
|
2820
|
+
* unpause
|
|
2821
|
+
* nonpayable
|
|
2822
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2823
|
+
*/
|
|
2824
|
+
unpause(options?: {
|
|
2825
|
+
accessList?: import('viem').AccessList;
|
|
2826
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2827
|
+
chain?: import('viem').Chain | null;
|
|
2828
|
+
dataSuffix?: `0x${string}`;
|
|
2829
|
+
gas?: bigint;
|
|
2830
|
+
gasPrice?: bigint;
|
|
2831
|
+
maxFeePerGas?: bigint;
|
|
2832
|
+
maxPriorityFeePerGas?: bigint;
|
|
2833
|
+
nonce?: number;
|
|
2834
|
+
value?: bigint;
|
|
2835
|
+
}): Promise<`0x${string}`>;
|
|
2836
|
+
/**
|
|
2837
|
+
* unwrap
|
|
2838
|
+
* nonpayable
|
|
2839
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2840
|
+
*/
|
|
2841
|
+
unwrap(arg0: `0x${string}`, amount: bigint, options?: {
|
|
2842
|
+
accessList?: import('viem').AccessList;
|
|
2843
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2844
|
+
chain?: import('viem').Chain | null;
|
|
2845
|
+
dataSuffix?: `0x${string}`;
|
|
2846
|
+
gas?: bigint;
|
|
2847
|
+
gasPrice?: bigint;
|
|
2848
|
+
maxFeePerGas?: bigint;
|
|
2849
|
+
maxPriorityFeePerGas?: bigint;
|
|
2850
|
+
nonce?: number;
|
|
2851
|
+
value?: bigint;
|
|
2852
|
+
}): Promise<`0x${string}`>;
|
|
2853
|
+
/**
|
|
2854
|
+
* whitelist
|
|
2855
|
+
* nonpayable
|
|
2856
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2857
|
+
*/
|
|
2858
|
+
whitelist(account: `0x${string}`, options?: {
|
|
2859
|
+
accessList?: import('viem').AccessList;
|
|
2860
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2861
|
+
chain?: import('viem').Chain | null;
|
|
2862
|
+
dataSuffix?: `0x${string}`;
|
|
2863
|
+
gas?: bigint;
|
|
2864
|
+
gasPrice?: bigint;
|
|
2865
|
+
maxFeePerGas?: bigint;
|
|
2866
|
+
maxPriorityFeePerGas?: bigint;
|
|
2867
|
+
nonce?: number;
|
|
2868
|
+
value?: bigint;
|
|
2869
|
+
}): Promise<`0x${string}`>;
|
|
2870
|
+
wrap(asset: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
2871
|
+
accessList?: import('viem').AccessList;
|
|
2872
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2873
|
+
chain?: import('viem').Chain | null;
|
|
2874
|
+
dataSuffix?: `0x${string}`;
|
|
2875
|
+
gas?: bigint;
|
|
2876
|
+
gasPrice?: bigint;
|
|
2877
|
+
maxFeePerGas?: bigint;
|
|
2878
|
+
maxPriorityFeePerGas?: bigint;
|
|
2879
|
+
nonce?: number;
|
|
2880
|
+
value?: bigint;
|
|
2881
|
+
}): Promise<`0x${string}`>;
|
|
2882
|
+
wrap(recipient: `0x${string}`, amount: bigint, options?: {
|
|
2883
|
+
accessList?: import('viem').AccessList;
|
|
2884
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
2885
|
+
chain?: import('viem').Chain | null;
|
|
2886
|
+
dataSuffix?: `0x${string}`;
|
|
2887
|
+
gas?: bigint;
|
|
2888
|
+
gasPrice?: bigint;
|
|
2889
|
+
maxFeePerGas?: bigint;
|
|
2890
|
+
maxPriorityFeePerGas?: bigint;
|
|
2891
|
+
nonce?: number;
|
|
2892
|
+
value?: bigint;
|
|
2893
|
+
}): Promise<`0x${string}`>;
|
|
2894
|
+
/**
|
|
2895
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
2896
|
+
*
|
|
2897
|
+
* @example
|
|
2898
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
2899
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
2900
|
+
* console.log('Would succeed:', result.result);
|
|
2901
|
+
*/
|
|
2902
|
+
get simulate(): {
|
|
2903
|
+
/**
|
|
2904
|
+
* Simulate approve
|
|
2905
|
+
* Returns gas estimate and result without sending transaction
|
|
2906
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2907
|
+
*/
|
|
2908
|
+
approve(spender_: `0x${string}`, amount_: bigint, options?: {
|
|
2909
|
+
accessList?: import("viem").AccessList;
|
|
2910
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2911
|
+
chain?: import("viem").Chain | null;
|
|
2912
|
+
dataSuffix?: `0x${string}`;
|
|
2913
|
+
gas?: bigint;
|
|
2914
|
+
gasPrice?: bigint;
|
|
2915
|
+
maxFeePerGas?: bigint;
|
|
2916
|
+
maxPriorityFeePerGas?: bigint;
|
|
2917
|
+
nonce?: number;
|
|
2918
|
+
value?: bigint;
|
|
2919
|
+
}): Promise<boolean>;
|
|
2920
|
+
/**
|
|
2921
|
+
* Simulate cancelAuthorization
|
|
2922
|
+
* Returns gas estimate and result without sending transaction
|
|
2923
|
+
* Supports multiple overloads: (address, bytes32, bytes32, bytes32), (address, bytes32, uint8, bytes32, bytes32), (address, bytes32, bytes)
|
|
2924
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2925
|
+
*/
|
|
2926
|
+
cancelAuthorization(...args: any[]): Promise<any>;
|
|
2927
|
+
/**
|
|
2928
|
+
* Simulate claimYield
|
|
2929
|
+
* Returns gas estimate and result without sending transaction
|
|
2930
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2931
|
+
*/
|
|
2932
|
+
claimYield(options?: {
|
|
2933
|
+
accessList?: import("viem").AccessList;
|
|
2934
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2935
|
+
chain?: import("viem").Chain | null;
|
|
2936
|
+
dataSuffix?: `0x${string}`;
|
|
2937
|
+
gas?: bigint;
|
|
2938
|
+
gasPrice?: bigint;
|
|
2939
|
+
maxFeePerGas?: bigint;
|
|
2940
|
+
maxPriorityFeePerGas?: bigint;
|
|
2941
|
+
nonce?: number;
|
|
2942
|
+
value?: bigint;
|
|
2943
|
+
}): Promise<bigint>;
|
|
2944
|
+
/**
|
|
2945
|
+
* Simulate disableEarning
|
|
2946
|
+
* Returns gas estimate and result without sending transaction
|
|
2947
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2948
|
+
*/
|
|
2949
|
+
disableEarning(options?: {
|
|
2950
|
+
accessList?: import("viem").AccessList;
|
|
2951
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2952
|
+
chain?: import("viem").Chain | null;
|
|
2953
|
+
dataSuffix?: `0x${string}`;
|
|
2954
|
+
gas?: bigint;
|
|
2955
|
+
gasPrice?: bigint;
|
|
2956
|
+
maxFeePerGas?: bigint;
|
|
2957
|
+
maxPriorityFeePerGas?: bigint;
|
|
2958
|
+
nonce?: number;
|
|
2959
|
+
value?: bigint;
|
|
2960
|
+
}): Promise<void>;
|
|
2961
|
+
/**
|
|
2962
|
+
* Simulate disableWhitelist
|
|
2963
|
+
* Returns gas estimate and result without sending transaction
|
|
2964
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2965
|
+
*/
|
|
2966
|
+
disableWhitelist(options?: {
|
|
2967
|
+
accessList?: import("viem").AccessList;
|
|
2968
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2969
|
+
chain?: import("viem").Chain | null;
|
|
2970
|
+
dataSuffix?: `0x${string}`;
|
|
2971
|
+
gas?: bigint;
|
|
2972
|
+
gasPrice?: bigint;
|
|
2973
|
+
maxFeePerGas?: bigint;
|
|
2974
|
+
maxPriorityFeePerGas?: bigint;
|
|
2975
|
+
nonce?: number;
|
|
2976
|
+
value?: bigint;
|
|
2977
|
+
}): Promise<void>;
|
|
2978
|
+
/**
|
|
2979
|
+
* Simulate enableEarning
|
|
2980
|
+
* Returns gas estimate and result without sending transaction
|
|
2981
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2982
|
+
*/
|
|
2983
|
+
enableEarning(options?: {
|
|
2984
|
+
accessList?: import("viem").AccessList;
|
|
2985
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2986
|
+
chain?: import("viem").Chain | null;
|
|
2987
|
+
dataSuffix?: `0x${string}`;
|
|
2988
|
+
gas?: bigint;
|
|
2989
|
+
gasPrice?: bigint;
|
|
2990
|
+
maxFeePerGas?: bigint;
|
|
2991
|
+
maxPriorityFeePerGas?: bigint;
|
|
2992
|
+
nonce?: number;
|
|
2993
|
+
value?: bigint;
|
|
2994
|
+
}): Promise<void>;
|
|
2995
|
+
/**
|
|
2996
|
+
* Simulate enableWhitelist
|
|
2997
|
+
* Returns gas estimate and result without sending transaction
|
|
2998
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2999
|
+
*/
|
|
3000
|
+
enableWhitelist(options?: {
|
|
3001
|
+
accessList?: import("viem").AccessList;
|
|
3002
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3003
|
+
chain?: import("viem").Chain | null;
|
|
3004
|
+
dataSuffix?: `0x${string}`;
|
|
3005
|
+
gas?: bigint;
|
|
3006
|
+
gasPrice?: bigint;
|
|
3007
|
+
maxFeePerGas?: bigint;
|
|
3008
|
+
maxPriorityFeePerGas?: bigint;
|
|
3009
|
+
nonce?: number;
|
|
3010
|
+
value?: bigint;
|
|
3011
|
+
}): Promise<void>;
|
|
3012
|
+
/**
|
|
3013
|
+
* Simulate forceTransfer
|
|
3014
|
+
* Returns gas estimate and result without sending transaction
|
|
3015
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3016
|
+
*/
|
|
3017
|
+
forceTransfer(frozenAccount: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
3018
|
+
accessList?: import("viem").AccessList;
|
|
3019
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3020
|
+
chain?: import("viem").Chain | null;
|
|
3021
|
+
dataSuffix?: `0x${string}`;
|
|
3022
|
+
gas?: bigint;
|
|
3023
|
+
gasPrice?: bigint;
|
|
3024
|
+
maxFeePerGas?: bigint;
|
|
3025
|
+
maxPriorityFeePerGas?: bigint;
|
|
3026
|
+
nonce?: number;
|
|
3027
|
+
value?: bigint;
|
|
3028
|
+
}): Promise<void>;
|
|
3029
|
+
/**
|
|
3030
|
+
* Simulate forceTransfers
|
|
3031
|
+
* Returns gas estimate and result without sending transaction
|
|
3032
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3033
|
+
*/
|
|
3034
|
+
forceTransfers(frozenAccounts: `0x${string}`[], recipients: `0x${string}`[], amounts: bigint[], options?: {
|
|
3035
|
+
accessList?: import("viem").AccessList;
|
|
3036
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3037
|
+
chain?: import("viem").Chain | null;
|
|
3038
|
+
dataSuffix?: `0x${string}`;
|
|
3039
|
+
gas?: bigint;
|
|
3040
|
+
gasPrice?: bigint;
|
|
3041
|
+
maxFeePerGas?: bigint;
|
|
3042
|
+
maxPriorityFeePerGas?: bigint;
|
|
3043
|
+
nonce?: number;
|
|
3044
|
+
value?: bigint;
|
|
3045
|
+
}): Promise<void>;
|
|
3046
|
+
/**
|
|
3047
|
+
* Simulate freeze
|
|
3048
|
+
* Returns gas estimate and result without sending transaction
|
|
3049
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3050
|
+
*/
|
|
3051
|
+
freeze(account: `0x${string}`, options?: {
|
|
3052
|
+
accessList?: import("viem").AccessList;
|
|
3053
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3054
|
+
chain?: import("viem").Chain | null;
|
|
3055
|
+
dataSuffix?: `0x${string}`;
|
|
3056
|
+
gas?: bigint;
|
|
3057
|
+
gasPrice?: bigint;
|
|
3058
|
+
maxFeePerGas?: bigint;
|
|
3059
|
+
maxPriorityFeePerGas?: bigint;
|
|
3060
|
+
nonce?: number;
|
|
3061
|
+
value?: bigint;
|
|
3062
|
+
}): Promise<void>;
|
|
3063
|
+
/**
|
|
3064
|
+
* Simulate freezeAccounts
|
|
3065
|
+
* Returns gas estimate and result without sending transaction
|
|
3066
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3067
|
+
*/
|
|
3068
|
+
freezeAccounts(accounts: `0x${string}`[], options?: {
|
|
3069
|
+
accessList?: import("viem").AccessList;
|
|
3070
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3071
|
+
chain?: import("viem").Chain | null;
|
|
3072
|
+
dataSuffix?: `0x${string}`;
|
|
3073
|
+
gas?: bigint;
|
|
3074
|
+
gasPrice?: bigint;
|
|
3075
|
+
maxFeePerGas?: bigint;
|
|
3076
|
+
maxPriorityFeePerGas?: bigint;
|
|
3077
|
+
nonce?: number;
|
|
3078
|
+
value?: bigint;
|
|
3079
|
+
}): Promise<void>;
|
|
3080
|
+
/**
|
|
3081
|
+
* Simulate grantRole
|
|
3082
|
+
* Returns gas estimate and result without sending transaction
|
|
3083
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3084
|
+
*/
|
|
3085
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
3086
|
+
accessList?: import("viem").AccessList;
|
|
3087
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3088
|
+
chain?: import("viem").Chain | null;
|
|
3089
|
+
dataSuffix?: `0x${string}`;
|
|
3090
|
+
gas?: bigint;
|
|
3091
|
+
gasPrice?: bigint;
|
|
3092
|
+
maxFeePerGas?: bigint;
|
|
3093
|
+
maxPriorityFeePerGas?: bigint;
|
|
3094
|
+
nonce?: number;
|
|
3095
|
+
value?: bigint;
|
|
3096
|
+
}): Promise<void>;
|
|
3097
|
+
/**
|
|
3098
|
+
* Simulate initialize
|
|
3099
|
+
* Returns gas estimate and result without sending transaction
|
|
3100
|
+
* Supports multiple overloads: (string, string, address, address, address, address, address, address), (string, string, address, address, address, address, address), (address, address, address, address)
|
|
3101
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3102
|
+
*/
|
|
3103
|
+
initialize(...args: any[]): Promise<any>;
|
|
3104
|
+
/**
|
|
3105
|
+
* Simulate pause
|
|
3106
|
+
* Returns gas estimate and result without sending transaction
|
|
3107
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3108
|
+
*/
|
|
3109
|
+
pause(options?: {
|
|
3110
|
+
accessList?: import("viem").AccessList;
|
|
3111
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3112
|
+
chain?: import("viem").Chain | null;
|
|
3113
|
+
dataSuffix?: `0x${string}`;
|
|
3114
|
+
gas?: bigint;
|
|
3115
|
+
gasPrice?: bigint;
|
|
3116
|
+
maxFeePerGas?: bigint;
|
|
3117
|
+
maxPriorityFeePerGas?: bigint;
|
|
3118
|
+
nonce?: number;
|
|
3119
|
+
value?: bigint;
|
|
3120
|
+
}): Promise<void>;
|
|
3121
|
+
/**
|
|
3122
|
+
* Simulate permit
|
|
3123
|
+
* Returns gas estimate and result without sending transaction
|
|
3124
|
+
* Supports multiple overloads: (address, address, uint256, uint256, bytes), (address, address, uint256, uint256, uint8, bytes32, bytes32)
|
|
3125
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3126
|
+
*/
|
|
3127
|
+
permit(...args: any[]): Promise<any>;
|
|
3128
|
+
/**
|
|
3129
|
+
* Simulate receiveWithAuthorization
|
|
3130
|
+
* Returns gas estimate and result without sending transaction
|
|
3131
|
+
* Supports multiple overloads: (address, address, uint256, uint256, uint256, bytes32, bytes), (address, address, uint256, uint256, uint256, bytes32, bytes32, bytes32), (address, address, uint256, uint256, uint256, bytes32, uint8, bytes32, bytes32)
|
|
3132
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3133
|
+
*/
|
|
3134
|
+
receiveWithAuthorization(...args: any[]): Promise<any>;
|
|
3135
|
+
/**
|
|
3136
|
+
* Simulate removeFromWhitelist
|
|
3137
|
+
* Returns gas estimate and result without sending transaction
|
|
3138
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3139
|
+
*/
|
|
3140
|
+
removeFromWhitelist(account: `0x${string}`, options?: {
|
|
3141
|
+
accessList?: import("viem").AccessList;
|
|
3142
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3143
|
+
chain?: import("viem").Chain | null;
|
|
3144
|
+
dataSuffix?: `0x${string}`;
|
|
3145
|
+
gas?: bigint;
|
|
3146
|
+
gasPrice?: bigint;
|
|
3147
|
+
maxFeePerGas?: bigint;
|
|
3148
|
+
maxPriorityFeePerGas?: bigint;
|
|
3149
|
+
nonce?: number;
|
|
3150
|
+
value?: bigint;
|
|
3151
|
+
}): Promise<void>;
|
|
3152
|
+
/**
|
|
3153
|
+
* Simulate renounceRole
|
|
3154
|
+
* Returns gas estimate and result without sending transaction
|
|
3155
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3156
|
+
*/
|
|
3157
|
+
renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
|
|
3158
|
+
accessList?: import("viem").AccessList;
|
|
3159
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3160
|
+
chain?: import("viem").Chain | null;
|
|
3161
|
+
dataSuffix?: `0x${string}`;
|
|
3162
|
+
gas?: bigint;
|
|
3163
|
+
gasPrice?: bigint;
|
|
3164
|
+
maxFeePerGas?: bigint;
|
|
3165
|
+
maxPriorityFeePerGas?: bigint;
|
|
3166
|
+
nonce?: number;
|
|
3167
|
+
value?: bigint;
|
|
3168
|
+
}): Promise<void>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Simulate replaceAssetWithM
|
|
3171
|
+
* Returns gas estimate and result without sending transaction
|
|
3172
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3173
|
+
*/
|
|
3174
|
+
replaceAssetWithM(asset: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
3175
|
+
accessList?: import("viem").AccessList;
|
|
3176
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3177
|
+
chain?: import("viem").Chain | null;
|
|
3178
|
+
dataSuffix?: `0x${string}`;
|
|
3179
|
+
gas?: bigint;
|
|
3180
|
+
gasPrice?: bigint;
|
|
3181
|
+
maxFeePerGas?: bigint;
|
|
3182
|
+
maxPriorityFeePerGas?: bigint;
|
|
3183
|
+
nonce?: number;
|
|
3184
|
+
value?: bigint;
|
|
3185
|
+
}): Promise<void>;
|
|
3186
|
+
/**
|
|
3187
|
+
* Simulate revokeRole
|
|
3188
|
+
* Returns gas estimate and result without sending transaction
|
|
3189
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3190
|
+
*/
|
|
3191
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
3192
|
+
accessList?: import("viem").AccessList;
|
|
3193
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3194
|
+
chain?: import("viem").Chain | null;
|
|
3195
|
+
dataSuffix?: `0x${string}`;
|
|
3196
|
+
gas?: bigint;
|
|
3197
|
+
gasPrice?: bigint;
|
|
3198
|
+
maxFeePerGas?: bigint;
|
|
3199
|
+
maxPriorityFeePerGas?: bigint;
|
|
3200
|
+
nonce?: number;
|
|
3201
|
+
value?: bigint;
|
|
3202
|
+
}): Promise<void>;
|
|
3203
|
+
/**
|
|
3204
|
+
* Simulate setAssetCap
|
|
3205
|
+
* Returns gas estimate and result without sending transaction
|
|
3206
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3207
|
+
*/
|
|
3208
|
+
setAssetCap(asset: `0x${string}`, cap: bigint, options?: {
|
|
3209
|
+
accessList?: import("viem").AccessList;
|
|
3210
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3211
|
+
chain?: import("viem").Chain | null;
|
|
3212
|
+
dataSuffix?: `0x${string}`;
|
|
3213
|
+
gas?: bigint;
|
|
3214
|
+
gasPrice?: bigint;
|
|
3215
|
+
maxFeePerGas?: bigint;
|
|
3216
|
+
maxPriorityFeePerGas?: bigint;
|
|
3217
|
+
nonce?: number;
|
|
3218
|
+
value?: bigint;
|
|
3219
|
+
}): Promise<void>;
|
|
3220
|
+
/**
|
|
3221
|
+
* Simulate setYieldRecipient
|
|
3222
|
+
* Returns gas estimate and result without sending transaction
|
|
3223
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3224
|
+
*/
|
|
3225
|
+
setYieldRecipient(account: `0x${string}`, options?: {
|
|
3226
|
+
accessList?: import("viem").AccessList;
|
|
3227
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3228
|
+
chain?: import("viem").Chain | null;
|
|
3229
|
+
dataSuffix?: `0x${string}`;
|
|
3230
|
+
gas?: bigint;
|
|
3231
|
+
gasPrice?: bigint;
|
|
3232
|
+
maxFeePerGas?: bigint;
|
|
3233
|
+
maxPriorityFeePerGas?: bigint;
|
|
3234
|
+
nonce?: number;
|
|
3235
|
+
value?: bigint;
|
|
3236
|
+
}): Promise<void>;
|
|
3237
|
+
/**
|
|
3238
|
+
* Simulate transfer
|
|
3239
|
+
* Returns gas estimate and result without sending transaction
|
|
3240
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3241
|
+
*/
|
|
3242
|
+
transfer(recipient_: `0x${string}`, amount_: bigint, options?: {
|
|
3243
|
+
accessList?: import("viem").AccessList;
|
|
3244
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3245
|
+
chain?: import("viem").Chain | null;
|
|
3246
|
+
dataSuffix?: `0x${string}`;
|
|
3247
|
+
gas?: bigint;
|
|
3248
|
+
gasPrice?: bigint;
|
|
3249
|
+
maxFeePerGas?: bigint;
|
|
3250
|
+
maxPriorityFeePerGas?: bigint;
|
|
3251
|
+
nonce?: number;
|
|
3252
|
+
value?: bigint;
|
|
3253
|
+
}): Promise<boolean>;
|
|
3254
|
+
/**
|
|
3255
|
+
* Simulate transferFrom
|
|
3256
|
+
* Returns gas estimate and result without sending transaction
|
|
3257
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3258
|
+
*/
|
|
3259
|
+
transferFrom(sender_: `0x${string}`, recipient_: `0x${string}`, amount_: bigint, options?: {
|
|
3260
|
+
accessList?: import("viem").AccessList;
|
|
3261
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3262
|
+
chain?: import("viem").Chain | null;
|
|
3263
|
+
dataSuffix?: `0x${string}`;
|
|
3264
|
+
gas?: bigint;
|
|
3265
|
+
gasPrice?: bigint;
|
|
3266
|
+
maxFeePerGas?: bigint;
|
|
3267
|
+
maxPriorityFeePerGas?: bigint;
|
|
3268
|
+
nonce?: number;
|
|
3269
|
+
value?: bigint;
|
|
3270
|
+
}): Promise<boolean>;
|
|
3271
|
+
/**
|
|
3272
|
+
* Simulate transferWithAuthorization
|
|
3273
|
+
* Returns gas estimate and result without sending transaction
|
|
3274
|
+
* Supports multiple overloads: (address, address, uint256, uint256, uint256, bytes32, bytes32, bytes32), (address, address, uint256, uint256, uint256, bytes32, bytes), (address, address, uint256, uint256, uint256, bytes32, uint8, bytes32, bytes32)
|
|
3275
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3276
|
+
*/
|
|
3277
|
+
transferWithAuthorization(...args: any[]): Promise<any>;
|
|
3278
|
+
/**
|
|
3279
|
+
* Simulate unfreeze
|
|
3280
|
+
* Returns gas estimate and result without sending transaction
|
|
3281
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3282
|
+
*/
|
|
3283
|
+
unfreeze(account: `0x${string}`, options?: {
|
|
3284
|
+
accessList?: import("viem").AccessList;
|
|
3285
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3286
|
+
chain?: import("viem").Chain | null;
|
|
3287
|
+
dataSuffix?: `0x${string}`;
|
|
3288
|
+
gas?: bigint;
|
|
3289
|
+
gasPrice?: bigint;
|
|
3290
|
+
maxFeePerGas?: bigint;
|
|
3291
|
+
maxPriorityFeePerGas?: bigint;
|
|
3292
|
+
nonce?: number;
|
|
3293
|
+
value?: bigint;
|
|
3294
|
+
}): Promise<void>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Simulate unfreezeAccounts
|
|
3297
|
+
* Returns gas estimate and result without sending transaction
|
|
3298
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3299
|
+
*/
|
|
3300
|
+
unfreezeAccounts(accounts: `0x${string}`[], options?: {
|
|
3301
|
+
accessList?: import("viem").AccessList;
|
|
3302
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3303
|
+
chain?: import("viem").Chain | null;
|
|
3304
|
+
dataSuffix?: `0x${string}`;
|
|
3305
|
+
gas?: bigint;
|
|
3306
|
+
gasPrice?: bigint;
|
|
3307
|
+
maxFeePerGas?: bigint;
|
|
3308
|
+
maxPriorityFeePerGas?: bigint;
|
|
3309
|
+
nonce?: number;
|
|
3310
|
+
value?: bigint;
|
|
3311
|
+
}): Promise<void>;
|
|
3312
|
+
/**
|
|
3313
|
+
* Simulate unpause
|
|
3314
|
+
* Returns gas estimate and result without sending transaction
|
|
3315
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3316
|
+
*/
|
|
3317
|
+
unpause(options?: {
|
|
3318
|
+
accessList?: import("viem").AccessList;
|
|
3319
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3320
|
+
chain?: import("viem").Chain | null;
|
|
3321
|
+
dataSuffix?: `0x${string}`;
|
|
3322
|
+
gas?: bigint;
|
|
3323
|
+
gasPrice?: bigint;
|
|
3324
|
+
maxFeePerGas?: bigint;
|
|
3325
|
+
maxPriorityFeePerGas?: bigint;
|
|
3326
|
+
nonce?: number;
|
|
3327
|
+
value?: bigint;
|
|
3328
|
+
}): Promise<void>;
|
|
3329
|
+
/**
|
|
3330
|
+
* Simulate unwrap
|
|
3331
|
+
* Returns gas estimate and result without sending transaction
|
|
3332
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3333
|
+
*/
|
|
3334
|
+
unwrap(arg0: `0x${string}`, amount: bigint, options?: {
|
|
3335
|
+
accessList?: import("viem").AccessList;
|
|
3336
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3337
|
+
chain?: import("viem").Chain | null;
|
|
3338
|
+
dataSuffix?: `0x${string}`;
|
|
3339
|
+
gas?: bigint;
|
|
3340
|
+
gasPrice?: bigint;
|
|
3341
|
+
maxFeePerGas?: bigint;
|
|
3342
|
+
maxPriorityFeePerGas?: bigint;
|
|
3343
|
+
nonce?: number;
|
|
3344
|
+
value?: bigint;
|
|
3345
|
+
}): Promise<void>;
|
|
3346
|
+
/**
|
|
3347
|
+
* Simulate whitelist
|
|
3348
|
+
* Returns gas estimate and result without sending transaction
|
|
3349
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3350
|
+
*/
|
|
3351
|
+
whitelist(account: `0x${string}`, options?: {
|
|
3352
|
+
accessList?: import("viem").AccessList;
|
|
3353
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
3354
|
+
chain?: import("viem").Chain | null;
|
|
3355
|
+
dataSuffix?: `0x${string}`;
|
|
3356
|
+
gas?: bigint;
|
|
3357
|
+
gasPrice?: bigint;
|
|
3358
|
+
maxFeePerGas?: bigint;
|
|
3359
|
+
maxPriorityFeePerGas?: bigint;
|
|
3360
|
+
nonce?: number;
|
|
3361
|
+
value?: bigint;
|
|
3362
|
+
}): Promise<void>;
|
|
3363
|
+
/**
|
|
3364
|
+
* Simulate wrap
|
|
3365
|
+
* Returns gas estimate and result without sending transaction
|
|
3366
|
+
* Supports multiple overloads: (address, address, uint256), (address, uint256)
|
|
3367
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3368
|
+
*/
|
|
3369
|
+
wrap(...args: any[]): Promise<any>;
|
|
3370
|
+
};
|
|
3371
|
+
/**
|
|
3372
|
+
* Watch contract events
|
|
3373
|
+
*
|
|
3374
|
+
* @example
|
|
3375
|
+
* // Watch all Transfer events
|
|
3376
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
3377
|
+
* console.log('Transfer:', event);
|
|
3378
|
+
* });
|
|
3379
|
+
*
|
|
3380
|
+
* // Stop watching
|
|
3381
|
+
* unwatch();
|
|
3382
|
+
*/
|
|
3383
|
+
get watch(): {
|
|
3384
|
+
/**
|
|
3385
|
+
* Watch Approval events
|
|
3386
|
+
* @param callback Function to call when event is emitted
|
|
3387
|
+
* @param filter Optional filter for indexed parameters
|
|
3388
|
+
* @returns Unwatch function to stop listening
|
|
3389
|
+
*/
|
|
3390
|
+
Approval: (callback: (event: {
|
|
3391
|
+
account: `0x${string}`;
|
|
3392
|
+
spender: `0x${string}`;
|
|
3393
|
+
amount: bigint;
|
|
3394
|
+
}) => void, filter?: {
|
|
3395
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
3396
|
+
spender?: `0x${string}` | `0x${string}`[] | null;
|
|
3397
|
+
}) => () => void;
|
|
3398
|
+
/**
|
|
3399
|
+
* Watch AssetCapSet events
|
|
3400
|
+
* @param callback Function to call when event is emitted
|
|
3401
|
+
* @param filter Optional filter for indexed parameters
|
|
3402
|
+
* @returns Unwatch function to stop listening
|
|
3403
|
+
*/
|
|
3404
|
+
AssetCapSet: (callback: (event: {
|
|
3405
|
+
asset: `0x${string}`;
|
|
3406
|
+
cap: bigint;
|
|
3407
|
+
}) => void, filter?: {
|
|
3408
|
+
asset?: `0x${string}` | `0x${string}`[] | null;
|
|
3409
|
+
}) => () => void;
|
|
3410
|
+
/**
|
|
3411
|
+
* Watch AssetReplacedWithM events
|
|
3412
|
+
* @param callback Function to call when event is emitted
|
|
3413
|
+
* @param filter Optional filter for indexed parameters
|
|
3414
|
+
* @returns Unwatch function to stop listening
|
|
3415
|
+
*/
|
|
3416
|
+
AssetReplacedWithM: (callback: (event: {
|
|
3417
|
+
asset: `0x${string}`;
|
|
3418
|
+
assetAmount: bigint;
|
|
3419
|
+
recipient: `0x${string}`;
|
|
3420
|
+
mAmount: bigint;
|
|
3421
|
+
}) => void, filter?: {
|
|
3422
|
+
asset?: `0x${string}` | `0x${string}`[] | null;
|
|
3423
|
+
recipient?: `0x${string}` | `0x${string}`[] | null;
|
|
3424
|
+
}) => () => void;
|
|
3425
|
+
/**
|
|
3426
|
+
* Watch AuthorizationCanceled events
|
|
3427
|
+
* @param callback Function to call when event is emitted
|
|
3428
|
+
* @param filter Optional filter for indexed parameters
|
|
3429
|
+
* @returns Unwatch function to stop listening
|
|
3430
|
+
*/
|
|
3431
|
+
AuthorizationCanceled: (callback: (event: {
|
|
3432
|
+
authorizer: `0x${string}`;
|
|
3433
|
+
nonce: `0x${string}`;
|
|
3434
|
+
}) => void, filter?: {
|
|
3435
|
+
authorizer?: `0x${string}` | `0x${string}`[] | null;
|
|
3436
|
+
nonce?: `0x${string}` | `0x${string}`[] | null;
|
|
3437
|
+
}) => () => void;
|
|
3438
|
+
/**
|
|
3439
|
+
* Watch AuthorizationUsed events
|
|
3440
|
+
* @param callback Function to call when event is emitted
|
|
3441
|
+
* @param filter Optional filter for indexed parameters
|
|
3442
|
+
* @returns Unwatch function to stop listening
|
|
3443
|
+
*/
|
|
3444
|
+
AuthorizationUsed: (callback: (event: {
|
|
3445
|
+
authorizer: `0x${string}`;
|
|
3446
|
+
nonce: `0x${string}`;
|
|
3447
|
+
}) => void, filter?: {
|
|
3448
|
+
authorizer?: `0x${string}` | `0x${string}`[] | null;
|
|
3449
|
+
nonce?: `0x${string}` | `0x${string}`[] | null;
|
|
3450
|
+
}) => () => void;
|
|
3451
|
+
/**
|
|
3452
|
+
* Watch EIP712DomainChanged events
|
|
3453
|
+
* @param callback Function to call when event is emitted
|
|
3454
|
+
* @param filter Optional filter for indexed parameters
|
|
3455
|
+
* @returns Unwatch function to stop listening
|
|
3456
|
+
*/
|
|
3457
|
+
EIP712DomainChanged: (callback: (event: {}) => void) => () => void;
|
|
3458
|
+
/**
|
|
3459
|
+
* Watch EarningDisabled events
|
|
3460
|
+
* @param callback Function to call when event is emitted
|
|
3461
|
+
* @param filter Optional filter for indexed parameters
|
|
3462
|
+
* @returns Unwatch function to stop listening
|
|
3463
|
+
*/
|
|
3464
|
+
EarningDisabled: (callback: (event: {
|
|
3465
|
+
index: bigint;
|
|
3466
|
+
}) => void) => () => void;
|
|
3467
|
+
/**
|
|
3468
|
+
* Watch EarningEnabled events
|
|
3469
|
+
* @param callback Function to call when event is emitted
|
|
3470
|
+
* @param filter Optional filter for indexed parameters
|
|
3471
|
+
* @returns Unwatch function to stop listening
|
|
3472
|
+
*/
|
|
3473
|
+
EarningEnabled: (callback: (event: {
|
|
3474
|
+
index: bigint;
|
|
3475
|
+
}) => void) => () => void;
|
|
3476
|
+
/**
|
|
3477
|
+
* Watch ForcedTransfer events
|
|
3478
|
+
* @param callback Function to call when event is emitted
|
|
3479
|
+
* @param filter Optional filter for indexed parameters
|
|
3480
|
+
* @returns Unwatch function to stop listening
|
|
3481
|
+
*/
|
|
3482
|
+
ForcedTransfer: (callback: (event: {
|
|
3483
|
+
frozenAccount: `0x${string}`;
|
|
3484
|
+
recipient: `0x${string}`;
|
|
3485
|
+
forcedTransferManager: `0x${string}`;
|
|
3486
|
+
amount: bigint;
|
|
3487
|
+
}) => void, filter?: {
|
|
3488
|
+
frozenAccount?: `0x${string}` | `0x${string}`[] | null;
|
|
3489
|
+
recipient?: `0x${string}` | `0x${string}`[] | null;
|
|
3490
|
+
forcedTransferManager?: `0x${string}` | `0x${string}`[] | null;
|
|
3491
|
+
}) => () => void;
|
|
3492
|
+
/**
|
|
3493
|
+
* Watch Frozen events
|
|
3494
|
+
* @param callback Function to call when event is emitted
|
|
3495
|
+
* @param filter Optional filter for indexed parameters
|
|
3496
|
+
* @returns Unwatch function to stop listening
|
|
3497
|
+
*/
|
|
3498
|
+
Frozen: (callback: (event: {
|
|
3499
|
+
account: `0x${string}`;
|
|
3500
|
+
timestamp: bigint;
|
|
3501
|
+
}) => void, filter?: {
|
|
3502
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
3503
|
+
}) => () => void;
|
|
3504
|
+
/**
|
|
3505
|
+
* Watch Initialized events
|
|
3506
|
+
* @param callback Function to call when event is emitted
|
|
3507
|
+
* @param filter Optional filter for indexed parameters
|
|
3508
|
+
* @returns Unwatch function to stop listening
|
|
3509
|
+
*/
|
|
3510
|
+
Initialized: (callback: (event: {
|
|
3511
|
+
version: bigint;
|
|
3512
|
+
}) => void) => () => void;
|
|
3513
|
+
/**
|
|
3514
|
+
* Watch Paused events
|
|
3515
|
+
* @param callback Function to call when event is emitted
|
|
3516
|
+
* @param filter Optional filter for indexed parameters
|
|
3517
|
+
* @returns Unwatch function to stop listening
|
|
3518
|
+
*/
|
|
3519
|
+
Paused: (callback: (event: {
|
|
3520
|
+
account: `0x${string}`;
|
|
3521
|
+
}) => void) => () => void;
|
|
3522
|
+
/**
|
|
3523
|
+
* Watch RemovedFromWhitelist events
|
|
3524
|
+
* @param callback Function to call when event is emitted
|
|
3525
|
+
* @param filter Optional filter for indexed parameters
|
|
3526
|
+
* @returns Unwatch function to stop listening
|
|
3527
|
+
*/
|
|
3528
|
+
RemovedFromWhitelist: (callback: (event: {
|
|
3529
|
+
account: `0x${string}`;
|
|
3530
|
+
timestamp: bigint;
|
|
3531
|
+
}) => void, filter?: {
|
|
3532
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
3533
|
+
}) => () => void;
|
|
3534
|
+
/**
|
|
3535
|
+
* Watch RoleAdminChanged events
|
|
3536
|
+
* @param callback Function to call when event is emitted
|
|
3537
|
+
* @param filter Optional filter for indexed parameters
|
|
3538
|
+
* @returns Unwatch function to stop listening
|
|
3539
|
+
*/
|
|
3540
|
+
RoleAdminChanged: (callback: (event: {
|
|
3541
|
+
role: `0x${string}`;
|
|
3542
|
+
previousAdminRole: `0x${string}`;
|
|
3543
|
+
newAdminRole: `0x${string}`;
|
|
3544
|
+
}) => void, filter?: {
|
|
3545
|
+
role?: `0x${string}` | `0x${string}`[] | null;
|
|
3546
|
+
previousAdminRole?: `0x${string}` | `0x${string}`[] | null;
|
|
3547
|
+
newAdminRole?: `0x${string}` | `0x${string}`[] | null;
|
|
3548
|
+
}) => () => void;
|
|
3549
|
+
/**
|
|
3550
|
+
* Watch RoleGranted events
|
|
3551
|
+
* @param callback Function to call when event is emitted
|
|
3552
|
+
* @param filter Optional filter for indexed parameters
|
|
3553
|
+
* @returns Unwatch function to stop listening
|
|
3554
|
+
*/
|
|
3555
|
+
RoleGranted: (callback: (event: {
|
|
3556
|
+
role: `0x${string}`;
|
|
3557
|
+
account: `0x${string}`;
|
|
3558
|
+
sender: `0x${string}`;
|
|
3559
|
+
}) => void, filter?: {
|
|
3560
|
+
role?: `0x${string}` | `0x${string}`[] | null;
|
|
3561
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
3562
|
+
sender?: `0x${string}` | `0x${string}`[] | null;
|
|
3563
|
+
}) => () => void;
|
|
3564
|
+
/**
|
|
3565
|
+
* Watch RoleRevoked events
|
|
3566
|
+
* @param callback Function to call when event is emitted
|
|
3567
|
+
* @param filter Optional filter for indexed parameters
|
|
3568
|
+
* @returns Unwatch function to stop listening
|
|
3569
|
+
*/
|
|
3570
|
+
RoleRevoked: (callback: (event: {
|
|
3571
|
+
role: `0x${string}`;
|
|
3572
|
+
account: `0x${string}`;
|
|
3573
|
+
sender: `0x${string}`;
|
|
3574
|
+
}) => void, filter?: {
|
|
3575
|
+
role?: `0x${string}` | `0x${string}`[] | null;
|
|
3576
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
3577
|
+
sender?: `0x${string}` | `0x${string}`[] | null;
|
|
3578
|
+
}) => () => void;
|
|
3579
|
+
/**
|
|
3580
|
+
* Watch Transfer events
|
|
3581
|
+
* @param callback Function to call when event is emitted
|
|
3582
|
+
* @param filter Optional filter for indexed parameters
|
|
3583
|
+
* @returns Unwatch function to stop listening
|
|
3584
|
+
*/
|
|
3585
|
+
Transfer: (callback: (event: {
|
|
3586
|
+
sender: `0x${string}`;
|
|
3587
|
+
recipient: `0x${string}`;
|
|
3588
|
+
amount: bigint;
|
|
3589
|
+
}) => void, filter?: {
|
|
3590
|
+
sender?: `0x${string}` | `0x${string}`[] | null;
|
|
3591
|
+
recipient?: `0x${string}` | `0x${string}`[] | null;
|
|
3592
|
+
}) => () => void;
|
|
3593
|
+
/**
|
|
3594
|
+
* Watch Unfrozen events
|
|
3595
|
+
* @param callback Function to call when event is emitted
|
|
3596
|
+
* @param filter Optional filter for indexed parameters
|
|
3597
|
+
* @returns Unwatch function to stop listening
|
|
3598
|
+
*/
|
|
3599
|
+
Unfrozen: (callback: (event: {
|
|
3600
|
+
account: `0x${string}`;
|
|
3601
|
+
timestamp: bigint;
|
|
3602
|
+
}) => void, filter?: {
|
|
3603
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
3604
|
+
}) => () => void;
|
|
3605
|
+
/**
|
|
3606
|
+
* Watch Unpaused events
|
|
3607
|
+
* @param callback Function to call when event is emitted
|
|
3608
|
+
* @param filter Optional filter for indexed parameters
|
|
3609
|
+
* @returns Unwatch function to stop listening
|
|
3610
|
+
*/
|
|
3611
|
+
Unpaused: (callback: (event: {
|
|
3612
|
+
account: `0x${string}`;
|
|
3613
|
+
}) => void) => () => void;
|
|
3614
|
+
/**
|
|
3615
|
+
* Watch WhitelistDisabled events
|
|
3616
|
+
* @param callback Function to call when event is emitted
|
|
3617
|
+
* @param filter Optional filter for indexed parameters
|
|
3618
|
+
* @returns Unwatch function to stop listening
|
|
3619
|
+
*/
|
|
3620
|
+
WhitelistDisabled: (callback: (event: {
|
|
3621
|
+
timestamp: bigint;
|
|
3622
|
+
}) => void) => () => void;
|
|
3623
|
+
/**
|
|
3624
|
+
* Watch WhitelistEnabled events
|
|
3625
|
+
* @param callback Function to call when event is emitted
|
|
3626
|
+
* @param filter Optional filter for indexed parameters
|
|
3627
|
+
* @returns Unwatch function to stop listening
|
|
3628
|
+
*/
|
|
3629
|
+
WhitelistEnabled: (callback: (event: {
|
|
3630
|
+
timestamp: bigint;
|
|
3631
|
+
}) => void) => () => void;
|
|
3632
|
+
/**
|
|
3633
|
+
* Watch Whitelisted events
|
|
3634
|
+
* @param callback Function to call when event is emitted
|
|
3635
|
+
* @param filter Optional filter for indexed parameters
|
|
3636
|
+
* @returns Unwatch function to stop listening
|
|
3637
|
+
*/
|
|
3638
|
+
Whitelisted: (callback: (event: {
|
|
3639
|
+
account: `0x${string}`;
|
|
3640
|
+
timestamp: bigint;
|
|
3641
|
+
}) => void, filter?: {
|
|
3642
|
+
account?: `0x${string}` | `0x${string}`[] | null;
|
|
3643
|
+
}) => () => void;
|
|
3644
|
+
/**
|
|
3645
|
+
* Watch YieldClaimed events
|
|
3646
|
+
* @param callback Function to call when event is emitted
|
|
3647
|
+
* @param filter Optional filter for indexed parameters
|
|
3648
|
+
* @returns Unwatch function to stop listening
|
|
3649
|
+
*/
|
|
3650
|
+
YieldClaimed: (callback: (event: {
|
|
3651
|
+
yield: bigint;
|
|
3652
|
+
}) => void) => () => void;
|
|
3653
|
+
/**
|
|
3654
|
+
* Watch YieldRecipientSet events
|
|
3655
|
+
* @param callback Function to call when event is emitted
|
|
3656
|
+
* @param filter Optional filter for indexed parameters
|
|
3657
|
+
* @returns Unwatch function to stop listening
|
|
3658
|
+
*/
|
|
3659
|
+
YieldRecipientSet: (callback: (event: {
|
|
3660
|
+
yieldRecipient: `0x${string}`;
|
|
3661
|
+
}) => void, filter?: {
|
|
3662
|
+
yieldRecipient?: `0x${string}` | `0x${string}`[] | null;
|
|
3663
|
+
}) => () => void;
|
|
3664
|
+
};
|
|
3665
|
+
}
|