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