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