@gitmyabi/nxr 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,1234 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * AuthInfo struct type
4
+ */
5
+ export type AuthInfo = {
6
+ owner: `0x${string}`;
7
+ };
8
+ /**
9
+ * TokenInfo struct type
10
+ */
11
+ export type TokenInfo = {
12
+ name: string;
13
+ symbol: string;
14
+ decimals: bigint;
15
+ };
16
+ /**
17
+ * SupplyInfo struct type
18
+ */
19
+ export type SupplyInfo = {
20
+ mintTarget: `0x${string}`;
21
+ initialSupply: bigint;
22
+ maxSupply: bigint;
23
+ };
24
+ /**
25
+ * UltimateTokenOwnable_json ABI
26
+ *
27
+ * This ABI is typed using viem's type system for full type safety.
28
+ */
29
+ export declare const UltimateTokenOwnable_jsonAbi: readonly [{
30
+ readonly inputs: readonly [];
31
+ readonly name: "AllowanceOverflow";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "AllowanceUnderflow";
36
+ readonly type: "error";
37
+ }, {
38
+ readonly inputs: readonly [];
39
+ readonly name: "AlreadyInitialized";
40
+ readonly type: "error";
41
+ }, {
42
+ readonly inputs: readonly [{
43
+ readonly internalType: "uint256";
44
+ readonly name: "increasedSupply";
45
+ readonly type: "uint256";
46
+ }, {
47
+ readonly internalType: "uint256";
48
+ readonly name: "maxSupply";
49
+ readonly type: "uint256";
50
+ }];
51
+ readonly name: "ERC20ExceededCap";
52
+ readonly type: "error";
53
+ }, {
54
+ readonly inputs: readonly [];
55
+ readonly name: "ERC20TransferPaused";
56
+ readonly type: "error";
57
+ }, {
58
+ readonly inputs: readonly [];
59
+ readonly name: "InsufficientAllowance";
60
+ readonly type: "error";
61
+ }, {
62
+ readonly inputs: readonly [];
63
+ readonly name: "InsufficientBalance";
64
+ readonly type: "error";
65
+ }, {
66
+ readonly inputs: readonly [];
67
+ readonly name: "InvalidInitialization";
68
+ readonly type: "error";
69
+ }, {
70
+ readonly inputs: readonly [];
71
+ readonly name: "InvalidPermit";
72
+ readonly type: "error";
73
+ }, {
74
+ readonly inputs: readonly [];
75
+ readonly name: "NewOwnerIsZeroAddress";
76
+ readonly type: "error";
77
+ }, {
78
+ readonly inputs: readonly [];
79
+ readonly name: "NoHandoverRequest";
80
+ readonly type: "error";
81
+ }, {
82
+ readonly inputs: readonly [];
83
+ readonly name: "NotInitializing";
84
+ readonly type: "error";
85
+ }, {
86
+ readonly inputs: readonly [];
87
+ readonly name: "Permit2AllowanceIsFixedAtInfinity";
88
+ readonly type: "error";
89
+ }, {
90
+ readonly inputs: readonly [];
91
+ readonly name: "PermitExpired";
92
+ readonly type: "error";
93
+ }, {
94
+ readonly inputs: readonly [];
95
+ readonly name: "TotalSupplyOverflow";
96
+ readonly type: "error";
97
+ }, {
98
+ readonly inputs: readonly [];
99
+ readonly name: "Unauthorized";
100
+ readonly type: "error";
101
+ }, {
102
+ readonly anonymous: false;
103
+ readonly inputs: readonly [{
104
+ readonly indexed: true;
105
+ readonly internalType: "address";
106
+ readonly name: "owner";
107
+ readonly type: "address";
108
+ }, {
109
+ readonly indexed: true;
110
+ readonly internalType: "address";
111
+ readonly name: "spender";
112
+ readonly type: "address";
113
+ }, {
114
+ readonly indexed: false;
115
+ readonly internalType: "uint256";
116
+ readonly name: "amount";
117
+ readonly type: "uint256";
118
+ }];
119
+ readonly name: "Approval";
120
+ readonly type: "event";
121
+ }, {
122
+ readonly anonymous: false;
123
+ readonly inputs: readonly [{
124
+ readonly indexed: false;
125
+ readonly internalType: "uint64";
126
+ readonly name: "version";
127
+ readonly type: "uint64";
128
+ }];
129
+ readonly name: "Initialized";
130
+ readonly type: "event";
131
+ }, {
132
+ readonly anonymous: false;
133
+ readonly inputs: readonly [{
134
+ readonly indexed: true;
135
+ readonly internalType: "address";
136
+ readonly name: "pendingOwner";
137
+ readonly type: "address";
138
+ }];
139
+ readonly name: "OwnershipHandoverCanceled";
140
+ readonly type: "event";
141
+ }, {
142
+ readonly anonymous: false;
143
+ readonly inputs: readonly [{
144
+ readonly indexed: true;
145
+ readonly internalType: "address";
146
+ readonly name: "pendingOwner";
147
+ readonly type: "address";
148
+ }];
149
+ readonly name: "OwnershipHandoverRequested";
150
+ readonly type: "event";
151
+ }, {
152
+ readonly anonymous: false;
153
+ readonly inputs: readonly [{
154
+ readonly indexed: true;
155
+ readonly internalType: "address";
156
+ readonly name: "oldOwner";
157
+ readonly type: "address";
158
+ }, {
159
+ readonly indexed: true;
160
+ readonly internalType: "address";
161
+ readonly name: "newOwner";
162
+ readonly type: "address";
163
+ }];
164
+ readonly name: "OwnershipTransferred";
165
+ readonly type: "event";
166
+ }, {
167
+ readonly anonymous: false;
168
+ readonly inputs: readonly [{
169
+ readonly indexed: true;
170
+ readonly internalType: "address";
171
+ readonly name: "from";
172
+ readonly type: "address";
173
+ }, {
174
+ readonly indexed: true;
175
+ readonly internalType: "address";
176
+ readonly name: "to";
177
+ readonly type: "address";
178
+ }, {
179
+ readonly indexed: false;
180
+ readonly internalType: "uint256";
181
+ readonly name: "amount";
182
+ readonly type: "uint256";
183
+ }];
184
+ readonly name: "Transfer";
185
+ readonly type: "event";
186
+ }, {
187
+ readonly inputs: readonly [];
188
+ readonly name: "DOMAIN_SEPARATOR";
189
+ readonly outputs: readonly [{
190
+ readonly internalType: "bytes32";
191
+ readonly name: "result";
192
+ readonly type: "bytes32";
193
+ }];
194
+ readonly stateMutability: "view";
195
+ readonly type: "function";
196
+ }, {
197
+ readonly inputs: readonly [{
198
+ readonly internalType: "address";
199
+ readonly name: "owner";
200
+ readonly type: "address";
201
+ }, {
202
+ readonly internalType: "address";
203
+ readonly name: "spender";
204
+ readonly type: "address";
205
+ }];
206
+ readonly name: "allowance";
207
+ readonly outputs: readonly [{
208
+ readonly internalType: "uint256";
209
+ readonly name: "result";
210
+ readonly type: "uint256";
211
+ }];
212
+ readonly stateMutability: "view";
213
+ readonly type: "function";
214
+ }, {
215
+ readonly inputs: readonly [{
216
+ readonly internalType: "address";
217
+ readonly name: "spender";
218
+ readonly type: "address";
219
+ }, {
220
+ readonly internalType: "uint256";
221
+ readonly name: "amount";
222
+ readonly type: "uint256";
223
+ }];
224
+ readonly name: "approve";
225
+ readonly outputs: readonly [{
226
+ readonly internalType: "bool";
227
+ readonly name: "";
228
+ readonly type: "bool";
229
+ }];
230
+ readonly stateMutability: "nonpayable";
231
+ readonly type: "function";
232
+ }, {
233
+ readonly inputs: readonly [{
234
+ readonly internalType: "address";
235
+ readonly name: "owner";
236
+ readonly type: "address";
237
+ }];
238
+ readonly name: "balanceOf";
239
+ readonly outputs: readonly [{
240
+ readonly internalType: "uint256";
241
+ readonly name: "result";
242
+ readonly type: "uint256";
243
+ }];
244
+ readonly stateMutability: "view";
245
+ readonly type: "function";
246
+ }, {
247
+ readonly inputs: readonly [{
248
+ readonly internalType: "uint256";
249
+ readonly name: "value";
250
+ readonly type: "uint256";
251
+ }];
252
+ readonly name: "burn";
253
+ readonly outputs: readonly [];
254
+ readonly stateMutability: "nonpayable";
255
+ readonly type: "function";
256
+ }, {
257
+ readonly inputs: readonly [];
258
+ readonly name: "cancelOwnershipHandover";
259
+ readonly outputs: readonly [];
260
+ readonly stateMutability: "payable";
261
+ readonly type: "function";
262
+ }, {
263
+ readonly inputs: readonly [{
264
+ readonly internalType: "address";
265
+ readonly name: "pendingOwner";
266
+ readonly type: "address";
267
+ }];
268
+ readonly name: "completeOwnershipHandover";
269
+ readonly outputs: readonly [];
270
+ readonly stateMutability: "payable";
271
+ readonly type: "function";
272
+ }, {
273
+ readonly inputs: readonly [];
274
+ readonly name: "decimals";
275
+ readonly outputs: readonly [{
276
+ readonly internalType: "uint8";
277
+ readonly name: "";
278
+ readonly type: "uint8";
279
+ }];
280
+ readonly stateMutability: "view";
281
+ readonly type: "function";
282
+ }, {
283
+ readonly inputs: readonly [];
284
+ readonly name: "disableInitializer";
285
+ readonly outputs: readonly [];
286
+ readonly stateMutability: "nonpayable";
287
+ readonly type: "function";
288
+ }, {
289
+ readonly inputs: readonly [{
290
+ readonly components: readonly [{
291
+ readonly internalType: "address";
292
+ readonly name: "owner";
293
+ readonly type: "address";
294
+ }];
295
+ readonly internalType: "struct AuthInfo";
296
+ readonly name: "authInfo";
297
+ readonly type: "tuple";
298
+ }, {
299
+ readonly components: readonly [{
300
+ readonly internalType: "string";
301
+ readonly name: "name";
302
+ readonly type: "string";
303
+ }, {
304
+ readonly internalType: "string";
305
+ readonly name: "symbol";
306
+ readonly type: "string";
307
+ }, {
308
+ readonly internalType: "uint8";
309
+ readonly name: "decimals";
310
+ readonly type: "uint8";
311
+ }];
312
+ readonly internalType: "struct TokenInfo";
313
+ readonly name: "tokenInfo";
314
+ readonly type: "tuple";
315
+ }, {
316
+ readonly components: readonly [{
317
+ readonly internalType: "address";
318
+ readonly name: "mintTarget";
319
+ readonly type: "address";
320
+ }, {
321
+ readonly internalType: "uint256";
322
+ readonly name: "initialSupply";
323
+ readonly type: "uint256";
324
+ }, {
325
+ readonly internalType: "uint256";
326
+ readonly name: "maxSupply";
327
+ readonly type: "uint256";
328
+ }];
329
+ readonly internalType: "struct SupplyInfo";
330
+ readonly name: "supplyInfo";
331
+ readonly type: "tuple";
332
+ }];
333
+ readonly name: "initialize";
334
+ readonly outputs: readonly [];
335
+ readonly stateMutability: "nonpayable";
336
+ readonly type: "function";
337
+ }, {
338
+ readonly inputs: readonly [];
339
+ readonly name: "maxSupply";
340
+ readonly outputs: readonly [{
341
+ readonly internalType: "uint256";
342
+ readonly name: "";
343
+ readonly type: "uint256";
344
+ }];
345
+ readonly stateMutability: "view";
346
+ readonly type: "function";
347
+ }, {
348
+ readonly inputs: readonly [{
349
+ readonly internalType: "address";
350
+ readonly name: "to";
351
+ readonly type: "address";
352
+ }, {
353
+ readonly internalType: "uint256";
354
+ readonly name: "amount";
355
+ readonly type: "uint256";
356
+ }];
357
+ readonly name: "mint";
358
+ readonly outputs: readonly [];
359
+ readonly stateMutability: "nonpayable";
360
+ readonly type: "function";
361
+ }, {
362
+ readonly inputs: readonly [];
363
+ readonly name: "name";
364
+ readonly outputs: readonly [{
365
+ readonly internalType: "string";
366
+ readonly name: "";
367
+ readonly type: "string";
368
+ }];
369
+ readonly stateMutability: "view";
370
+ readonly type: "function";
371
+ }, {
372
+ readonly inputs: readonly [{
373
+ readonly internalType: "address";
374
+ readonly name: "owner";
375
+ readonly type: "address";
376
+ }];
377
+ readonly name: "nonces";
378
+ readonly outputs: readonly [{
379
+ readonly internalType: "uint256";
380
+ readonly name: "result";
381
+ readonly type: "uint256";
382
+ }];
383
+ readonly stateMutability: "view";
384
+ readonly type: "function";
385
+ }, {
386
+ readonly inputs: readonly [];
387
+ readonly name: "owner";
388
+ readonly outputs: readonly [{
389
+ readonly internalType: "address";
390
+ readonly name: "result";
391
+ readonly type: "address";
392
+ }];
393
+ readonly stateMutability: "view";
394
+ readonly type: "function";
395
+ }, {
396
+ readonly inputs: readonly [{
397
+ readonly internalType: "address";
398
+ readonly name: "pendingOwner";
399
+ readonly type: "address";
400
+ }];
401
+ readonly name: "ownershipHandoverExpiresAt";
402
+ readonly outputs: readonly [{
403
+ readonly internalType: "uint256";
404
+ readonly name: "result";
405
+ readonly type: "uint256";
406
+ }];
407
+ readonly stateMutability: "view";
408
+ readonly type: "function";
409
+ }, {
410
+ readonly inputs: readonly [];
411
+ readonly name: "paused";
412
+ readonly outputs: readonly [{
413
+ readonly internalType: "bool";
414
+ readonly name: "";
415
+ readonly type: "bool";
416
+ }];
417
+ readonly stateMutability: "view";
418
+ readonly type: "function";
419
+ }, {
420
+ readonly inputs: readonly [{
421
+ readonly internalType: "address";
422
+ readonly name: "owner";
423
+ readonly type: "address";
424
+ }, {
425
+ readonly internalType: "address";
426
+ readonly name: "spender";
427
+ readonly type: "address";
428
+ }, {
429
+ readonly internalType: "uint256";
430
+ readonly name: "value";
431
+ readonly type: "uint256";
432
+ }, {
433
+ readonly internalType: "uint256";
434
+ readonly name: "deadline";
435
+ readonly type: "uint256";
436
+ }, {
437
+ readonly internalType: "uint8";
438
+ readonly name: "v";
439
+ readonly type: "uint8";
440
+ }, {
441
+ readonly internalType: "bytes32";
442
+ readonly name: "r";
443
+ readonly type: "bytes32";
444
+ }, {
445
+ readonly internalType: "bytes32";
446
+ readonly name: "s";
447
+ readonly type: "bytes32";
448
+ }];
449
+ readonly name: "permit";
450
+ readonly outputs: readonly [];
451
+ readonly stateMutability: "nonpayable";
452
+ readonly type: "function";
453
+ }, {
454
+ readonly inputs: readonly [];
455
+ readonly name: "renounceOwnership";
456
+ readonly outputs: readonly [];
457
+ readonly stateMutability: "payable";
458
+ readonly type: "function";
459
+ }, {
460
+ readonly inputs: readonly [];
461
+ readonly name: "requestOwnershipHandover";
462
+ readonly outputs: readonly [];
463
+ readonly stateMutability: "payable";
464
+ readonly type: "function";
465
+ }, {
466
+ readonly inputs: readonly [{
467
+ readonly internalType: "bool";
468
+ readonly name: "_paused";
469
+ readonly type: "bool";
470
+ }];
471
+ readonly name: "setTransferPaused";
472
+ readonly outputs: readonly [];
473
+ readonly stateMutability: "nonpayable";
474
+ readonly type: "function";
475
+ }, {
476
+ readonly inputs: readonly [];
477
+ readonly name: "symbol";
478
+ readonly outputs: readonly [{
479
+ readonly internalType: "string";
480
+ readonly name: "";
481
+ readonly type: "string";
482
+ }];
483
+ readonly stateMutability: "view";
484
+ readonly type: "function";
485
+ }, {
486
+ readonly inputs: readonly [];
487
+ readonly name: "totalSupply";
488
+ readonly outputs: readonly [{
489
+ readonly internalType: "uint256";
490
+ readonly name: "result";
491
+ readonly type: "uint256";
492
+ }];
493
+ readonly stateMutability: "view";
494
+ readonly type: "function";
495
+ }, {
496
+ readonly inputs: readonly [{
497
+ readonly internalType: "address";
498
+ readonly name: "to";
499
+ readonly type: "address";
500
+ }, {
501
+ readonly internalType: "uint256";
502
+ readonly name: "amount";
503
+ readonly type: "uint256";
504
+ }];
505
+ readonly name: "transfer";
506
+ readonly outputs: readonly [{
507
+ readonly internalType: "bool";
508
+ readonly name: "";
509
+ readonly type: "bool";
510
+ }];
511
+ readonly stateMutability: "nonpayable";
512
+ readonly type: "function";
513
+ }, {
514
+ readonly inputs: readonly [{
515
+ readonly internalType: "address";
516
+ readonly name: "from";
517
+ readonly type: "address";
518
+ }, {
519
+ readonly internalType: "address";
520
+ readonly name: "to";
521
+ readonly type: "address";
522
+ }, {
523
+ readonly internalType: "uint256";
524
+ readonly name: "amount";
525
+ readonly type: "uint256";
526
+ }];
527
+ readonly name: "transferFrom";
528
+ readonly outputs: readonly [{
529
+ readonly internalType: "bool";
530
+ readonly name: "";
531
+ readonly type: "bool";
532
+ }];
533
+ readonly stateMutability: "nonpayable";
534
+ readonly type: "function";
535
+ }, {
536
+ readonly inputs: readonly [{
537
+ readonly internalType: "address";
538
+ readonly name: "newOwner";
539
+ readonly type: "address";
540
+ }];
541
+ readonly name: "transferOwnership";
542
+ readonly outputs: readonly [];
543
+ readonly stateMutability: "payable";
544
+ readonly type: "function";
545
+ }];
546
+ /**
547
+ * Type-safe ABI for UltimateTokenOwnable_json
548
+ */
549
+ export type UltimateTokenOwnable_jsonAbi = typeof UltimateTokenOwnable_jsonAbi;
550
+ /**
551
+ * Contract instance type for UltimateTokenOwnable_json
552
+ */
553
+ export type UltimateTokenOwnable_jsonContract = any;
554
+ /**
555
+ * UltimateTokenOwnable_json Contract Class
556
+ *
557
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
558
+ *
559
+ * @example
560
+ * ```typescript
561
+ * import { createPublicClient, createWalletClient, http } from 'viem';
562
+ * import { mainnet } from 'viem/chains';
563
+ * import { UltimateTokenOwnable_json } from 'UltimateTokenOwnable_json';
564
+ *
565
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
566
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
567
+ *
568
+ * const contract = new UltimateTokenOwnable_json('0x...', { publicClient, walletClient });
569
+ *
570
+ * // Read functions
571
+ * const result = await contract.balanceOf('0x...');
572
+ *
573
+ * // Write functions
574
+ * const hash = await contract.transfer('0x...', 1000n);
575
+ *
576
+ * // Simulate transactions (dry-run)
577
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
578
+ * console.log('Gas estimate:', simulation.request.gas);
579
+ *
580
+ * // Watch events
581
+ * const unwatch = contract.watch.Transfer((event) => {
582
+ * console.log('Transfer event:', event);
583
+ * });
584
+ * ```
585
+ */
586
+ export declare class UltimateTokenOwnable_json {
587
+ private contract;
588
+ private contractAddress;
589
+ private publicClient;
590
+ constructor(address: Address, clients: {
591
+ publicClient: PublicClient;
592
+ walletClient?: WalletClient;
593
+ });
594
+ /**
595
+ * Get the contract address
596
+ */
597
+ get address(): Address;
598
+ /**
599
+ * Get the underlying viem contract instance
600
+ */
601
+ getContract(): UltimateTokenOwnable_jsonContract;
602
+ /**
603
+ * DOMAIN_SEPARATOR
604
+ * view
605
+ */
606
+ DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
607
+ /**
608
+ * allowance
609
+ * view
610
+ */
611
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
612
+ /**
613
+ * balanceOf
614
+ * view
615
+ */
616
+ balanceOf(owner: `0x${string}`): Promise<bigint>;
617
+ /**
618
+ * decimals
619
+ * view
620
+ */
621
+ decimals(): Promise<bigint>;
622
+ /**
623
+ * maxSupply
624
+ * view
625
+ */
626
+ maxSupply(): Promise<bigint>;
627
+ /**
628
+ * name
629
+ * view
630
+ */
631
+ name(): Promise<string>;
632
+ /**
633
+ * nonces
634
+ * view
635
+ */
636
+ nonces(owner: `0x${string}`): Promise<bigint>;
637
+ /**
638
+ * owner
639
+ * view
640
+ */
641
+ owner(): Promise<`0x${string}`>;
642
+ /**
643
+ * ownershipHandoverExpiresAt
644
+ * view
645
+ */
646
+ ownershipHandoverExpiresAt(pendingOwner: `0x${string}`): Promise<bigint>;
647
+ /**
648
+ * paused
649
+ * view
650
+ */
651
+ paused(): Promise<boolean>;
652
+ /**
653
+ * symbol
654
+ * view
655
+ */
656
+ symbol(): Promise<string>;
657
+ /**
658
+ * totalSupply
659
+ * view
660
+ */
661
+ totalSupply(): Promise<bigint>;
662
+ /**
663
+ * approve
664
+ * nonpayable
665
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
666
+ */
667
+ approve(spender: `0x${string}`, amount: bigint, options?: {
668
+ accessList?: import('viem').AccessList;
669
+ authorizationList?: import('viem').AuthorizationList;
670
+ chain?: import('viem').Chain | null;
671
+ dataSuffix?: `0x${string}`;
672
+ gas?: bigint;
673
+ gasPrice?: bigint;
674
+ maxFeePerGas?: bigint;
675
+ maxPriorityFeePerGas?: bigint;
676
+ nonce?: number;
677
+ value?: bigint;
678
+ }): Promise<`0x${string}`>;
679
+ /**
680
+ * burn
681
+ * nonpayable
682
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
683
+ */
684
+ burn(value: bigint, options?: {
685
+ accessList?: import('viem').AccessList;
686
+ authorizationList?: import('viem').AuthorizationList;
687
+ chain?: import('viem').Chain | null;
688
+ dataSuffix?: `0x${string}`;
689
+ gas?: bigint;
690
+ gasPrice?: bigint;
691
+ maxFeePerGas?: bigint;
692
+ maxPriorityFeePerGas?: bigint;
693
+ nonce?: number;
694
+ value?: bigint;
695
+ }): Promise<`0x${string}`>;
696
+ /**
697
+ * cancelOwnershipHandover
698
+ * payable
699
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
700
+ */
701
+ cancelOwnershipHandover(options?: {
702
+ accessList?: import('viem').AccessList;
703
+ authorizationList?: import('viem').AuthorizationList;
704
+ chain?: import('viem').Chain | null;
705
+ dataSuffix?: `0x${string}`;
706
+ gas?: bigint;
707
+ gasPrice?: bigint;
708
+ maxFeePerGas?: bigint;
709
+ maxPriorityFeePerGas?: bigint;
710
+ nonce?: number;
711
+ value?: bigint;
712
+ }): Promise<`0x${string}`>;
713
+ /**
714
+ * completeOwnershipHandover
715
+ * payable
716
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
717
+ */
718
+ completeOwnershipHandover(pendingOwner: `0x${string}`, options?: {
719
+ accessList?: import('viem').AccessList;
720
+ authorizationList?: import('viem').AuthorizationList;
721
+ chain?: import('viem').Chain | null;
722
+ dataSuffix?: `0x${string}`;
723
+ gas?: bigint;
724
+ gasPrice?: bigint;
725
+ maxFeePerGas?: bigint;
726
+ maxPriorityFeePerGas?: bigint;
727
+ nonce?: number;
728
+ value?: bigint;
729
+ }): Promise<`0x${string}`>;
730
+ /**
731
+ * disableInitializer
732
+ * nonpayable
733
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
734
+ */
735
+ disableInitializer(options?: {
736
+ accessList?: import('viem').AccessList;
737
+ authorizationList?: import('viem').AuthorizationList;
738
+ chain?: import('viem').Chain | null;
739
+ dataSuffix?: `0x${string}`;
740
+ gas?: bigint;
741
+ gasPrice?: bigint;
742
+ maxFeePerGas?: bigint;
743
+ maxPriorityFeePerGas?: bigint;
744
+ nonce?: number;
745
+ value?: bigint;
746
+ }): Promise<`0x${string}`>;
747
+ /**
748
+ * initialize
749
+ * nonpayable
750
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
751
+ */
752
+ initialize(authInfo: AuthInfo, tokenInfo: TokenInfo, supplyInfo: SupplyInfo, options?: {
753
+ accessList?: import('viem').AccessList;
754
+ authorizationList?: import('viem').AuthorizationList;
755
+ chain?: import('viem').Chain | null;
756
+ dataSuffix?: `0x${string}`;
757
+ gas?: bigint;
758
+ gasPrice?: bigint;
759
+ maxFeePerGas?: bigint;
760
+ maxPriorityFeePerGas?: bigint;
761
+ nonce?: number;
762
+ value?: bigint;
763
+ }): Promise<`0x${string}`>;
764
+ /**
765
+ * mint
766
+ * nonpayable
767
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
768
+ */
769
+ mint(to: `0x${string}`, amount: bigint, options?: {
770
+ accessList?: import('viem').AccessList;
771
+ authorizationList?: import('viem').AuthorizationList;
772
+ chain?: import('viem').Chain | null;
773
+ dataSuffix?: `0x${string}`;
774
+ gas?: bigint;
775
+ gasPrice?: bigint;
776
+ maxFeePerGas?: bigint;
777
+ maxPriorityFeePerGas?: bigint;
778
+ nonce?: number;
779
+ value?: bigint;
780
+ }): Promise<`0x${string}`>;
781
+ /**
782
+ * permit
783
+ * nonpayable
784
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
785
+ */
786
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
787
+ accessList?: import('viem').AccessList;
788
+ authorizationList?: import('viem').AuthorizationList;
789
+ chain?: import('viem').Chain | null;
790
+ dataSuffix?: `0x${string}`;
791
+ gas?: bigint;
792
+ gasPrice?: bigint;
793
+ maxFeePerGas?: bigint;
794
+ maxPriorityFeePerGas?: bigint;
795
+ nonce?: number;
796
+ value?: bigint;
797
+ }): Promise<`0x${string}`>;
798
+ /**
799
+ * renounceOwnership
800
+ * payable
801
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
802
+ */
803
+ renounceOwnership(options?: {
804
+ accessList?: import('viem').AccessList;
805
+ authorizationList?: import('viem').AuthorizationList;
806
+ chain?: import('viem').Chain | null;
807
+ dataSuffix?: `0x${string}`;
808
+ gas?: bigint;
809
+ gasPrice?: bigint;
810
+ maxFeePerGas?: bigint;
811
+ maxPriorityFeePerGas?: bigint;
812
+ nonce?: number;
813
+ value?: bigint;
814
+ }): Promise<`0x${string}`>;
815
+ /**
816
+ * requestOwnershipHandover
817
+ * payable
818
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
819
+ */
820
+ requestOwnershipHandover(options?: {
821
+ accessList?: import('viem').AccessList;
822
+ authorizationList?: import('viem').AuthorizationList;
823
+ chain?: import('viem').Chain | null;
824
+ dataSuffix?: `0x${string}`;
825
+ gas?: bigint;
826
+ gasPrice?: bigint;
827
+ maxFeePerGas?: bigint;
828
+ maxPriorityFeePerGas?: bigint;
829
+ nonce?: number;
830
+ value?: bigint;
831
+ }): Promise<`0x${string}`>;
832
+ /**
833
+ * setTransferPaused
834
+ * nonpayable
835
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
836
+ */
837
+ setTransferPaused(_paused: boolean, options?: {
838
+ accessList?: import('viem').AccessList;
839
+ authorizationList?: import('viem').AuthorizationList;
840
+ chain?: import('viem').Chain | null;
841
+ dataSuffix?: `0x${string}`;
842
+ gas?: bigint;
843
+ gasPrice?: bigint;
844
+ maxFeePerGas?: bigint;
845
+ maxPriorityFeePerGas?: bigint;
846
+ nonce?: number;
847
+ value?: bigint;
848
+ }): Promise<`0x${string}`>;
849
+ /**
850
+ * transfer
851
+ * nonpayable
852
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
853
+ */
854
+ transfer(to: `0x${string}`, amount: bigint, options?: {
855
+ accessList?: import('viem').AccessList;
856
+ authorizationList?: import('viem').AuthorizationList;
857
+ chain?: import('viem').Chain | null;
858
+ dataSuffix?: `0x${string}`;
859
+ gas?: bigint;
860
+ gasPrice?: bigint;
861
+ maxFeePerGas?: bigint;
862
+ maxPriorityFeePerGas?: bigint;
863
+ nonce?: number;
864
+ value?: bigint;
865
+ }): Promise<`0x${string}`>;
866
+ /**
867
+ * transferFrom
868
+ * nonpayable
869
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
870
+ */
871
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
872
+ accessList?: import('viem').AccessList;
873
+ authorizationList?: import('viem').AuthorizationList;
874
+ chain?: import('viem').Chain | null;
875
+ dataSuffix?: `0x${string}`;
876
+ gas?: bigint;
877
+ gasPrice?: bigint;
878
+ maxFeePerGas?: bigint;
879
+ maxPriorityFeePerGas?: bigint;
880
+ nonce?: number;
881
+ value?: bigint;
882
+ }): Promise<`0x${string}`>;
883
+ /**
884
+ * transferOwnership
885
+ * payable
886
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
887
+ */
888
+ transferOwnership(newOwner: `0x${string}`, options?: {
889
+ accessList?: import('viem').AccessList;
890
+ authorizationList?: import('viem').AuthorizationList;
891
+ chain?: import('viem').Chain | null;
892
+ dataSuffix?: `0x${string}`;
893
+ gas?: bigint;
894
+ gasPrice?: bigint;
895
+ maxFeePerGas?: bigint;
896
+ maxPriorityFeePerGas?: bigint;
897
+ nonce?: number;
898
+ value?: bigint;
899
+ }): Promise<`0x${string}`>;
900
+ /**
901
+ * Simulate contract write operations (dry-run without sending transaction)
902
+ *
903
+ * @example
904
+ * const result = await contract.simulate.transfer('0x...', 1000n);
905
+ * console.log('Gas estimate:', result.request.gas);
906
+ * console.log('Would succeed:', result.result);
907
+ */
908
+ get simulate(): {
909
+ /**
910
+ * Simulate approve
911
+ * Returns gas estimate and result without sending transaction
912
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
913
+ */
914
+ approve(spender: `0x${string}`, amount: bigint, options?: {
915
+ accessList?: import("viem").AccessList;
916
+ authorizationList?: import("viem").AuthorizationList;
917
+ chain?: import("viem").Chain | null;
918
+ dataSuffix?: `0x${string}`;
919
+ gas?: bigint;
920
+ gasPrice?: bigint;
921
+ maxFeePerGas?: bigint;
922
+ maxPriorityFeePerGas?: bigint;
923
+ nonce?: number;
924
+ value?: bigint;
925
+ }): Promise<boolean>;
926
+ /**
927
+ * Simulate burn
928
+ * Returns gas estimate and result without sending transaction
929
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
930
+ */
931
+ burn(value: bigint, options?: {
932
+ accessList?: import("viem").AccessList;
933
+ authorizationList?: import("viem").AuthorizationList;
934
+ chain?: import("viem").Chain | null;
935
+ dataSuffix?: `0x${string}`;
936
+ gas?: bigint;
937
+ gasPrice?: bigint;
938
+ maxFeePerGas?: bigint;
939
+ maxPriorityFeePerGas?: bigint;
940
+ nonce?: number;
941
+ value?: bigint;
942
+ }): Promise<void>;
943
+ /**
944
+ * Simulate cancelOwnershipHandover
945
+ * Returns gas estimate and result without sending transaction
946
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
947
+ */
948
+ cancelOwnershipHandover(options?: {
949
+ accessList?: import("viem").AccessList;
950
+ authorizationList?: import("viem").AuthorizationList;
951
+ chain?: import("viem").Chain | null;
952
+ dataSuffix?: `0x${string}`;
953
+ gas?: bigint;
954
+ gasPrice?: bigint;
955
+ maxFeePerGas?: bigint;
956
+ maxPriorityFeePerGas?: bigint;
957
+ nonce?: number;
958
+ value?: bigint;
959
+ }): Promise<void>;
960
+ /**
961
+ * Simulate completeOwnershipHandover
962
+ * Returns gas estimate and result without sending transaction
963
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
964
+ */
965
+ completeOwnershipHandover(pendingOwner: `0x${string}`, options?: {
966
+ accessList?: import("viem").AccessList;
967
+ authorizationList?: import("viem").AuthorizationList;
968
+ chain?: import("viem").Chain | null;
969
+ dataSuffix?: `0x${string}`;
970
+ gas?: bigint;
971
+ gasPrice?: bigint;
972
+ maxFeePerGas?: bigint;
973
+ maxPriorityFeePerGas?: bigint;
974
+ nonce?: number;
975
+ value?: bigint;
976
+ }): Promise<void>;
977
+ /**
978
+ * Simulate disableInitializer
979
+ * Returns gas estimate and result without sending transaction
980
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
981
+ */
982
+ disableInitializer(options?: {
983
+ accessList?: import("viem").AccessList;
984
+ authorizationList?: import("viem").AuthorizationList;
985
+ chain?: import("viem").Chain | null;
986
+ dataSuffix?: `0x${string}`;
987
+ gas?: bigint;
988
+ gasPrice?: bigint;
989
+ maxFeePerGas?: bigint;
990
+ maxPriorityFeePerGas?: bigint;
991
+ nonce?: number;
992
+ value?: bigint;
993
+ }): Promise<void>;
994
+ /**
995
+ * Simulate initialize
996
+ * Returns gas estimate and result without sending transaction
997
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
998
+ */
999
+ initialize(authInfo: AuthInfo, tokenInfo: TokenInfo, supplyInfo: SupplyInfo, options?: {
1000
+ accessList?: import("viem").AccessList;
1001
+ authorizationList?: import("viem").AuthorizationList;
1002
+ chain?: import("viem").Chain | null;
1003
+ dataSuffix?: `0x${string}`;
1004
+ gas?: bigint;
1005
+ gasPrice?: bigint;
1006
+ maxFeePerGas?: bigint;
1007
+ maxPriorityFeePerGas?: bigint;
1008
+ nonce?: number;
1009
+ value?: bigint;
1010
+ }): Promise<void>;
1011
+ /**
1012
+ * Simulate mint
1013
+ * Returns gas estimate and result without sending transaction
1014
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1015
+ */
1016
+ mint(to: `0x${string}`, amount: bigint, options?: {
1017
+ accessList?: import("viem").AccessList;
1018
+ authorizationList?: import("viem").AuthorizationList;
1019
+ chain?: import("viem").Chain | null;
1020
+ dataSuffix?: `0x${string}`;
1021
+ gas?: bigint;
1022
+ gasPrice?: bigint;
1023
+ maxFeePerGas?: bigint;
1024
+ maxPriorityFeePerGas?: bigint;
1025
+ nonce?: number;
1026
+ value?: bigint;
1027
+ }): Promise<void>;
1028
+ /**
1029
+ * Simulate permit
1030
+ * Returns gas estimate and result without sending transaction
1031
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1032
+ */
1033
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1034
+ accessList?: import("viem").AccessList;
1035
+ authorizationList?: import("viem").AuthorizationList;
1036
+ chain?: import("viem").Chain | null;
1037
+ dataSuffix?: `0x${string}`;
1038
+ gas?: bigint;
1039
+ gasPrice?: bigint;
1040
+ maxFeePerGas?: bigint;
1041
+ maxPriorityFeePerGas?: bigint;
1042
+ nonce?: number;
1043
+ value?: bigint;
1044
+ }): Promise<void>;
1045
+ /**
1046
+ * Simulate renounceOwnership
1047
+ * Returns gas estimate and result without sending transaction
1048
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1049
+ */
1050
+ renounceOwnership(options?: {
1051
+ accessList?: import("viem").AccessList;
1052
+ authorizationList?: import("viem").AuthorizationList;
1053
+ chain?: import("viem").Chain | null;
1054
+ dataSuffix?: `0x${string}`;
1055
+ gas?: bigint;
1056
+ gasPrice?: bigint;
1057
+ maxFeePerGas?: bigint;
1058
+ maxPriorityFeePerGas?: bigint;
1059
+ nonce?: number;
1060
+ value?: bigint;
1061
+ }): Promise<void>;
1062
+ /**
1063
+ * Simulate requestOwnershipHandover
1064
+ * Returns gas estimate and result without sending transaction
1065
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1066
+ */
1067
+ requestOwnershipHandover(options?: {
1068
+ accessList?: import("viem").AccessList;
1069
+ authorizationList?: import("viem").AuthorizationList;
1070
+ chain?: import("viem").Chain | null;
1071
+ dataSuffix?: `0x${string}`;
1072
+ gas?: bigint;
1073
+ gasPrice?: bigint;
1074
+ maxFeePerGas?: bigint;
1075
+ maxPriorityFeePerGas?: bigint;
1076
+ nonce?: number;
1077
+ value?: bigint;
1078
+ }): Promise<void>;
1079
+ /**
1080
+ * Simulate setTransferPaused
1081
+ * Returns gas estimate and result without sending transaction
1082
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1083
+ */
1084
+ setTransferPaused(_paused: boolean, options?: {
1085
+ accessList?: import("viem").AccessList;
1086
+ authorizationList?: import("viem").AuthorizationList;
1087
+ chain?: import("viem").Chain | null;
1088
+ dataSuffix?: `0x${string}`;
1089
+ gas?: bigint;
1090
+ gasPrice?: bigint;
1091
+ maxFeePerGas?: bigint;
1092
+ maxPriorityFeePerGas?: bigint;
1093
+ nonce?: number;
1094
+ value?: bigint;
1095
+ }): Promise<void>;
1096
+ /**
1097
+ * Simulate transfer
1098
+ * Returns gas estimate and result without sending transaction
1099
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1100
+ */
1101
+ transfer(to: `0x${string}`, amount: bigint, options?: {
1102
+ accessList?: import("viem").AccessList;
1103
+ authorizationList?: import("viem").AuthorizationList;
1104
+ chain?: import("viem").Chain | null;
1105
+ dataSuffix?: `0x${string}`;
1106
+ gas?: bigint;
1107
+ gasPrice?: bigint;
1108
+ maxFeePerGas?: bigint;
1109
+ maxPriorityFeePerGas?: bigint;
1110
+ nonce?: number;
1111
+ value?: bigint;
1112
+ }): Promise<boolean>;
1113
+ /**
1114
+ * Simulate transferFrom
1115
+ * Returns gas estimate and result without sending transaction
1116
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1117
+ */
1118
+ transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
1119
+ accessList?: import("viem").AccessList;
1120
+ authorizationList?: import("viem").AuthorizationList;
1121
+ chain?: import("viem").Chain | null;
1122
+ dataSuffix?: `0x${string}`;
1123
+ gas?: bigint;
1124
+ gasPrice?: bigint;
1125
+ maxFeePerGas?: bigint;
1126
+ maxPriorityFeePerGas?: bigint;
1127
+ nonce?: number;
1128
+ value?: bigint;
1129
+ }): Promise<boolean>;
1130
+ /**
1131
+ * Simulate transferOwnership
1132
+ * Returns gas estimate and result without sending transaction
1133
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1134
+ */
1135
+ transferOwnership(newOwner: `0x${string}`, options?: {
1136
+ accessList?: import("viem").AccessList;
1137
+ authorizationList?: import("viem").AuthorizationList;
1138
+ chain?: import("viem").Chain | null;
1139
+ dataSuffix?: `0x${string}`;
1140
+ gas?: bigint;
1141
+ gasPrice?: bigint;
1142
+ maxFeePerGas?: bigint;
1143
+ maxPriorityFeePerGas?: bigint;
1144
+ nonce?: number;
1145
+ value?: bigint;
1146
+ }): Promise<void>;
1147
+ };
1148
+ /**
1149
+ * Watch contract events
1150
+ *
1151
+ * @example
1152
+ * // Watch all Transfer events
1153
+ * const unwatch = contract.watch.Transfer((event) => {
1154
+ * console.log('Transfer:', event);
1155
+ * });
1156
+ *
1157
+ * // Stop watching
1158
+ * unwatch();
1159
+ */
1160
+ get watch(): {
1161
+ /**
1162
+ * Watch Approval events
1163
+ * @param callback Function to call when event is emitted
1164
+ * @param filter Optional filter for indexed parameters
1165
+ * @returns Unwatch function to stop listening
1166
+ */
1167
+ Approval: (callback: (event: {
1168
+ owner: `0x${string}`;
1169
+ spender: `0x${string}`;
1170
+ amount: bigint;
1171
+ }) => void, filter?: {
1172
+ owner: `0x${string}`;
1173
+ spender: `0x${string}`;
1174
+ }) => () => void;
1175
+ /**
1176
+ * Watch Initialized events
1177
+ * @param callback Function to call when event is emitted
1178
+ * @param filter Optional filter for indexed parameters
1179
+ * @returns Unwatch function to stop listening
1180
+ */
1181
+ Initialized: (callback: (event: {
1182
+ version: bigint;
1183
+ }) => void) => () => void;
1184
+ /**
1185
+ * Watch OwnershipHandoverCanceled events
1186
+ * @param callback Function to call when event is emitted
1187
+ * @param filter Optional filter for indexed parameters
1188
+ * @returns Unwatch function to stop listening
1189
+ */
1190
+ OwnershipHandoverCanceled: (callback: (event: {
1191
+ pendingOwner: `0x${string}`;
1192
+ }) => void, filter?: {
1193
+ pendingOwner: `0x${string}`;
1194
+ }) => () => void;
1195
+ /**
1196
+ * Watch OwnershipHandoverRequested events
1197
+ * @param callback Function to call when event is emitted
1198
+ * @param filter Optional filter for indexed parameters
1199
+ * @returns Unwatch function to stop listening
1200
+ */
1201
+ OwnershipHandoverRequested: (callback: (event: {
1202
+ pendingOwner: `0x${string}`;
1203
+ }) => void, filter?: {
1204
+ pendingOwner: `0x${string}`;
1205
+ }) => () => void;
1206
+ /**
1207
+ * Watch OwnershipTransferred events
1208
+ * @param callback Function to call when event is emitted
1209
+ * @param filter Optional filter for indexed parameters
1210
+ * @returns Unwatch function to stop listening
1211
+ */
1212
+ OwnershipTransferred: (callback: (event: {
1213
+ oldOwner: `0x${string}`;
1214
+ newOwner: `0x${string}`;
1215
+ }) => void, filter?: {
1216
+ oldOwner: `0x${string}`;
1217
+ newOwner: `0x${string}`;
1218
+ }) => () => void;
1219
+ /**
1220
+ * Watch Transfer events
1221
+ * @param callback Function to call when event is emitted
1222
+ * @param filter Optional filter for indexed parameters
1223
+ * @returns Unwatch function to stop listening
1224
+ */
1225
+ Transfer: (callback: (event: {
1226
+ from: `0x${string}`;
1227
+ to: `0x${string}`;
1228
+ amount: bigint;
1229
+ }) => void, filter?: {
1230
+ from: `0x${string}`;
1231
+ to: `0x${string}`;
1232
+ }) => () => void;
1233
+ };
1234
+ }