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