@gitmyabi/usad 0.0.0-stage → 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.
@@ -0,0 +1,1595 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * USADv2_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const USADv2_jsonAbi: readonly [{
8
+ readonly inputs: readonly [];
9
+ readonly stateMutability: "nonpayable";
10
+ readonly type: "constructor";
11
+ }, {
12
+ readonly inputs: readonly [{
13
+ readonly internalType: "address";
14
+ readonly name: "account";
15
+ readonly type: "address";
16
+ }];
17
+ readonly name: "BlacklistedRecipient";
18
+ readonly type: "error";
19
+ }, {
20
+ readonly inputs: readonly [{
21
+ readonly internalType: "address";
22
+ readonly name: "account";
23
+ readonly type: "address";
24
+ }];
25
+ readonly name: "BlacklistedSender";
26
+ readonly type: "error";
27
+ }, {
28
+ readonly anonymous: false;
29
+ readonly inputs: readonly [{
30
+ readonly indexed: true;
31
+ readonly internalType: "bytes32";
32
+ readonly name: "actionId";
33
+ readonly type: "bytes32";
34
+ }];
35
+ readonly name: "ActionCancelled";
36
+ readonly type: "event";
37
+ }, {
38
+ readonly anonymous: false;
39
+ readonly inputs: readonly [{
40
+ readonly indexed: true;
41
+ readonly internalType: "bytes32";
42
+ readonly name: "actionId";
43
+ readonly type: "bytes32";
44
+ }, {
45
+ readonly indexed: true;
46
+ readonly internalType: "bytes4";
47
+ readonly name: "selector";
48
+ readonly type: "bytes4";
49
+ }, {
50
+ readonly indexed: true;
51
+ readonly internalType: "address";
52
+ readonly name: "target";
53
+ readonly type: "address";
54
+ }];
55
+ readonly name: "ActionExecuted";
56
+ readonly type: "event";
57
+ }, {
58
+ readonly anonymous: false;
59
+ readonly inputs: readonly [{
60
+ readonly indexed: true;
61
+ readonly internalType: "bytes32";
62
+ readonly name: "actionId";
63
+ readonly type: "bytes32";
64
+ }, {
65
+ readonly indexed: true;
66
+ readonly internalType: "bytes4";
67
+ readonly name: "selector";
68
+ readonly type: "bytes4";
69
+ }, {
70
+ readonly indexed: true;
71
+ readonly internalType: "address";
72
+ readonly name: "target";
73
+ readonly type: "address";
74
+ }, {
75
+ readonly indexed: false;
76
+ readonly internalType: "uint256";
77
+ readonly name: "executeAfter";
78
+ readonly type: "uint256";
79
+ }];
80
+ readonly name: "ActionQueued";
81
+ readonly type: "event";
82
+ }, {
83
+ readonly anonymous: false;
84
+ readonly inputs: readonly [{
85
+ readonly indexed: true;
86
+ readonly internalType: "address";
87
+ readonly name: "target";
88
+ readonly type: "address";
89
+ }, {
90
+ readonly indexed: true;
91
+ readonly internalType: "bytes32";
92
+ readonly name: "actionId";
93
+ readonly type: "bytes32";
94
+ }, {
95
+ readonly indexed: false;
96
+ readonly internalType: "uint256";
97
+ readonly name: "executedAt";
98
+ readonly type: "uint256";
99
+ }];
100
+ readonly name: "AddressBlacklisted";
101
+ readonly type: "event";
102
+ }, {
103
+ readonly anonymous: false;
104
+ readonly inputs: readonly [{
105
+ readonly indexed: true;
106
+ readonly internalType: "address";
107
+ readonly name: "target";
108
+ readonly type: "address";
109
+ }, {
110
+ readonly indexed: true;
111
+ readonly internalType: "bytes32";
112
+ readonly name: "actionId";
113
+ readonly type: "bytes32";
114
+ }, {
115
+ readonly indexed: false;
116
+ readonly internalType: "uint256";
117
+ readonly name: "executedAt";
118
+ readonly type: "uint256";
119
+ }];
120
+ readonly name: "AddressUnblacklisted";
121
+ readonly type: "event";
122
+ }, {
123
+ readonly anonymous: false;
124
+ readonly inputs: readonly [{
125
+ readonly indexed: true;
126
+ readonly internalType: "address";
127
+ readonly name: "owner";
128
+ readonly type: "address";
129
+ }, {
130
+ readonly indexed: true;
131
+ readonly internalType: "address";
132
+ readonly name: "spender";
133
+ readonly type: "address";
134
+ }, {
135
+ readonly indexed: false;
136
+ readonly internalType: "uint256";
137
+ readonly name: "value";
138
+ readonly type: "uint256";
139
+ }];
140
+ readonly name: "Approval";
141
+ readonly type: "event";
142
+ }, {
143
+ readonly anonymous: false;
144
+ readonly inputs: readonly [{
145
+ readonly indexed: false;
146
+ readonly internalType: "uint8";
147
+ readonly name: "version";
148
+ readonly type: "uint8";
149
+ }];
150
+ readonly name: "Initialized";
151
+ readonly type: "event";
152
+ }, {
153
+ readonly anonymous: false;
154
+ readonly inputs: readonly [{
155
+ readonly indexed: true;
156
+ readonly internalType: "address";
157
+ readonly name: "previousOwner";
158
+ readonly type: "address";
159
+ }, {
160
+ readonly indexed: true;
161
+ readonly internalType: "address";
162
+ readonly name: "newOwner";
163
+ readonly type: "address";
164
+ }];
165
+ readonly name: "OwnershipTransferred";
166
+ readonly type: "event";
167
+ }, {
168
+ readonly anonymous: false;
169
+ readonly inputs: readonly [{
170
+ readonly indexed: false;
171
+ readonly internalType: "address";
172
+ readonly name: "account";
173
+ readonly type: "address";
174
+ }];
175
+ readonly name: "Paused";
176
+ readonly type: "event";
177
+ }, {
178
+ readonly anonymous: false;
179
+ readonly inputs: readonly [{
180
+ readonly indexed: true;
181
+ readonly internalType: "address";
182
+ readonly name: "from";
183
+ readonly type: "address";
184
+ }, {
185
+ readonly indexed: true;
186
+ readonly internalType: "address";
187
+ readonly name: "to";
188
+ readonly type: "address";
189
+ }, {
190
+ readonly indexed: false;
191
+ readonly internalType: "uint256";
192
+ readonly name: "value";
193
+ readonly type: "uint256";
194
+ }];
195
+ readonly name: "Transfer";
196
+ readonly type: "event";
197
+ }, {
198
+ readonly anonymous: false;
199
+ readonly inputs: readonly [{
200
+ readonly indexed: false;
201
+ readonly internalType: "address";
202
+ readonly name: "account";
203
+ readonly type: "address";
204
+ }];
205
+ readonly name: "Unpaused";
206
+ readonly type: "event";
207
+ }, {
208
+ readonly inputs: readonly [];
209
+ readonly name: "DOMAIN_SEPARATOR";
210
+ readonly outputs: readonly [{
211
+ readonly internalType: "bytes32";
212
+ readonly name: "";
213
+ readonly type: "bytes32";
214
+ }];
215
+ readonly stateMutability: "view";
216
+ readonly type: "function";
217
+ }, {
218
+ readonly inputs: readonly [];
219
+ readonly name: "TIMELOCK_DELAY";
220
+ readonly outputs: readonly [{
221
+ readonly internalType: "uint256";
222
+ readonly name: "";
223
+ readonly type: "uint256";
224
+ }];
225
+ readonly stateMutability: "view";
226
+ readonly type: "function";
227
+ }, {
228
+ readonly inputs: readonly [{
229
+ readonly internalType: "address";
230
+ readonly name: "owner";
231
+ readonly type: "address";
232
+ }, {
233
+ readonly internalType: "address";
234
+ readonly name: "spender";
235
+ readonly type: "address";
236
+ }];
237
+ readonly name: "allowance";
238
+ readonly outputs: readonly [{
239
+ readonly internalType: "uint256";
240
+ readonly name: "";
241
+ readonly type: "uint256";
242
+ }];
243
+ readonly stateMutability: "view";
244
+ readonly type: "function";
245
+ }, {
246
+ readonly inputs: readonly [{
247
+ readonly internalType: "address";
248
+ readonly name: "spender";
249
+ readonly type: "address";
250
+ }, {
251
+ readonly internalType: "uint256";
252
+ readonly name: "amount";
253
+ readonly type: "uint256";
254
+ }];
255
+ readonly name: "approve";
256
+ readonly outputs: readonly [{
257
+ readonly internalType: "bool";
258
+ readonly name: "";
259
+ readonly type: "bool";
260
+ }];
261
+ readonly stateMutability: "nonpayable";
262
+ readonly type: "function";
263
+ }, {
264
+ readonly inputs: readonly [{
265
+ readonly internalType: "address";
266
+ readonly name: "account";
267
+ readonly type: "address";
268
+ }];
269
+ readonly name: "balanceOf";
270
+ readonly outputs: readonly [{
271
+ readonly internalType: "uint256";
272
+ readonly name: "";
273
+ readonly type: "uint256";
274
+ }];
275
+ readonly stateMutability: "view";
276
+ readonly type: "function";
277
+ }, {
278
+ readonly inputs: readonly [{
279
+ readonly internalType: "bytes32";
280
+ readonly name: "actionId";
281
+ readonly type: "bytes32";
282
+ }];
283
+ readonly name: "cancelAction";
284
+ readonly outputs: readonly [];
285
+ readonly stateMutability: "nonpayable";
286
+ readonly type: "function";
287
+ }, {
288
+ readonly inputs: readonly [];
289
+ readonly name: "decimals";
290
+ readonly outputs: readonly [{
291
+ readonly internalType: "uint8";
292
+ readonly name: "";
293
+ readonly type: "uint8";
294
+ }];
295
+ readonly stateMutability: "pure";
296
+ readonly type: "function";
297
+ }, {
298
+ readonly inputs: readonly [{
299
+ readonly internalType: "address";
300
+ readonly name: "spender";
301
+ readonly type: "address";
302
+ }, {
303
+ readonly internalType: "uint256";
304
+ readonly name: "subtractedValue";
305
+ readonly type: "uint256";
306
+ }];
307
+ readonly name: "decreaseAllowance";
308
+ readonly outputs: readonly [{
309
+ readonly internalType: "bool";
310
+ readonly name: "";
311
+ readonly type: "bool";
312
+ }];
313
+ readonly stateMutability: "nonpayable";
314
+ readonly type: "function";
315
+ }, {
316
+ readonly inputs: readonly [];
317
+ readonly name: "eip712Domain";
318
+ readonly outputs: readonly [{
319
+ readonly internalType: "bytes1";
320
+ readonly name: "fields";
321
+ readonly type: "bytes1";
322
+ }, {
323
+ readonly internalType: "string";
324
+ readonly name: "name_";
325
+ readonly type: "string";
326
+ }, {
327
+ readonly internalType: "string";
328
+ readonly name: "version_";
329
+ readonly type: "string";
330
+ }, {
331
+ readonly internalType: "uint256";
332
+ readonly name: "chainId";
333
+ readonly type: "uint256";
334
+ }, {
335
+ readonly internalType: "address";
336
+ readonly name: "verifyingContract";
337
+ readonly type: "address";
338
+ }, {
339
+ readonly internalType: "bytes32";
340
+ readonly name: "salt";
341
+ readonly type: "bytes32";
342
+ }, {
343
+ readonly internalType: "uint256[]";
344
+ readonly name: "extensions";
345
+ readonly type: "uint256[]";
346
+ }];
347
+ readonly stateMutability: "view";
348
+ readonly type: "function";
349
+ }, {
350
+ readonly inputs: readonly [{
351
+ readonly internalType: "address";
352
+ readonly name: "target";
353
+ readonly type: "address";
354
+ }];
355
+ readonly name: "executeBlacklist";
356
+ readonly outputs: readonly [];
357
+ readonly stateMutability: "nonpayable";
358
+ readonly type: "function";
359
+ }, {
360
+ readonly inputs: readonly [{
361
+ readonly internalType: "address";
362
+ readonly name: "target";
363
+ readonly type: "address";
364
+ }];
365
+ readonly name: "executeUnblacklist";
366
+ readonly outputs: readonly [];
367
+ readonly stateMutability: "nonpayable";
368
+ readonly type: "function";
369
+ }, {
370
+ readonly inputs: readonly [];
371
+ readonly name: "executeUnpause";
372
+ readonly outputs: readonly [];
373
+ readonly stateMutability: "nonpayable";
374
+ readonly type: "function";
375
+ }, {
376
+ readonly inputs: readonly [{
377
+ readonly internalType: "bytes32";
378
+ readonly name: "actionId";
379
+ readonly type: "bytes32";
380
+ }];
381
+ readonly name: "getActionExecutionTime";
382
+ readonly outputs: readonly [{
383
+ readonly internalType: "uint256";
384
+ readonly name: "";
385
+ readonly type: "uint256";
386
+ }];
387
+ readonly stateMutability: "view";
388
+ readonly type: "function";
389
+ }, {
390
+ readonly inputs: readonly [{
391
+ readonly internalType: "address";
392
+ readonly name: "spender";
393
+ readonly type: "address";
394
+ }, {
395
+ readonly internalType: "uint256";
396
+ readonly name: "addedValue";
397
+ readonly type: "uint256";
398
+ }];
399
+ readonly name: "increaseAllowance";
400
+ readonly outputs: readonly [{
401
+ readonly internalType: "bool";
402
+ readonly name: "";
403
+ readonly type: "bool";
404
+ }];
405
+ readonly stateMutability: "nonpayable";
406
+ readonly type: "function";
407
+ }, {
408
+ readonly inputs: readonly [{
409
+ readonly internalType: "address";
410
+ readonly name: "asset_";
411
+ readonly type: "address";
412
+ }];
413
+ readonly name: "initialize";
414
+ readonly outputs: readonly [];
415
+ readonly stateMutability: "nonpayable";
416
+ readonly type: "function";
417
+ }, {
418
+ readonly inputs: readonly [];
419
+ readonly name: "initializeV2";
420
+ readonly outputs: readonly [];
421
+ readonly stateMutability: "nonpayable";
422
+ readonly type: "function";
423
+ }, {
424
+ readonly inputs: readonly [{
425
+ readonly internalType: "bytes32";
426
+ readonly name: "actionId";
427
+ readonly type: "bytes32";
428
+ }];
429
+ readonly name: "isActionQueued";
430
+ readonly outputs: readonly [{
431
+ readonly internalType: "bool";
432
+ readonly name: "";
433
+ readonly type: "bool";
434
+ }];
435
+ readonly stateMutability: "view";
436
+ readonly type: "function";
437
+ }, {
438
+ readonly inputs: readonly [{
439
+ readonly internalType: "address";
440
+ readonly name: "account";
441
+ readonly type: "address";
442
+ }];
443
+ readonly name: "isBlacklisted";
444
+ readonly outputs: readonly [{
445
+ readonly internalType: "bool";
446
+ readonly name: "";
447
+ readonly type: "bool";
448
+ }];
449
+ readonly stateMutability: "view";
450
+ readonly type: "function";
451
+ }, {
452
+ readonly inputs: readonly [];
453
+ readonly name: "name";
454
+ readonly outputs: readonly [{
455
+ readonly internalType: "string";
456
+ readonly name: "";
457
+ readonly type: "string";
458
+ }];
459
+ readonly stateMutability: "view";
460
+ readonly type: "function";
461
+ }, {
462
+ readonly inputs: readonly [{
463
+ readonly internalType: "address";
464
+ readonly name: "owner";
465
+ readonly type: "address";
466
+ }];
467
+ readonly name: "nonces";
468
+ readonly outputs: readonly [{
469
+ readonly internalType: "uint256";
470
+ readonly name: "";
471
+ readonly type: "uint256";
472
+ }];
473
+ readonly stateMutability: "view";
474
+ readonly type: "function";
475
+ }, {
476
+ readonly inputs: readonly [];
477
+ readonly name: "owner";
478
+ readonly outputs: readonly [{
479
+ readonly internalType: "address";
480
+ readonly name: "";
481
+ readonly type: "address";
482
+ }];
483
+ readonly stateMutability: "view";
484
+ readonly type: "function";
485
+ }, {
486
+ readonly inputs: readonly [];
487
+ readonly name: "pause";
488
+ readonly outputs: readonly [];
489
+ readonly stateMutability: "nonpayable";
490
+ readonly type: "function";
491
+ }, {
492
+ readonly inputs: readonly [];
493
+ readonly name: "paused";
494
+ readonly outputs: readonly [{
495
+ readonly internalType: "bool";
496
+ readonly name: "";
497
+ readonly type: "bool";
498
+ }];
499
+ readonly stateMutability: "view";
500
+ readonly type: "function";
501
+ }, {
502
+ readonly inputs: readonly [{
503
+ readonly internalType: "address";
504
+ readonly name: "owner";
505
+ readonly type: "address";
506
+ }, {
507
+ readonly internalType: "address";
508
+ readonly name: "spender";
509
+ readonly type: "address";
510
+ }, {
511
+ readonly internalType: "uint256";
512
+ readonly name: "value";
513
+ readonly type: "uint256";
514
+ }, {
515
+ readonly internalType: "uint256";
516
+ readonly name: "deadline";
517
+ readonly type: "uint256";
518
+ }, {
519
+ readonly internalType: "uint8";
520
+ readonly name: "v";
521
+ readonly type: "uint8";
522
+ }, {
523
+ readonly internalType: "bytes32";
524
+ readonly name: "r";
525
+ readonly type: "bytes32";
526
+ }, {
527
+ readonly internalType: "bytes32";
528
+ readonly name: "s";
529
+ readonly type: "bytes32";
530
+ }];
531
+ readonly name: "permit";
532
+ readonly outputs: readonly [];
533
+ readonly stateMutability: "nonpayable";
534
+ readonly type: "function";
535
+ }, {
536
+ readonly inputs: readonly [{
537
+ readonly internalType: "address";
538
+ readonly name: "target";
539
+ readonly type: "address";
540
+ }];
541
+ readonly name: "queueBlacklist";
542
+ readonly outputs: readonly [{
543
+ readonly internalType: "bytes32";
544
+ readonly name: "actionId";
545
+ readonly type: "bytes32";
546
+ }];
547
+ readonly stateMutability: "nonpayable";
548
+ readonly type: "function";
549
+ }, {
550
+ readonly inputs: readonly [{
551
+ readonly internalType: "address";
552
+ readonly name: "target";
553
+ readonly type: "address";
554
+ }];
555
+ readonly name: "queueUnblacklist";
556
+ readonly outputs: readonly [{
557
+ readonly internalType: "bytes32";
558
+ readonly name: "actionId";
559
+ readonly type: "bytes32";
560
+ }];
561
+ readonly stateMutability: "nonpayable";
562
+ readonly type: "function";
563
+ }, {
564
+ readonly inputs: readonly [];
565
+ readonly name: "queueUnpause";
566
+ readonly outputs: readonly [{
567
+ readonly internalType: "bytes32";
568
+ readonly name: "actionId";
569
+ readonly type: "bytes32";
570
+ }];
571
+ readonly stateMutability: "nonpayable";
572
+ readonly type: "function";
573
+ }, {
574
+ readonly inputs: readonly [];
575
+ readonly name: "renounceOwnership";
576
+ readonly outputs: readonly [];
577
+ readonly stateMutability: "nonpayable";
578
+ readonly type: "function";
579
+ }, {
580
+ readonly inputs: readonly [];
581
+ readonly name: "symbol";
582
+ readonly outputs: readonly [{
583
+ readonly internalType: "string";
584
+ readonly name: "";
585
+ readonly type: "string";
586
+ }];
587
+ readonly stateMutability: "view";
588
+ readonly type: "function";
589
+ }, {
590
+ readonly inputs: readonly [];
591
+ readonly name: "totalSupply";
592
+ readonly outputs: readonly [{
593
+ readonly internalType: "uint256";
594
+ readonly name: "";
595
+ readonly type: "uint256";
596
+ }];
597
+ readonly stateMutability: "view";
598
+ readonly type: "function";
599
+ }, {
600
+ readonly inputs: readonly [{
601
+ readonly internalType: "address";
602
+ readonly name: "to";
603
+ readonly type: "address";
604
+ }, {
605
+ readonly internalType: "uint256";
606
+ readonly name: "amount";
607
+ readonly type: "uint256";
608
+ }];
609
+ readonly name: "transfer";
610
+ readonly outputs: readonly [{
611
+ readonly internalType: "bool";
612
+ readonly name: "";
613
+ readonly type: "bool";
614
+ }];
615
+ readonly stateMutability: "nonpayable";
616
+ readonly type: "function";
617
+ }, {
618
+ readonly inputs: readonly [{
619
+ readonly internalType: "address";
620
+ readonly name: "from";
621
+ readonly type: "address";
622
+ }, {
623
+ readonly internalType: "address";
624
+ readonly name: "to";
625
+ readonly type: "address";
626
+ }, {
627
+ readonly internalType: "uint256";
628
+ readonly name: "amount";
629
+ readonly type: "uint256";
630
+ }];
631
+ readonly name: "transferFrom";
632
+ readonly outputs: readonly [{
633
+ readonly internalType: "bool";
634
+ readonly name: "";
635
+ readonly type: "bool";
636
+ }];
637
+ readonly stateMutability: "nonpayable";
638
+ readonly type: "function";
639
+ }, {
640
+ readonly inputs: readonly [{
641
+ readonly internalType: "address";
642
+ readonly name: "newOwner";
643
+ readonly type: "address";
644
+ }];
645
+ readonly name: "transferOwnership";
646
+ readonly outputs: readonly [];
647
+ readonly stateMutability: "nonpayable";
648
+ readonly type: "function";
649
+ }, {
650
+ readonly inputs: readonly [];
651
+ readonly name: "unpause";
652
+ readonly outputs: readonly [];
653
+ readonly stateMutability: "nonpayable";
654
+ readonly type: "function";
655
+ }];
656
+ /**
657
+ * Type-safe ABI for USADv2_json
658
+ */
659
+ export type USADv2_jsonAbi = typeof USADv2_jsonAbi;
660
+ /**
661
+ * Contract instance type for USADv2_json
662
+ */
663
+ export type USADv2_jsonContract = any;
664
+ /**
665
+ * USADv2_json Contract Class
666
+ *
667
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
668
+ *
669
+ * @example
670
+ * ```typescript
671
+ * import { createPublicClient, createWalletClient, http } from 'viem';
672
+ * import { mainnet } from 'viem/chains';
673
+ * import { USADv2_json } from 'USADv2_json';
674
+ *
675
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
676
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
677
+ *
678
+ * const contract = new USADv2_json('0x...', { publicClient, walletClient });
679
+ *
680
+ * // Read functions
681
+ * const result = await contract.balanceOf('0x...');
682
+ *
683
+ * // Write functions
684
+ * const hash = await contract.transfer('0x...', 1000n);
685
+ *
686
+ * // Simulate transactions (dry-run)
687
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
688
+ * console.log('Gas estimate:', simulation.request.gas);
689
+ *
690
+ * // Watch events
691
+ * const unwatch = contract.watch.Transfer((event) => {
692
+ * console.log('Transfer event:', event);
693
+ * });
694
+ * ```
695
+ */
696
+ export declare class USADv2_json {
697
+ private contract;
698
+ private contractAddress;
699
+ private publicClient;
700
+ constructor(address: Address, clients: {
701
+ publicClient: PublicClient;
702
+ walletClient?: WalletClient;
703
+ });
704
+ /**
705
+ * Get the contract address
706
+ */
707
+ get address(): Address;
708
+ /**
709
+ * Get the underlying viem contract instance
710
+ */
711
+ getContract(): USADv2_jsonContract;
712
+ /**
713
+ * DOMAIN_SEPARATOR
714
+ * view
715
+ */
716
+ DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
717
+ /**
718
+ * TIMELOCK_DELAY
719
+ * view
720
+ */
721
+ TIMELOCK_DELAY(): Promise<bigint>;
722
+ /**
723
+ * allowance
724
+ * view
725
+ */
726
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
727
+ /**
728
+ * balanceOf
729
+ * view
730
+ */
731
+ balanceOf(account: `0x${string}`): Promise<bigint>;
732
+ /**
733
+ * decimals
734
+ * pure
735
+ */
736
+ decimals(): Promise<bigint>;
737
+ /**
738
+ * eip712Domain
739
+ * view
740
+ */
741
+ eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
742
+ /**
743
+ * getActionExecutionTime
744
+ * view
745
+ */
746
+ getActionExecutionTime(actionId: `0x${string}`): Promise<bigint>;
747
+ /**
748
+ * isActionQueued
749
+ * view
750
+ */
751
+ isActionQueued(actionId: `0x${string}`): Promise<boolean>;
752
+ /**
753
+ * isBlacklisted
754
+ * view
755
+ */
756
+ isBlacklisted(account: `0x${string}`): Promise<boolean>;
757
+ /**
758
+ * name
759
+ * view
760
+ */
761
+ name(): Promise<string>;
762
+ /**
763
+ * nonces
764
+ * view
765
+ */
766
+ nonces(owner: `0x${string}`): Promise<bigint>;
767
+ /**
768
+ * owner
769
+ * view
770
+ */
771
+ owner(): Promise<`0x${string}`>;
772
+ /**
773
+ * paused
774
+ * view
775
+ */
776
+ paused(): Promise<boolean>;
777
+ /**
778
+ * symbol
779
+ * view
780
+ */
781
+ symbol(): Promise<string>;
782
+ /**
783
+ * totalSupply
784
+ * view
785
+ */
786
+ totalSupply(): Promise<bigint>;
787
+ /**
788
+ * approve
789
+ * nonpayable
790
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
791
+ */
792
+ approve(spender: `0x${string}`, amount: bigint, options?: {
793
+ accessList?: import('viem').AccessList;
794
+ authorizationList?: import('viem').AuthorizationList;
795
+ chain?: import('viem').Chain | null;
796
+ dataSuffix?: `0x${string}`;
797
+ gas?: bigint;
798
+ gasPrice?: bigint;
799
+ maxFeePerGas?: bigint;
800
+ maxPriorityFeePerGas?: bigint;
801
+ nonce?: number;
802
+ value?: bigint;
803
+ }): Promise<`0x${string}`>;
804
+ /**
805
+ * cancelAction
806
+ * nonpayable
807
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
808
+ */
809
+ cancelAction(actionId: `0x${string}`, options?: {
810
+ accessList?: import('viem').AccessList;
811
+ authorizationList?: import('viem').AuthorizationList;
812
+ chain?: import('viem').Chain | null;
813
+ dataSuffix?: `0x${string}`;
814
+ gas?: bigint;
815
+ gasPrice?: bigint;
816
+ maxFeePerGas?: bigint;
817
+ maxPriorityFeePerGas?: bigint;
818
+ nonce?: number;
819
+ value?: bigint;
820
+ }): Promise<`0x${string}`>;
821
+ /**
822
+ * decreaseAllowance
823
+ * nonpayable
824
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
825
+ */
826
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
827
+ accessList?: import('viem').AccessList;
828
+ authorizationList?: import('viem').AuthorizationList;
829
+ chain?: import('viem').Chain | null;
830
+ dataSuffix?: `0x${string}`;
831
+ gas?: bigint;
832
+ gasPrice?: bigint;
833
+ maxFeePerGas?: bigint;
834
+ maxPriorityFeePerGas?: bigint;
835
+ nonce?: number;
836
+ value?: bigint;
837
+ }): Promise<`0x${string}`>;
838
+ /**
839
+ * executeBlacklist
840
+ * nonpayable
841
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
842
+ */
843
+ executeBlacklist(target: `0x${string}`, options?: {
844
+ accessList?: import('viem').AccessList;
845
+ authorizationList?: import('viem').AuthorizationList;
846
+ chain?: import('viem').Chain | null;
847
+ dataSuffix?: `0x${string}`;
848
+ gas?: bigint;
849
+ gasPrice?: bigint;
850
+ maxFeePerGas?: bigint;
851
+ maxPriorityFeePerGas?: bigint;
852
+ nonce?: number;
853
+ value?: bigint;
854
+ }): Promise<`0x${string}`>;
855
+ /**
856
+ * executeUnblacklist
857
+ * nonpayable
858
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
859
+ */
860
+ executeUnblacklist(target: `0x${string}`, options?: {
861
+ accessList?: import('viem').AccessList;
862
+ authorizationList?: import('viem').AuthorizationList;
863
+ chain?: import('viem').Chain | null;
864
+ dataSuffix?: `0x${string}`;
865
+ gas?: bigint;
866
+ gasPrice?: bigint;
867
+ maxFeePerGas?: bigint;
868
+ maxPriorityFeePerGas?: bigint;
869
+ nonce?: number;
870
+ value?: bigint;
871
+ }): Promise<`0x${string}`>;
872
+ /**
873
+ * executeUnpause
874
+ * nonpayable
875
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
876
+ */
877
+ executeUnpause(options?: {
878
+ accessList?: import('viem').AccessList;
879
+ authorizationList?: import('viem').AuthorizationList;
880
+ chain?: import('viem').Chain | null;
881
+ dataSuffix?: `0x${string}`;
882
+ gas?: bigint;
883
+ gasPrice?: bigint;
884
+ maxFeePerGas?: bigint;
885
+ maxPriorityFeePerGas?: bigint;
886
+ nonce?: number;
887
+ value?: bigint;
888
+ }): Promise<`0x${string}`>;
889
+ /**
890
+ * increaseAllowance
891
+ * nonpayable
892
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
893
+ */
894
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
895
+ accessList?: import('viem').AccessList;
896
+ authorizationList?: import('viem').AuthorizationList;
897
+ chain?: import('viem').Chain | null;
898
+ dataSuffix?: `0x${string}`;
899
+ gas?: bigint;
900
+ gasPrice?: bigint;
901
+ maxFeePerGas?: bigint;
902
+ maxPriorityFeePerGas?: bigint;
903
+ nonce?: number;
904
+ value?: bigint;
905
+ }): Promise<`0x${string}`>;
906
+ /**
907
+ * initialize
908
+ * nonpayable
909
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
910
+ */
911
+ initialize(asset_: `0x${string}`, options?: {
912
+ accessList?: import('viem').AccessList;
913
+ authorizationList?: import('viem').AuthorizationList;
914
+ chain?: import('viem').Chain | null;
915
+ dataSuffix?: `0x${string}`;
916
+ gas?: bigint;
917
+ gasPrice?: bigint;
918
+ maxFeePerGas?: bigint;
919
+ maxPriorityFeePerGas?: bigint;
920
+ nonce?: number;
921
+ value?: bigint;
922
+ }): Promise<`0x${string}`>;
923
+ /**
924
+ * initializeV2
925
+ * nonpayable
926
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
927
+ */
928
+ initializeV2(options?: {
929
+ accessList?: import('viem').AccessList;
930
+ authorizationList?: import('viem').AuthorizationList;
931
+ chain?: import('viem').Chain | null;
932
+ dataSuffix?: `0x${string}`;
933
+ gas?: bigint;
934
+ gasPrice?: bigint;
935
+ maxFeePerGas?: bigint;
936
+ maxPriorityFeePerGas?: bigint;
937
+ nonce?: number;
938
+ value?: bigint;
939
+ }): Promise<`0x${string}`>;
940
+ /**
941
+ * pause
942
+ * nonpayable
943
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
944
+ */
945
+ pause(options?: {
946
+ accessList?: import('viem').AccessList;
947
+ authorizationList?: import('viem').AuthorizationList;
948
+ chain?: import('viem').Chain | null;
949
+ dataSuffix?: `0x${string}`;
950
+ gas?: bigint;
951
+ gasPrice?: bigint;
952
+ maxFeePerGas?: bigint;
953
+ maxPriorityFeePerGas?: bigint;
954
+ nonce?: number;
955
+ value?: bigint;
956
+ }): Promise<`0x${string}`>;
957
+ /**
958
+ * permit
959
+ * nonpayable
960
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
961
+ */
962
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
963
+ accessList?: import('viem').AccessList;
964
+ authorizationList?: import('viem').AuthorizationList;
965
+ chain?: import('viem').Chain | null;
966
+ dataSuffix?: `0x${string}`;
967
+ gas?: bigint;
968
+ gasPrice?: bigint;
969
+ maxFeePerGas?: bigint;
970
+ maxPriorityFeePerGas?: bigint;
971
+ nonce?: number;
972
+ value?: bigint;
973
+ }): Promise<`0x${string}`>;
974
+ /**
975
+ * queueBlacklist
976
+ * nonpayable
977
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
978
+ */
979
+ queueBlacklist(target: `0x${string}`, options?: {
980
+ accessList?: import('viem').AccessList;
981
+ authorizationList?: import('viem').AuthorizationList;
982
+ chain?: import('viem').Chain | null;
983
+ dataSuffix?: `0x${string}`;
984
+ gas?: bigint;
985
+ gasPrice?: bigint;
986
+ maxFeePerGas?: bigint;
987
+ maxPriorityFeePerGas?: bigint;
988
+ nonce?: number;
989
+ value?: bigint;
990
+ }): Promise<`0x${string}`>;
991
+ /**
992
+ * queueUnblacklist
993
+ * nonpayable
994
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
995
+ */
996
+ queueUnblacklist(target: `0x${string}`, options?: {
997
+ accessList?: import('viem').AccessList;
998
+ authorizationList?: import('viem').AuthorizationList;
999
+ chain?: import('viem').Chain | null;
1000
+ dataSuffix?: `0x${string}`;
1001
+ gas?: bigint;
1002
+ gasPrice?: bigint;
1003
+ maxFeePerGas?: bigint;
1004
+ maxPriorityFeePerGas?: bigint;
1005
+ nonce?: number;
1006
+ value?: bigint;
1007
+ }): Promise<`0x${string}`>;
1008
+ /**
1009
+ * queueUnpause
1010
+ * nonpayable
1011
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1012
+ */
1013
+ queueUnpause(options?: {
1014
+ accessList?: import('viem').AccessList;
1015
+ authorizationList?: import('viem').AuthorizationList;
1016
+ chain?: import('viem').Chain | null;
1017
+ dataSuffix?: `0x${string}`;
1018
+ gas?: bigint;
1019
+ gasPrice?: bigint;
1020
+ maxFeePerGas?: bigint;
1021
+ maxPriorityFeePerGas?: bigint;
1022
+ nonce?: number;
1023
+ value?: bigint;
1024
+ }): Promise<`0x${string}`>;
1025
+ /**
1026
+ * renounceOwnership
1027
+ * nonpayable
1028
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1029
+ */
1030
+ renounceOwnership(options?: {
1031
+ accessList?: import('viem').AccessList;
1032
+ authorizationList?: import('viem').AuthorizationList;
1033
+ chain?: import('viem').Chain | null;
1034
+ dataSuffix?: `0x${string}`;
1035
+ gas?: bigint;
1036
+ gasPrice?: bigint;
1037
+ maxFeePerGas?: bigint;
1038
+ maxPriorityFeePerGas?: bigint;
1039
+ nonce?: number;
1040
+ value?: bigint;
1041
+ }): Promise<`0x${string}`>;
1042
+ /**
1043
+ * transfer
1044
+ * nonpayable
1045
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1046
+ */
1047
+ transfer(to: `0x${string}`, amount: bigint, options?: {
1048
+ accessList?: import('viem').AccessList;
1049
+ authorizationList?: import('viem').AuthorizationList;
1050
+ chain?: import('viem').Chain | null;
1051
+ dataSuffix?: `0x${string}`;
1052
+ gas?: bigint;
1053
+ gasPrice?: bigint;
1054
+ maxFeePerGas?: bigint;
1055
+ maxPriorityFeePerGas?: bigint;
1056
+ nonce?: number;
1057
+ value?: bigint;
1058
+ }): Promise<`0x${string}`>;
1059
+ /**
1060
+ * transferFrom
1061
+ * nonpayable
1062
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1063
+ */
1064
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1065
+ accessList?: import('viem').AccessList;
1066
+ authorizationList?: import('viem').AuthorizationList;
1067
+ chain?: import('viem').Chain | null;
1068
+ dataSuffix?: `0x${string}`;
1069
+ gas?: bigint;
1070
+ gasPrice?: bigint;
1071
+ maxFeePerGas?: bigint;
1072
+ maxPriorityFeePerGas?: bigint;
1073
+ nonce?: number;
1074
+ value?: bigint;
1075
+ }): Promise<`0x${string}`>;
1076
+ /**
1077
+ * transferOwnership
1078
+ * nonpayable
1079
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1080
+ */
1081
+ transferOwnership(newOwner: `0x${string}`, options?: {
1082
+ accessList?: import('viem').AccessList;
1083
+ authorizationList?: import('viem').AuthorizationList;
1084
+ chain?: import('viem').Chain | null;
1085
+ dataSuffix?: `0x${string}`;
1086
+ gas?: bigint;
1087
+ gasPrice?: bigint;
1088
+ maxFeePerGas?: bigint;
1089
+ maxPriorityFeePerGas?: bigint;
1090
+ nonce?: number;
1091
+ value?: bigint;
1092
+ }): Promise<`0x${string}`>;
1093
+ /**
1094
+ * unpause
1095
+ * nonpayable
1096
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1097
+ */
1098
+ unpause(options?: {
1099
+ accessList?: import('viem').AccessList;
1100
+ authorizationList?: import('viem').AuthorizationList;
1101
+ chain?: import('viem').Chain | null;
1102
+ dataSuffix?: `0x${string}`;
1103
+ gas?: bigint;
1104
+ gasPrice?: bigint;
1105
+ maxFeePerGas?: bigint;
1106
+ maxPriorityFeePerGas?: bigint;
1107
+ nonce?: number;
1108
+ value?: bigint;
1109
+ }): Promise<`0x${string}`>;
1110
+ /**
1111
+ * Simulate contract write operations (dry-run without sending transaction)
1112
+ *
1113
+ * @example
1114
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1115
+ * console.log('Gas estimate:', result.request.gas);
1116
+ * console.log('Would succeed:', result.result);
1117
+ */
1118
+ get simulate(): {
1119
+ /**
1120
+ * Simulate approve
1121
+ * Returns gas estimate and result without sending transaction
1122
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1123
+ */
1124
+ approve(spender: `0x${string}`, amount: bigint, options?: {
1125
+ accessList?: import("viem").AccessList;
1126
+ authorizationList?: import("viem").AuthorizationList;
1127
+ chain?: import("viem").Chain | null;
1128
+ dataSuffix?: `0x${string}`;
1129
+ gas?: bigint;
1130
+ gasPrice?: bigint;
1131
+ maxFeePerGas?: bigint;
1132
+ maxPriorityFeePerGas?: bigint;
1133
+ nonce?: number;
1134
+ value?: bigint;
1135
+ }): Promise<boolean>;
1136
+ /**
1137
+ * Simulate cancelAction
1138
+ * Returns gas estimate and result without sending transaction
1139
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1140
+ */
1141
+ cancelAction(actionId: `0x${string}`, options?: {
1142
+ accessList?: import("viem").AccessList;
1143
+ authorizationList?: import("viem").AuthorizationList;
1144
+ chain?: import("viem").Chain | null;
1145
+ dataSuffix?: `0x${string}`;
1146
+ gas?: bigint;
1147
+ gasPrice?: bigint;
1148
+ maxFeePerGas?: bigint;
1149
+ maxPriorityFeePerGas?: bigint;
1150
+ nonce?: number;
1151
+ value?: bigint;
1152
+ }): Promise<void>;
1153
+ /**
1154
+ * Simulate decreaseAllowance
1155
+ * Returns gas estimate and result without sending transaction
1156
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1157
+ */
1158
+ decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
1159
+ accessList?: import("viem").AccessList;
1160
+ authorizationList?: import("viem").AuthorizationList;
1161
+ chain?: import("viem").Chain | null;
1162
+ dataSuffix?: `0x${string}`;
1163
+ gas?: bigint;
1164
+ gasPrice?: bigint;
1165
+ maxFeePerGas?: bigint;
1166
+ maxPriorityFeePerGas?: bigint;
1167
+ nonce?: number;
1168
+ value?: bigint;
1169
+ }): Promise<boolean>;
1170
+ /**
1171
+ * Simulate executeBlacklist
1172
+ * Returns gas estimate and result without sending transaction
1173
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1174
+ */
1175
+ executeBlacklist(target: `0x${string}`, options?: {
1176
+ accessList?: import("viem").AccessList;
1177
+ authorizationList?: import("viem").AuthorizationList;
1178
+ chain?: import("viem").Chain | null;
1179
+ dataSuffix?: `0x${string}`;
1180
+ gas?: bigint;
1181
+ gasPrice?: bigint;
1182
+ maxFeePerGas?: bigint;
1183
+ maxPriorityFeePerGas?: bigint;
1184
+ nonce?: number;
1185
+ value?: bigint;
1186
+ }): Promise<void>;
1187
+ /**
1188
+ * Simulate executeUnblacklist
1189
+ * Returns gas estimate and result without sending transaction
1190
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1191
+ */
1192
+ executeUnblacklist(target: `0x${string}`, options?: {
1193
+ accessList?: import("viem").AccessList;
1194
+ authorizationList?: import("viem").AuthorizationList;
1195
+ chain?: import("viem").Chain | null;
1196
+ dataSuffix?: `0x${string}`;
1197
+ gas?: bigint;
1198
+ gasPrice?: bigint;
1199
+ maxFeePerGas?: bigint;
1200
+ maxPriorityFeePerGas?: bigint;
1201
+ nonce?: number;
1202
+ value?: bigint;
1203
+ }): Promise<void>;
1204
+ /**
1205
+ * Simulate executeUnpause
1206
+ * Returns gas estimate and result without sending transaction
1207
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1208
+ */
1209
+ executeUnpause(options?: {
1210
+ accessList?: import("viem").AccessList;
1211
+ authorizationList?: import("viem").AuthorizationList;
1212
+ chain?: import("viem").Chain | null;
1213
+ dataSuffix?: `0x${string}`;
1214
+ gas?: bigint;
1215
+ gasPrice?: bigint;
1216
+ maxFeePerGas?: bigint;
1217
+ maxPriorityFeePerGas?: bigint;
1218
+ nonce?: number;
1219
+ value?: bigint;
1220
+ }): Promise<void>;
1221
+ /**
1222
+ * Simulate increaseAllowance
1223
+ * Returns gas estimate and result without sending transaction
1224
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1225
+ */
1226
+ increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
1227
+ accessList?: import("viem").AccessList;
1228
+ authorizationList?: import("viem").AuthorizationList;
1229
+ chain?: import("viem").Chain | null;
1230
+ dataSuffix?: `0x${string}`;
1231
+ gas?: bigint;
1232
+ gasPrice?: bigint;
1233
+ maxFeePerGas?: bigint;
1234
+ maxPriorityFeePerGas?: bigint;
1235
+ nonce?: number;
1236
+ value?: bigint;
1237
+ }): Promise<boolean>;
1238
+ /**
1239
+ * Simulate initialize
1240
+ * Returns gas estimate and result without sending transaction
1241
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1242
+ */
1243
+ initialize(asset_: `0x${string}`, options?: {
1244
+ accessList?: import("viem").AccessList;
1245
+ authorizationList?: import("viem").AuthorizationList;
1246
+ chain?: import("viem").Chain | null;
1247
+ dataSuffix?: `0x${string}`;
1248
+ gas?: bigint;
1249
+ gasPrice?: bigint;
1250
+ maxFeePerGas?: bigint;
1251
+ maxPriorityFeePerGas?: bigint;
1252
+ nonce?: number;
1253
+ value?: bigint;
1254
+ }): Promise<void>;
1255
+ /**
1256
+ * Simulate initializeV2
1257
+ * Returns gas estimate and result without sending transaction
1258
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1259
+ */
1260
+ initializeV2(options?: {
1261
+ accessList?: import("viem").AccessList;
1262
+ authorizationList?: import("viem").AuthorizationList;
1263
+ chain?: import("viem").Chain | null;
1264
+ dataSuffix?: `0x${string}`;
1265
+ gas?: bigint;
1266
+ gasPrice?: bigint;
1267
+ maxFeePerGas?: bigint;
1268
+ maxPriorityFeePerGas?: bigint;
1269
+ nonce?: number;
1270
+ value?: bigint;
1271
+ }): Promise<void>;
1272
+ /**
1273
+ * Simulate pause
1274
+ * Returns gas estimate and result without sending transaction
1275
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1276
+ */
1277
+ pause(options?: {
1278
+ accessList?: import("viem").AccessList;
1279
+ authorizationList?: import("viem").AuthorizationList;
1280
+ chain?: import("viem").Chain | null;
1281
+ dataSuffix?: `0x${string}`;
1282
+ gas?: bigint;
1283
+ gasPrice?: bigint;
1284
+ maxFeePerGas?: bigint;
1285
+ maxPriorityFeePerGas?: bigint;
1286
+ nonce?: number;
1287
+ value?: bigint;
1288
+ }): Promise<void>;
1289
+ /**
1290
+ * Simulate permit
1291
+ * Returns gas estimate and result without sending transaction
1292
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1293
+ */
1294
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1295
+ accessList?: import("viem").AccessList;
1296
+ authorizationList?: import("viem").AuthorizationList;
1297
+ chain?: import("viem").Chain | null;
1298
+ dataSuffix?: `0x${string}`;
1299
+ gas?: bigint;
1300
+ gasPrice?: bigint;
1301
+ maxFeePerGas?: bigint;
1302
+ maxPriorityFeePerGas?: bigint;
1303
+ nonce?: number;
1304
+ value?: bigint;
1305
+ }): Promise<void>;
1306
+ /**
1307
+ * Simulate queueBlacklist
1308
+ * Returns gas estimate and result without sending transaction
1309
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1310
+ */
1311
+ queueBlacklist(target: `0x${string}`, options?: {
1312
+ accessList?: import("viem").AccessList;
1313
+ authorizationList?: import("viem").AuthorizationList;
1314
+ chain?: import("viem").Chain | null;
1315
+ dataSuffix?: `0x${string}`;
1316
+ gas?: bigint;
1317
+ gasPrice?: bigint;
1318
+ maxFeePerGas?: bigint;
1319
+ maxPriorityFeePerGas?: bigint;
1320
+ nonce?: number;
1321
+ value?: bigint;
1322
+ }): Promise<`0x${string}`>;
1323
+ /**
1324
+ * Simulate queueUnblacklist
1325
+ * Returns gas estimate and result without sending transaction
1326
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1327
+ */
1328
+ queueUnblacklist(target: `0x${string}`, options?: {
1329
+ accessList?: import("viem").AccessList;
1330
+ authorizationList?: import("viem").AuthorizationList;
1331
+ chain?: import("viem").Chain | null;
1332
+ dataSuffix?: `0x${string}`;
1333
+ gas?: bigint;
1334
+ gasPrice?: bigint;
1335
+ maxFeePerGas?: bigint;
1336
+ maxPriorityFeePerGas?: bigint;
1337
+ nonce?: number;
1338
+ value?: bigint;
1339
+ }): Promise<`0x${string}`>;
1340
+ /**
1341
+ * Simulate queueUnpause
1342
+ * Returns gas estimate and result without sending transaction
1343
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1344
+ */
1345
+ queueUnpause(options?: {
1346
+ accessList?: import("viem").AccessList;
1347
+ authorizationList?: import("viem").AuthorizationList;
1348
+ chain?: import("viem").Chain | null;
1349
+ dataSuffix?: `0x${string}`;
1350
+ gas?: bigint;
1351
+ gasPrice?: bigint;
1352
+ maxFeePerGas?: bigint;
1353
+ maxPriorityFeePerGas?: bigint;
1354
+ nonce?: number;
1355
+ value?: bigint;
1356
+ }): Promise<`0x${string}`>;
1357
+ /**
1358
+ * Simulate renounceOwnership
1359
+ * Returns gas estimate and result without sending transaction
1360
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1361
+ */
1362
+ renounceOwnership(options?: {
1363
+ accessList?: import("viem").AccessList;
1364
+ authorizationList?: import("viem").AuthorizationList;
1365
+ chain?: import("viem").Chain | null;
1366
+ dataSuffix?: `0x${string}`;
1367
+ gas?: bigint;
1368
+ gasPrice?: bigint;
1369
+ maxFeePerGas?: bigint;
1370
+ maxPriorityFeePerGas?: bigint;
1371
+ nonce?: number;
1372
+ value?: bigint;
1373
+ }): Promise<void>;
1374
+ /**
1375
+ * Simulate transfer
1376
+ * Returns gas estimate and result without sending transaction
1377
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1378
+ */
1379
+ transfer(to: `0x${string}`, amount: bigint, options?: {
1380
+ accessList?: import("viem").AccessList;
1381
+ authorizationList?: import("viem").AuthorizationList;
1382
+ chain?: import("viem").Chain | null;
1383
+ dataSuffix?: `0x${string}`;
1384
+ gas?: bigint;
1385
+ gasPrice?: bigint;
1386
+ maxFeePerGas?: bigint;
1387
+ maxPriorityFeePerGas?: bigint;
1388
+ nonce?: number;
1389
+ value?: bigint;
1390
+ }): Promise<boolean>;
1391
+ /**
1392
+ * Simulate transferFrom
1393
+ * Returns gas estimate and result without sending transaction
1394
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1395
+ */
1396
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1397
+ accessList?: import("viem").AccessList;
1398
+ authorizationList?: import("viem").AuthorizationList;
1399
+ chain?: import("viem").Chain | null;
1400
+ dataSuffix?: `0x${string}`;
1401
+ gas?: bigint;
1402
+ gasPrice?: bigint;
1403
+ maxFeePerGas?: bigint;
1404
+ maxPriorityFeePerGas?: bigint;
1405
+ nonce?: number;
1406
+ value?: bigint;
1407
+ }): Promise<boolean>;
1408
+ /**
1409
+ * Simulate transferOwnership
1410
+ * Returns gas estimate and result without sending transaction
1411
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1412
+ */
1413
+ transferOwnership(newOwner: `0x${string}`, options?: {
1414
+ accessList?: import("viem").AccessList;
1415
+ authorizationList?: import("viem").AuthorizationList;
1416
+ chain?: import("viem").Chain | null;
1417
+ dataSuffix?: `0x${string}`;
1418
+ gas?: bigint;
1419
+ gasPrice?: bigint;
1420
+ maxFeePerGas?: bigint;
1421
+ maxPriorityFeePerGas?: bigint;
1422
+ nonce?: number;
1423
+ value?: bigint;
1424
+ }): Promise<void>;
1425
+ /**
1426
+ * Simulate unpause
1427
+ * Returns gas estimate and result without sending transaction
1428
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1429
+ */
1430
+ unpause(options?: {
1431
+ accessList?: import("viem").AccessList;
1432
+ authorizationList?: import("viem").AuthorizationList;
1433
+ chain?: import("viem").Chain | null;
1434
+ dataSuffix?: `0x${string}`;
1435
+ gas?: bigint;
1436
+ gasPrice?: bigint;
1437
+ maxFeePerGas?: bigint;
1438
+ maxPriorityFeePerGas?: bigint;
1439
+ nonce?: number;
1440
+ value?: bigint;
1441
+ }): Promise<void>;
1442
+ };
1443
+ /**
1444
+ * Watch contract events
1445
+ *
1446
+ * @example
1447
+ * // Watch all Transfer events
1448
+ * const unwatch = contract.watch.Transfer((event) => {
1449
+ * console.log('Transfer:', event);
1450
+ * });
1451
+ *
1452
+ * // Stop watching
1453
+ * unwatch();
1454
+ */
1455
+ get watch(): {
1456
+ /**
1457
+ * Watch ActionCancelled events
1458
+ * @param callback Function to call when event is emitted
1459
+ * @param filter Optional filter for indexed parameters
1460
+ * @returns Unwatch function to stop listening
1461
+ */
1462
+ ActionCancelled: (callback: (event: {
1463
+ actionId: `0x${string}`;
1464
+ }) => void, filter?: {
1465
+ actionId: `0x${string}`;
1466
+ }) => () => void;
1467
+ /**
1468
+ * Watch ActionExecuted events
1469
+ * @param callback Function to call when event is emitted
1470
+ * @param filter Optional filter for indexed parameters
1471
+ * @returns Unwatch function to stop listening
1472
+ */
1473
+ ActionExecuted: (callback: (event: {
1474
+ actionId: `0x${string}`;
1475
+ selector: `0x${string}`;
1476
+ target: `0x${string}`;
1477
+ }) => void, filter?: {
1478
+ actionId: `0x${string}`;
1479
+ selector: `0x${string}`;
1480
+ target: `0x${string}`;
1481
+ }) => () => void;
1482
+ /**
1483
+ * Watch ActionQueued events
1484
+ * @param callback Function to call when event is emitted
1485
+ * @param filter Optional filter for indexed parameters
1486
+ * @returns Unwatch function to stop listening
1487
+ */
1488
+ ActionQueued: (callback: (event: {
1489
+ actionId: `0x${string}`;
1490
+ selector: `0x${string}`;
1491
+ target: `0x${string}`;
1492
+ executeAfter: bigint;
1493
+ }) => void, filter?: {
1494
+ actionId: `0x${string}`;
1495
+ selector: `0x${string}`;
1496
+ target: `0x${string}`;
1497
+ }) => () => void;
1498
+ /**
1499
+ * Watch AddressBlacklisted events
1500
+ * @param callback Function to call when event is emitted
1501
+ * @param filter Optional filter for indexed parameters
1502
+ * @returns Unwatch function to stop listening
1503
+ */
1504
+ AddressBlacklisted: (callback: (event: {
1505
+ target: `0x${string}`;
1506
+ actionId: `0x${string}`;
1507
+ executedAt: bigint;
1508
+ }) => void, filter?: {
1509
+ target: `0x${string}`;
1510
+ actionId: `0x${string}`;
1511
+ }) => () => void;
1512
+ /**
1513
+ * Watch AddressUnblacklisted events
1514
+ * @param callback Function to call when event is emitted
1515
+ * @param filter Optional filter for indexed parameters
1516
+ * @returns Unwatch function to stop listening
1517
+ */
1518
+ AddressUnblacklisted: (callback: (event: {
1519
+ target: `0x${string}`;
1520
+ actionId: `0x${string}`;
1521
+ executedAt: bigint;
1522
+ }) => void, filter?: {
1523
+ target: `0x${string}`;
1524
+ actionId: `0x${string}`;
1525
+ }) => () => void;
1526
+ /**
1527
+ * Watch Approval events
1528
+ * @param callback Function to call when event is emitted
1529
+ * @param filter Optional filter for indexed parameters
1530
+ * @returns Unwatch function to stop listening
1531
+ */
1532
+ Approval: (callback: (event: {
1533
+ owner: `0x${string}`;
1534
+ spender: `0x${string}`;
1535
+ value: bigint;
1536
+ }) => void, filter?: {
1537
+ owner: `0x${string}`;
1538
+ spender: `0x${string}`;
1539
+ }) => () => void;
1540
+ /**
1541
+ * Watch Initialized events
1542
+ * @param callback Function to call when event is emitted
1543
+ * @param filter Optional filter for indexed parameters
1544
+ * @returns Unwatch function to stop listening
1545
+ */
1546
+ Initialized: (callback: (event: {
1547
+ version: bigint;
1548
+ }) => void) => () => void;
1549
+ /**
1550
+ * Watch OwnershipTransferred events
1551
+ * @param callback Function to call when event is emitted
1552
+ * @param filter Optional filter for indexed parameters
1553
+ * @returns Unwatch function to stop listening
1554
+ */
1555
+ OwnershipTransferred: (callback: (event: {
1556
+ previousOwner: `0x${string}`;
1557
+ newOwner: `0x${string}`;
1558
+ }) => void, filter?: {
1559
+ previousOwner: `0x${string}`;
1560
+ newOwner: `0x${string}`;
1561
+ }) => () => void;
1562
+ /**
1563
+ * Watch Paused events
1564
+ * @param callback Function to call when event is emitted
1565
+ * @param filter Optional filter for indexed parameters
1566
+ * @returns Unwatch function to stop listening
1567
+ */
1568
+ Paused: (callback: (event: {
1569
+ account: `0x${string}`;
1570
+ }) => void) => () => void;
1571
+ /**
1572
+ * Watch Transfer events
1573
+ * @param callback Function to call when event is emitted
1574
+ * @param filter Optional filter for indexed parameters
1575
+ * @returns Unwatch function to stop listening
1576
+ */
1577
+ Transfer: (callback: (event: {
1578
+ from: `0x${string}`;
1579
+ to: `0x${string}`;
1580
+ value: bigint;
1581
+ }) => void, filter?: {
1582
+ from: `0x${string}`;
1583
+ to: `0x${string}`;
1584
+ }) => () => void;
1585
+ /**
1586
+ * Watch Unpaused events
1587
+ * @param callback Function to call when event is emitted
1588
+ * @param filter Optional filter for indexed parameters
1589
+ * @returns Unwatch function to stop listening
1590
+ */
1591
+ Unpaused: (callback: (event: {
1592
+ account: `0x${string}`;
1593
+ }) => void) => () => void;
1594
+ };
1595
+ }