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