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