@gitmyabi/nvdax 1.0.0
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/BackedAutoFeeTokenImplementation_json.d.ts +2738 -0
- package/contracts/BackedAutoFeeTokenImplementation_json.js +2808 -0
- package/contracts/BackedAutoFeeTokenImplementation_json.ts +3626 -0
- package/contracts/BackedTokenProxy_json.d.ts +401 -0
- package/contracts/BackedTokenProxy_json.js +398 -0
- package/contracts/BackedTokenProxy_json.ts +542 -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,2738 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* IBackedAutoFeeToken.MultiplierUpdate struct type
|
|
4
|
+
*/
|
|
5
|
+
export type IBackedAutoFeeToken_MultiplierUpdate = {
|
|
6
|
+
previousMultiplier: bigint;
|
|
7
|
+
newMultiplier: bigint;
|
|
8
|
+
activationTime: bigint;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* BackedAutoFeeTokenImplementation_json ABI
|
|
12
|
+
*
|
|
13
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
14
|
+
*/
|
|
15
|
+
export declare const BackedAutoFeeTokenImplementation_jsonAbi: readonly [{
|
|
16
|
+
readonly inputs: readonly [];
|
|
17
|
+
readonly stateMutability: "nonpayable";
|
|
18
|
+
readonly type: "constructor";
|
|
19
|
+
}, {
|
|
20
|
+
readonly anonymous: false;
|
|
21
|
+
readonly inputs: readonly [{
|
|
22
|
+
readonly indexed: true;
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
readonly name: "owner";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}, {
|
|
27
|
+
readonly indexed: true;
|
|
28
|
+
readonly internalType: "address";
|
|
29
|
+
readonly name: "spender";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly indexed: false;
|
|
33
|
+
readonly internalType: "uint256";
|
|
34
|
+
readonly name: "value";
|
|
35
|
+
readonly type: "uint256";
|
|
36
|
+
}];
|
|
37
|
+
readonly name: "Approval";
|
|
38
|
+
readonly type: "event";
|
|
39
|
+
}, {
|
|
40
|
+
readonly anonymous: false;
|
|
41
|
+
readonly inputs: readonly [{
|
|
42
|
+
readonly indexed: false;
|
|
43
|
+
readonly internalType: "bool";
|
|
44
|
+
readonly name: "delegateMode";
|
|
45
|
+
readonly type: "bool";
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "DelegateModeChange";
|
|
48
|
+
readonly type: "event";
|
|
49
|
+
}, {
|
|
50
|
+
readonly anonymous: false;
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "whitelistAddress";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}, {
|
|
57
|
+
readonly indexed: false;
|
|
58
|
+
readonly internalType: "bool";
|
|
59
|
+
readonly name: "status";
|
|
60
|
+
readonly type: "bool";
|
|
61
|
+
}];
|
|
62
|
+
readonly name: "DelegateWhitelistChange";
|
|
63
|
+
readonly type: "event";
|
|
64
|
+
}, {
|
|
65
|
+
readonly anonymous: false;
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly indexed: false;
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "overriddenMultiplier";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}, {
|
|
72
|
+
readonly indexed: false;
|
|
73
|
+
readonly internalType: "uint256";
|
|
74
|
+
readonly name: "overriddenActivationTime";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
}, {
|
|
77
|
+
readonly indexed: false;
|
|
78
|
+
readonly internalType: "uint256";
|
|
79
|
+
readonly name: "newMultiplier";
|
|
80
|
+
readonly type: "uint256";
|
|
81
|
+
}, {
|
|
82
|
+
readonly indexed: false;
|
|
83
|
+
readonly internalType: "uint256";
|
|
84
|
+
readonly name: "newActivationTime";
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "MultiplierScheduleOverridden";
|
|
88
|
+
readonly type: "event";
|
|
89
|
+
}, {
|
|
90
|
+
readonly anonymous: false;
|
|
91
|
+
readonly inputs: readonly [{
|
|
92
|
+
readonly indexed: false;
|
|
93
|
+
readonly internalType: "uint256";
|
|
94
|
+
readonly name: "newMultiplier";
|
|
95
|
+
readonly type: "uint256";
|
|
96
|
+
}, {
|
|
97
|
+
readonly indexed: false;
|
|
98
|
+
readonly internalType: "uint256";
|
|
99
|
+
readonly name: "activationTime";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "MultiplierScheduled";
|
|
103
|
+
readonly type: "event";
|
|
104
|
+
}, {
|
|
105
|
+
readonly anonymous: false;
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly indexed: false;
|
|
108
|
+
readonly internalType: "uint256";
|
|
109
|
+
readonly name: "value";
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
}];
|
|
112
|
+
readonly name: "MultiplierUpdated";
|
|
113
|
+
readonly type: "event";
|
|
114
|
+
}, {
|
|
115
|
+
readonly anonymous: false;
|
|
116
|
+
readonly inputs: readonly [{
|
|
117
|
+
readonly indexed: true;
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
readonly name: "newBurner";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
}];
|
|
122
|
+
readonly name: "NewBurner";
|
|
123
|
+
readonly type: "event";
|
|
124
|
+
}, {
|
|
125
|
+
readonly anonymous: false;
|
|
126
|
+
readonly inputs: readonly [{
|
|
127
|
+
readonly indexed: true;
|
|
128
|
+
readonly internalType: "address";
|
|
129
|
+
readonly name: "newMinter";
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
}];
|
|
132
|
+
readonly name: "NewMinter";
|
|
133
|
+
readonly type: "event";
|
|
134
|
+
}, {
|
|
135
|
+
readonly anonymous: false;
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly indexed: true;
|
|
138
|
+
readonly internalType: "address";
|
|
139
|
+
readonly name: "newMultiplierUpdater";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}];
|
|
142
|
+
readonly name: "NewMultiplierUpdater";
|
|
143
|
+
readonly type: "event";
|
|
144
|
+
}, {
|
|
145
|
+
readonly anonymous: false;
|
|
146
|
+
readonly inputs: readonly [{
|
|
147
|
+
readonly indexed: true;
|
|
148
|
+
readonly internalType: "address";
|
|
149
|
+
readonly name: "newPauser";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "NewPauser";
|
|
153
|
+
readonly type: "event";
|
|
154
|
+
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly indexed: true;
|
|
158
|
+
readonly internalType: "address";
|
|
159
|
+
readonly name: "newSanctionsList";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}];
|
|
162
|
+
readonly name: "NewSanctionsList";
|
|
163
|
+
readonly type: "event";
|
|
164
|
+
}, {
|
|
165
|
+
readonly anonymous: false;
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "string";
|
|
169
|
+
readonly name: "newTerms";
|
|
170
|
+
readonly type: "string";
|
|
171
|
+
}];
|
|
172
|
+
readonly name: "NewTerms";
|
|
173
|
+
readonly type: "event";
|
|
174
|
+
}, {
|
|
175
|
+
readonly anonymous: false;
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly indexed: true;
|
|
178
|
+
readonly internalType: "address";
|
|
179
|
+
readonly name: "previousOwner";
|
|
180
|
+
readonly type: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly indexed: true;
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
readonly name: "newOwner";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}];
|
|
187
|
+
readonly name: "OwnershipTransferred";
|
|
188
|
+
readonly type: "event";
|
|
189
|
+
}, {
|
|
190
|
+
readonly anonymous: false;
|
|
191
|
+
readonly inputs: readonly [{
|
|
192
|
+
readonly indexed: false;
|
|
193
|
+
readonly internalType: "bool";
|
|
194
|
+
readonly name: "pauseMode";
|
|
195
|
+
readonly type: "bool";
|
|
196
|
+
}];
|
|
197
|
+
readonly name: "PauseModeChange";
|
|
198
|
+
readonly type: "event";
|
|
199
|
+
}, {
|
|
200
|
+
readonly anonymous: false;
|
|
201
|
+
readonly inputs: readonly [{
|
|
202
|
+
readonly indexed: true;
|
|
203
|
+
readonly internalType: "address";
|
|
204
|
+
readonly name: "from";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
}, {
|
|
207
|
+
readonly indexed: true;
|
|
208
|
+
readonly internalType: "address";
|
|
209
|
+
readonly name: "to";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
}, {
|
|
212
|
+
readonly indexed: false;
|
|
213
|
+
readonly internalType: "uint256";
|
|
214
|
+
readonly name: "value";
|
|
215
|
+
readonly type: "uint256";
|
|
216
|
+
}];
|
|
217
|
+
readonly name: "Transfer";
|
|
218
|
+
readonly type: "event";
|
|
219
|
+
}, {
|
|
220
|
+
readonly anonymous: false;
|
|
221
|
+
readonly inputs: readonly [{
|
|
222
|
+
readonly indexed: true;
|
|
223
|
+
readonly internalType: "address";
|
|
224
|
+
readonly name: "from";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
}, {
|
|
227
|
+
readonly indexed: true;
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "to";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly indexed: false;
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "value";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}];
|
|
237
|
+
readonly name: "TransferShares";
|
|
238
|
+
readonly type: "event";
|
|
239
|
+
}, {
|
|
240
|
+
readonly inputs: readonly [];
|
|
241
|
+
readonly name: "DELEGATED_TRANSFER_SHARES_TYPEHASH";
|
|
242
|
+
readonly outputs: readonly [{
|
|
243
|
+
readonly internalType: "bytes32";
|
|
244
|
+
readonly name: "";
|
|
245
|
+
readonly type: "bytes32";
|
|
246
|
+
}];
|
|
247
|
+
readonly stateMutability: "view";
|
|
248
|
+
readonly type: "function";
|
|
249
|
+
}, {
|
|
250
|
+
readonly inputs: readonly [];
|
|
251
|
+
readonly name: "DELEGATED_TRANSFER_TYPEHASH";
|
|
252
|
+
readonly outputs: readonly [{
|
|
253
|
+
readonly internalType: "bytes32";
|
|
254
|
+
readonly name: "";
|
|
255
|
+
readonly type: "bytes32";
|
|
256
|
+
}];
|
|
257
|
+
readonly stateMutability: "view";
|
|
258
|
+
readonly type: "function";
|
|
259
|
+
}, {
|
|
260
|
+
readonly inputs: readonly [];
|
|
261
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
262
|
+
readonly outputs: readonly [{
|
|
263
|
+
readonly internalType: "bytes32";
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly type: "bytes32";
|
|
266
|
+
}];
|
|
267
|
+
readonly stateMutability: "view";
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
}, {
|
|
270
|
+
readonly inputs: readonly [];
|
|
271
|
+
readonly name: "PERMIT_TYPEHASH";
|
|
272
|
+
readonly outputs: readonly [{
|
|
273
|
+
readonly internalType: "bytes32";
|
|
274
|
+
readonly name: "";
|
|
275
|
+
readonly type: "bytes32";
|
|
276
|
+
}];
|
|
277
|
+
readonly stateMutability: "view";
|
|
278
|
+
readonly type: "function";
|
|
279
|
+
}, {
|
|
280
|
+
readonly inputs: readonly [];
|
|
281
|
+
readonly name: "VERSION";
|
|
282
|
+
readonly outputs: readonly [{
|
|
283
|
+
readonly internalType: "string";
|
|
284
|
+
readonly name: "";
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
}];
|
|
287
|
+
readonly stateMutability: "view";
|
|
288
|
+
readonly type: "function";
|
|
289
|
+
}, {
|
|
290
|
+
readonly inputs: readonly [{
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
readonly name: "owner";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
}, {
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
readonly name: "spender";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
}];
|
|
299
|
+
readonly name: "allowance";
|
|
300
|
+
readonly outputs: readonly [{
|
|
301
|
+
readonly internalType: "uint256";
|
|
302
|
+
readonly name: "";
|
|
303
|
+
readonly type: "uint256";
|
|
304
|
+
}];
|
|
305
|
+
readonly stateMutability: "view";
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
}, {
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly internalType: "address";
|
|
310
|
+
readonly name: "spender";
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
}, {
|
|
313
|
+
readonly internalType: "uint256";
|
|
314
|
+
readonly name: "amount";
|
|
315
|
+
readonly type: "uint256";
|
|
316
|
+
}];
|
|
317
|
+
readonly name: "approve";
|
|
318
|
+
readonly outputs: readonly [{
|
|
319
|
+
readonly internalType: "bool";
|
|
320
|
+
readonly name: "";
|
|
321
|
+
readonly type: "bool";
|
|
322
|
+
}];
|
|
323
|
+
readonly stateMutability: "nonpayable";
|
|
324
|
+
readonly type: "function";
|
|
325
|
+
}, {
|
|
326
|
+
readonly inputs: readonly [{
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
readonly name: "account";
|
|
329
|
+
readonly type: "address";
|
|
330
|
+
}];
|
|
331
|
+
readonly name: "balanceOf";
|
|
332
|
+
readonly outputs: readonly [{
|
|
333
|
+
readonly internalType: "uint256";
|
|
334
|
+
readonly name: "";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
}];
|
|
337
|
+
readonly stateMutability: "view";
|
|
338
|
+
readonly type: "function";
|
|
339
|
+
}, {
|
|
340
|
+
readonly inputs: readonly [{
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
readonly name: "account";
|
|
343
|
+
readonly type: "address";
|
|
344
|
+
}, {
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "amount";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
}];
|
|
349
|
+
readonly name: "burn";
|
|
350
|
+
readonly outputs: readonly [];
|
|
351
|
+
readonly stateMutability: "nonpayable";
|
|
352
|
+
readonly type: "function";
|
|
353
|
+
}, {
|
|
354
|
+
readonly inputs: readonly [];
|
|
355
|
+
readonly name: "burner";
|
|
356
|
+
readonly outputs: readonly [{
|
|
357
|
+
readonly internalType: "address";
|
|
358
|
+
readonly name: "";
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
}];
|
|
361
|
+
readonly stateMutability: "view";
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
}, {
|
|
364
|
+
readonly inputs: readonly [];
|
|
365
|
+
readonly name: "decimals";
|
|
366
|
+
readonly outputs: readonly [{
|
|
367
|
+
readonly internalType: "uint8";
|
|
368
|
+
readonly name: "";
|
|
369
|
+
readonly type: "uint8";
|
|
370
|
+
}];
|
|
371
|
+
readonly stateMutability: "view";
|
|
372
|
+
readonly type: "function";
|
|
373
|
+
}, {
|
|
374
|
+
readonly inputs: readonly [{
|
|
375
|
+
readonly internalType: "address";
|
|
376
|
+
readonly name: "spender";
|
|
377
|
+
readonly type: "address";
|
|
378
|
+
}, {
|
|
379
|
+
readonly internalType: "uint256";
|
|
380
|
+
readonly name: "subtractedValue";
|
|
381
|
+
readonly type: "uint256";
|
|
382
|
+
}];
|
|
383
|
+
readonly name: "decreaseAllowance";
|
|
384
|
+
readonly outputs: readonly [{
|
|
385
|
+
readonly internalType: "bool";
|
|
386
|
+
readonly name: "";
|
|
387
|
+
readonly type: "bool";
|
|
388
|
+
}];
|
|
389
|
+
readonly stateMutability: "nonpayable";
|
|
390
|
+
readonly type: "function";
|
|
391
|
+
}, {
|
|
392
|
+
readonly inputs: readonly [];
|
|
393
|
+
readonly name: "delegateMode";
|
|
394
|
+
readonly outputs: readonly [{
|
|
395
|
+
readonly internalType: "bool";
|
|
396
|
+
readonly name: "";
|
|
397
|
+
readonly type: "bool";
|
|
398
|
+
}];
|
|
399
|
+
readonly stateMutability: "view";
|
|
400
|
+
readonly type: "function";
|
|
401
|
+
}, {
|
|
402
|
+
readonly inputs: readonly [{
|
|
403
|
+
readonly internalType: "address";
|
|
404
|
+
readonly name: "";
|
|
405
|
+
readonly type: "address";
|
|
406
|
+
}];
|
|
407
|
+
readonly name: "delegateWhitelist";
|
|
408
|
+
readonly outputs: readonly [{
|
|
409
|
+
readonly internalType: "bool";
|
|
410
|
+
readonly name: "";
|
|
411
|
+
readonly type: "bool";
|
|
412
|
+
}];
|
|
413
|
+
readonly stateMutability: "view";
|
|
414
|
+
readonly type: "function";
|
|
415
|
+
}, {
|
|
416
|
+
readonly inputs: readonly [{
|
|
417
|
+
readonly internalType: "address";
|
|
418
|
+
readonly name: "owner";
|
|
419
|
+
readonly type: "address";
|
|
420
|
+
}, {
|
|
421
|
+
readonly internalType: "address";
|
|
422
|
+
readonly name: "to";
|
|
423
|
+
readonly type: "address";
|
|
424
|
+
}, {
|
|
425
|
+
readonly internalType: "uint256";
|
|
426
|
+
readonly name: "value";
|
|
427
|
+
readonly type: "uint256";
|
|
428
|
+
}, {
|
|
429
|
+
readonly internalType: "uint256";
|
|
430
|
+
readonly name: "deadline";
|
|
431
|
+
readonly type: "uint256";
|
|
432
|
+
}, {
|
|
433
|
+
readonly internalType: "uint8";
|
|
434
|
+
readonly name: "v";
|
|
435
|
+
readonly type: "uint8";
|
|
436
|
+
}, {
|
|
437
|
+
readonly internalType: "bytes32";
|
|
438
|
+
readonly name: "r";
|
|
439
|
+
readonly type: "bytes32";
|
|
440
|
+
}, {
|
|
441
|
+
readonly internalType: "bytes32";
|
|
442
|
+
readonly name: "s";
|
|
443
|
+
readonly type: "bytes32";
|
|
444
|
+
}];
|
|
445
|
+
readonly name: "delegatedTransfer";
|
|
446
|
+
readonly outputs: readonly [];
|
|
447
|
+
readonly stateMutability: "nonpayable";
|
|
448
|
+
readonly type: "function";
|
|
449
|
+
}, {
|
|
450
|
+
readonly inputs: readonly [{
|
|
451
|
+
readonly internalType: "address";
|
|
452
|
+
readonly name: "owner";
|
|
453
|
+
readonly type: "address";
|
|
454
|
+
}, {
|
|
455
|
+
readonly internalType: "address";
|
|
456
|
+
readonly name: "to";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
}, {
|
|
459
|
+
readonly internalType: "uint256";
|
|
460
|
+
readonly name: "value";
|
|
461
|
+
readonly type: "uint256";
|
|
462
|
+
}, {
|
|
463
|
+
readonly internalType: "uint256";
|
|
464
|
+
readonly name: "deadline";
|
|
465
|
+
readonly type: "uint256";
|
|
466
|
+
}, {
|
|
467
|
+
readonly internalType: "uint8";
|
|
468
|
+
readonly name: "v";
|
|
469
|
+
readonly type: "uint8";
|
|
470
|
+
}, {
|
|
471
|
+
readonly internalType: "bytes32";
|
|
472
|
+
readonly name: "r";
|
|
473
|
+
readonly type: "bytes32";
|
|
474
|
+
}, {
|
|
475
|
+
readonly internalType: "bytes32";
|
|
476
|
+
readonly name: "s";
|
|
477
|
+
readonly type: "bytes32";
|
|
478
|
+
}];
|
|
479
|
+
readonly name: "delegatedTransferShares";
|
|
480
|
+
readonly outputs: readonly [];
|
|
481
|
+
readonly stateMutability: "nonpayable";
|
|
482
|
+
readonly type: "function";
|
|
483
|
+
}, {
|
|
484
|
+
readonly inputs: readonly [];
|
|
485
|
+
readonly name: "feePerPeriod";
|
|
486
|
+
readonly outputs: readonly [{
|
|
487
|
+
readonly internalType: "uint256";
|
|
488
|
+
readonly name: "";
|
|
489
|
+
readonly type: "uint256";
|
|
490
|
+
}];
|
|
491
|
+
readonly stateMutability: "view";
|
|
492
|
+
readonly type: "function";
|
|
493
|
+
}, {
|
|
494
|
+
readonly inputs: readonly [];
|
|
495
|
+
readonly name: "getCurrentMultiplier";
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly internalType: "uint256";
|
|
498
|
+
readonly name: "currentMultiplier";
|
|
499
|
+
readonly type: "uint256";
|
|
500
|
+
}, {
|
|
501
|
+
readonly internalType: "uint256";
|
|
502
|
+
readonly name: "periodsPassed";
|
|
503
|
+
readonly type: "uint256";
|
|
504
|
+
}, {
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly name: "currentMultiplierNonce";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly stateMutability: "view";
|
|
510
|
+
readonly type: "function";
|
|
511
|
+
}, {
|
|
512
|
+
readonly inputs: readonly [{
|
|
513
|
+
readonly internalType: "uint256";
|
|
514
|
+
readonly name: "_underlyingAmount";
|
|
515
|
+
readonly type: "uint256";
|
|
516
|
+
}];
|
|
517
|
+
readonly name: "getSharesByUnderlyingAmount";
|
|
518
|
+
readonly outputs: readonly [{
|
|
519
|
+
readonly internalType: "uint256";
|
|
520
|
+
readonly name: "";
|
|
521
|
+
readonly type: "uint256";
|
|
522
|
+
}];
|
|
523
|
+
readonly stateMutability: "view";
|
|
524
|
+
readonly type: "function";
|
|
525
|
+
}, {
|
|
526
|
+
readonly inputs: readonly [{
|
|
527
|
+
readonly internalType: "uint256";
|
|
528
|
+
readonly name: "_sharesAmount";
|
|
529
|
+
readonly type: "uint256";
|
|
530
|
+
}];
|
|
531
|
+
readonly name: "getUnderlyingAmountByShares";
|
|
532
|
+
readonly outputs: readonly [{
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
readonly name: "";
|
|
535
|
+
readonly type: "uint256";
|
|
536
|
+
}];
|
|
537
|
+
readonly stateMutability: "view";
|
|
538
|
+
readonly type: "function";
|
|
539
|
+
}, {
|
|
540
|
+
readonly inputs: readonly [{
|
|
541
|
+
readonly internalType: "address";
|
|
542
|
+
readonly name: "spender";
|
|
543
|
+
readonly type: "address";
|
|
544
|
+
}, {
|
|
545
|
+
readonly internalType: "uint256";
|
|
546
|
+
readonly name: "addedValue";
|
|
547
|
+
readonly type: "uint256";
|
|
548
|
+
}];
|
|
549
|
+
readonly name: "increaseAllowance";
|
|
550
|
+
readonly outputs: readonly [{
|
|
551
|
+
readonly internalType: "bool";
|
|
552
|
+
readonly name: "";
|
|
553
|
+
readonly type: "bool";
|
|
554
|
+
}];
|
|
555
|
+
readonly stateMutability: "nonpayable";
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
}, {
|
|
558
|
+
readonly inputs: readonly [{
|
|
559
|
+
readonly internalType: "string";
|
|
560
|
+
readonly name: "name_";
|
|
561
|
+
readonly type: "string";
|
|
562
|
+
}, {
|
|
563
|
+
readonly internalType: "string";
|
|
564
|
+
readonly name: "symbol_";
|
|
565
|
+
readonly type: "string";
|
|
566
|
+
}];
|
|
567
|
+
readonly name: "initialize";
|
|
568
|
+
readonly outputs: readonly [];
|
|
569
|
+
readonly stateMutability: "nonpayable";
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
}, {
|
|
572
|
+
readonly inputs: readonly [{
|
|
573
|
+
readonly internalType: "string";
|
|
574
|
+
readonly name: "name_";
|
|
575
|
+
readonly type: "string";
|
|
576
|
+
}, {
|
|
577
|
+
readonly internalType: "string";
|
|
578
|
+
readonly name: "symbol_";
|
|
579
|
+
readonly type: "string";
|
|
580
|
+
}, {
|
|
581
|
+
readonly internalType: "uint256";
|
|
582
|
+
readonly name: "_periodLength";
|
|
583
|
+
readonly type: "uint256";
|
|
584
|
+
}, {
|
|
585
|
+
readonly internalType: "uint256";
|
|
586
|
+
readonly name: "_lastTimeFeeApplied";
|
|
587
|
+
readonly type: "uint256";
|
|
588
|
+
}, {
|
|
589
|
+
readonly internalType: "uint256";
|
|
590
|
+
readonly name: "_feePerPeriod";
|
|
591
|
+
readonly type: "uint256";
|
|
592
|
+
}];
|
|
593
|
+
readonly name: "initialize";
|
|
594
|
+
readonly outputs: readonly [];
|
|
595
|
+
readonly stateMutability: "nonpayable";
|
|
596
|
+
readonly type: "function";
|
|
597
|
+
}, {
|
|
598
|
+
readonly inputs: readonly [{
|
|
599
|
+
readonly internalType: "uint256";
|
|
600
|
+
readonly name: "_periodLength";
|
|
601
|
+
readonly type: "uint256";
|
|
602
|
+
}, {
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
readonly name: "_lastTimeFeeApplied";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "uint256";
|
|
608
|
+
readonly name: "_feePerPeriod";
|
|
609
|
+
readonly type: "uint256";
|
|
610
|
+
}];
|
|
611
|
+
readonly name: "initialize_v2";
|
|
612
|
+
readonly outputs: readonly [];
|
|
613
|
+
readonly stateMutability: "nonpayable";
|
|
614
|
+
readonly type: "function";
|
|
615
|
+
}, {
|
|
616
|
+
readonly inputs: readonly [];
|
|
617
|
+
readonly name: "initialize_v3";
|
|
618
|
+
readonly outputs: readonly [];
|
|
619
|
+
readonly stateMutability: "nonpayable";
|
|
620
|
+
readonly type: "function";
|
|
621
|
+
}, {
|
|
622
|
+
readonly inputs: readonly [{
|
|
623
|
+
readonly components: readonly [{
|
|
624
|
+
readonly internalType: "uint256";
|
|
625
|
+
readonly name: "previousMultiplier";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
}, {
|
|
628
|
+
readonly internalType: "uint256";
|
|
629
|
+
readonly name: "newMultiplier";
|
|
630
|
+
readonly type: "uint256";
|
|
631
|
+
}, {
|
|
632
|
+
readonly internalType: "uint256";
|
|
633
|
+
readonly name: "activationTime";
|
|
634
|
+
readonly type: "uint256";
|
|
635
|
+
}];
|
|
636
|
+
readonly internalType: "struct IBackedAutoFeeToken.MultiplierUpdate[]";
|
|
637
|
+
readonly name: "_pastMultipliersUpdates";
|
|
638
|
+
readonly type: "tuple[]";
|
|
639
|
+
}];
|
|
640
|
+
readonly name: "initialize_v4";
|
|
641
|
+
readonly outputs: readonly [];
|
|
642
|
+
readonly stateMutability: "nonpayable";
|
|
643
|
+
readonly type: "function";
|
|
644
|
+
}, {
|
|
645
|
+
readonly inputs: readonly [];
|
|
646
|
+
readonly name: "isPaused";
|
|
647
|
+
readonly outputs: readonly [{
|
|
648
|
+
readonly internalType: "bool";
|
|
649
|
+
readonly name: "";
|
|
650
|
+
readonly type: "bool";
|
|
651
|
+
}];
|
|
652
|
+
readonly stateMutability: "view";
|
|
653
|
+
readonly type: "function";
|
|
654
|
+
}, {
|
|
655
|
+
readonly inputs: readonly [];
|
|
656
|
+
readonly name: "lastMultiplier";
|
|
657
|
+
readonly outputs: readonly [{
|
|
658
|
+
readonly internalType: "uint256";
|
|
659
|
+
readonly name: "";
|
|
660
|
+
readonly type: "uint256";
|
|
661
|
+
}];
|
|
662
|
+
readonly stateMutability: "view";
|
|
663
|
+
readonly type: "function";
|
|
664
|
+
}, {
|
|
665
|
+
readonly inputs: readonly [];
|
|
666
|
+
readonly name: "lastMultiplierNonce";
|
|
667
|
+
readonly outputs: readonly [{
|
|
668
|
+
readonly internalType: "uint256";
|
|
669
|
+
readonly name: "";
|
|
670
|
+
readonly type: "uint256";
|
|
671
|
+
}];
|
|
672
|
+
readonly stateMutability: "view";
|
|
673
|
+
readonly type: "function";
|
|
674
|
+
}, {
|
|
675
|
+
readonly inputs: readonly [];
|
|
676
|
+
readonly name: "lastTimeFeeApplied";
|
|
677
|
+
readonly outputs: readonly [{
|
|
678
|
+
readonly internalType: "uint256";
|
|
679
|
+
readonly name: "";
|
|
680
|
+
readonly type: "uint256";
|
|
681
|
+
}];
|
|
682
|
+
readonly stateMutability: "view";
|
|
683
|
+
readonly type: "function";
|
|
684
|
+
}, {
|
|
685
|
+
readonly inputs: readonly [{
|
|
686
|
+
readonly internalType: "address";
|
|
687
|
+
readonly name: "account";
|
|
688
|
+
readonly type: "address";
|
|
689
|
+
}, {
|
|
690
|
+
readonly internalType: "uint256";
|
|
691
|
+
readonly name: "amount";
|
|
692
|
+
readonly type: "uint256";
|
|
693
|
+
}];
|
|
694
|
+
readonly name: "mint";
|
|
695
|
+
readonly outputs: readonly [];
|
|
696
|
+
readonly stateMutability: "nonpayable";
|
|
697
|
+
readonly type: "function";
|
|
698
|
+
}, {
|
|
699
|
+
readonly inputs: readonly [];
|
|
700
|
+
readonly name: "minter";
|
|
701
|
+
readonly outputs: readonly [{
|
|
702
|
+
readonly internalType: "address";
|
|
703
|
+
readonly name: "";
|
|
704
|
+
readonly type: "address";
|
|
705
|
+
}];
|
|
706
|
+
readonly stateMutability: "view";
|
|
707
|
+
readonly type: "function";
|
|
708
|
+
}, {
|
|
709
|
+
readonly inputs: readonly [];
|
|
710
|
+
readonly name: "multiplier";
|
|
711
|
+
readonly outputs: readonly [{
|
|
712
|
+
readonly internalType: "uint256";
|
|
713
|
+
readonly name: "";
|
|
714
|
+
readonly type: "uint256";
|
|
715
|
+
}];
|
|
716
|
+
readonly stateMutability: "view";
|
|
717
|
+
readonly type: "function";
|
|
718
|
+
}, {
|
|
719
|
+
readonly inputs: readonly [];
|
|
720
|
+
readonly name: "multiplierNonce";
|
|
721
|
+
readonly outputs: readonly [{
|
|
722
|
+
readonly internalType: "uint256";
|
|
723
|
+
readonly name: "";
|
|
724
|
+
readonly type: "uint256";
|
|
725
|
+
}];
|
|
726
|
+
readonly stateMutability: "view";
|
|
727
|
+
readonly type: "function";
|
|
728
|
+
}, {
|
|
729
|
+
readonly inputs: readonly [];
|
|
730
|
+
readonly name: "multiplierUpdater";
|
|
731
|
+
readonly outputs: readonly [{
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
readonly name: "";
|
|
734
|
+
readonly type: "address";
|
|
735
|
+
}];
|
|
736
|
+
readonly stateMutability: "view";
|
|
737
|
+
readonly type: "function";
|
|
738
|
+
}, {
|
|
739
|
+
readonly inputs: readonly [{
|
|
740
|
+
readonly internalType: "uint256";
|
|
741
|
+
readonly name: "";
|
|
742
|
+
readonly type: "uint256";
|
|
743
|
+
}];
|
|
744
|
+
readonly name: "multiplierUpdates";
|
|
745
|
+
readonly outputs: readonly [{
|
|
746
|
+
readonly internalType: "uint256";
|
|
747
|
+
readonly name: "previousMultiplier";
|
|
748
|
+
readonly type: "uint256";
|
|
749
|
+
}, {
|
|
750
|
+
readonly internalType: "uint256";
|
|
751
|
+
readonly name: "newMultiplier";
|
|
752
|
+
readonly type: "uint256";
|
|
753
|
+
}, {
|
|
754
|
+
readonly internalType: "uint256";
|
|
755
|
+
readonly name: "activationTime";
|
|
756
|
+
readonly type: "uint256";
|
|
757
|
+
}];
|
|
758
|
+
readonly stateMutability: "view";
|
|
759
|
+
readonly type: "function";
|
|
760
|
+
}, {
|
|
761
|
+
readonly inputs: readonly [];
|
|
762
|
+
readonly name: "multiplierUpdatesLength";
|
|
763
|
+
readonly outputs: readonly [{
|
|
764
|
+
readonly internalType: "uint256";
|
|
765
|
+
readonly name: "";
|
|
766
|
+
readonly type: "uint256";
|
|
767
|
+
}];
|
|
768
|
+
readonly stateMutability: "view";
|
|
769
|
+
readonly type: "function";
|
|
770
|
+
}, {
|
|
771
|
+
readonly inputs: readonly [];
|
|
772
|
+
readonly name: "name";
|
|
773
|
+
readonly outputs: readonly [{
|
|
774
|
+
readonly internalType: "string";
|
|
775
|
+
readonly name: "";
|
|
776
|
+
readonly type: "string";
|
|
777
|
+
}];
|
|
778
|
+
readonly stateMutability: "view";
|
|
779
|
+
readonly type: "function";
|
|
780
|
+
}, {
|
|
781
|
+
readonly inputs: readonly [];
|
|
782
|
+
readonly name: "newMultiplier";
|
|
783
|
+
readonly outputs: readonly [{
|
|
784
|
+
readonly internalType: "uint256";
|
|
785
|
+
readonly name: "";
|
|
786
|
+
readonly type: "uint256";
|
|
787
|
+
}];
|
|
788
|
+
readonly stateMutability: "view";
|
|
789
|
+
readonly type: "function";
|
|
790
|
+
}, {
|
|
791
|
+
readonly inputs: readonly [];
|
|
792
|
+
readonly name: "newMultiplierActivationTime";
|
|
793
|
+
readonly outputs: readonly [{
|
|
794
|
+
readonly internalType: "uint256";
|
|
795
|
+
readonly name: "";
|
|
796
|
+
readonly type: "uint256";
|
|
797
|
+
}];
|
|
798
|
+
readonly stateMutability: "view";
|
|
799
|
+
readonly type: "function";
|
|
800
|
+
}, {
|
|
801
|
+
readonly inputs: readonly [];
|
|
802
|
+
readonly name: "newMultiplierNonce";
|
|
803
|
+
readonly outputs: readonly [{
|
|
804
|
+
readonly internalType: "uint256";
|
|
805
|
+
readonly name: "";
|
|
806
|
+
readonly type: "uint256";
|
|
807
|
+
}];
|
|
808
|
+
readonly stateMutability: "view";
|
|
809
|
+
readonly type: "function";
|
|
810
|
+
}, {
|
|
811
|
+
readonly inputs: readonly [{
|
|
812
|
+
readonly internalType: "address";
|
|
813
|
+
readonly name: "";
|
|
814
|
+
readonly type: "address";
|
|
815
|
+
}];
|
|
816
|
+
readonly name: "nonces";
|
|
817
|
+
readonly outputs: readonly [{
|
|
818
|
+
readonly internalType: "uint256";
|
|
819
|
+
readonly name: "";
|
|
820
|
+
readonly type: "uint256";
|
|
821
|
+
}];
|
|
822
|
+
readonly stateMutability: "view";
|
|
823
|
+
readonly type: "function";
|
|
824
|
+
}, {
|
|
825
|
+
readonly inputs: readonly [];
|
|
826
|
+
readonly name: "owner";
|
|
827
|
+
readonly outputs: readonly [{
|
|
828
|
+
readonly internalType: "address";
|
|
829
|
+
readonly name: "";
|
|
830
|
+
readonly type: "address";
|
|
831
|
+
}];
|
|
832
|
+
readonly stateMutability: "view";
|
|
833
|
+
readonly type: "function";
|
|
834
|
+
}, {
|
|
835
|
+
readonly inputs: readonly [];
|
|
836
|
+
readonly name: "pauser";
|
|
837
|
+
readonly outputs: readonly [{
|
|
838
|
+
readonly internalType: "address";
|
|
839
|
+
readonly name: "";
|
|
840
|
+
readonly type: "address";
|
|
841
|
+
}];
|
|
842
|
+
readonly stateMutability: "view";
|
|
843
|
+
readonly type: "function";
|
|
844
|
+
}, {
|
|
845
|
+
readonly inputs: readonly [];
|
|
846
|
+
readonly name: "periodLength";
|
|
847
|
+
readonly outputs: readonly [{
|
|
848
|
+
readonly internalType: "uint256";
|
|
849
|
+
readonly name: "";
|
|
850
|
+
readonly type: "uint256";
|
|
851
|
+
}];
|
|
852
|
+
readonly stateMutability: "view";
|
|
853
|
+
readonly type: "function";
|
|
854
|
+
}, {
|
|
855
|
+
readonly inputs: readonly [{
|
|
856
|
+
readonly internalType: "address";
|
|
857
|
+
readonly name: "owner";
|
|
858
|
+
readonly type: "address";
|
|
859
|
+
}, {
|
|
860
|
+
readonly internalType: "address";
|
|
861
|
+
readonly name: "spender";
|
|
862
|
+
readonly type: "address";
|
|
863
|
+
}, {
|
|
864
|
+
readonly internalType: "uint256";
|
|
865
|
+
readonly name: "value";
|
|
866
|
+
readonly type: "uint256";
|
|
867
|
+
}, {
|
|
868
|
+
readonly internalType: "uint256";
|
|
869
|
+
readonly name: "deadline";
|
|
870
|
+
readonly type: "uint256";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "uint8";
|
|
873
|
+
readonly name: "v";
|
|
874
|
+
readonly type: "uint8";
|
|
875
|
+
}, {
|
|
876
|
+
readonly internalType: "bytes32";
|
|
877
|
+
readonly name: "r";
|
|
878
|
+
readonly type: "bytes32";
|
|
879
|
+
}, {
|
|
880
|
+
readonly internalType: "bytes32";
|
|
881
|
+
readonly name: "s";
|
|
882
|
+
readonly type: "bytes32";
|
|
883
|
+
}];
|
|
884
|
+
readonly name: "permit";
|
|
885
|
+
readonly outputs: readonly [];
|
|
886
|
+
readonly stateMutability: "nonpayable";
|
|
887
|
+
readonly type: "function";
|
|
888
|
+
}, {
|
|
889
|
+
readonly inputs: readonly [];
|
|
890
|
+
readonly name: "renounceOwnership";
|
|
891
|
+
readonly outputs: readonly [];
|
|
892
|
+
readonly stateMutability: "nonpayable";
|
|
893
|
+
readonly type: "function";
|
|
894
|
+
}, {
|
|
895
|
+
readonly inputs: readonly [];
|
|
896
|
+
readonly name: "sanctionsList";
|
|
897
|
+
readonly outputs: readonly [{
|
|
898
|
+
readonly internalType: "contract SanctionsList";
|
|
899
|
+
readonly name: "";
|
|
900
|
+
readonly type: "address";
|
|
901
|
+
}];
|
|
902
|
+
readonly stateMutability: "view";
|
|
903
|
+
readonly type: "function";
|
|
904
|
+
}, {
|
|
905
|
+
readonly inputs: readonly [{
|
|
906
|
+
readonly internalType: "address";
|
|
907
|
+
readonly name: "newBurner";
|
|
908
|
+
readonly type: "address";
|
|
909
|
+
}];
|
|
910
|
+
readonly name: "setBurner";
|
|
911
|
+
readonly outputs: readonly [];
|
|
912
|
+
readonly stateMutability: "nonpayable";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
}, {
|
|
915
|
+
readonly inputs: readonly [{
|
|
916
|
+
readonly internalType: "bool";
|
|
917
|
+
readonly name: "_delegateMode";
|
|
918
|
+
readonly type: "bool";
|
|
919
|
+
}];
|
|
920
|
+
readonly name: "setDelegateMode";
|
|
921
|
+
readonly outputs: readonly [];
|
|
922
|
+
readonly stateMutability: "nonpayable";
|
|
923
|
+
readonly type: "function";
|
|
924
|
+
}, {
|
|
925
|
+
readonly inputs: readonly [{
|
|
926
|
+
readonly internalType: "address";
|
|
927
|
+
readonly name: "whitelistAddress";
|
|
928
|
+
readonly type: "address";
|
|
929
|
+
}, {
|
|
930
|
+
readonly internalType: "bool";
|
|
931
|
+
readonly name: "status";
|
|
932
|
+
readonly type: "bool";
|
|
933
|
+
}];
|
|
934
|
+
readonly name: "setDelegateWhitelist";
|
|
935
|
+
readonly outputs: readonly [];
|
|
936
|
+
readonly stateMutability: "nonpayable";
|
|
937
|
+
readonly type: "function";
|
|
938
|
+
}, {
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly internalType: "uint256";
|
|
941
|
+
readonly name: "newLastTimeFeeApplied";
|
|
942
|
+
readonly type: "uint256";
|
|
943
|
+
}];
|
|
944
|
+
readonly name: "setLastTimeFeeApplied";
|
|
945
|
+
readonly outputs: readonly [];
|
|
946
|
+
readonly stateMutability: "nonpayable";
|
|
947
|
+
readonly type: "function";
|
|
948
|
+
}, {
|
|
949
|
+
readonly inputs: readonly [{
|
|
950
|
+
readonly internalType: "address";
|
|
951
|
+
readonly name: "newMinter";
|
|
952
|
+
readonly type: "address";
|
|
953
|
+
}];
|
|
954
|
+
readonly name: "setMinter";
|
|
955
|
+
readonly outputs: readonly [];
|
|
956
|
+
readonly stateMutability: "nonpayable";
|
|
957
|
+
readonly type: "function";
|
|
958
|
+
}, {
|
|
959
|
+
readonly inputs: readonly [{
|
|
960
|
+
readonly internalType: "address";
|
|
961
|
+
readonly name: "newMultiplierUpdater";
|
|
962
|
+
readonly type: "address";
|
|
963
|
+
}];
|
|
964
|
+
readonly name: "setMultiplierUpdater";
|
|
965
|
+
readonly outputs: readonly [];
|
|
966
|
+
readonly stateMutability: "nonpayable";
|
|
967
|
+
readonly type: "function";
|
|
968
|
+
}, {
|
|
969
|
+
readonly inputs: readonly [{
|
|
970
|
+
readonly internalType: "bool";
|
|
971
|
+
readonly name: "newPauseMode";
|
|
972
|
+
readonly type: "bool";
|
|
973
|
+
}];
|
|
974
|
+
readonly name: "setPause";
|
|
975
|
+
readonly outputs: readonly [];
|
|
976
|
+
readonly stateMutability: "nonpayable";
|
|
977
|
+
readonly type: "function";
|
|
978
|
+
}, {
|
|
979
|
+
readonly inputs: readonly [{
|
|
980
|
+
readonly internalType: "address";
|
|
981
|
+
readonly name: "newPauser";
|
|
982
|
+
readonly type: "address";
|
|
983
|
+
}];
|
|
984
|
+
readonly name: "setPauser";
|
|
985
|
+
readonly outputs: readonly [];
|
|
986
|
+
readonly stateMutability: "nonpayable";
|
|
987
|
+
readonly type: "function";
|
|
988
|
+
}, {
|
|
989
|
+
readonly inputs: readonly [{
|
|
990
|
+
readonly internalType: "uint256";
|
|
991
|
+
readonly name: "newPeriodLength";
|
|
992
|
+
readonly type: "uint256";
|
|
993
|
+
}];
|
|
994
|
+
readonly name: "setPeriodLength";
|
|
995
|
+
readonly outputs: readonly [];
|
|
996
|
+
readonly stateMutability: "nonpayable";
|
|
997
|
+
readonly type: "function";
|
|
998
|
+
}, {
|
|
999
|
+
readonly inputs: readonly [{
|
|
1000
|
+
readonly internalType: "address";
|
|
1001
|
+
readonly name: "newSanctionsList";
|
|
1002
|
+
readonly type: "address";
|
|
1003
|
+
}];
|
|
1004
|
+
readonly name: "setSanctionsList";
|
|
1005
|
+
readonly outputs: readonly [];
|
|
1006
|
+
readonly stateMutability: "nonpayable";
|
|
1007
|
+
readonly type: "function";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly inputs: readonly [{
|
|
1010
|
+
readonly internalType: "string";
|
|
1011
|
+
readonly name: "newTerms";
|
|
1012
|
+
readonly type: "string";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly name: "setTerms";
|
|
1015
|
+
readonly outputs: readonly [];
|
|
1016
|
+
readonly stateMutability: "nonpayable";
|
|
1017
|
+
readonly type: "function";
|
|
1018
|
+
}, {
|
|
1019
|
+
readonly inputs: readonly [{
|
|
1020
|
+
readonly internalType: "address";
|
|
1021
|
+
readonly name: "account";
|
|
1022
|
+
readonly type: "address";
|
|
1023
|
+
}];
|
|
1024
|
+
readonly name: "sharesOf";
|
|
1025
|
+
readonly outputs: readonly [{
|
|
1026
|
+
readonly internalType: "uint256";
|
|
1027
|
+
readonly name: "";
|
|
1028
|
+
readonly type: "uint256";
|
|
1029
|
+
}];
|
|
1030
|
+
readonly stateMutability: "view";
|
|
1031
|
+
readonly type: "function";
|
|
1032
|
+
}, {
|
|
1033
|
+
readonly inputs: readonly [];
|
|
1034
|
+
readonly name: "symbol";
|
|
1035
|
+
readonly outputs: readonly [{
|
|
1036
|
+
readonly internalType: "string";
|
|
1037
|
+
readonly name: "";
|
|
1038
|
+
readonly type: "string";
|
|
1039
|
+
}];
|
|
1040
|
+
readonly stateMutability: "view";
|
|
1041
|
+
readonly type: "function";
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly inputs: readonly [];
|
|
1044
|
+
readonly name: "terms";
|
|
1045
|
+
readonly outputs: readonly [{
|
|
1046
|
+
readonly internalType: "string";
|
|
1047
|
+
readonly name: "";
|
|
1048
|
+
readonly type: "string";
|
|
1049
|
+
}];
|
|
1050
|
+
readonly stateMutability: "view";
|
|
1051
|
+
readonly type: "function";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly inputs: readonly [];
|
|
1054
|
+
readonly name: "totalSupply";
|
|
1055
|
+
readonly outputs: readonly [{
|
|
1056
|
+
readonly internalType: "uint256";
|
|
1057
|
+
readonly name: "";
|
|
1058
|
+
readonly type: "uint256";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly stateMutability: "view";
|
|
1061
|
+
readonly type: "function";
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly inputs: readonly [{
|
|
1064
|
+
readonly internalType: "address";
|
|
1065
|
+
readonly name: "to";
|
|
1066
|
+
readonly type: "address";
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly internalType: "uint256";
|
|
1069
|
+
readonly name: "amount";
|
|
1070
|
+
readonly type: "uint256";
|
|
1071
|
+
}];
|
|
1072
|
+
readonly name: "transfer";
|
|
1073
|
+
readonly outputs: readonly [{
|
|
1074
|
+
readonly internalType: "bool";
|
|
1075
|
+
readonly name: "";
|
|
1076
|
+
readonly type: "bool";
|
|
1077
|
+
}];
|
|
1078
|
+
readonly stateMutability: "nonpayable";
|
|
1079
|
+
readonly type: "function";
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly inputs: readonly [{
|
|
1082
|
+
readonly internalType: "address";
|
|
1083
|
+
readonly name: "from";
|
|
1084
|
+
readonly type: "address";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly internalType: "address";
|
|
1087
|
+
readonly name: "to";
|
|
1088
|
+
readonly type: "address";
|
|
1089
|
+
}, {
|
|
1090
|
+
readonly internalType: "uint256";
|
|
1091
|
+
readonly name: "amount";
|
|
1092
|
+
readonly type: "uint256";
|
|
1093
|
+
}];
|
|
1094
|
+
readonly name: "transferFrom";
|
|
1095
|
+
readonly outputs: readonly [{
|
|
1096
|
+
readonly internalType: "bool";
|
|
1097
|
+
readonly name: "";
|
|
1098
|
+
readonly type: "bool";
|
|
1099
|
+
}];
|
|
1100
|
+
readonly stateMutability: "nonpayable";
|
|
1101
|
+
readonly type: "function";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly inputs: readonly [{
|
|
1104
|
+
readonly internalType: "address";
|
|
1105
|
+
readonly name: "newOwner";
|
|
1106
|
+
readonly type: "address";
|
|
1107
|
+
}];
|
|
1108
|
+
readonly name: "transferOwnership";
|
|
1109
|
+
readonly outputs: readonly [];
|
|
1110
|
+
readonly stateMutability: "nonpayable";
|
|
1111
|
+
readonly type: "function";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly inputs: readonly [{
|
|
1114
|
+
readonly internalType: "address";
|
|
1115
|
+
readonly name: "to";
|
|
1116
|
+
readonly type: "address";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly internalType: "uint256";
|
|
1119
|
+
readonly name: "sharesAmount";
|
|
1120
|
+
readonly type: "uint256";
|
|
1121
|
+
}];
|
|
1122
|
+
readonly name: "transferShares";
|
|
1123
|
+
readonly outputs: readonly [{
|
|
1124
|
+
readonly internalType: "bool";
|
|
1125
|
+
readonly name: "";
|
|
1126
|
+
readonly type: "bool";
|
|
1127
|
+
}];
|
|
1128
|
+
readonly stateMutability: "nonpayable";
|
|
1129
|
+
readonly type: "function";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly inputs: readonly [{
|
|
1132
|
+
readonly internalType: "address";
|
|
1133
|
+
readonly name: "from";
|
|
1134
|
+
readonly type: "address";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly internalType: "address";
|
|
1137
|
+
readonly name: "to";
|
|
1138
|
+
readonly type: "address";
|
|
1139
|
+
}, {
|
|
1140
|
+
readonly internalType: "uint256";
|
|
1141
|
+
readonly name: "sharesAmount";
|
|
1142
|
+
readonly type: "uint256";
|
|
1143
|
+
}];
|
|
1144
|
+
readonly name: "transferSharesFrom";
|
|
1145
|
+
readonly outputs: readonly [{
|
|
1146
|
+
readonly internalType: "bool";
|
|
1147
|
+
readonly name: "";
|
|
1148
|
+
readonly type: "bool";
|
|
1149
|
+
}];
|
|
1150
|
+
readonly stateMutability: "nonpayable";
|
|
1151
|
+
readonly type: "function";
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly inputs: readonly [{
|
|
1154
|
+
readonly internalType: "uint256";
|
|
1155
|
+
readonly name: "newFeePerPeriod";
|
|
1156
|
+
readonly type: "uint256";
|
|
1157
|
+
}];
|
|
1158
|
+
readonly name: "updateFeePerPeriod";
|
|
1159
|
+
readonly outputs: readonly [];
|
|
1160
|
+
readonly stateMutability: "nonpayable";
|
|
1161
|
+
readonly type: "function";
|
|
1162
|
+
}, {
|
|
1163
|
+
readonly inputs: readonly [{
|
|
1164
|
+
readonly internalType: "uint256";
|
|
1165
|
+
readonly name: "pendingNewMultiplier";
|
|
1166
|
+
readonly type: "uint256";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "uint256";
|
|
1169
|
+
readonly name: "oldMultiplier";
|
|
1170
|
+
readonly type: "uint256";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly internalType: "uint256";
|
|
1173
|
+
readonly name: "pendingNewMultiplierActivationTime";
|
|
1174
|
+
readonly type: "uint256";
|
|
1175
|
+
}];
|
|
1176
|
+
readonly name: "updateMultiplierValue";
|
|
1177
|
+
readonly outputs: readonly [];
|
|
1178
|
+
readonly stateMutability: "nonpayable";
|
|
1179
|
+
readonly type: "function";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly inputs: readonly [{
|
|
1182
|
+
readonly internalType: "uint256";
|
|
1183
|
+
readonly name: "newMultiplier";
|
|
1184
|
+
readonly type: "uint256";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly internalType: "uint256";
|
|
1187
|
+
readonly name: "oldMultiplier";
|
|
1188
|
+
readonly type: "uint256";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly internalType: "uint256";
|
|
1191
|
+
readonly name: "newMultiplierNonce";
|
|
1192
|
+
readonly type: "uint256";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly internalType: "uint256";
|
|
1195
|
+
readonly name: "pendingNewMultiplierActivationTime";
|
|
1196
|
+
readonly type: "uint256";
|
|
1197
|
+
}];
|
|
1198
|
+
readonly name: "updateMultiplierWithNonce";
|
|
1199
|
+
readonly outputs: readonly [];
|
|
1200
|
+
readonly stateMutability: "nonpayable";
|
|
1201
|
+
readonly type: "function";
|
|
1202
|
+
}];
|
|
1203
|
+
/**
|
|
1204
|
+
* Type-safe ABI for BackedAutoFeeTokenImplementation_json
|
|
1205
|
+
*/
|
|
1206
|
+
export type BackedAutoFeeTokenImplementation_jsonAbi = typeof BackedAutoFeeTokenImplementation_jsonAbi;
|
|
1207
|
+
/**
|
|
1208
|
+
* Contract instance type for BackedAutoFeeTokenImplementation_json
|
|
1209
|
+
*/
|
|
1210
|
+
export type BackedAutoFeeTokenImplementation_jsonContract = any;
|
|
1211
|
+
/**
|
|
1212
|
+
* BackedAutoFeeTokenImplementation_json Contract Class
|
|
1213
|
+
*
|
|
1214
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1215
|
+
*
|
|
1216
|
+
* @example
|
|
1217
|
+
* ```typescript
|
|
1218
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1219
|
+
* import { mainnet } from 'viem/chains';
|
|
1220
|
+
* import { BackedAutoFeeTokenImplementation_json } from 'BackedAutoFeeTokenImplementation_json';
|
|
1221
|
+
*
|
|
1222
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1223
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1224
|
+
*
|
|
1225
|
+
* const contract = new BackedAutoFeeTokenImplementation_json('0x...', { publicClient, walletClient });
|
|
1226
|
+
*
|
|
1227
|
+
* // Read functions
|
|
1228
|
+
* const result = await contract.balanceOf('0x...');
|
|
1229
|
+
*
|
|
1230
|
+
* // Write functions
|
|
1231
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1232
|
+
*
|
|
1233
|
+
* // Simulate transactions (dry-run)
|
|
1234
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1235
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1236
|
+
*
|
|
1237
|
+
* // Watch events
|
|
1238
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1239
|
+
* console.log('Transfer event:', event);
|
|
1240
|
+
* });
|
|
1241
|
+
* ```
|
|
1242
|
+
*/
|
|
1243
|
+
export declare class BackedAutoFeeTokenImplementation_json {
|
|
1244
|
+
private contract;
|
|
1245
|
+
private contractAddress;
|
|
1246
|
+
private publicClient;
|
|
1247
|
+
constructor(address: Address, clients: {
|
|
1248
|
+
publicClient: PublicClient;
|
|
1249
|
+
walletClient?: WalletClient;
|
|
1250
|
+
});
|
|
1251
|
+
/**
|
|
1252
|
+
* Get the contract address
|
|
1253
|
+
*/
|
|
1254
|
+
get address(): Address;
|
|
1255
|
+
/**
|
|
1256
|
+
* Get the underlying viem contract instance
|
|
1257
|
+
*/
|
|
1258
|
+
getContract(): BackedAutoFeeTokenImplementation_jsonContract;
|
|
1259
|
+
/**
|
|
1260
|
+
* DELEGATED_TRANSFER_SHARES_TYPEHASH
|
|
1261
|
+
* view
|
|
1262
|
+
*/
|
|
1263
|
+
DELEGATED_TRANSFER_SHARES_TYPEHASH(): Promise<`0x${string}`>;
|
|
1264
|
+
/**
|
|
1265
|
+
* DELEGATED_TRANSFER_TYPEHASH
|
|
1266
|
+
* view
|
|
1267
|
+
*/
|
|
1268
|
+
DELEGATED_TRANSFER_TYPEHASH(): Promise<`0x${string}`>;
|
|
1269
|
+
/**
|
|
1270
|
+
* DOMAIN_SEPARATOR
|
|
1271
|
+
* view
|
|
1272
|
+
*/
|
|
1273
|
+
DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
|
|
1274
|
+
/**
|
|
1275
|
+
* PERMIT_TYPEHASH
|
|
1276
|
+
* view
|
|
1277
|
+
*/
|
|
1278
|
+
PERMIT_TYPEHASH(): Promise<`0x${string}`>;
|
|
1279
|
+
/**
|
|
1280
|
+
* VERSION
|
|
1281
|
+
* view
|
|
1282
|
+
*/
|
|
1283
|
+
VERSION(): Promise<string>;
|
|
1284
|
+
/**
|
|
1285
|
+
* allowance
|
|
1286
|
+
* view
|
|
1287
|
+
*/
|
|
1288
|
+
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
1289
|
+
/**
|
|
1290
|
+
* balanceOf
|
|
1291
|
+
* view
|
|
1292
|
+
*/
|
|
1293
|
+
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
1294
|
+
/**
|
|
1295
|
+
* burner
|
|
1296
|
+
* view
|
|
1297
|
+
*/
|
|
1298
|
+
burner(): Promise<`0x${string}`>;
|
|
1299
|
+
/**
|
|
1300
|
+
* decimals
|
|
1301
|
+
* view
|
|
1302
|
+
*/
|
|
1303
|
+
decimals(): Promise<bigint>;
|
|
1304
|
+
/**
|
|
1305
|
+
* delegateMode
|
|
1306
|
+
* view
|
|
1307
|
+
*/
|
|
1308
|
+
delegateMode(): Promise<boolean>;
|
|
1309
|
+
/**
|
|
1310
|
+
* delegateWhitelist
|
|
1311
|
+
* view
|
|
1312
|
+
*/
|
|
1313
|
+
delegateWhitelist(arg0: `0x${string}`): Promise<boolean>;
|
|
1314
|
+
/**
|
|
1315
|
+
* feePerPeriod
|
|
1316
|
+
* view
|
|
1317
|
+
*/
|
|
1318
|
+
feePerPeriod(): Promise<bigint>;
|
|
1319
|
+
/**
|
|
1320
|
+
* getCurrentMultiplier
|
|
1321
|
+
* view
|
|
1322
|
+
*/
|
|
1323
|
+
getCurrentMultiplier(): Promise<[bigint, bigint, bigint]>;
|
|
1324
|
+
/**
|
|
1325
|
+
* getSharesByUnderlyingAmount
|
|
1326
|
+
* view
|
|
1327
|
+
*/
|
|
1328
|
+
getSharesByUnderlyingAmount(_underlyingAmount: bigint): Promise<bigint>;
|
|
1329
|
+
/**
|
|
1330
|
+
* getUnderlyingAmountByShares
|
|
1331
|
+
* view
|
|
1332
|
+
*/
|
|
1333
|
+
getUnderlyingAmountByShares(_sharesAmount: bigint): Promise<bigint>;
|
|
1334
|
+
/**
|
|
1335
|
+
* isPaused
|
|
1336
|
+
* view
|
|
1337
|
+
*/
|
|
1338
|
+
isPaused(): Promise<boolean>;
|
|
1339
|
+
/**
|
|
1340
|
+
* lastMultiplier
|
|
1341
|
+
* view
|
|
1342
|
+
*/
|
|
1343
|
+
lastMultiplier(): Promise<bigint>;
|
|
1344
|
+
/**
|
|
1345
|
+
* lastMultiplierNonce
|
|
1346
|
+
* view
|
|
1347
|
+
*/
|
|
1348
|
+
lastMultiplierNonce(): Promise<bigint>;
|
|
1349
|
+
/**
|
|
1350
|
+
* lastTimeFeeApplied
|
|
1351
|
+
* view
|
|
1352
|
+
*/
|
|
1353
|
+
lastTimeFeeApplied(): Promise<bigint>;
|
|
1354
|
+
/**
|
|
1355
|
+
* minter
|
|
1356
|
+
* view
|
|
1357
|
+
*/
|
|
1358
|
+
minter(): Promise<`0x${string}`>;
|
|
1359
|
+
/**
|
|
1360
|
+
* multiplier
|
|
1361
|
+
* view
|
|
1362
|
+
*/
|
|
1363
|
+
multiplier(): Promise<bigint>;
|
|
1364
|
+
/**
|
|
1365
|
+
* multiplierNonce
|
|
1366
|
+
* view
|
|
1367
|
+
*/
|
|
1368
|
+
multiplierNonce(): Promise<bigint>;
|
|
1369
|
+
/**
|
|
1370
|
+
* multiplierUpdater
|
|
1371
|
+
* view
|
|
1372
|
+
*/
|
|
1373
|
+
multiplierUpdater(): Promise<`0x${string}`>;
|
|
1374
|
+
/**
|
|
1375
|
+
* multiplierUpdates
|
|
1376
|
+
* view
|
|
1377
|
+
*/
|
|
1378
|
+
multiplierUpdates(arg0: bigint): Promise<[bigint, bigint, bigint]>;
|
|
1379
|
+
/**
|
|
1380
|
+
* multiplierUpdatesLength
|
|
1381
|
+
* view
|
|
1382
|
+
*/
|
|
1383
|
+
multiplierUpdatesLength(): Promise<bigint>;
|
|
1384
|
+
/**
|
|
1385
|
+
* name
|
|
1386
|
+
* view
|
|
1387
|
+
*/
|
|
1388
|
+
name(): Promise<string>;
|
|
1389
|
+
/**
|
|
1390
|
+
* newMultiplier
|
|
1391
|
+
* view
|
|
1392
|
+
*/
|
|
1393
|
+
newMultiplier(): Promise<bigint>;
|
|
1394
|
+
/**
|
|
1395
|
+
* newMultiplierActivationTime
|
|
1396
|
+
* view
|
|
1397
|
+
*/
|
|
1398
|
+
newMultiplierActivationTime(): Promise<bigint>;
|
|
1399
|
+
/**
|
|
1400
|
+
* newMultiplierNonce
|
|
1401
|
+
* view
|
|
1402
|
+
*/
|
|
1403
|
+
newMultiplierNonce(): Promise<bigint>;
|
|
1404
|
+
/**
|
|
1405
|
+
* nonces
|
|
1406
|
+
* view
|
|
1407
|
+
*/
|
|
1408
|
+
nonces(arg0: `0x${string}`): Promise<bigint>;
|
|
1409
|
+
/**
|
|
1410
|
+
* owner
|
|
1411
|
+
* view
|
|
1412
|
+
*/
|
|
1413
|
+
owner(): Promise<`0x${string}`>;
|
|
1414
|
+
/**
|
|
1415
|
+
* pauser
|
|
1416
|
+
* view
|
|
1417
|
+
*/
|
|
1418
|
+
pauser(): Promise<`0x${string}`>;
|
|
1419
|
+
/**
|
|
1420
|
+
* periodLength
|
|
1421
|
+
* view
|
|
1422
|
+
*/
|
|
1423
|
+
periodLength(): Promise<bigint>;
|
|
1424
|
+
/**
|
|
1425
|
+
* sanctionsList
|
|
1426
|
+
* view
|
|
1427
|
+
*/
|
|
1428
|
+
sanctionsList(): Promise<`0x${string}`>;
|
|
1429
|
+
/**
|
|
1430
|
+
* sharesOf
|
|
1431
|
+
* view
|
|
1432
|
+
*/
|
|
1433
|
+
sharesOf(account: `0x${string}`): Promise<bigint>;
|
|
1434
|
+
/**
|
|
1435
|
+
* symbol
|
|
1436
|
+
* view
|
|
1437
|
+
*/
|
|
1438
|
+
symbol(): Promise<string>;
|
|
1439
|
+
/**
|
|
1440
|
+
* terms
|
|
1441
|
+
* view
|
|
1442
|
+
*/
|
|
1443
|
+
terms(): Promise<string>;
|
|
1444
|
+
/**
|
|
1445
|
+
* totalSupply
|
|
1446
|
+
* view
|
|
1447
|
+
*/
|
|
1448
|
+
totalSupply(): Promise<bigint>;
|
|
1449
|
+
/**
|
|
1450
|
+
* approve
|
|
1451
|
+
* nonpayable
|
|
1452
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1453
|
+
*/
|
|
1454
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
1455
|
+
accessList?: import('viem').AccessList;
|
|
1456
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1457
|
+
chain?: import('viem').Chain | null;
|
|
1458
|
+
dataSuffix?: `0x${string}`;
|
|
1459
|
+
gas?: bigint;
|
|
1460
|
+
gasPrice?: bigint;
|
|
1461
|
+
maxFeePerGas?: bigint;
|
|
1462
|
+
maxPriorityFeePerGas?: bigint;
|
|
1463
|
+
nonce?: number;
|
|
1464
|
+
value?: bigint;
|
|
1465
|
+
}): Promise<`0x${string}`>;
|
|
1466
|
+
/**
|
|
1467
|
+
* burn
|
|
1468
|
+
* nonpayable
|
|
1469
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1470
|
+
*/
|
|
1471
|
+
burn(account: `0x${string}`, amount: bigint, options?: {
|
|
1472
|
+
accessList?: import('viem').AccessList;
|
|
1473
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1474
|
+
chain?: import('viem').Chain | null;
|
|
1475
|
+
dataSuffix?: `0x${string}`;
|
|
1476
|
+
gas?: bigint;
|
|
1477
|
+
gasPrice?: bigint;
|
|
1478
|
+
maxFeePerGas?: bigint;
|
|
1479
|
+
maxPriorityFeePerGas?: bigint;
|
|
1480
|
+
nonce?: number;
|
|
1481
|
+
value?: bigint;
|
|
1482
|
+
}): Promise<`0x${string}`>;
|
|
1483
|
+
/**
|
|
1484
|
+
* decreaseAllowance
|
|
1485
|
+
* nonpayable
|
|
1486
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1487
|
+
*/
|
|
1488
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1489
|
+
accessList?: import('viem').AccessList;
|
|
1490
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1491
|
+
chain?: import('viem').Chain | null;
|
|
1492
|
+
dataSuffix?: `0x${string}`;
|
|
1493
|
+
gas?: bigint;
|
|
1494
|
+
gasPrice?: bigint;
|
|
1495
|
+
maxFeePerGas?: bigint;
|
|
1496
|
+
maxPriorityFeePerGas?: bigint;
|
|
1497
|
+
nonce?: number;
|
|
1498
|
+
value?: bigint;
|
|
1499
|
+
}): Promise<`0x${string}`>;
|
|
1500
|
+
/**
|
|
1501
|
+
* delegatedTransfer
|
|
1502
|
+
* nonpayable
|
|
1503
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1504
|
+
*/
|
|
1505
|
+
delegatedTransfer(owner: `0x${string}`, to: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1506
|
+
accessList?: import('viem').AccessList;
|
|
1507
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1508
|
+
chain?: import('viem').Chain | null;
|
|
1509
|
+
dataSuffix?: `0x${string}`;
|
|
1510
|
+
gas?: bigint;
|
|
1511
|
+
gasPrice?: bigint;
|
|
1512
|
+
maxFeePerGas?: bigint;
|
|
1513
|
+
maxPriorityFeePerGas?: bigint;
|
|
1514
|
+
nonce?: number;
|
|
1515
|
+
value?: bigint;
|
|
1516
|
+
}): Promise<`0x${string}`>;
|
|
1517
|
+
/**
|
|
1518
|
+
* delegatedTransferShares
|
|
1519
|
+
* nonpayable
|
|
1520
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1521
|
+
*/
|
|
1522
|
+
delegatedTransferShares(owner: `0x${string}`, to: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1523
|
+
accessList?: import('viem').AccessList;
|
|
1524
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1525
|
+
chain?: import('viem').Chain | null;
|
|
1526
|
+
dataSuffix?: `0x${string}`;
|
|
1527
|
+
gas?: bigint;
|
|
1528
|
+
gasPrice?: bigint;
|
|
1529
|
+
maxFeePerGas?: bigint;
|
|
1530
|
+
maxPriorityFeePerGas?: bigint;
|
|
1531
|
+
nonce?: number;
|
|
1532
|
+
value?: bigint;
|
|
1533
|
+
}): Promise<`0x${string}`>;
|
|
1534
|
+
/**
|
|
1535
|
+
* increaseAllowance
|
|
1536
|
+
* nonpayable
|
|
1537
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1538
|
+
*/
|
|
1539
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1540
|
+
accessList?: import('viem').AccessList;
|
|
1541
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1542
|
+
chain?: import('viem').Chain | null;
|
|
1543
|
+
dataSuffix?: `0x${string}`;
|
|
1544
|
+
gas?: bigint;
|
|
1545
|
+
gasPrice?: bigint;
|
|
1546
|
+
maxFeePerGas?: bigint;
|
|
1547
|
+
maxPriorityFeePerGas?: bigint;
|
|
1548
|
+
nonce?: number;
|
|
1549
|
+
value?: bigint;
|
|
1550
|
+
}): Promise<`0x${string}`>;
|
|
1551
|
+
initialize(name_: string, symbol_: string, options?: {
|
|
1552
|
+
accessList?: import('viem').AccessList;
|
|
1553
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1554
|
+
chain?: import('viem').Chain | null;
|
|
1555
|
+
dataSuffix?: `0x${string}`;
|
|
1556
|
+
gas?: bigint;
|
|
1557
|
+
gasPrice?: bigint;
|
|
1558
|
+
maxFeePerGas?: bigint;
|
|
1559
|
+
maxPriorityFeePerGas?: bigint;
|
|
1560
|
+
nonce?: number;
|
|
1561
|
+
value?: bigint;
|
|
1562
|
+
}): Promise<`0x${string}`>;
|
|
1563
|
+
initialize(name_: string, symbol_: string, _periodLength: bigint, _lastTimeFeeApplied: bigint, _feePerPeriod: bigint, options?: {
|
|
1564
|
+
accessList?: import('viem').AccessList;
|
|
1565
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1566
|
+
chain?: import('viem').Chain | null;
|
|
1567
|
+
dataSuffix?: `0x${string}`;
|
|
1568
|
+
gas?: bigint;
|
|
1569
|
+
gasPrice?: bigint;
|
|
1570
|
+
maxFeePerGas?: bigint;
|
|
1571
|
+
maxPriorityFeePerGas?: bigint;
|
|
1572
|
+
nonce?: number;
|
|
1573
|
+
value?: bigint;
|
|
1574
|
+
}): Promise<`0x${string}`>;
|
|
1575
|
+
/**
|
|
1576
|
+
* initialize_v2
|
|
1577
|
+
* nonpayable
|
|
1578
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1579
|
+
*/
|
|
1580
|
+
initialize_v2(_periodLength: bigint, _lastTimeFeeApplied: bigint, _feePerPeriod: bigint, options?: {
|
|
1581
|
+
accessList?: import('viem').AccessList;
|
|
1582
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1583
|
+
chain?: import('viem').Chain | null;
|
|
1584
|
+
dataSuffix?: `0x${string}`;
|
|
1585
|
+
gas?: bigint;
|
|
1586
|
+
gasPrice?: bigint;
|
|
1587
|
+
maxFeePerGas?: bigint;
|
|
1588
|
+
maxPriorityFeePerGas?: bigint;
|
|
1589
|
+
nonce?: number;
|
|
1590
|
+
value?: bigint;
|
|
1591
|
+
}): Promise<`0x${string}`>;
|
|
1592
|
+
/**
|
|
1593
|
+
* initialize_v3
|
|
1594
|
+
* nonpayable
|
|
1595
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1596
|
+
*/
|
|
1597
|
+
initialize_v3(options?: {
|
|
1598
|
+
accessList?: import('viem').AccessList;
|
|
1599
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1600
|
+
chain?: import('viem').Chain | null;
|
|
1601
|
+
dataSuffix?: `0x${string}`;
|
|
1602
|
+
gas?: bigint;
|
|
1603
|
+
gasPrice?: bigint;
|
|
1604
|
+
maxFeePerGas?: bigint;
|
|
1605
|
+
maxPriorityFeePerGas?: bigint;
|
|
1606
|
+
nonce?: number;
|
|
1607
|
+
value?: bigint;
|
|
1608
|
+
}): Promise<`0x${string}`>;
|
|
1609
|
+
/**
|
|
1610
|
+
* initialize_v4
|
|
1611
|
+
* nonpayable
|
|
1612
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1613
|
+
*/
|
|
1614
|
+
initialize_v4(_pastMultipliersUpdates: IBackedAutoFeeToken_MultiplierUpdate[], options?: {
|
|
1615
|
+
accessList?: import('viem').AccessList;
|
|
1616
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1617
|
+
chain?: import('viem').Chain | null;
|
|
1618
|
+
dataSuffix?: `0x${string}`;
|
|
1619
|
+
gas?: bigint;
|
|
1620
|
+
gasPrice?: bigint;
|
|
1621
|
+
maxFeePerGas?: bigint;
|
|
1622
|
+
maxPriorityFeePerGas?: bigint;
|
|
1623
|
+
nonce?: number;
|
|
1624
|
+
value?: bigint;
|
|
1625
|
+
}): Promise<`0x${string}`>;
|
|
1626
|
+
/**
|
|
1627
|
+
* mint
|
|
1628
|
+
* nonpayable
|
|
1629
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1630
|
+
*/
|
|
1631
|
+
mint(account: `0x${string}`, amount: bigint, options?: {
|
|
1632
|
+
accessList?: import('viem').AccessList;
|
|
1633
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1634
|
+
chain?: import('viem').Chain | null;
|
|
1635
|
+
dataSuffix?: `0x${string}`;
|
|
1636
|
+
gas?: bigint;
|
|
1637
|
+
gasPrice?: bigint;
|
|
1638
|
+
maxFeePerGas?: bigint;
|
|
1639
|
+
maxPriorityFeePerGas?: bigint;
|
|
1640
|
+
nonce?: number;
|
|
1641
|
+
value?: bigint;
|
|
1642
|
+
}): Promise<`0x${string}`>;
|
|
1643
|
+
/**
|
|
1644
|
+
* permit
|
|
1645
|
+
* nonpayable
|
|
1646
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1647
|
+
*/
|
|
1648
|
+
permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1649
|
+
accessList?: import('viem').AccessList;
|
|
1650
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1651
|
+
chain?: import('viem').Chain | null;
|
|
1652
|
+
dataSuffix?: `0x${string}`;
|
|
1653
|
+
gas?: bigint;
|
|
1654
|
+
gasPrice?: bigint;
|
|
1655
|
+
maxFeePerGas?: bigint;
|
|
1656
|
+
maxPriorityFeePerGas?: bigint;
|
|
1657
|
+
nonce?: number;
|
|
1658
|
+
value?: bigint;
|
|
1659
|
+
}): Promise<`0x${string}`>;
|
|
1660
|
+
/**
|
|
1661
|
+
* renounceOwnership
|
|
1662
|
+
* nonpayable
|
|
1663
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1664
|
+
*/
|
|
1665
|
+
renounceOwnership(options?: {
|
|
1666
|
+
accessList?: import('viem').AccessList;
|
|
1667
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1668
|
+
chain?: import('viem').Chain | null;
|
|
1669
|
+
dataSuffix?: `0x${string}`;
|
|
1670
|
+
gas?: bigint;
|
|
1671
|
+
gasPrice?: bigint;
|
|
1672
|
+
maxFeePerGas?: bigint;
|
|
1673
|
+
maxPriorityFeePerGas?: bigint;
|
|
1674
|
+
nonce?: number;
|
|
1675
|
+
value?: bigint;
|
|
1676
|
+
}): Promise<`0x${string}`>;
|
|
1677
|
+
/**
|
|
1678
|
+
* setBurner
|
|
1679
|
+
* nonpayable
|
|
1680
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1681
|
+
*/
|
|
1682
|
+
setBurner(newBurner: `0x${string}`, options?: {
|
|
1683
|
+
accessList?: import('viem').AccessList;
|
|
1684
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1685
|
+
chain?: import('viem').Chain | null;
|
|
1686
|
+
dataSuffix?: `0x${string}`;
|
|
1687
|
+
gas?: bigint;
|
|
1688
|
+
gasPrice?: bigint;
|
|
1689
|
+
maxFeePerGas?: bigint;
|
|
1690
|
+
maxPriorityFeePerGas?: bigint;
|
|
1691
|
+
nonce?: number;
|
|
1692
|
+
value?: bigint;
|
|
1693
|
+
}): Promise<`0x${string}`>;
|
|
1694
|
+
/**
|
|
1695
|
+
* setDelegateMode
|
|
1696
|
+
* nonpayable
|
|
1697
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1698
|
+
*/
|
|
1699
|
+
setDelegateMode(_delegateMode: boolean, options?: {
|
|
1700
|
+
accessList?: import('viem').AccessList;
|
|
1701
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1702
|
+
chain?: import('viem').Chain | null;
|
|
1703
|
+
dataSuffix?: `0x${string}`;
|
|
1704
|
+
gas?: bigint;
|
|
1705
|
+
gasPrice?: bigint;
|
|
1706
|
+
maxFeePerGas?: bigint;
|
|
1707
|
+
maxPriorityFeePerGas?: bigint;
|
|
1708
|
+
nonce?: number;
|
|
1709
|
+
value?: bigint;
|
|
1710
|
+
}): Promise<`0x${string}`>;
|
|
1711
|
+
/**
|
|
1712
|
+
* setDelegateWhitelist
|
|
1713
|
+
* nonpayable
|
|
1714
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1715
|
+
*/
|
|
1716
|
+
setDelegateWhitelist(whitelistAddress: `0x${string}`, status: boolean, options?: {
|
|
1717
|
+
accessList?: import('viem').AccessList;
|
|
1718
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1719
|
+
chain?: import('viem').Chain | null;
|
|
1720
|
+
dataSuffix?: `0x${string}`;
|
|
1721
|
+
gas?: bigint;
|
|
1722
|
+
gasPrice?: bigint;
|
|
1723
|
+
maxFeePerGas?: bigint;
|
|
1724
|
+
maxPriorityFeePerGas?: bigint;
|
|
1725
|
+
nonce?: number;
|
|
1726
|
+
value?: bigint;
|
|
1727
|
+
}): Promise<`0x${string}`>;
|
|
1728
|
+
/**
|
|
1729
|
+
* setLastTimeFeeApplied
|
|
1730
|
+
* nonpayable
|
|
1731
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1732
|
+
*/
|
|
1733
|
+
setLastTimeFeeApplied(newLastTimeFeeApplied: bigint, options?: {
|
|
1734
|
+
accessList?: import('viem').AccessList;
|
|
1735
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1736
|
+
chain?: import('viem').Chain | null;
|
|
1737
|
+
dataSuffix?: `0x${string}`;
|
|
1738
|
+
gas?: bigint;
|
|
1739
|
+
gasPrice?: bigint;
|
|
1740
|
+
maxFeePerGas?: bigint;
|
|
1741
|
+
maxPriorityFeePerGas?: bigint;
|
|
1742
|
+
nonce?: number;
|
|
1743
|
+
value?: bigint;
|
|
1744
|
+
}): Promise<`0x${string}`>;
|
|
1745
|
+
/**
|
|
1746
|
+
* setMinter
|
|
1747
|
+
* nonpayable
|
|
1748
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1749
|
+
*/
|
|
1750
|
+
setMinter(newMinter: `0x${string}`, options?: {
|
|
1751
|
+
accessList?: import('viem').AccessList;
|
|
1752
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1753
|
+
chain?: import('viem').Chain | null;
|
|
1754
|
+
dataSuffix?: `0x${string}`;
|
|
1755
|
+
gas?: bigint;
|
|
1756
|
+
gasPrice?: bigint;
|
|
1757
|
+
maxFeePerGas?: bigint;
|
|
1758
|
+
maxPriorityFeePerGas?: bigint;
|
|
1759
|
+
nonce?: number;
|
|
1760
|
+
value?: bigint;
|
|
1761
|
+
}): Promise<`0x${string}`>;
|
|
1762
|
+
/**
|
|
1763
|
+
* setMultiplierUpdater
|
|
1764
|
+
* nonpayable
|
|
1765
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1766
|
+
*/
|
|
1767
|
+
setMultiplierUpdater(newMultiplierUpdater: `0x${string}`, options?: {
|
|
1768
|
+
accessList?: import('viem').AccessList;
|
|
1769
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1770
|
+
chain?: import('viem').Chain | null;
|
|
1771
|
+
dataSuffix?: `0x${string}`;
|
|
1772
|
+
gas?: bigint;
|
|
1773
|
+
gasPrice?: bigint;
|
|
1774
|
+
maxFeePerGas?: bigint;
|
|
1775
|
+
maxPriorityFeePerGas?: bigint;
|
|
1776
|
+
nonce?: number;
|
|
1777
|
+
value?: bigint;
|
|
1778
|
+
}): Promise<`0x${string}`>;
|
|
1779
|
+
/**
|
|
1780
|
+
* setPause
|
|
1781
|
+
* nonpayable
|
|
1782
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1783
|
+
*/
|
|
1784
|
+
setPause(newPauseMode: boolean, options?: {
|
|
1785
|
+
accessList?: import('viem').AccessList;
|
|
1786
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1787
|
+
chain?: import('viem').Chain | null;
|
|
1788
|
+
dataSuffix?: `0x${string}`;
|
|
1789
|
+
gas?: bigint;
|
|
1790
|
+
gasPrice?: bigint;
|
|
1791
|
+
maxFeePerGas?: bigint;
|
|
1792
|
+
maxPriorityFeePerGas?: bigint;
|
|
1793
|
+
nonce?: number;
|
|
1794
|
+
value?: bigint;
|
|
1795
|
+
}): Promise<`0x${string}`>;
|
|
1796
|
+
/**
|
|
1797
|
+
* setPauser
|
|
1798
|
+
* nonpayable
|
|
1799
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1800
|
+
*/
|
|
1801
|
+
setPauser(newPauser: `0x${string}`, options?: {
|
|
1802
|
+
accessList?: import('viem').AccessList;
|
|
1803
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1804
|
+
chain?: import('viem').Chain | null;
|
|
1805
|
+
dataSuffix?: `0x${string}`;
|
|
1806
|
+
gas?: bigint;
|
|
1807
|
+
gasPrice?: bigint;
|
|
1808
|
+
maxFeePerGas?: bigint;
|
|
1809
|
+
maxPriorityFeePerGas?: bigint;
|
|
1810
|
+
nonce?: number;
|
|
1811
|
+
value?: bigint;
|
|
1812
|
+
}): Promise<`0x${string}`>;
|
|
1813
|
+
/**
|
|
1814
|
+
* setPeriodLength
|
|
1815
|
+
* nonpayable
|
|
1816
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1817
|
+
*/
|
|
1818
|
+
setPeriodLength(newPeriodLength: bigint, options?: {
|
|
1819
|
+
accessList?: import('viem').AccessList;
|
|
1820
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1821
|
+
chain?: import('viem').Chain | null;
|
|
1822
|
+
dataSuffix?: `0x${string}`;
|
|
1823
|
+
gas?: bigint;
|
|
1824
|
+
gasPrice?: bigint;
|
|
1825
|
+
maxFeePerGas?: bigint;
|
|
1826
|
+
maxPriorityFeePerGas?: bigint;
|
|
1827
|
+
nonce?: number;
|
|
1828
|
+
value?: bigint;
|
|
1829
|
+
}): Promise<`0x${string}`>;
|
|
1830
|
+
/**
|
|
1831
|
+
* setSanctionsList
|
|
1832
|
+
* nonpayable
|
|
1833
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1834
|
+
*/
|
|
1835
|
+
setSanctionsList(newSanctionsList: `0x${string}`, options?: {
|
|
1836
|
+
accessList?: import('viem').AccessList;
|
|
1837
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1838
|
+
chain?: import('viem').Chain | null;
|
|
1839
|
+
dataSuffix?: `0x${string}`;
|
|
1840
|
+
gas?: bigint;
|
|
1841
|
+
gasPrice?: bigint;
|
|
1842
|
+
maxFeePerGas?: bigint;
|
|
1843
|
+
maxPriorityFeePerGas?: bigint;
|
|
1844
|
+
nonce?: number;
|
|
1845
|
+
value?: bigint;
|
|
1846
|
+
}): Promise<`0x${string}`>;
|
|
1847
|
+
/**
|
|
1848
|
+
* setTerms
|
|
1849
|
+
* nonpayable
|
|
1850
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1851
|
+
*/
|
|
1852
|
+
setTerms(newTerms: string, options?: {
|
|
1853
|
+
accessList?: import('viem').AccessList;
|
|
1854
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1855
|
+
chain?: import('viem').Chain | null;
|
|
1856
|
+
dataSuffix?: `0x${string}`;
|
|
1857
|
+
gas?: bigint;
|
|
1858
|
+
gasPrice?: bigint;
|
|
1859
|
+
maxFeePerGas?: bigint;
|
|
1860
|
+
maxPriorityFeePerGas?: bigint;
|
|
1861
|
+
nonce?: number;
|
|
1862
|
+
value?: bigint;
|
|
1863
|
+
}): Promise<`0x${string}`>;
|
|
1864
|
+
/**
|
|
1865
|
+
* transfer
|
|
1866
|
+
* nonpayable
|
|
1867
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1868
|
+
*/
|
|
1869
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
1870
|
+
accessList?: import('viem').AccessList;
|
|
1871
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1872
|
+
chain?: import('viem').Chain | null;
|
|
1873
|
+
dataSuffix?: `0x${string}`;
|
|
1874
|
+
gas?: bigint;
|
|
1875
|
+
gasPrice?: bigint;
|
|
1876
|
+
maxFeePerGas?: bigint;
|
|
1877
|
+
maxPriorityFeePerGas?: bigint;
|
|
1878
|
+
nonce?: number;
|
|
1879
|
+
value?: bigint;
|
|
1880
|
+
}): Promise<`0x${string}`>;
|
|
1881
|
+
/**
|
|
1882
|
+
* transferFrom
|
|
1883
|
+
* nonpayable
|
|
1884
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1885
|
+
*/
|
|
1886
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1887
|
+
accessList?: import('viem').AccessList;
|
|
1888
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1889
|
+
chain?: import('viem').Chain | null;
|
|
1890
|
+
dataSuffix?: `0x${string}`;
|
|
1891
|
+
gas?: bigint;
|
|
1892
|
+
gasPrice?: bigint;
|
|
1893
|
+
maxFeePerGas?: bigint;
|
|
1894
|
+
maxPriorityFeePerGas?: bigint;
|
|
1895
|
+
nonce?: number;
|
|
1896
|
+
value?: bigint;
|
|
1897
|
+
}): Promise<`0x${string}`>;
|
|
1898
|
+
/**
|
|
1899
|
+
* transferOwnership
|
|
1900
|
+
* nonpayable
|
|
1901
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1902
|
+
*/
|
|
1903
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1904
|
+
accessList?: import('viem').AccessList;
|
|
1905
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1906
|
+
chain?: import('viem').Chain | null;
|
|
1907
|
+
dataSuffix?: `0x${string}`;
|
|
1908
|
+
gas?: bigint;
|
|
1909
|
+
gasPrice?: bigint;
|
|
1910
|
+
maxFeePerGas?: bigint;
|
|
1911
|
+
maxPriorityFeePerGas?: bigint;
|
|
1912
|
+
nonce?: number;
|
|
1913
|
+
value?: bigint;
|
|
1914
|
+
}): Promise<`0x${string}`>;
|
|
1915
|
+
/**
|
|
1916
|
+
* transferShares
|
|
1917
|
+
* nonpayable
|
|
1918
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1919
|
+
*/
|
|
1920
|
+
transferShares(to: `0x${string}`, sharesAmount: bigint, options?: {
|
|
1921
|
+
accessList?: import('viem').AccessList;
|
|
1922
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1923
|
+
chain?: import('viem').Chain | null;
|
|
1924
|
+
dataSuffix?: `0x${string}`;
|
|
1925
|
+
gas?: bigint;
|
|
1926
|
+
gasPrice?: bigint;
|
|
1927
|
+
maxFeePerGas?: bigint;
|
|
1928
|
+
maxPriorityFeePerGas?: bigint;
|
|
1929
|
+
nonce?: number;
|
|
1930
|
+
value?: bigint;
|
|
1931
|
+
}): Promise<`0x${string}`>;
|
|
1932
|
+
/**
|
|
1933
|
+
* transferSharesFrom
|
|
1934
|
+
* nonpayable
|
|
1935
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1936
|
+
*/
|
|
1937
|
+
transferSharesFrom(from: `0x${string}`, to: `0x${string}`, sharesAmount: bigint, options?: {
|
|
1938
|
+
accessList?: import('viem').AccessList;
|
|
1939
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1940
|
+
chain?: import('viem').Chain | null;
|
|
1941
|
+
dataSuffix?: `0x${string}`;
|
|
1942
|
+
gas?: bigint;
|
|
1943
|
+
gasPrice?: bigint;
|
|
1944
|
+
maxFeePerGas?: bigint;
|
|
1945
|
+
maxPriorityFeePerGas?: bigint;
|
|
1946
|
+
nonce?: number;
|
|
1947
|
+
value?: bigint;
|
|
1948
|
+
}): Promise<`0x${string}`>;
|
|
1949
|
+
/**
|
|
1950
|
+
* updateFeePerPeriod
|
|
1951
|
+
* nonpayable
|
|
1952
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1953
|
+
*/
|
|
1954
|
+
updateFeePerPeriod(newFeePerPeriod: bigint, options?: {
|
|
1955
|
+
accessList?: import('viem').AccessList;
|
|
1956
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1957
|
+
chain?: import('viem').Chain | null;
|
|
1958
|
+
dataSuffix?: `0x${string}`;
|
|
1959
|
+
gas?: bigint;
|
|
1960
|
+
gasPrice?: bigint;
|
|
1961
|
+
maxFeePerGas?: bigint;
|
|
1962
|
+
maxPriorityFeePerGas?: bigint;
|
|
1963
|
+
nonce?: number;
|
|
1964
|
+
value?: bigint;
|
|
1965
|
+
}): Promise<`0x${string}`>;
|
|
1966
|
+
/**
|
|
1967
|
+
* updateMultiplierValue
|
|
1968
|
+
* nonpayable
|
|
1969
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1970
|
+
*/
|
|
1971
|
+
updateMultiplierValue(pendingNewMultiplier: bigint, oldMultiplier: bigint, pendingNewMultiplierActivationTime: bigint, options?: {
|
|
1972
|
+
accessList?: import('viem').AccessList;
|
|
1973
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1974
|
+
chain?: import('viem').Chain | null;
|
|
1975
|
+
dataSuffix?: `0x${string}`;
|
|
1976
|
+
gas?: bigint;
|
|
1977
|
+
gasPrice?: bigint;
|
|
1978
|
+
maxFeePerGas?: bigint;
|
|
1979
|
+
maxPriorityFeePerGas?: bigint;
|
|
1980
|
+
nonce?: number;
|
|
1981
|
+
value?: bigint;
|
|
1982
|
+
}): Promise<`0x${string}`>;
|
|
1983
|
+
/**
|
|
1984
|
+
* updateMultiplierWithNonce
|
|
1985
|
+
* nonpayable
|
|
1986
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1987
|
+
*/
|
|
1988
|
+
updateMultiplierWithNonce(newMultiplier: bigint, oldMultiplier: bigint, newMultiplierNonce: bigint, pendingNewMultiplierActivationTime: bigint, options?: {
|
|
1989
|
+
accessList?: import('viem').AccessList;
|
|
1990
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1991
|
+
chain?: import('viem').Chain | null;
|
|
1992
|
+
dataSuffix?: `0x${string}`;
|
|
1993
|
+
gas?: bigint;
|
|
1994
|
+
gasPrice?: bigint;
|
|
1995
|
+
maxFeePerGas?: bigint;
|
|
1996
|
+
maxPriorityFeePerGas?: bigint;
|
|
1997
|
+
nonce?: number;
|
|
1998
|
+
value?: bigint;
|
|
1999
|
+
}): Promise<`0x${string}`>;
|
|
2000
|
+
/**
|
|
2001
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
2002
|
+
*
|
|
2003
|
+
* @example
|
|
2004
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
2005
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
2006
|
+
* console.log('Would succeed:', result.result);
|
|
2007
|
+
*/
|
|
2008
|
+
get simulate(): {
|
|
2009
|
+
/**
|
|
2010
|
+
* Simulate approve
|
|
2011
|
+
* Returns gas estimate and result without sending transaction
|
|
2012
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2013
|
+
*/
|
|
2014
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
2015
|
+
accessList?: import("viem").AccessList;
|
|
2016
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2017
|
+
chain?: import("viem").Chain | null;
|
|
2018
|
+
dataSuffix?: `0x${string}`;
|
|
2019
|
+
gas?: bigint;
|
|
2020
|
+
gasPrice?: bigint;
|
|
2021
|
+
maxFeePerGas?: bigint;
|
|
2022
|
+
maxPriorityFeePerGas?: bigint;
|
|
2023
|
+
nonce?: number;
|
|
2024
|
+
value?: bigint;
|
|
2025
|
+
}): Promise<boolean>;
|
|
2026
|
+
/**
|
|
2027
|
+
* Simulate burn
|
|
2028
|
+
* Returns gas estimate and result without sending transaction
|
|
2029
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2030
|
+
*/
|
|
2031
|
+
burn(account: `0x${string}`, amount: bigint, options?: {
|
|
2032
|
+
accessList?: import("viem").AccessList;
|
|
2033
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2034
|
+
chain?: import("viem").Chain | null;
|
|
2035
|
+
dataSuffix?: `0x${string}`;
|
|
2036
|
+
gas?: bigint;
|
|
2037
|
+
gasPrice?: bigint;
|
|
2038
|
+
maxFeePerGas?: bigint;
|
|
2039
|
+
maxPriorityFeePerGas?: bigint;
|
|
2040
|
+
nonce?: number;
|
|
2041
|
+
value?: bigint;
|
|
2042
|
+
}): Promise<void>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Simulate decreaseAllowance
|
|
2045
|
+
* Returns gas estimate and result without sending transaction
|
|
2046
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2047
|
+
*/
|
|
2048
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
2049
|
+
accessList?: import("viem").AccessList;
|
|
2050
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2051
|
+
chain?: import("viem").Chain | null;
|
|
2052
|
+
dataSuffix?: `0x${string}`;
|
|
2053
|
+
gas?: bigint;
|
|
2054
|
+
gasPrice?: bigint;
|
|
2055
|
+
maxFeePerGas?: bigint;
|
|
2056
|
+
maxPriorityFeePerGas?: bigint;
|
|
2057
|
+
nonce?: number;
|
|
2058
|
+
value?: bigint;
|
|
2059
|
+
}): Promise<boolean>;
|
|
2060
|
+
/**
|
|
2061
|
+
* Simulate delegatedTransfer
|
|
2062
|
+
* Returns gas estimate and result without sending transaction
|
|
2063
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2064
|
+
*/
|
|
2065
|
+
delegatedTransfer(owner: `0x${string}`, to: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
2066
|
+
accessList?: import("viem").AccessList;
|
|
2067
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2068
|
+
chain?: import("viem").Chain | null;
|
|
2069
|
+
dataSuffix?: `0x${string}`;
|
|
2070
|
+
gas?: bigint;
|
|
2071
|
+
gasPrice?: bigint;
|
|
2072
|
+
maxFeePerGas?: bigint;
|
|
2073
|
+
maxPriorityFeePerGas?: bigint;
|
|
2074
|
+
nonce?: number;
|
|
2075
|
+
value?: bigint;
|
|
2076
|
+
}): Promise<void>;
|
|
2077
|
+
/**
|
|
2078
|
+
* Simulate delegatedTransferShares
|
|
2079
|
+
* Returns gas estimate and result without sending transaction
|
|
2080
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2081
|
+
*/
|
|
2082
|
+
delegatedTransferShares(owner: `0x${string}`, to: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
2083
|
+
accessList?: import("viem").AccessList;
|
|
2084
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2085
|
+
chain?: import("viem").Chain | null;
|
|
2086
|
+
dataSuffix?: `0x${string}`;
|
|
2087
|
+
gas?: bigint;
|
|
2088
|
+
gasPrice?: bigint;
|
|
2089
|
+
maxFeePerGas?: bigint;
|
|
2090
|
+
maxPriorityFeePerGas?: bigint;
|
|
2091
|
+
nonce?: number;
|
|
2092
|
+
value?: bigint;
|
|
2093
|
+
}): Promise<void>;
|
|
2094
|
+
/**
|
|
2095
|
+
* Simulate increaseAllowance
|
|
2096
|
+
* Returns gas estimate and result without sending transaction
|
|
2097
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2098
|
+
*/
|
|
2099
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
2100
|
+
accessList?: import("viem").AccessList;
|
|
2101
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2102
|
+
chain?: import("viem").Chain | null;
|
|
2103
|
+
dataSuffix?: `0x${string}`;
|
|
2104
|
+
gas?: bigint;
|
|
2105
|
+
gasPrice?: bigint;
|
|
2106
|
+
maxFeePerGas?: bigint;
|
|
2107
|
+
maxPriorityFeePerGas?: bigint;
|
|
2108
|
+
nonce?: number;
|
|
2109
|
+
value?: bigint;
|
|
2110
|
+
}): Promise<boolean>;
|
|
2111
|
+
/**
|
|
2112
|
+
* Simulate initialize
|
|
2113
|
+
* Returns gas estimate and result without sending transaction
|
|
2114
|
+
* Supports multiple overloads: (string, string), (string, string, uint256, uint256, uint256)
|
|
2115
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2116
|
+
*/
|
|
2117
|
+
initialize(...args: any[]): Promise<any>;
|
|
2118
|
+
/**
|
|
2119
|
+
* Simulate initialize_v2
|
|
2120
|
+
* Returns gas estimate and result without sending transaction
|
|
2121
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2122
|
+
*/
|
|
2123
|
+
initialize_v2(_periodLength: bigint, _lastTimeFeeApplied: bigint, _feePerPeriod: bigint, options?: {
|
|
2124
|
+
accessList?: import("viem").AccessList;
|
|
2125
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2126
|
+
chain?: import("viem").Chain | null;
|
|
2127
|
+
dataSuffix?: `0x${string}`;
|
|
2128
|
+
gas?: bigint;
|
|
2129
|
+
gasPrice?: bigint;
|
|
2130
|
+
maxFeePerGas?: bigint;
|
|
2131
|
+
maxPriorityFeePerGas?: bigint;
|
|
2132
|
+
nonce?: number;
|
|
2133
|
+
value?: bigint;
|
|
2134
|
+
}): Promise<void>;
|
|
2135
|
+
/**
|
|
2136
|
+
* Simulate initialize_v3
|
|
2137
|
+
* Returns gas estimate and result without sending transaction
|
|
2138
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2139
|
+
*/
|
|
2140
|
+
initialize_v3(options?: {
|
|
2141
|
+
accessList?: import("viem").AccessList;
|
|
2142
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2143
|
+
chain?: import("viem").Chain | null;
|
|
2144
|
+
dataSuffix?: `0x${string}`;
|
|
2145
|
+
gas?: bigint;
|
|
2146
|
+
gasPrice?: bigint;
|
|
2147
|
+
maxFeePerGas?: bigint;
|
|
2148
|
+
maxPriorityFeePerGas?: bigint;
|
|
2149
|
+
nonce?: number;
|
|
2150
|
+
value?: bigint;
|
|
2151
|
+
}): Promise<void>;
|
|
2152
|
+
/**
|
|
2153
|
+
* Simulate initialize_v4
|
|
2154
|
+
* Returns gas estimate and result without sending transaction
|
|
2155
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2156
|
+
*/
|
|
2157
|
+
initialize_v4(_pastMultipliersUpdates: IBackedAutoFeeToken_MultiplierUpdate[], options?: {
|
|
2158
|
+
accessList?: import("viem").AccessList;
|
|
2159
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2160
|
+
chain?: import("viem").Chain | null;
|
|
2161
|
+
dataSuffix?: `0x${string}`;
|
|
2162
|
+
gas?: bigint;
|
|
2163
|
+
gasPrice?: bigint;
|
|
2164
|
+
maxFeePerGas?: bigint;
|
|
2165
|
+
maxPriorityFeePerGas?: bigint;
|
|
2166
|
+
nonce?: number;
|
|
2167
|
+
value?: bigint;
|
|
2168
|
+
}): Promise<void>;
|
|
2169
|
+
/**
|
|
2170
|
+
* Simulate mint
|
|
2171
|
+
* Returns gas estimate and result without sending transaction
|
|
2172
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2173
|
+
*/
|
|
2174
|
+
mint(account: `0x${string}`, amount: bigint, options?: {
|
|
2175
|
+
accessList?: import("viem").AccessList;
|
|
2176
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2177
|
+
chain?: import("viem").Chain | null;
|
|
2178
|
+
dataSuffix?: `0x${string}`;
|
|
2179
|
+
gas?: bigint;
|
|
2180
|
+
gasPrice?: bigint;
|
|
2181
|
+
maxFeePerGas?: bigint;
|
|
2182
|
+
maxPriorityFeePerGas?: bigint;
|
|
2183
|
+
nonce?: number;
|
|
2184
|
+
value?: bigint;
|
|
2185
|
+
}): Promise<void>;
|
|
2186
|
+
/**
|
|
2187
|
+
* Simulate permit
|
|
2188
|
+
* Returns gas estimate and result without sending transaction
|
|
2189
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2190
|
+
*/
|
|
2191
|
+
permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
2192
|
+
accessList?: import("viem").AccessList;
|
|
2193
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2194
|
+
chain?: import("viem").Chain | null;
|
|
2195
|
+
dataSuffix?: `0x${string}`;
|
|
2196
|
+
gas?: bigint;
|
|
2197
|
+
gasPrice?: bigint;
|
|
2198
|
+
maxFeePerGas?: bigint;
|
|
2199
|
+
maxPriorityFeePerGas?: bigint;
|
|
2200
|
+
nonce?: number;
|
|
2201
|
+
value?: bigint;
|
|
2202
|
+
}): Promise<void>;
|
|
2203
|
+
/**
|
|
2204
|
+
* Simulate renounceOwnership
|
|
2205
|
+
* Returns gas estimate and result without sending transaction
|
|
2206
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2207
|
+
*/
|
|
2208
|
+
renounceOwnership(options?: {
|
|
2209
|
+
accessList?: import("viem").AccessList;
|
|
2210
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2211
|
+
chain?: import("viem").Chain | null;
|
|
2212
|
+
dataSuffix?: `0x${string}`;
|
|
2213
|
+
gas?: bigint;
|
|
2214
|
+
gasPrice?: bigint;
|
|
2215
|
+
maxFeePerGas?: bigint;
|
|
2216
|
+
maxPriorityFeePerGas?: bigint;
|
|
2217
|
+
nonce?: number;
|
|
2218
|
+
value?: bigint;
|
|
2219
|
+
}): Promise<void>;
|
|
2220
|
+
/**
|
|
2221
|
+
* Simulate setBurner
|
|
2222
|
+
* Returns gas estimate and result without sending transaction
|
|
2223
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2224
|
+
*/
|
|
2225
|
+
setBurner(newBurner: `0x${string}`, options?: {
|
|
2226
|
+
accessList?: import("viem").AccessList;
|
|
2227
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2228
|
+
chain?: import("viem").Chain | null;
|
|
2229
|
+
dataSuffix?: `0x${string}`;
|
|
2230
|
+
gas?: bigint;
|
|
2231
|
+
gasPrice?: bigint;
|
|
2232
|
+
maxFeePerGas?: bigint;
|
|
2233
|
+
maxPriorityFeePerGas?: bigint;
|
|
2234
|
+
nonce?: number;
|
|
2235
|
+
value?: bigint;
|
|
2236
|
+
}): Promise<void>;
|
|
2237
|
+
/**
|
|
2238
|
+
* Simulate setDelegateMode
|
|
2239
|
+
* Returns gas estimate and result without sending transaction
|
|
2240
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2241
|
+
*/
|
|
2242
|
+
setDelegateMode(_delegateMode: boolean, options?: {
|
|
2243
|
+
accessList?: import("viem").AccessList;
|
|
2244
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2245
|
+
chain?: import("viem").Chain | null;
|
|
2246
|
+
dataSuffix?: `0x${string}`;
|
|
2247
|
+
gas?: bigint;
|
|
2248
|
+
gasPrice?: bigint;
|
|
2249
|
+
maxFeePerGas?: bigint;
|
|
2250
|
+
maxPriorityFeePerGas?: bigint;
|
|
2251
|
+
nonce?: number;
|
|
2252
|
+
value?: bigint;
|
|
2253
|
+
}): Promise<void>;
|
|
2254
|
+
/**
|
|
2255
|
+
* Simulate setDelegateWhitelist
|
|
2256
|
+
* Returns gas estimate and result without sending transaction
|
|
2257
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2258
|
+
*/
|
|
2259
|
+
setDelegateWhitelist(whitelistAddress: `0x${string}`, status: boolean, options?: {
|
|
2260
|
+
accessList?: import("viem").AccessList;
|
|
2261
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2262
|
+
chain?: import("viem").Chain | null;
|
|
2263
|
+
dataSuffix?: `0x${string}`;
|
|
2264
|
+
gas?: bigint;
|
|
2265
|
+
gasPrice?: bigint;
|
|
2266
|
+
maxFeePerGas?: bigint;
|
|
2267
|
+
maxPriorityFeePerGas?: bigint;
|
|
2268
|
+
nonce?: number;
|
|
2269
|
+
value?: bigint;
|
|
2270
|
+
}): Promise<void>;
|
|
2271
|
+
/**
|
|
2272
|
+
* Simulate setLastTimeFeeApplied
|
|
2273
|
+
* Returns gas estimate and result without sending transaction
|
|
2274
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2275
|
+
*/
|
|
2276
|
+
setLastTimeFeeApplied(newLastTimeFeeApplied: bigint, options?: {
|
|
2277
|
+
accessList?: import("viem").AccessList;
|
|
2278
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2279
|
+
chain?: import("viem").Chain | null;
|
|
2280
|
+
dataSuffix?: `0x${string}`;
|
|
2281
|
+
gas?: bigint;
|
|
2282
|
+
gasPrice?: bigint;
|
|
2283
|
+
maxFeePerGas?: bigint;
|
|
2284
|
+
maxPriorityFeePerGas?: bigint;
|
|
2285
|
+
nonce?: number;
|
|
2286
|
+
value?: bigint;
|
|
2287
|
+
}): Promise<void>;
|
|
2288
|
+
/**
|
|
2289
|
+
* Simulate setMinter
|
|
2290
|
+
* Returns gas estimate and result without sending transaction
|
|
2291
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2292
|
+
*/
|
|
2293
|
+
setMinter(newMinter: `0x${string}`, options?: {
|
|
2294
|
+
accessList?: import("viem").AccessList;
|
|
2295
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2296
|
+
chain?: import("viem").Chain | null;
|
|
2297
|
+
dataSuffix?: `0x${string}`;
|
|
2298
|
+
gas?: bigint;
|
|
2299
|
+
gasPrice?: bigint;
|
|
2300
|
+
maxFeePerGas?: bigint;
|
|
2301
|
+
maxPriorityFeePerGas?: bigint;
|
|
2302
|
+
nonce?: number;
|
|
2303
|
+
value?: bigint;
|
|
2304
|
+
}): Promise<void>;
|
|
2305
|
+
/**
|
|
2306
|
+
* Simulate setMultiplierUpdater
|
|
2307
|
+
* Returns gas estimate and result without sending transaction
|
|
2308
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2309
|
+
*/
|
|
2310
|
+
setMultiplierUpdater(newMultiplierUpdater: `0x${string}`, options?: {
|
|
2311
|
+
accessList?: import("viem").AccessList;
|
|
2312
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2313
|
+
chain?: import("viem").Chain | null;
|
|
2314
|
+
dataSuffix?: `0x${string}`;
|
|
2315
|
+
gas?: bigint;
|
|
2316
|
+
gasPrice?: bigint;
|
|
2317
|
+
maxFeePerGas?: bigint;
|
|
2318
|
+
maxPriorityFeePerGas?: bigint;
|
|
2319
|
+
nonce?: number;
|
|
2320
|
+
value?: bigint;
|
|
2321
|
+
}): Promise<void>;
|
|
2322
|
+
/**
|
|
2323
|
+
* Simulate setPause
|
|
2324
|
+
* Returns gas estimate and result without sending transaction
|
|
2325
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2326
|
+
*/
|
|
2327
|
+
setPause(newPauseMode: boolean, options?: {
|
|
2328
|
+
accessList?: import("viem").AccessList;
|
|
2329
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2330
|
+
chain?: import("viem").Chain | null;
|
|
2331
|
+
dataSuffix?: `0x${string}`;
|
|
2332
|
+
gas?: bigint;
|
|
2333
|
+
gasPrice?: bigint;
|
|
2334
|
+
maxFeePerGas?: bigint;
|
|
2335
|
+
maxPriorityFeePerGas?: bigint;
|
|
2336
|
+
nonce?: number;
|
|
2337
|
+
value?: bigint;
|
|
2338
|
+
}): Promise<void>;
|
|
2339
|
+
/**
|
|
2340
|
+
* Simulate setPauser
|
|
2341
|
+
* Returns gas estimate and result without sending transaction
|
|
2342
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2343
|
+
*/
|
|
2344
|
+
setPauser(newPauser: `0x${string}`, options?: {
|
|
2345
|
+
accessList?: import("viem").AccessList;
|
|
2346
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2347
|
+
chain?: import("viem").Chain | null;
|
|
2348
|
+
dataSuffix?: `0x${string}`;
|
|
2349
|
+
gas?: bigint;
|
|
2350
|
+
gasPrice?: bigint;
|
|
2351
|
+
maxFeePerGas?: bigint;
|
|
2352
|
+
maxPriorityFeePerGas?: bigint;
|
|
2353
|
+
nonce?: number;
|
|
2354
|
+
value?: bigint;
|
|
2355
|
+
}): Promise<void>;
|
|
2356
|
+
/**
|
|
2357
|
+
* Simulate setPeriodLength
|
|
2358
|
+
* Returns gas estimate and result without sending transaction
|
|
2359
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2360
|
+
*/
|
|
2361
|
+
setPeriodLength(newPeriodLength: bigint, options?: {
|
|
2362
|
+
accessList?: import("viem").AccessList;
|
|
2363
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2364
|
+
chain?: import("viem").Chain | null;
|
|
2365
|
+
dataSuffix?: `0x${string}`;
|
|
2366
|
+
gas?: bigint;
|
|
2367
|
+
gasPrice?: bigint;
|
|
2368
|
+
maxFeePerGas?: bigint;
|
|
2369
|
+
maxPriorityFeePerGas?: bigint;
|
|
2370
|
+
nonce?: number;
|
|
2371
|
+
value?: bigint;
|
|
2372
|
+
}): Promise<void>;
|
|
2373
|
+
/**
|
|
2374
|
+
* Simulate setSanctionsList
|
|
2375
|
+
* Returns gas estimate and result without sending transaction
|
|
2376
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2377
|
+
*/
|
|
2378
|
+
setSanctionsList(newSanctionsList: `0x${string}`, options?: {
|
|
2379
|
+
accessList?: import("viem").AccessList;
|
|
2380
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2381
|
+
chain?: import("viem").Chain | null;
|
|
2382
|
+
dataSuffix?: `0x${string}`;
|
|
2383
|
+
gas?: bigint;
|
|
2384
|
+
gasPrice?: bigint;
|
|
2385
|
+
maxFeePerGas?: bigint;
|
|
2386
|
+
maxPriorityFeePerGas?: bigint;
|
|
2387
|
+
nonce?: number;
|
|
2388
|
+
value?: bigint;
|
|
2389
|
+
}): Promise<void>;
|
|
2390
|
+
/**
|
|
2391
|
+
* Simulate setTerms
|
|
2392
|
+
* Returns gas estimate and result without sending transaction
|
|
2393
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2394
|
+
*/
|
|
2395
|
+
setTerms(newTerms: string, options?: {
|
|
2396
|
+
accessList?: import("viem").AccessList;
|
|
2397
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2398
|
+
chain?: import("viem").Chain | null;
|
|
2399
|
+
dataSuffix?: `0x${string}`;
|
|
2400
|
+
gas?: bigint;
|
|
2401
|
+
gasPrice?: bigint;
|
|
2402
|
+
maxFeePerGas?: bigint;
|
|
2403
|
+
maxPriorityFeePerGas?: bigint;
|
|
2404
|
+
nonce?: number;
|
|
2405
|
+
value?: bigint;
|
|
2406
|
+
}): Promise<void>;
|
|
2407
|
+
/**
|
|
2408
|
+
* Simulate transfer
|
|
2409
|
+
* Returns gas estimate and result without sending transaction
|
|
2410
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2411
|
+
*/
|
|
2412
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
2413
|
+
accessList?: import("viem").AccessList;
|
|
2414
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2415
|
+
chain?: import("viem").Chain | null;
|
|
2416
|
+
dataSuffix?: `0x${string}`;
|
|
2417
|
+
gas?: bigint;
|
|
2418
|
+
gasPrice?: bigint;
|
|
2419
|
+
maxFeePerGas?: bigint;
|
|
2420
|
+
maxPriorityFeePerGas?: bigint;
|
|
2421
|
+
nonce?: number;
|
|
2422
|
+
value?: bigint;
|
|
2423
|
+
}): Promise<boolean>;
|
|
2424
|
+
/**
|
|
2425
|
+
* Simulate transferFrom
|
|
2426
|
+
* Returns gas estimate and result without sending transaction
|
|
2427
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2428
|
+
*/
|
|
2429
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
2430
|
+
accessList?: import("viem").AccessList;
|
|
2431
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2432
|
+
chain?: import("viem").Chain | null;
|
|
2433
|
+
dataSuffix?: `0x${string}`;
|
|
2434
|
+
gas?: bigint;
|
|
2435
|
+
gasPrice?: bigint;
|
|
2436
|
+
maxFeePerGas?: bigint;
|
|
2437
|
+
maxPriorityFeePerGas?: bigint;
|
|
2438
|
+
nonce?: number;
|
|
2439
|
+
value?: bigint;
|
|
2440
|
+
}): Promise<boolean>;
|
|
2441
|
+
/**
|
|
2442
|
+
* Simulate transferOwnership
|
|
2443
|
+
* Returns gas estimate and result without sending transaction
|
|
2444
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2445
|
+
*/
|
|
2446
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
2447
|
+
accessList?: import("viem").AccessList;
|
|
2448
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2449
|
+
chain?: import("viem").Chain | null;
|
|
2450
|
+
dataSuffix?: `0x${string}`;
|
|
2451
|
+
gas?: bigint;
|
|
2452
|
+
gasPrice?: bigint;
|
|
2453
|
+
maxFeePerGas?: bigint;
|
|
2454
|
+
maxPriorityFeePerGas?: bigint;
|
|
2455
|
+
nonce?: number;
|
|
2456
|
+
value?: bigint;
|
|
2457
|
+
}): Promise<void>;
|
|
2458
|
+
/**
|
|
2459
|
+
* Simulate transferShares
|
|
2460
|
+
* Returns gas estimate and result without sending transaction
|
|
2461
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2462
|
+
*/
|
|
2463
|
+
transferShares(to: `0x${string}`, sharesAmount: bigint, options?: {
|
|
2464
|
+
accessList?: import("viem").AccessList;
|
|
2465
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2466
|
+
chain?: import("viem").Chain | null;
|
|
2467
|
+
dataSuffix?: `0x${string}`;
|
|
2468
|
+
gas?: bigint;
|
|
2469
|
+
gasPrice?: bigint;
|
|
2470
|
+
maxFeePerGas?: bigint;
|
|
2471
|
+
maxPriorityFeePerGas?: bigint;
|
|
2472
|
+
nonce?: number;
|
|
2473
|
+
value?: bigint;
|
|
2474
|
+
}): Promise<boolean>;
|
|
2475
|
+
/**
|
|
2476
|
+
* Simulate transferSharesFrom
|
|
2477
|
+
* Returns gas estimate and result without sending transaction
|
|
2478
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2479
|
+
*/
|
|
2480
|
+
transferSharesFrom(from: `0x${string}`, to: `0x${string}`, sharesAmount: bigint, options?: {
|
|
2481
|
+
accessList?: import("viem").AccessList;
|
|
2482
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2483
|
+
chain?: import("viem").Chain | null;
|
|
2484
|
+
dataSuffix?: `0x${string}`;
|
|
2485
|
+
gas?: bigint;
|
|
2486
|
+
gasPrice?: bigint;
|
|
2487
|
+
maxFeePerGas?: bigint;
|
|
2488
|
+
maxPriorityFeePerGas?: bigint;
|
|
2489
|
+
nonce?: number;
|
|
2490
|
+
value?: bigint;
|
|
2491
|
+
}): Promise<boolean>;
|
|
2492
|
+
/**
|
|
2493
|
+
* Simulate updateFeePerPeriod
|
|
2494
|
+
* Returns gas estimate and result without sending transaction
|
|
2495
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2496
|
+
*/
|
|
2497
|
+
updateFeePerPeriod(newFeePerPeriod: bigint, options?: {
|
|
2498
|
+
accessList?: import("viem").AccessList;
|
|
2499
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2500
|
+
chain?: import("viem").Chain | null;
|
|
2501
|
+
dataSuffix?: `0x${string}`;
|
|
2502
|
+
gas?: bigint;
|
|
2503
|
+
gasPrice?: bigint;
|
|
2504
|
+
maxFeePerGas?: bigint;
|
|
2505
|
+
maxPriorityFeePerGas?: bigint;
|
|
2506
|
+
nonce?: number;
|
|
2507
|
+
value?: bigint;
|
|
2508
|
+
}): Promise<void>;
|
|
2509
|
+
/**
|
|
2510
|
+
* Simulate updateMultiplierValue
|
|
2511
|
+
* Returns gas estimate and result without sending transaction
|
|
2512
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2513
|
+
*/
|
|
2514
|
+
updateMultiplierValue(pendingNewMultiplier: bigint, oldMultiplier: bigint, pendingNewMultiplierActivationTime: bigint, options?: {
|
|
2515
|
+
accessList?: import("viem").AccessList;
|
|
2516
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2517
|
+
chain?: import("viem").Chain | null;
|
|
2518
|
+
dataSuffix?: `0x${string}`;
|
|
2519
|
+
gas?: bigint;
|
|
2520
|
+
gasPrice?: bigint;
|
|
2521
|
+
maxFeePerGas?: bigint;
|
|
2522
|
+
maxPriorityFeePerGas?: bigint;
|
|
2523
|
+
nonce?: number;
|
|
2524
|
+
value?: bigint;
|
|
2525
|
+
}): Promise<void>;
|
|
2526
|
+
/**
|
|
2527
|
+
* Simulate updateMultiplierWithNonce
|
|
2528
|
+
* Returns gas estimate and result without sending transaction
|
|
2529
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2530
|
+
*/
|
|
2531
|
+
updateMultiplierWithNonce(newMultiplier: bigint, oldMultiplier: bigint, newMultiplierNonce: bigint, pendingNewMultiplierActivationTime: bigint, options?: {
|
|
2532
|
+
accessList?: import("viem").AccessList;
|
|
2533
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2534
|
+
chain?: import("viem").Chain | null;
|
|
2535
|
+
dataSuffix?: `0x${string}`;
|
|
2536
|
+
gas?: bigint;
|
|
2537
|
+
gasPrice?: bigint;
|
|
2538
|
+
maxFeePerGas?: bigint;
|
|
2539
|
+
maxPriorityFeePerGas?: bigint;
|
|
2540
|
+
nonce?: number;
|
|
2541
|
+
value?: bigint;
|
|
2542
|
+
}): Promise<void>;
|
|
2543
|
+
};
|
|
2544
|
+
/**
|
|
2545
|
+
* Watch contract events
|
|
2546
|
+
*
|
|
2547
|
+
* @example
|
|
2548
|
+
* // Watch all Transfer events
|
|
2549
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2550
|
+
* console.log('Transfer:', event);
|
|
2551
|
+
* });
|
|
2552
|
+
*
|
|
2553
|
+
* // Stop watching
|
|
2554
|
+
* unwatch();
|
|
2555
|
+
*/
|
|
2556
|
+
get watch(): {
|
|
2557
|
+
/**
|
|
2558
|
+
* Watch Approval events
|
|
2559
|
+
* @param callback Function to call when event is emitted
|
|
2560
|
+
* @param filter Optional filter for indexed parameters
|
|
2561
|
+
* @returns Unwatch function to stop listening
|
|
2562
|
+
*/
|
|
2563
|
+
Approval: (callback: (event: {
|
|
2564
|
+
owner: `0x${string}`;
|
|
2565
|
+
spender: `0x${string}`;
|
|
2566
|
+
value: bigint;
|
|
2567
|
+
}) => void, filter?: {
|
|
2568
|
+
owner: `0x${string}`;
|
|
2569
|
+
spender: `0x${string}`;
|
|
2570
|
+
}) => () => void;
|
|
2571
|
+
/**
|
|
2572
|
+
* Watch DelegateModeChange events
|
|
2573
|
+
* @param callback Function to call when event is emitted
|
|
2574
|
+
* @param filter Optional filter for indexed parameters
|
|
2575
|
+
* @returns Unwatch function to stop listening
|
|
2576
|
+
*/
|
|
2577
|
+
DelegateModeChange: (callback: (event: {
|
|
2578
|
+
delegateMode: boolean;
|
|
2579
|
+
}) => void) => () => void;
|
|
2580
|
+
/**
|
|
2581
|
+
* Watch DelegateWhitelistChange events
|
|
2582
|
+
* @param callback Function to call when event is emitted
|
|
2583
|
+
* @param filter Optional filter for indexed parameters
|
|
2584
|
+
* @returns Unwatch function to stop listening
|
|
2585
|
+
*/
|
|
2586
|
+
DelegateWhitelistChange: (callback: (event: {
|
|
2587
|
+
whitelistAddress: `0x${string}`;
|
|
2588
|
+
status: boolean;
|
|
2589
|
+
}) => void, filter?: {
|
|
2590
|
+
whitelistAddress: `0x${string}`;
|
|
2591
|
+
}) => () => void;
|
|
2592
|
+
/**
|
|
2593
|
+
* Watch MultiplierScheduleOverridden events
|
|
2594
|
+
* @param callback Function to call when event is emitted
|
|
2595
|
+
* @param filter Optional filter for indexed parameters
|
|
2596
|
+
* @returns Unwatch function to stop listening
|
|
2597
|
+
*/
|
|
2598
|
+
MultiplierScheduleOverridden: (callback: (event: {
|
|
2599
|
+
overriddenMultiplier: bigint;
|
|
2600
|
+
overriddenActivationTime: bigint;
|
|
2601
|
+
newMultiplier: bigint;
|
|
2602
|
+
newActivationTime: bigint;
|
|
2603
|
+
}) => void) => () => void;
|
|
2604
|
+
/**
|
|
2605
|
+
* Watch MultiplierScheduled events
|
|
2606
|
+
* @param callback Function to call when event is emitted
|
|
2607
|
+
* @param filter Optional filter for indexed parameters
|
|
2608
|
+
* @returns Unwatch function to stop listening
|
|
2609
|
+
*/
|
|
2610
|
+
MultiplierScheduled: (callback: (event: {
|
|
2611
|
+
newMultiplier: bigint;
|
|
2612
|
+
activationTime: bigint;
|
|
2613
|
+
}) => void) => () => void;
|
|
2614
|
+
/**
|
|
2615
|
+
* Watch MultiplierUpdated events
|
|
2616
|
+
* @param callback Function to call when event is emitted
|
|
2617
|
+
* @param filter Optional filter for indexed parameters
|
|
2618
|
+
* @returns Unwatch function to stop listening
|
|
2619
|
+
*/
|
|
2620
|
+
MultiplierUpdated: (callback: (event: {
|
|
2621
|
+
value: bigint;
|
|
2622
|
+
}) => void) => () => void;
|
|
2623
|
+
/**
|
|
2624
|
+
* Watch NewBurner events
|
|
2625
|
+
* @param callback Function to call when event is emitted
|
|
2626
|
+
* @param filter Optional filter for indexed parameters
|
|
2627
|
+
* @returns Unwatch function to stop listening
|
|
2628
|
+
*/
|
|
2629
|
+
NewBurner: (callback: (event: {
|
|
2630
|
+
newBurner: `0x${string}`;
|
|
2631
|
+
}) => void, filter?: {
|
|
2632
|
+
newBurner: `0x${string}`;
|
|
2633
|
+
}) => () => void;
|
|
2634
|
+
/**
|
|
2635
|
+
* Watch NewMinter events
|
|
2636
|
+
* @param callback Function to call when event is emitted
|
|
2637
|
+
* @param filter Optional filter for indexed parameters
|
|
2638
|
+
* @returns Unwatch function to stop listening
|
|
2639
|
+
*/
|
|
2640
|
+
NewMinter: (callback: (event: {
|
|
2641
|
+
newMinter: `0x${string}`;
|
|
2642
|
+
}) => void, filter?: {
|
|
2643
|
+
newMinter: `0x${string}`;
|
|
2644
|
+
}) => () => void;
|
|
2645
|
+
/**
|
|
2646
|
+
* Watch NewMultiplierUpdater events
|
|
2647
|
+
* @param callback Function to call when event is emitted
|
|
2648
|
+
* @param filter Optional filter for indexed parameters
|
|
2649
|
+
* @returns Unwatch function to stop listening
|
|
2650
|
+
*/
|
|
2651
|
+
NewMultiplierUpdater: (callback: (event: {
|
|
2652
|
+
newMultiplierUpdater: `0x${string}`;
|
|
2653
|
+
}) => void, filter?: {
|
|
2654
|
+
newMultiplierUpdater: `0x${string}`;
|
|
2655
|
+
}) => () => void;
|
|
2656
|
+
/**
|
|
2657
|
+
* Watch NewPauser events
|
|
2658
|
+
* @param callback Function to call when event is emitted
|
|
2659
|
+
* @param filter Optional filter for indexed parameters
|
|
2660
|
+
* @returns Unwatch function to stop listening
|
|
2661
|
+
*/
|
|
2662
|
+
NewPauser: (callback: (event: {
|
|
2663
|
+
newPauser: `0x${string}`;
|
|
2664
|
+
}) => void, filter?: {
|
|
2665
|
+
newPauser: `0x${string}`;
|
|
2666
|
+
}) => () => void;
|
|
2667
|
+
/**
|
|
2668
|
+
* Watch NewSanctionsList events
|
|
2669
|
+
* @param callback Function to call when event is emitted
|
|
2670
|
+
* @param filter Optional filter for indexed parameters
|
|
2671
|
+
* @returns Unwatch function to stop listening
|
|
2672
|
+
*/
|
|
2673
|
+
NewSanctionsList: (callback: (event: {
|
|
2674
|
+
newSanctionsList: `0x${string}`;
|
|
2675
|
+
}) => void, filter?: {
|
|
2676
|
+
newSanctionsList: `0x${string}`;
|
|
2677
|
+
}) => () => void;
|
|
2678
|
+
/**
|
|
2679
|
+
* Watch NewTerms events
|
|
2680
|
+
* @param callback Function to call when event is emitted
|
|
2681
|
+
* @param filter Optional filter for indexed parameters
|
|
2682
|
+
* @returns Unwatch function to stop listening
|
|
2683
|
+
*/
|
|
2684
|
+
NewTerms: (callback: (event: {
|
|
2685
|
+
newTerms: string;
|
|
2686
|
+
}) => void) => () => void;
|
|
2687
|
+
/**
|
|
2688
|
+
* Watch OwnershipTransferred events
|
|
2689
|
+
* @param callback Function to call when event is emitted
|
|
2690
|
+
* @param filter Optional filter for indexed parameters
|
|
2691
|
+
* @returns Unwatch function to stop listening
|
|
2692
|
+
*/
|
|
2693
|
+
OwnershipTransferred: (callback: (event: {
|
|
2694
|
+
previousOwner: `0x${string}`;
|
|
2695
|
+
newOwner: `0x${string}`;
|
|
2696
|
+
}) => void, filter?: {
|
|
2697
|
+
previousOwner: `0x${string}`;
|
|
2698
|
+
newOwner: `0x${string}`;
|
|
2699
|
+
}) => () => void;
|
|
2700
|
+
/**
|
|
2701
|
+
* Watch PauseModeChange events
|
|
2702
|
+
* @param callback Function to call when event is emitted
|
|
2703
|
+
* @param filter Optional filter for indexed parameters
|
|
2704
|
+
* @returns Unwatch function to stop listening
|
|
2705
|
+
*/
|
|
2706
|
+
PauseModeChange: (callback: (event: {
|
|
2707
|
+
pauseMode: boolean;
|
|
2708
|
+
}) => void) => () => void;
|
|
2709
|
+
/**
|
|
2710
|
+
* Watch Transfer events
|
|
2711
|
+
* @param callback Function to call when event is emitted
|
|
2712
|
+
* @param filter Optional filter for indexed parameters
|
|
2713
|
+
* @returns Unwatch function to stop listening
|
|
2714
|
+
*/
|
|
2715
|
+
Transfer: (callback: (event: {
|
|
2716
|
+
from: `0x${string}`;
|
|
2717
|
+
to: `0x${string}`;
|
|
2718
|
+
value: bigint;
|
|
2719
|
+
}) => void, filter?: {
|
|
2720
|
+
from: `0x${string}`;
|
|
2721
|
+
to: `0x${string}`;
|
|
2722
|
+
}) => () => void;
|
|
2723
|
+
/**
|
|
2724
|
+
* Watch TransferShares events
|
|
2725
|
+
* @param callback Function to call when event is emitted
|
|
2726
|
+
* @param filter Optional filter for indexed parameters
|
|
2727
|
+
* @returns Unwatch function to stop listening
|
|
2728
|
+
*/
|
|
2729
|
+
TransferShares: (callback: (event: {
|
|
2730
|
+
from: `0x${string}`;
|
|
2731
|
+
to: `0x${string}`;
|
|
2732
|
+
value: bigint;
|
|
2733
|
+
}) => void, filter?: {
|
|
2734
|
+
from: `0x${string}`;
|
|
2735
|
+
to: `0x${string}`;
|
|
2736
|
+
}) => () => void;
|
|
2737
|
+
};
|
|
2738
|
+
}
|