@gitmyabi/dusd 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,835 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * MachineShare_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const MachineShare_jsonAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "string";
10
+ readonly name: "_name";
11
+ readonly type: "string";
12
+ }, {
13
+ readonly internalType: "string";
14
+ readonly name: "_symbol";
15
+ readonly type: "string";
16
+ }, {
17
+ readonly internalType: "address";
18
+ readonly name: "_initialMinter";
19
+ readonly type: "address";
20
+ }];
21
+ readonly stateMutability: "nonpayable";
22
+ readonly type: "constructor";
23
+ }, {
24
+ readonly inputs: readonly [{
25
+ readonly internalType: "address";
26
+ readonly name: "spender";
27
+ readonly type: "address";
28
+ }, {
29
+ readonly internalType: "uint256";
30
+ readonly name: "allowance";
31
+ readonly type: "uint256";
32
+ }, {
33
+ readonly internalType: "uint256";
34
+ readonly name: "needed";
35
+ readonly type: "uint256";
36
+ }];
37
+ readonly name: "ERC20InsufficientAllowance";
38
+ readonly type: "error";
39
+ }, {
40
+ readonly inputs: readonly [{
41
+ readonly internalType: "address";
42
+ readonly name: "sender";
43
+ readonly type: "address";
44
+ }, {
45
+ readonly internalType: "uint256";
46
+ readonly name: "balance";
47
+ readonly type: "uint256";
48
+ }, {
49
+ readonly internalType: "uint256";
50
+ readonly name: "needed";
51
+ readonly type: "uint256";
52
+ }];
53
+ readonly name: "ERC20InsufficientBalance";
54
+ readonly type: "error";
55
+ }, {
56
+ readonly inputs: readonly [{
57
+ readonly internalType: "address";
58
+ readonly name: "approver";
59
+ readonly type: "address";
60
+ }];
61
+ readonly name: "ERC20InvalidApprover";
62
+ readonly type: "error";
63
+ }, {
64
+ readonly inputs: readonly [{
65
+ readonly internalType: "address";
66
+ readonly name: "receiver";
67
+ readonly type: "address";
68
+ }];
69
+ readonly name: "ERC20InvalidReceiver";
70
+ readonly type: "error";
71
+ }, {
72
+ readonly inputs: readonly [{
73
+ readonly internalType: "address";
74
+ readonly name: "sender";
75
+ readonly type: "address";
76
+ }];
77
+ readonly name: "ERC20InvalidSender";
78
+ readonly type: "error";
79
+ }, {
80
+ readonly inputs: readonly [{
81
+ readonly internalType: "address";
82
+ readonly name: "spender";
83
+ readonly type: "address";
84
+ }];
85
+ readonly name: "ERC20InvalidSpender";
86
+ readonly type: "error";
87
+ }, {
88
+ readonly inputs: readonly [{
89
+ readonly internalType: "address";
90
+ readonly name: "owner";
91
+ readonly type: "address";
92
+ }];
93
+ readonly name: "OwnableInvalidOwner";
94
+ readonly type: "error";
95
+ }, {
96
+ readonly inputs: readonly [{
97
+ readonly internalType: "address";
98
+ readonly name: "account";
99
+ readonly type: "address";
100
+ }];
101
+ readonly name: "OwnableUnauthorizedAccount";
102
+ readonly type: "error";
103
+ }, {
104
+ readonly anonymous: false;
105
+ readonly inputs: readonly [{
106
+ readonly indexed: true;
107
+ readonly internalType: "address";
108
+ readonly name: "owner";
109
+ readonly type: "address";
110
+ }, {
111
+ readonly indexed: true;
112
+ readonly internalType: "address";
113
+ readonly name: "spender";
114
+ readonly type: "address";
115
+ }, {
116
+ readonly indexed: false;
117
+ readonly internalType: "uint256";
118
+ readonly name: "value";
119
+ readonly type: "uint256";
120
+ }];
121
+ readonly name: "Approval";
122
+ readonly type: "event";
123
+ }, {
124
+ readonly anonymous: false;
125
+ readonly inputs: readonly [{
126
+ readonly indexed: true;
127
+ readonly internalType: "address";
128
+ readonly name: "previousOwner";
129
+ readonly type: "address";
130
+ }, {
131
+ readonly indexed: true;
132
+ readonly internalType: "address";
133
+ readonly name: "newOwner";
134
+ readonly type: "address";
135
+ }];
136
+ readonly name: "OwnershipTransferStarted";
137
+ readonly type: "event";
138
+ }, {
139
+ readonly anonymous: false;
140
+ readonly inputs: readonly [{
141
+ readonly indexed: true;
142
+ readonly internalType: "address";
143
+ readonly name: "previousOwner";
144
+ readonly type: "address";
145
+ }, {
146
+ readonly indexed: true;
147
+ readonly internalType: "address";
148
+ readonly name: "newOwner";
149
+ readonly type: "address";
150
+ }];
151
+ readonly name: "OwnershipTransferred";
152
+ readonly type: "event";
153
+ }, {
154
+ readonly anonymous: false;
155
+ readonly inputs: readonly [{
156
+ readonly indexed: true;
157
+ readonly internalType: "address";
158
+ readonly name: "from";
159
+ readonly type: "address";
160
+ }, {
161
+ readonly indexed: true;
162
+ readonly internalType: "address";
163
+ readonly name: "to";
164
+ readonly type: "address";
165
+ }, {
166
+ readonly indexed: false;
167
+ readonly internalType: "uint256";
168
+ readonly name: "value";
169
+ readonly type: "uint256";
170
+ }];
171
+ readonly name: "Transfer";
172
+ readonly type: "event";
173
+ }, {
174
+ readonly inputs: readonly [];
175
+ readonly name: "acceptOwnership";
176
+ readonly outputs: readonly [];
177
+ readonly stateMutability: "nonpayable";
178
+ readonly type: "function";
179
+ }, {
180
+ readonly inputs: readonly [{
181
+ readonly internalType: "address";
182
+ readonly name: "owner";
183
+ readonly type: "address";
184
+ }, {
185
+ readonly internalType: "address";
186
+ readonly name: "spender";
187
+ readonly type: "address";
188
+ }];
189
+ readonly name: "allowance";
190
+ readonly outputs: readonly [{
191
+ readonly internalType: "uint256";
192
+ readonly name: "";
193
+ readonly type: "uint256";
194
+ }];
195
+ readonly stateMutability: "view";
196
+ readonly type: "function";
197
+ }, {
198
+ readonly inputs: readonly [{
199
+ readonly internalType: "address";
200
+ readonly name: "spender";
201
+ readonly type: "address";
202
+ }, {
203
+ readonly internalType: "uint256";
204
+ readonly name: "value";
205
+ readonly type: "uint256";
206
+ }];
207
+ readonly name: "approve";
208
+ readonly outputs: readonly [{
209
+ readonly internalType: "bool";
210
+ readonly name: "";
211
+ readonly type: "bool";
212
+ }];
213
+ readonly stateMutability: "nonpayable";
214
+ readonly type: "function";
215
+ }, {
216
+ readonly inputs: readonly [{
217
+ readonly internalType: "address";
218
+ readonly name: "account";
219
+ readonly type: "address";
220
+ }];
221
+ readonly name: "balanceOf";
222
+ readonly outputs: readonly [{
223
+ readonly internalType: "uint256";
224
+ readonly name: "";
225
+ readonly type: "uint256";
226
+ }];
227
+ readonly stateMutability: "view";
228
+ readonly type: "function";
229
+ }, {
230
+ readonly inputs: readonly [{
231
+ readonly internalType: "address";
232
+ readonly name: "from";
233
+ readonly type: "address";
234
+ }, {
235
+ readonly internalType: "uint256";
236
+ readonly name: "amount";
237
+ readonly type: "uint256";
238
+ }];
239
+ readonly name: "burn";
240
+ readonly outputs: readonly [];
241
+ readonly stateMutability: "nonpayable";
242
+ readonly type: "function";
243
+ }, {
244
+ readonly inputs: readonly [];
245
+ readonly name: "decimals";
246
+ readonly outputs: readonly [{
247
+ readonly internalType: "uint8";
248
+ readonly name: "";
249
+ readonly type: "uint8";
250
+ }];
251
+ readonly stateMutability: "pure";
252
+ readonly type: "function";
253
+ }, {
254
+ readonly inputs: readonly [{
255
+ readonly internalType: "address";
256
+ readonly name: "to";
257
+ readonly type: "address";
258
+ }, {
259
+ readonly internalType: "uint256";
260
+ readonly name: "amount";
261
+ readonly type: "uint256";
262
+ }];
263
+ readonly name: "mint";
264
+ readonly outputs: readonly [];
265
+ readonly stateMutability: "nonpayable";
266
+ readonly type: "function";
267
+ }, {
268
+ readonly inputs: readonly [];
269
+ readonly name: "minter";
270
+ readonly outputs: readonly [{
271
+ readonly internalType: "address";
272
+ readonly name: "";
273
+ readonly type: "address";
274
+ }];
275
+ readonly stateMutability: "view";
276
+ readonly type: "function";
277
+ }, {
278
+ readonly inputs: readonly [];
279
+ readonly name: "name";
280
+ readonly outputs: readonly [{
281
+ readonly internalType: "string";
282
+ readonly name: "";
283
+ readonly type: "string";
284
+ }];
285
+ readonly stateMutability: "view";
286
+ readonly type: "function";
287
+ }, {
288
+ readonly inputs: readonly [];
289
+ readonly name: "owner";
290
+ readonly outputs: readonly [{
291
+ readonly internalType: "address";
292
+ readonly name: "";
293
+ readonly type: "address";
294
+ }];
295
+ readonly stateMutability: "view";
296
+ readonly type: "function";
297
+ }, {
298
+ readonly inputs: readonly [];
299
+ readonly name: "pendingOwner";
300
+ readonly outputs: readonly [{
301
+ readonly internalType: "address";
302
+ readonly name: "";
303
+ readonly type: "address";
304
+ }];
305
+ readonly stateMutability: "view";
306
+ readonly type: "function";
307
+ }, {
308
+ readonly inputs: readonly [];
309
+ readonly name: "renounceOwnership";
310
+ readonly outputs: readonly [];
311
+ readonly stateMutability: "nonpayable";
312
+ readonly type: "function";
313
+ }, {
314
+ readonly inputs: readonly [];
315
+ readonly name: "symbol";
316
+ readonly outputs: readonly [{
317
+ readonly internalType: "string";
318
+ readonly name: "";
319
+ readonly type: "string";
320
+ }];
321
+ readonly stateMutability: "view";
322
+ readonly type: "function";
323
+ }, {
324
+ readonly inputs: readonly [];
325
+ readonly name: "totalSupply";
326
+ readonly outputs: readonly [{
327
+ readonly internalType: "uint256";
328
+ readonly name: "";
329
+ readonly type: "uint256";
330
+ }];
331
+ readonly stateMutability: "view";
332
+ readonly type: "function";
333
+ }, {
334
+ readonly inputs: readonly [{
335
+ readonly internalType: "address";
336
+ readonly name: "to";
337
+ readonly type: "address";
338
+ }, {
339
+ readonly internalType: "uint256";
340
+ readonly name: "value";
341
+ readonly type: "uint256";
342
+ }];
343
+ readonly name: "transfer";
344
+ readonly outputs: readonly [{
345
+ readonly internalType: "bool";
346
+ readonly name: "";
347
+ readonly type: "bool";
348
+ }];
349
+ readonly stateMutability: "nonpayable";
350
+ readonly type: "function";
351
+ }, {
352
+ readonly inputs: readonly [{
353
+ readonly internalType: "address";
354
+ readonly name: "from";
355
+ readonly type: "address";
356
+ }, {
357
+ readonly internalType: "address";
358
+ readonly name: "to";
359
+ readonly type: "address";
360
+ }, {
361
+ readonly internalType: "uint256";
362
+ readonly name: "value";
363
+ readonly type: "uint256";
364
+ }];
365
+ readonly name: "transferFrom";
366
+ readonly outputs: readonly [{
367
+ readonly internalType: "bool";
368
+ readonly name: "";
369
+ readonly type: "bool";
370
+ }];
371
+ readonly stateMutability: "nonpayable";
372
+ readonly type: "function";
373
+ }, {
374
+ readonly inputs: readonly [{
375
+ readonly internalType: "address";
376
+ readonly name: "newOwner";
377
+ readonly type: "address";
378
+ }];
379
+ readonly name: "transferOwnership";
380
+ readonly outputs: readonly [];
381
+ readonly stateMutability: "nonpayable";
382
+ readonly type: "function";
383
+ }];
384
+ /**
385
+ * Type-safe ABI for MachineShare_json
386
+ */
387
+ export type MachineShare_jsonAbi = typeof MachineShare_jsonAbi;
388
+ /**
389
+ * Contract instance type for MachineShare_json
390
+ */
391
+ export type MachineShare_jsonContract = any;
392
+ /**
393
+ * MachineShare_json Contract Class
394
+ *
395
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
396
+ *
397
+ * @example
398
+ * ```typescript
399
+ * import { createPublicClient, createWalletClient, http } from 'viem';
400
+ * import { mainnet } from 'viem/chains';
401
+ * import { MachineShare_json } from 'MachineShare_json';
402
+ *
403
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
404
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
405
+ *
406
+ * const contract = new MachineShare_json('0x...', { publicClient, walletClient });
407
+ *
408
+ * // Read functions
409
+ * const result = await contract.balanceOf('0x...');
410
+ *
411
+ * // Write functions
412
+ * const hash = await contract.transfer('0x...', 1000n);
413
+ *
414
+ * // Simulate transactions (dry-run)
415
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
416
+ * console.log('Gas estimate:', simulation.request.gas);
417
+ *
418
+ * // Watch events
419
+ * const unwatch = contract.watch.Transfer((event) => {
420
+ * console.log('Transfer event:', event);
421
+ * });
422
+ * ```
423
+ */
424
+ export declare class MachineShare_json {
425
+ private contract;
426
+ private contractAddress;
427
+ private publicClient;
428
+ constructor(address: Address, clients: {
429
+ publicClient: PublicClient;
430
+ walletClient?: WalletClient;
431
+ });
432
+ /**
433
+ * Get the contract address
434
+ */
435
+ get address(): Address;
436
+ /**
437
+ * Get the underlying viem contract instance
438
+ */
439
+ getContract(): MachineShare_jsonContract;
440
+ /**
441
+ * allowance
442
+ * view
443
+ */
444
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
445
+ /**
446
+ * balanceOf
447
+ * view
448
+ */
449
+ balanceOf(account: `0x${string}`): Promise<bigint>;
450
+ /**
451
+ * decimals
452
+ * pure
453
+ */
454
+ decimals(): Promise<bigint>;
455
+ /**
456
+ * minter
457
+ * view
458
+ */
459
+ minter(): Promise<`0x${string}`>;
460
+ /**
461
+ * name
462
+ * view
463
+ */
464
+ name(): Promise<string>;
465
+ /**
466
+ * owner
467
+ * view
468
+ */
469
+ owner(): Promise<`0x${string}`>;
470
+ /**
471
+ * pendingOwner
472
+ * view
473
+ */
474
+ pendingOwner(): Promise<`0x${string}`>;
475
+ /**
476
+ * symbol
477
+ * view
478
+ */
479
+ symbol(): Promise<string>;
480
+ /**
481
+ * totalSupply
482
+ * view
483
+ */
484
+ totalSupply(): Promise<bigint>;
485
+ /**
486
+ * acceptOwnership
487
+ * nonpayable
488
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
489
+ */
490
+ acceptOwnership(options?: {
491
+ accessList?: import('viem').AccessList;
492
+ authorizationList?: import('viem').AuthorizationList;
493
+ chain?: import('viem').Chain | null;
494
+ dataSuffix?: `0x${string}`;
495
+ gas?: bigint;
496
+ gasPrice?: bigint;
497
+ maxFeePerGas?: bigint;
498
+ maxPriorityFeePerGas?: bigint;
499
+ nonce?: number;
500
+ value?: bigint;
501
+ }): Promise<`0x${string}`>;
502
+ /**
503
+ * approve
504
+ * nonpayable
505
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
506
+ */
507
+ approve(spender: `0x${string}`, value: bigint, options?: {
508
+ accessList?: import('viem').AccessList;
509
+ authorizationList?: import('viem').AuthorizationList;
510
+ chain?: import('viem').Chain | null;
511
+ dataSuffix?: `0x${string}`;
512
+ gas?: bigint;
513
+ gasPrice?: bigint;
514
+ maxFeePerGas?: bigint;
515
+ maxPriorityFeePerGas?: bigint;
516
+ nonce?: number;
517
+ value?: bigint;
518
+ }): Promise<`0x${string}`>;
519
+ /**
520
+ * burn
521
+ * nonpayable
522
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
523
+ */
524
+ burn(from: `0x${string}`, amount: bigint, options?: {
525
+ accessList?: import('viem').AccessList;
526
+ authorizationList?: import('viem').AuthorizationList;
527
+ chain?: import('viem').Chain | null;
528
+ dataSuffix?: `0x${string}`;
529
+ gas?: bigint;
530
+ gasPrice?: bigint;
531
+ maxFeePerGas?: bigint;
532
+ maxPriorityFeePerGas?: bigint;
533
+ nonce?: number;
534
+ value?: bigint;
535
+ }): Promise<`0x${string}`>;
536
+ /**
537
+ * mint
538
+ * nonpayable
539
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
540
+ */
541
+ mint(to: `0x${string}`, amount: bigint, options?: {
542
+ accessList?: import('viem').AccessList;
543
+ authorizationList?: import('viem').AuthorizationList;
544
+ chain?: import('viem').Chain | null;
545
+ dataSuffix?: `0x${string}`;
546
+ gas?: bigint;
547
+ gasPrice?: bigint;
548
+ maxFeePerGas?: bigint;
549
+ maxPriorityFeePerGas?: bigint;
550
+ nonce?: number;
551
+ value?: bigint;
552
+ }): Promise<`0x${string}`>;
553
+ /**
554
+ * renounceOwnership
555
+ * nonpayable
556
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
557
+ */
558
+ renounceOwnership(options?: {
559
+ accessList?: import('viem').AccessList;
560
+ authorizationList?: import('viem').AuthorizationList;
561
+ chain?: import('viem').Chain | null;
562
+ dataSuffix?: `0x${string}`;
563
+ gas?: bigint;
564
+ gasPrice?: bigint;
565
+ maxFeePerGas?: bigint;
566
+ maxPriorityFeePerGas?: bigint;
567
+ nonce?: number;
568
+ value?: bigint;
569
+ }): Promise<`0x${string}`>;
570
+ /**
571
+ * transfer
572
+ * nonpayable
573
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
574
+ */
575
+ transfer(to: `0x${string}`, value: bigint, options?: {
576
+ accessList?: import('viem').AccessList;
577
+ authorizationList?: import('viem').AuthorizationList;
578
+ chain?: import('viem').Chain | null;
579
+ dataSuffix?: `0x${string}`;
580
+ gas?: bigint;
581
+ gasPrice?: bigint;
582
+ maxFeePerGas?: bigint;
583
+ maxPriorityFeePerGas?: bigint;
584
+ nonce?: number;
585
+ value?: bigint;
586
+ }): Promise<`0x${string}`>;
587
+ /**
588
+ * transferFrom
589
+ * nonpayable
590
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
591
+ */
592
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
593
+ accessList?: import('viem').AccessList;
594
+ authorizationList?: import('viem').AuthorizationList;
595
+ chain?: import('viem').Chain | null;
596
+ dataSuffix?: `0x${string}`;
597
+ gas?: bigint;
598
+ gasPrice?: bigint;
599
+ maxFeePerGas?: bigint;
600
+ maxPriorityFeePerGas?: bigint;
601
+ nonce?: number;
602
+ value?: bigint;
603
+ }): Promise<`0x${string}`>;
604
+ /**
605
+ * transferOwnership
606
+ * nonpayable
607
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
608
+ */
609
+ transferOwnership(newOwner: `0x${string}`, options?: {
610
+ accessList?: import('viem').AccessList;
611
+ authorizationList?: import('viem').AuthorizationList;
612
+ chain?: import('viem').Chain | null;
613
+ dataSuffix?: `0x${string}`;
614
+ gas?: bigint;
615
+ gasPrice?: bigint;
616
+ maxFeePerGas?: bigint;
617
+ maxPriorityFeePerGas?: bigint;
618
+ nonce?: number;
619
+ value?: bigint;
620
+ }): Promise<`0x${string}`>;
621
+ /**
622
+ * Simulate contract write operations (dry-run without sending transaction)
623
+ *
624
+ * @example
625
+ * const result = await contract.simulate.transfer('0x...', 1000n);
626
+ * console.log('Gas estimate:', result.request.gas);
627
+ * console.log('Would succeed:', result.result);
628
+ */
629
+ get simulate(): {
630
+ /**
631
+ * Simulate acceptOwnership
632
+ * Returns gas estimate and result without sending transaction
633
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
634
+ */
635
+ acceptOwnership(options?: {
636
+ accessList?: import("viem").AccessList;
637
+ authorizationList?: import("viem").AuthorizationList;
638
+ chain?: import("viem").Chain | null;
639
+ dataSuffix?: `0x${string}`;
640
+ gas?: bigint;
641
+ gasPrice?: bigint;
642
+ maxFeePerGas?: bigint;
643
+ maxPriorityFeePerGas?: bigint;
644
+ nonce?: number;
645
+ value?: bigint;
646
+ }): Promise<void>;
647
+ /**
648
+ * Simulate approve
649
+ * Returns gas estimate and result without sending transaction
650
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
651
+ */
652
+ approve(spender: `0x${string}`, value: bigint, options?: {
653
+ accessList?: import("viem").AccessList;
654
+ authorizationList?: import("viem").AuthorizationList;
655
+ chain?: import("viem").Chain | null;
656
+ dataSuffix?: `0x${string}`;
657
+ gas?: bigint;
658
+ gasPrice?: bigint;
659
+ maxFeePerGas?: bigint;
660
+ maxPriorityFeePerGas?: bigint;
661
+ nonce?: number;
662
+ value?: bigint;
663
+ }): Promise<boolean>;
664
+ /**
665
+ * Simulate burn
666
+ * Returns gas estimate and result without sending transaction
667
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
668
+ */
669
+ burn(from: `0x${string}`, amount: bigint, options?: {
670
+ accessList?: import("viem").AccessList;
671
+ authorizationList?: import("viem").AuthorizationList;
672
+ chain?: import("viem").Chain | null;
673
+ dataSuffix?: `0x${string}`;
674
+ gas?: bigint;
675
+ gasPrice?: bigint;
676
+ maxFeePerGas?: bigint;
677
+ maxPriorityFeePerGas?: bigint;
678
+ nonce?: number;
679
+ value?: bigint;
680
+ }): Promise<void>;
681
+ /**
682
+ * Simulate mint
683
+ * Returns gas estimate and result without sending transaction
684
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
685
+ */
686
+ mint(to: `0x${string}`, amount: bigint, options?: {
687
+ accessList?: import("viem").AccessList;
688
+ authorizationList?: import("viem").AuthorizationList;
689
+ chain?: import("viem").Chain | null;
690
+ dataSuffix?: `0x${string}`;
691
+ gas?: bigint;
692
+ gasPrice?: bigint;
693
+ maxFeePerGas?: bigint;
694
+ maxPriorityFeePerGas?: bigint;
695
+ nonce?: number;
696
+ value?: bigint;
697
+ }): Promise<void>;
698
+ /**
699
+ * Simulate renounceOwnership
700
+ * Returns gas estimate and result without sending transaction
701
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
702
+ */
703
+ renounceOwnership(options?: {
704
+ accessList?: import("viem").AccessList;
705
+ authorizationList?: import("viem").AuthorizationList;
706
+ chain?: import("viem").Chain | null;
707
+ dataSuffix?: `0x${string}`;
708
+ gas?: bigint;
709
+ gasPrice?: bigint;
710
+ maxFeePerGas?: bigint;
711
+ maxPriorityFeePerGas?: bigint;
712
+ nonce?: number;
713
+ value?: bigint;
714
+ }): Promise<void>;
715
+ /**
716
+ * Simulate transfer
717
+ * Returns gas estimate and result without sending transaction
718
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
719
+ */
720
+ transfer(to: `0x${string}`, value: bigint, options?: {
721
+ accessList?: import("viem").AccessList;
722
+ authorizationList?: import("viem").AuthorizationList;
723
+ chain?: import("viem").Chain | null;
724
+ dataSuffix?: `0x${string}`;
725
+ gas?: bigint;
726
+ gasPrice?: bigint;
727
+ maxFeePerGas?: bigint;
728
+ maxPriorityFeePerGas?: bigint;
729
+ nonce?: number;
730
+ value?: bigint;
731
+ }): Promise<boolean>;
732
+ /**
733
+ * Simulate transferFrom
734
+ * Returns gas estimate and result without sending transaction
735
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
736
+ */
737
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
738
+ accessList?: import("viem").AccessList;
739
+ authorizationList?: import("viem").AuthorizationList;
740
+ chain?: import("viem").Chain | null;
741
+ dataSuffix?: `0x${string}`;
742
+ gas?: bigint;
743
+ gasPrice?: bigint;
744
+ maxFeePerGas?: bigint;
745
+ maxPriorityFeePerGas?: bigint;
746
+ nonce?: number;
747
+ value?: bigint;
748
+ }): Promise<boolean>;
749
+ /**
750
+ * Simulate transferOwnership
751
+ * Returns gas estimate and result without sending transaction
752
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
753
+ */
754
+ transferOwnership(newOwner: `0x${string}`, options?: {
755
+ accessList?: import("viem").AccessList;
756
+ authorizationList?: import("viem").AuthorizationList;
757
+ chain?: import("viem").Chain | null;
758
+ dataSuffix?: `0x${string}`;
759
+ gas?: bigint;
760
+ gasPrice?: bigint;
761
+ maxFeePerGas?: bigint;
762
+ maxPriorityFeePerGas?: bigint;
763
+ nonce?: number;
764
+ value?: bigint;
765
+ }): Promise<void>;
766
+ };
767
+ /**
768
+ * Watch contract events
769
+ *
770
+ * @example
771
+ * // Watch all Transfer events
772
+ * const unwatch = contract.watch.Transfer((event) => {
773
+ * console.log('Transfer:', event);
774
+ * });
775
+ *
776
+ * // Stop watching
777
+ * unwatch();
778
+ */
779
+ get watch(): {
780
+ /**
781
+ * Watch Approval events
782
+ * @param callback Function to call when event is emitted
783
+ * @param filter Optional filter for indexed parameters
784
+ * @returns Unwatch function to stop listening
785
+ */
786
+ Approval: (callback: (event: {
787
+ owner: `0x${string}`;
788
+ spender: `0x${string}`;
789
+ value: bigint;
790
+ }) => void, filter?: {
791
+ owner: `0x${string}`;
792
+ spender: `0x${string}`;
793
+ }) => () => void;
794
+ /**
795
+ * Watch OwnershipTransferStarted events
796
+ * @param callback Function to call when event is emitted
797
+ * @param filter Optional filter for indexed parameters
798
+ * @returns Unwatch function to stop listening
799
+ */
800
+ OwnershipTransferStarted: (callback: (event: {
801
+ previousOwner: `0x${string}`;
802
+ newOwner: `0x${string}`;
803
+ }) => void, filter?: {
804
+ previousOwner: `0x${string}`;
805
+ newOwner: `0x${string}`;
806
+ }) => () => void;
807
+ /**
808
+ * Watch OwnershipTransferred events
809
+ * @param callback Function to call when event is emitted
810
+ * @param filter Optional filter for indexed parameters
811
+ * @returns Unwatch function to stop listening
812
+ */
813
+ OwnershipTransferred: (callback: (event: {
814
+ previousOwner: `0x${string}`;
815
+ newOwner: `0x${string}`;
816
+ }) => void, filter?: {
817
+ previousOwner: `0x${string}`;
818
+ newOwner: `0x${string}`;
819
+ }) => () => void;
820
+ /**
821
+ * Watch Transfer events
822
+ * @param callback Function to call when event is emitted
823
+ * @param filter Optional filter for indexed parameters
824
+ * @returns Unwatch function to stop listening
825
+ */
826
+ Transfer: (callback: (event: {
827
+ from: `0x${string}`;
828
+ to: `0x${string}`;
829
+ value: bigint;
830
+ }) => void, filter?: {
831
+ from: `0x${string}`;
832
+ to: `0x${string}`;
833
+ }) => () => void;
834
+ };
835
+ }