@gitmyabi-stg/elf 0.0.1

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