@gitmyabi/truth 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,1176 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * TRUTH_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const TRUTH_jsonAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "illuminatiContractAddress";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly internalType: "string";
14
+ readonly name: "_name";
15
+ readonly type: "string";
16
+ }, {
17
+ readonly internalType: "string";
18
+ readonly name: "_symbol";
19
+ readonly type: "string";
20
+ }];
21
+ readonly stateMutability: "nonpayable";
22
+ readonly type: "constructor";
23
+ }, {
24
+ readonly anonymous: false;
25
+ readonly inputs: readonly [{
26
+ readonly indexed: true;
27
+ readonly internalType: "address";
28
+ readonly name: "account";
29
+ readonly type: "address";
30
+ }, {
31
+ readonly indexed: true;
32
+ readonly internalType: "address";
33
+ readonly name: "operator";
34
+ readonly type: "address";
35
+ }, {
36
+ readonly indexed: false;
37
+ readonly internalType: "bool";
38
+ readonly name: "approved";
39
+ readonly type: "bool";
40
+ }];
41
+ readonly name: "ApprovalForAll";
42
+ readonly type: "event";
43
+ }, {
44
+ readonly anonymous: false;
45
+ readonly inputs: readonly [{
46
+ readonly indexed: true;
47
+ readonly internalType: "address";
48
+ readonly name: "previousOwner";
49
+ readonly type: "address";
50
+ }, {
51
+ readonly indexed: true;
52
+ readonly internalType: "address";
53
+ readonly name: "newOwner";
54
+ readonly type: "address";
55
+ }];
56
+ readonly name: "OwnershipTransferred";
57
+ readonly type: "event";
58
+ }, {
59
+ readonly anonymous: false;
60
+ readonly inputs: readonly [{
61
+ readonly indexed: true;
62
+ readonly internalType: "address";
63
+ readonly name: "operator";
64
+ readonly type: "address";
65
+ }, {
66
+ readonly indexed: true;
67
+ readonly internalType: "address";
68
+ readonly name: "from";
69
+ readonly type: "address";
70
+ }, {
71
+ readonly indexed: true;
72
+ readonly internalType: "address";
73
+ readonly name: "to";
74
+ readonly type: "address";
75
+ }, {
76
+ readonly indexed: false;
77
+ readonly internalType: "uint256[]";
78
+ readonly name: "ids";
79
+ readonly type: "uint256[]";
80
+ }, {
81
+ readonly indexed: false;
82
+ readonly internalType: "uint256[]";
83
+ readonly name: "values";
84
+ readonly type: "uint256[]";
85
+ }];
86
+ readonly name: "TransferBatch";
87
+ readonly type: "event";
88
+ }, {
89
+ readonly anonymous: false;
90
+ readonly inputs: readonly [{
91
+ readonly indexed: true;
92
+ readonly internalType: "address";
93
+ readonly name: "operator";
94
+ readonly type: "address";
95
+ }, {
96
+ readonly indexed: true;
97
+ readonly internalType: "address";
98
+ readonly name: "from";
99
+ readonly type: "address";
100
+ }, {
101
+ readonly indexed: true;
102
+ readonly internalType: "address";
103
+ readonly name: "to";
104
+ readonly type: "address";
105
+ }, {
106
+ readonly indexed: false;
107
+ readonly internalType: "uint256";
108
+ readonly name: "id";
109
+ readonly type: "uint256";
110
+ }, {
111
+ readonly indexed: false;
112
+ readonly internalType: "uint256";
113
+ readonly name: "value";
114
+ readonly type: "uint256";
115
+ }];
116
+ readonly name: "TransferSingle";
117
+ readonly type: "event";
118
+ }, {
119
+ readonly anonymous: false;
120
+ readonly inputs: readonly [{
121
+ readonly indexed: false;
122
+ readonly internalType: "string";
123
+ readonly name: "value";
124
+ readonly type: "string";
125
+ }, {
126
+ readonly indexed: true;
127
+ readonly internalType: "uint256";
128
+ readonly name: "id";
129
+ readonly type: "uint256";
130
+ }];
131
+ readonly name: "URI";
132
+ readonly type: "event";
133
+ }, {
134
+ readonly inputs: readonly [];
135
+ readonly name: "_baseURI";
136
+ readonly outputs: readonly [{
137
+ readonly internalType: "string";
138
+ readonly name: "";
139
+ readonly type: "string";
140
+ }];
141
+ readonly stateMutability: "view";
142
+ readonly type: "function";
143
+ }, {
144
+ readonly inputs: readonly [];
145
+ readonly name: "_contractURI";
146
+ readonly outputs: readonly [{
147
+ readonly internalType: "string";
148
+ readonly name: "";
149
+ readonly type: "string";
150
+ }];
151
+ readonly stateMutability: "view";
152
+ readonly type: "function";
153
+ }, {
154
+ readonly inputs: readonly [{
155
+ readonly internalType: "uint256[]";
156
+ readonly name: "illuminatiIDs";
157
+ readonly type: "uint256[]";
158
+ }, {
159
+ readonly internalType: "address[]";
160
+ readonly name: "addr";
161
+ readonly type: "address[]";
162
+ }];
163
+ readonly name: "aidrop";
164
+ readonly outputs: readonly [];
165
+ readonly stateMutability: "nonpayable";
166
+ readonly type: "function";
167
+ }, {
168
+ readonly inputs: readonly [];
169
+ readonly name: "airdropped";
170
+ readonly outputs: readonly [{
171
+ readonly internalType: "uint256";
172
+ readonly name: "";
173
+ readonly type: "uint256";
174
+ }];
175
+ readonly stateMutability: "view";
176
+ readonly type: "function";
177
+ }, {
178
+ readonly inputs: readonly [{
179
+ readonly internalType: "address";
180
+ readonly name: "account";
181
+ readonly type: "address";
182
+ }, {
183
+ readonly internalType: "uint256";
184
+ readonly name: "id";
185
+ readonly type: "uint256";
186
+ }];
187
+ readonly name: "balanceOf";
188
+ readonly outputs: readonly [{
189
+ readonly internalType: "uint256";
190
+ readonly name: "";
191
+ readonly type: "uint256";
192
+ }];
193
+ readonly stateMutability: "view";
194
+ readonly type: "function";
195
+ }, {
196
+ readonly inputs: readonly [{
197
+ readonly internalType: "address[]";
198
+ readonly name: "accounts";
199
+ readonly type: "address[]";
200
+ }, {
201
+ readonly internalType: "uint256[]";
202
+ readonly name: "ids";
203
+ readonly type: "uint256[]";
204
+ }];
205
+ readonly name: "balanceOfBatch";
206
+ readonly outputs: readonly [{
207
+ readonly internalType: "uint256[]";
208
+ readonly name: "";
209
+ readonly type: "uint256[]";
210
+ }];
211
+ readonly stateMutability: "view";
212
+ readonly type: "function";
213
+ }, {
214
+ readonly inputs: readonly [{
215
+ readonly internalType: "uint256";
216
+ readonly name: "tokenId";
217
+ readonly type: "uint256";
218
+ }];
219
+ readonly name: "checkClaimed";
220
+ readonly outputs: readonly [{
221
+ readonly internalType: "bool";
222
+ readonly name: "";
223
+ readonly type: "bool";
224
+ }];
225
+ readonly stateMutability: "view";
226
+ readonly type: "function";
227
+ }, {
228
+ readonly inputs: readonly [{
229
+ readonly internalType: "address";
230
+ readonly name: "owner";
231
+ readonly type: "address";
232
+ }];
233
+ readonly name: "checkIlluminatiTokens";
234
+ readonly outputs: readonly [{
235
+ readonly internalType: "uint256[]";
236
+ readonly name: "";
237
+ readonly type: "uint256[]";
238
+ }];
239
+ readonly stateMutability: "view";
240
+ readonly type: "function";
241
+ }, {
242
+ readonly inputs: readonly [{
243
+ readonly internalType: "uint256[]";
244
+ readonly name: "illuminatiIDs";
245
+ readonly type: "uint256[]";
246
+ }];
247
+ readonly name: "claim";
248
+ readonly outputs: readonly [];
249
+ readonly stateMutability: "nonpayable";
250
+ readonly type: "function";
251
+ }, {
252
+ readonly inputs: readonly [];
253
+ readonly name: "claimLive";
254
+ readonly outputs: readonly [{
255
+ readonly internalType: "bool";
256
+ readonly name: "";
257
+ readonly type: "bool";
258
+ }];
259
+ readonly stateMutability: "view";
260
+ readonly type: "function";
261
+ }, {
262
+ readonly inputs: readonly [{
263
+ readonly internalType: "uint256";
264
+ readonly name: "illuminatiID";
265
+ readonly type: "uint256";
266
+ }];
267
+ readonly name: "claimStartingToken";
268
+ readonly outputs: readonly [];
269
+ readonly stateMutability: "nonpayable";
270
+ readonly type: "function";
271
+ }, {
272
+ readonly inputs: readonly [{
273
+ readonly internalType: "uint256";
274
+ readonly name: "";
275
+ readonly type: "uint256";
276
+ }];
277
+ readonly name: "claimTracker";
278
+ readonly outputs: readonly [{
279
+ readonly internalType: "bool";
280
+ readonly name: "";
281
+ readonly type: "bool";
282
+ }];
283
+ readonly stateMutability: "view";
284
+ readonly type: "function";
285
+ }, {
286
+ readonly inputs: readonly [];
287
+ readonly name: "claimedCount";
288
+ readonly outputs: readonly [{
289
+ readonly internalType: "uint256";
290
+ readonly name: "";
291
+ readonly type: "uint256";
292
+ }];
293
+ readonly stateMutability: "view";
294
+ readonly type: "function";
295
+ }, {
296
+ readonly inputs: readonly [];
297
+ readonly name: "contractURI";
298
+ readonly outputs: readonly [{
299
+ readonly internalType: "string";
300
+ readonly name: "";
301
+ readonly type: "string";
302
+ }];
303
+ readonly stateMutability: "view";
304
+ readonly type: "function";
305
+ }, {
306
+ readonly inputs: readonly [{
307
+ readonly internalType: "address";
308
+ readonly name: "account";
309
+ readonly type: "address";
310
+ }, {
311
+ readonly internalType: "address";
312
+ readonly name: "operator";
313
+ readonly type: "address";
314
+ }];
315
+ readonly name: "isApprovedForAll";
316
+ readonly outputs: readonly [{
317
+ readonly internalType: "bool";
318
+ readonly name: "";
319
+ readonly type: "bool";
320
+ }];
321
+ readonly stateMutability: "view";
322
+ readonly type: "function";
323
+ }, {
324
+ readonly inputs: readonly [];
325
+ readonly name: "maxSupply";
326
+ readonly outputs: readonly [{
327
+ readonly internalType: "uint256";
328
+ readonly name: "";
329
+ readonly type: "uint256";
330
+ }];
331
+ readonly stateMutability: "view";
332
+ readonly type: "function";
333
+ }, {
334
+ readonly inputs: readonly [];
335
+ readonly name: "name";
336
+ readonly outputs: readonly [{
337
+ readonly internalType: "string";
338
+ readonly name: "";
339
+ readonly type: "string";
340
+ }];
341
+ readonly stateMutability: "view";
342
+ readonly type: "function";
343
+ }, {
344
+ readonly inputs: readonly [];
345
+ readonly name: "owner";
346
+ readonly outputs: readonly [{
347
+ readonly internalType: "address";
348
+ readonly name: "";
349
+ readonly type: "address";
350
+ }];
351
+ readonly stateMutability: "view";
352
+ readonly type: "function";
353
+ }, {
354
+ readonly inputs: readonly [];
355
+ readonly name: "renounceOwnership";
356
+ readonly outputs: readonly [];
357
+ readonly stateMutability: "nonpayable";
358
+ readonly type: "function";
359
+ }, {
360
+ readonly inputs: readonly [{
361
+ readonly internalType: "address";
362
+ readonly name: "from";
363
+ readonly type: "address";
364
+ }, {
365
+ readonly internalType: "address";
366
+ readonly name: "to";
367
+ readonly type: "address";
368
+ }, {
369
+ readonly internalType: "uint256[]";
370
+ readonly name: "ids";
371
+ readonly type: "uint256[]";
372
+ }, {
373
+ readonly internalType: "uint256[]";
374
+ readonly name: "amounts";
375
+ readonly type: "uint256[]";
376
+ }, {
377
+ readonly internalType: "bytes";
378
+ readonly name: "data";
379
+ readonly type: "bytes";
380
+ }];
381
+ readonly name: "safeBatchTransferFrom";
382
+ readonly outputs: readonly [];
383
+ readonly stateMutability: "nonpayable";
384
+ readonly type: "function";
385
+ }, {
386
+ readonly inputs: readonly [{
387
+ readonly internalType: "address";
388
+ readonly name: "from";
389
+ readonly type: "address";
390
+ }, {
391
+ readonly internalType: "address";
392
+ readonly name: "to";
393
+ readonly type: "address";
394
+ }, {
395
+ readonly internalType: "uint256";
396
+ readonly name: "id";
397
+ readonly type: "uint256";
398
+ }, {
399
+ readonly internalType: "uint256";
400
+ readonly name: "amount";
401
+ readonly type: "uint256";
402
+ }, {
403
+ readonly internalType: "bytes";
404
+ readonly name: "data";
405
+ readonly type: "bytes";
406
+ }];
407
+ readonly name: "safeTransferFrom";
408
+ readonly outputs: readonly [];
409
+ readonly stateMutability: "nonpayable";
410
+ readonly type: "function";
411
+ }, {
412
+ readonly inputs: readonly [{
413
+ readonly internalType: "address";
414
+ readonly name: "operator";
415
+ readonly type: "address";
416
+ }, {
417
+ readonly internalType: "bool";
418
+ readonly name: "approved";
419
+ readonly type: "bool";
420
+ }];
421
+ readonly name: "setApprovalForAll";
422
+ readonly outputs: readonly [];
423
+ readonly stateMutability: "nonpayable";
424
+ readonly type: "function";
425
+ }, {
426
+ readonly inputs: readonly [{
427
+ readonly internalType: "string";
428
+ readonly name: "newuri";
429
+ readonly type: "string";
430
+ }];
431
+ readonly name: "setBaseURI";
432
+ readonly outputs: readonly [];
433
+ readonly stateMutability: "nonpayable";
434
+ readonly type: "function";
435
+ }, {
436
+ readonly inputs: readonly [{
437
+ readonly internalType: "bool";
438
+ readonly name: "_live";
439
+ readonly type: "bool";
440
+ }];
441
+ readonly name: "setClaimLive";
442
+ readonly outputs: readonly [];
443
+ readonly stateMutability: "nonpayable";
444
+ readonly type: "function";
445
+ }, {
446
+ readonly inputs: readonly [{
447
+ readonly internalType: "string";
448
+ readonly name: "newuri";
449
+ readonly type: "string";
450
+ }];
451
+ readonly name: "setContractURI";
452
+ readonly outputs: readonly [];
453
+ readonly stateMutability: "nonpayable";
454
+ readonly type: "function";
455
+ }, {
456
+ readonly inputs: readonly [{
457
+ readonly internalType: "bytes4";
458
+ readonly name: "interfaceId";
459
+ readonly type: "bytes4";
460
+ }];
461
+ readonly name: "supportsInterface";
462
+ readonly outputs: readonly [{
463
+ readonly internalType: "bool";
464
+ readonly name: "";
465
+ readonly type: "bool";
466
+ }];
467
+ readonly stateMutability: "view";
468
+ readonly type: "function";
469
+ }, {
470
+ readonly inputs: readonly [];
471
+ readonly name: "symbol";
472
+ readonly outputs: readonly [{
473
+ readonly internalType: "string";
474
+ readonly name: "";
475
+ readonly type: "string";
476
+ }];
477
+ readonly stateMutability: "view";
478
+ readonly type: "function";
479
+ }, {
480
+ readonly inputs: readonly [];
481
+ readonly name: "totalSupply";
482
+ readonly outputs: readonly [{
483
+ readonly internalType: "uint256";
484
+ readonly name: "";
485
+ readonly type: "uint256";
486
+ }];
487
+ readonly stateMutability: "view";
488
+ readonly type: "function";
489
+ }, {
490
+ readonly inputs: readonly [{
491
+ readonly internalType: "address";
492
+ readonly name: "newOwner";
493
+ readonly type: "address";
494
+ }];
495
+ readonly name: "transferOwnership";
496
+ readonly outputs: readonly [];
497
+ readonly stateMutability: "nonpayable";
498
+ readonly type: "function";
499
+ }, {
500
+ readonly inputs: readonly [{
501
+ readonly internalType: "uint256";
502
+ readonly name: "tokenId";
503
+ readonly type: "uint256";
504
+ }];
505
+ readonly name: "uri";
506
+ readonly outputs: readonly [{
507
+ readonly internalType: "string";
508
+ readonly name: "";
509
+ readonly type: "string";
510
+ }];
511
+ readonly stateMutability: "view";
512
+ readonly type: "function";
513
+ }, {
514
+ readonly inputs: readonly [];
515
+ readonly name: "withdrawToOwner";
516
+ readonly outputs: readonly [];
517
+ readonly stateMutability: "nonpayable";
518
+ readonly type: "function";
519
+ }];
520
+ /**
521
+ * Type-safe ABI for TRUTH_json
522
+ */
523
+ export type TRUTH_jsonAbi = typeof TRUTH_jsonAbi;
524
+ /**
525
+ * Contract instance type for TRUTH_json
526
+ */
527
+ export type TRUTH_jsonContract = any;
528
+ /**
529
+ * TRUTH_json Contract Class
530
+ *
531
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
532
+ *
533
+ * @example
534
+ * ```typescript
535
+ * import { createPublicClient, createWalletClient, http } from 'viem';
536
+ * import { mainnet } from 'viem/chains';
537
+ * import { TRUTH_json } from 'TRUTH_json';
538
+ *
539
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
540
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
541
+ *
542
+ * const contract = new TRUTH_json('0x...', { publicClient, walletClient });
543
+ *
544
+ * // Read functions
545
+ * const result = await contract.balanceOf('0x...');
546
+ *
547
+ * // Write functions
548
+ * const hash = await contract.transfer('0x...', 1000n);
549
+ *
550
+ * // Simulate transactions (dry-run)
551
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
552
+ * console.log('Gas estimate:', simulation.request.gas);
553
+ *
554
+ * // Watch events
555
+ * const unwatch = contract.watch.Transfer((event) => {
556
+ * console.log('Transfer event:', event);
557
+ * });
558
+ * ```
559
+ */
560
+ export declare class TRUTH_json {
561
+ private contract;
562
+ private contractAddress;
563
+ private publicClient;
564
+ constructor(address: Address, clients: {
565
+ publicClient: PublicClient;
566
+ walletClient?: WalletClient;
567
+ });
568
+ /**
569
+ * Get the contract address
570
+ */
571
+ get address(): Address;
572
+ /**
573
+ * Get the underlying viem contract instance
574
+ */
575
+ getContract(): TRUTH_jsonContract;
576
+ /**
577
+ * _baseURI
578
+ * view
579
+ */
580
+ _baseURI(): Promise<string>;
581
+ /**
582
+ * _contractURI
583
+ * view
584
+ */
585
+ _contractURI(): Promise<string>;
586
+ /**
587
+ * airdropped
588
+ * view
589
+ */
590
+ airdropped(): Promise<bigint>;
591
+ /**
592
+ * balanceOf
593
+ * view
594
+ */
595
+ balanceOf(account: `0x${string}`, id: bigint): Promise<bigint>;
596
+ /**
597
+ * balanceOfBatch
598
+ * view
599
+ */
600
+ balanceOfBatch(accounts: `0x${string}`[], ids: bigint[]): Promise<bigint[]>;
601
+ /**
602
+ * checkClaimed
603
+ * view
604
+ */
605
+ checkClaimed(tokenId: bigint): Promise<boolean>;
606
+ /**
607
+ * checkIlluminatiTokens
608
+ * view
609
+ */
610
+ checkIlluminatiTokens(owner: `0x${string}`): Promise<bigint[]>;
611
+ /**
612
+ * claimLive
613
+ * view
614
+ */
615
+ claimLive(): Promise<boolean>;
616
+ /**
617
+ * claimTracker
618
+ * view
619
+ */
620
+ claimTracker(arg0: bigint): Promise<boolean>;
621
+ /**
622
+ * claimedCount
623
+ * view
624
+ */
625
+ claimedCount(): Promise<bigint>;
626
+ /**
627
+ * contractURI
628
+ * view
629
+ */
630
+ contractURI(): Promise<string>;
631
+ /**
632
+ * isApprovedForAll
633
+ * view
634
+ */
635
+ isApprovedForAll(account: `0x${string}`, operator: `0x${string}`): Promise<boolean>;
636
+ /**
637
+ * maxSupply
638
+ * view
639
+ */
640
+ maxSupply(): Promise<bigint>;
641
+ /**
642
+ * name
643
+ * view
644
+ */
645
+ name(): Promise<string>;
646
+ /**
647
+ * owner
648
+ * view
649
+ */
650
+ owner(): Promise<`0x${string}`>;
651
+ /**
652
+ * supportsInterface
653
+ * view
654
+ */
655
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
656
+ /**
657
+ * symbol
658
+ * view
659
+ */
660
+ symbol(): Promise<string>;
661
+ /**
662
+ * totalSupply
663
+ * view
664
+ */
665
+ totalSupply(): Promise<bigint>;
666
+ /**
667
+ * uri
668
+ * view
669
+ */
670
+ uri(tokenId: bigint): Promise<string>;
671
+ /**
672
+ * aidrop
673
+ * nonpayable
674
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
675
+ */
676
+ aidrop(illuminatiIDs: bigint[], addr: `0x${string}`[], options?: {
677
+ accessList?: import('viem').AccessList;
678
+ authorizationList?: import('viem').AuthorizationList;
679
+ chain?: import('viem').Chain | null;
680
+ dataSuffix?: `0x${string}`;
681
+ gas?: bigint;
682
+ gasPrice?: bigint;
683
+ maxFeePerGas?: bigint;
684
+ maxPriorityFeePerGas?: bigint;
685
+ nonce?: number;
686
+ value?: bigint;
687
+ }): Promise<`0x${string}`>;
688
+ /**
689
+ * claim
690
+ * nonpayable
691
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
692
+ */
693
+ claim(illuminatiIDs: bigint[], options?: {
694
+ accessList?: import('viem').AccessList;
695
+ authorizationList?: import('viem').AuthorizationList;
696
+ chain?: import('viem').Chain | null;
697
+ dataSuffix?: `0x${string}`;
698
+ gas?: bigint;
699
+ gasPrice?: bigint;
700
+ maxFeePerGas?: bigint;
701
+ maxPriorityFeePerGas?: bigint;
702
+ nonce?: number;
703
+ value?: bigint;
704
+ }): Promise<`0x${string}`>;
705
+ /**
706
+ * claimStartingToken
707
+ * nonpayable
708
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
709
+ */
710
+ claimStartingToken(illuminatiID: bigint, options?: {
711
+ accessList?: import('viem').AccessList;
712
+ authorizationList?: import('viem').AuthorizationList;
713
+ chain?: import('viem').Chain | null;
714
+ dataSuffix?: `0x${string}`;
715
+ gas?: bigint;
716
+ gasPrice?: bigint;
717
+ maxFeePerGas?: bigint;
718
+ maxPriorityFeePerGas?: bigint;
719
+ nonce?: number;
720
+ value?: bigint;
721
+ }): Promise<`0x${string}`>;
722
+ /**
723
+ * renounceOwnership
724
+ * nonpayable
725
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
726
+ */
727
+ renounceOwnership(options?: {
728
+ accessList?: import('viem').AccessList;
729
+ authorizationList?: import('viem').AuthorizationList;
730
+ chain?: import('viem').Chain | null;
731
+ dataSuffix?: `0x${string}`;
732
+ gas?: bigint;
733
+ gasPrice?: bigint;
734
+ maxFeePerGas?: bigint;
735
+ maxPriorityFeePerGas?: bigint;
736
+ nonce?: number;
737
+ value?: bigint;
738
+ }): Promise<`0x${string}`>;
739
+ /**
740
+ * safeBatchTransferFrom
741
+ * nonpayable
742
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
743
+ */
744
+ safeBatchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], amounts: bigint[], data: `0x${string}`, options?: {
745
+ accessList?: import('viem').AccessList;
746
+ authorizationList?: import('viem').AuthorizationList;
747
+ chain?: import('viem').Chain | null;
748
+ dataSuffix?: `0x${string}`;
749
+ gas?: bigint;
750
+ gasPrice?: bigint;
751
+ maxFeePerGas?: bigint;
752
+ maxPriorityFeePerGas?: bigint;
753
+ nonce?: number;
754
+ value?: bigint;
755
+ }): Promise<`0x${string}`>;
756
+ /**
757
+ * safeTransferFrom
758
+ * nonpayable
759
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
760
+ */
761
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, id: bigint, amount: bigint, data: `0x${string}`, options?: {
762
+ accessList?: import('viem').AccessList;
763
+ authorizationList?: import('viem').AuthorizationList;
764
+ chain?: import('viem').Chain | null;
765
+ dataSuffix?: `0x${string}`;
766
+ gas?: bigint;
767
+ gasPrice?: bigint;
768
+ maxFeePerGas?: bigint;
769
+ maxPriorityFeePerGas?: bigint;
770
+ nonce?: number;
771
+ value?: bigint;
772
+ }): Promise<`0x${string}`>;
773
+ /**
774
+ * setApprovalForAll
775
+ * nonpayable
776
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
777
+ */
778
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
779
+ accessList?: import('viem').AccessList;
780
+ authorizationList?: import('viem').AuthorizationList;
781
+ chain?: import('viem').Chain | null;
782
+ dataSuffix?: `0x${string}`;
783
+ gas?: bigint;
784
+ gasPrice?: bigint;
785
+ maxFeePerGas?: bigint;
786
+ maxPriorityFeePerGas?: bigint;
787
+ nonce?: number;
788
+ value?: bigint;
789
+ }): Promise<`0x${string}`>;
790
+ /**
791
+ * setBaseURI
792
+ * nonpayable
793
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
794
+ */
795
+ setBaseURI(newuri: string, options?: {
796
+ accessList?: import('viem').AccessList;
797
+ authorizationList?: import('viem').AuthorizationList;
798
+ chain?: import('viem').Chain | null;
799
+ dataSuffix?: `0x${string}`;
800
+ gas?: bigint;
801
+ gasPrice?: bigint;
802
+ maxFeePerGas?: bigint;
803
+ maxPriorityFeePerGas?: bigint;
804
+ nonce?: number;
805
+ value?: bigint;
806
+ }): Promise<`0x${string}`>;
807
+ /**
808
+ * setClaimLive
809
+ * nonpayable
810
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
811
+ */
812
+ setClaimLive(_live: boolean, options?: {
813
+ accessList?: import('viem').AccessList;
814
+ authorizationList?: import('viem').AuthorizationList;
815
+ chain?: import('viem').Chain | null;
816
+ dataSuffix?: `0x${string}`;
817
+ gas?: bigint;
818
+ gasPrice?: bigint;
819
+ maxFeePerGas?: bigint;
820
+ maxPriorityFeePerGas?: bigint;
821
+ nonce?: number;
822
+ value?: bigint;
823
+ }): Promise<`0x${string}`>;
824
+ /**
825
+ * setContractURI
826
+ * nonpayable
827
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
828
+ */
829
+ setContractURI(newuri: string, options?: {
830
+ accessList?: import('viem').AccessList;
831
+ authorizationList?: import('viem').AuthorizationList;
832
+ chain?: import('viem').Chain | null;
833
+ dataSuffix?: `0x${string}`;
834
+ gas?: bigint;
835
+ gasPrice?: bigint;
836
+ maxFeePerGas?: bigint;
837
+ maxPriorityFeePerGas?: bigint;
838
+ nonce?: number;
839
+ value?: bigint;
840
+ }): Promise<`0x${string}`>;
841
+ /**
842
+ * transferOwnership
843
+ * nonpayable
844
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
845
+ */
846
+ transferOwnership(newOwner: `0x${string}`, options?: {
847
+ accessList?: import('viem').AccessList;
848
+ authorizationList?: import('viem').AuthorizationList;
849
+ chain?: import('viem').Chain | null;
850
+ dataSuffix?: `0x${string}`;
851
+ gas?: bigint;
852
+ gasPrice?: bigint;
853
+ maxFeePerGas?: bigint;
854
+ maxPriorityFeePerGas?: bigint;
855
+ nonce?: number;
856
+ value?: bigint;
857
+ }): Promise<`0x${string}`>;
858
+ /**
859
+ * withdrawToOwner
860
+ * nonpayable
861
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
862
+ */
863
+ withdrawToOwner(options?: {
864
+ accessList?: import('viem').AccessList;
865
+ authorizationList?: import('viem').AuthorizationList;
866
+ chain?: import('viem').Chain | null;
867
+ dataSuffix?: `0x${string}`;
868
+ gas?: bigint;
869
+ gasPrice?: bigint;
870
+ maxFeePerGas?: bigint;
871
+ maxPriorityFeePerGas?: bigint;
872
+ nonce?: number;
873
+ value?: bigint;
874
+ }): Promise<`0x${string}`>;
875
+ /**
876
+ * Simulate contract write operations (dry-run without sending transaction)
877
+ *
878
+ * @example
879
+ * const result = await contract.simulate.transfer('0x...', 1000n);
880
+ * console.log('Gas estimate:', result.request.gas);
881
+ * console.log('Would succeed:', result.result);
882
+ */
883
+ get simulate(): {
884
+ /**
885
+ * Simulate aidrop
886
+ * Returns gas estimate and result without sending transaction
887
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
888
+ */
889
+ aidrop(illuminatiIDs: bigint[], addr: `0x${string}`[], options?: {
890
+ accessList?: import("viem").AccessList;
891
+ authorizationList?: import("viem").AuthorizationList;
892
+ chain?: import("viem").Chain | null;
893
+ dataSuffix?: `0x${string}`;
894
+ gas?: bigint;
895
+ gasPrice?: bigint;
896
+ maxFeePerGas?: bigint;
897
+ maxPriorityFeePerGas?: bigint;
898
+ nonce?: number;
899
+ value?: bigint;
900
+ }): Promise<void>;
901
+ /**
902
+ * Simulate claim
903
+ * Returns gas estimate and result without sending transaction
904
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
905
+ */
906
+ claim(illuminatiIDs: bigint[], options?: {
907
+ accessList?: import("viem").AccessList;
908
+ authorizationList?: import("viem").AuthorizationList;
909
+ chain?: import("viem").Chain | null;
910
+ dataSuffix?: `0x${string}`;
911
+ gas?: bigint;
912
+ gasPrice?: bigint;
913
+ maxFeePerGas?: bigint;
914
+ maxPriorityFeePerGas?: bigint;
915
+ nonce?: number;
916
+ value?: bigint;
917
+ }): Promise<void>;
918
+ /**
919
+ * Simulate claimStartingToken
920
+ * Returns gas estimate and result without sending transaction
921
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
922
+ */
923
+ claimStartingToken(illuminatiID: bigint, options?: {
924
+ accessList?: import("viem").AccessList;
925
+ authorizationList?: import("viem").AuthorizationList;
926
+ chain?: import("viem").Chain | null;
927
+ dataSuffix?: `0x${string}`;
928
+ gas?: bigint;
929
+ gasPrice?: bigint;
930
+ maxFeePerGas?: bigint;
931
+ maxPriorityFeePerGas?: bigint;
932
+ nonce?: number;
933
+ value?: bigint;
934
+ }): Promise<void>;
935
+ /**
936
+ * Simulate renounceOwnership
937
+ * Returns gas estimate and result without sending transaction
938
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
939
+ */
940
+ renounceOwnership(options?: {
941
+ accessList?: import("viem").AccessList;
942
+ authorizationList?: import("viem").AuthorizationList;
943
+ chain?: import("viem").Chain | null;
944
+ dataSuffix?: `0x${string}`;
945
+ gas?: bigint;
946
+ gasPrice?: bigint;
947
+ maxFeePerGas?: bigint;
948
+ maxPriorityFeePerGas?: bigint;
949
+ nonce?: number;
950
+ value?: bigint;
951
+ }): Promise<void>;
952
+ /**
953
+ * Simulate safeBatchTransferFrom
954
+ * Returns gas estimate and result without sending transaction
955
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
956
+ */
957
+ safeBatchTransferFrom(from: `0x${string}`, to: `0x${string}`, ids: bigint[], amounts: bigint[], data: `0x${string}`, options?: {
958
+ accessList?: import("viem").AccessList;
959
+ authorizationList?: import("viem").AuthorizationList;
960
+ chain?: import("viem").Chain | null;
961
+ dataSuffix?: `0x${string}`;
962
+ gas?: bigint;
963
+ gasPrice?: bigint;
964
+ maxFeePerGas?: bigint;
965
+ maxPriorityFeePerGas?: bigint;
966
+ nonce?: number;
967
+ value?: bigint;
968
+ }): Promise<void>;
969
+ /**
970
+ * Simulate safeTransferFrom
971
+ * Returns gas estimate and result without sending transaction
972
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
973
+ */
974
+ safeTransferFrom(from: `0x${string}`, to: `0x${string}`, id: bigint, amount: bigint, data: `0x${string}`, options?: {
975
+ accessList?: import("viem").AccessList;
976
+ authorizationList?: import("viem").AuthorizationList;
977
+ chain?: import("viem").Chain | null;
978
+ dataSuffix?: `0x${string}`;
979
+ gas?: bigint;
980
+ gasPrice?: bigint;
981
+ maxFeePerGas?: bigint;
982
+ maxPriorityFeePerGas?: bigint;
983
+ nonce?: number;
984
+ value?: bigint;
985
+ }): Promise<void>;
986
+ /**
987
+ * Simulate setApprovalForAll
988
+ * Returns gas estimate and result without sending transaction
989
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
990
+ */
991
+ setApprovalForAll(operator: `0x${string}`, approved: boolean, options?: {
992
+ accessList?: import("viem").AccessList;
993
+ authorizationList?: import("viem").AuthorizationList;
994
+ chain?: import("viem").Chain | null;
995
+ dataSuffix?: `0x${string}`;
996
+ gas?: bigint;
997
+ gasPrice?: bigint;
998
+ maxFeePerGas?: bigint;
999
+ maxPriorityFeePerGas?: bigint;
1000
+ nonce?: number;
1001
+ value?: bigint;
1002
+ }): Promise<void>;
1003
+ /**
1004
+ * Simulate setBaseURI
1005
+ * Returns gas estimate and result without sending transaction
1006
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1007
+ */
1008
+ setBaseURI(newuri: string, options?: {
1009
+ accessList?: import("viem").AccessList;
1010
+ authorizationList?: import("viem").AuthorizationList;
1011
+ chain?: import("viem").Chain | null;
1012
+ dataSuffix?: `0x${string}`;
1013
+ gas?: bigint;
1014
+ gasPrice?: bigint;
1015
+ maxFeePerGas?: bigint;
1016
+ maxPriorityFeePerGas?: bigint;
1017
+ nonce?: number;
1018
+ value?: bigint;
1019
+ }): Promise<void>;
1020
+ /**
1021
+ * Simulate setClaimLive
1022
+ * Returns gas estimate and result without sending transaction
1023
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1024
+ */
1025
+ setClaimLive(_live: boolean, options?: {
1026
+ accessList?: import("viem").AccessList;
1027
+ authorizationList?: import("viem").AuthorizationList;
1028
+ chain?: import("viem").Chain | null;
1029
+ dataSuffix?: `0x${string}`;
1030
+ gas?: bigint;
1031
+ gasPrice?: bigint;
1032
+ maxFeePerGas?: bigint;
1033
+ maxPriorityFeePerGas?: bigint;
1034
+ nonce?: number;
1035
+ value?: bigint;
1036
+ }): Promise<void>;
1037
+ /**
1038
+ * Simulate setContractURI
1039
+ * Returns gas estimate and result without sending transaction
1040
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1041
+ */
1042
+ setContractURI(newuri: string, options?: {
1043
+ accessList?: import("viem").AccessList;
1044
+ authorizationList?: import("viem").AuthorizationList;
1045
+ chain?: import("viem").Chain | null;
1046
+ dataSuffix?: `0x${string}`;
1047
+ gas?: bigint;
1048
+ gasPrice?: bigint;
1049
+ maxFeePerGas?: bigint;
1050
+ maxPriorityFeePerGas?: bigint;
1051
+ nonce?: number;
1052
+ value?: bigint;
1053
+ }): Promise<void>;
1054
+ /**
1055
+ * Simulate transferOwnership
1056
+ * Returns gas estimate and result without sending transaction
1057
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1058
+ */
1059
+ transferOwnership(newOwner: `0x${string}`, options?: {
1060
+ accessList?: import("viem").AccessList;
1061
+ authorizationList?: import("viem").AuthorizationList;
1062
+ chain?: import("viem").Chain | null;
1063
+ dataSuffix?: `0x${string}`;
1064
+ gas?: bigint;
1065
+ gasPrice?: bigint;
1066
+ maxFeePerGas?: bigint;
1067
+ maxPriorityFeePerGas?: bigint;
1068
+ nonce?: number;
1069
+ value?: bigint;
1070
+ }): Promise<void>;
1071
+ /**
1072
+ * Simulate withdrawToOwner
1073
+ * Returns gas estimate and result without sending transaction
1074
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1075
+ */
1076
+ withdrawToOwner(options?: {
1077
+ accessList?: import("viem").AccessList;
1078
+ authorizationList?: import("viem").AuthorizationList;
1079
+ chain?: import("viem").Chain | null;
1080
+ dataSuffix?: `0x${string}`;
1081
+ gas?: bigint;
1082
+ gasPrice?: bigint;
1083
+ maxFeePerGas?: bigint;
1084
+ maxPriorityFeePerGas?: bigint;
1085
+ nonce?: number;
1086
+ value?: bigint;
1087
+ }): Promise<void>;
1088
+ };
1089
+ /**
1090
+ * Watch contract events
1091
+ *
1092
+ * @example
1093
+ * // Watch all Transfer events
1094
+ * const unwatch = contract.watch.Transfer((event) => {
1095
+ * console.log('Transfer:', event);
1096
+ * });
1097
+ *
1098
+ * // Stop watching
1099
+ * unwatch();
1100
+ */
1101
+ get watch(): {
1102
+ /**
1103
+ * Watch ApprovalForAll events
1104
+ * @param callback Function to call when event is emitted
1105
+ * @param filter Optional filter for indexed parameters
1106
+ * @returns Unwatch function to stop listening
1107
+ */
1108
+ ApprovalForAll: (callback: (event: {
1109
+ account: `0x${string}`;
1110
+ operator: `0x${string}`;
1111
+ approved: boolean;
1112
+ }) => void, filter?: {
1113
+ account: `0x${string}`;
1114
+ operator: `0x${string}`;
1115
+ }) => () => void;
1116
+ /**
1117
+ * Watch OwnershipTransferred events
1118
+ * @param callback Function to call when event is emitted
1119
+ * @param filter Optional filter for indexed parameters
1120
+ * @returns Unwatch function to stop listening
1121
+ */
1122
+ OwnershipTransferred: (callback: (event: {
1123
+ previousOwner: `0x${string}`;
1124
+ newOwner: `0x${string}`;
1125
+ }) => void, filter?: {
1126
+ previousOwner: `0x${string}`;
1127
+ newOwner: `0x${string}`;
1128
+ }) => () => void;
1129
+ /**
1130
+ * Watch TransferBatch events
1131
+ * @param callback Function to call when event is emitted
1132
+ * @param filter Optional filter for indexed parameters
1133
+ * @returns Unwatch function to stop listening
1134
+ */
1135
+ TransferBatch: (callback: (event: {
1136
+ operator: `0x${string}`;
1137
+ from: `0x${string}`;
1138
+ to: `0x${string}`;
1139
+ ids: bigint[];
1140
+ values: bigint[];
1141
+ }) => void, filter?: {
1142
+ operator: `0x${string}`;
1143
+ from: `0x${string}`;
1144
+ to: `0x${string}`;
1145
+ }) => () => void;
1146
+ /**
1147
+ * Watch TransferSingle events
1148
+ * @param callback Function to call when event is emitted
1149
+ * @param filter Optional filter for indexed parameters
1150
+ * @returns Unwatch function to stop listening
1151
+ */
1152
+ TransferSingle: (callback: (event: {
1153
+ operator: `0x${string}`;
1154
+ from: `0x${string}`;
1155
+ to: `0x${string}`;
1156
+ id: bigint;
1157
+ value: bigint;
1158
+ }) => void, filter?: {
1159
+ operator: `0x${string}`;
1160
+ from: `0x${string}`;
1161
+ to: `0x${string}`;
1162
+ }) => () => void;
1163
+ /**
1164
+ * Watch URI events
1165
+ * @param callback Function to call when event is emitted
1166
+ * @param filter Optional filter for indexed parameters
1167
+ * @returns Unwatch function to stop listening
1168
+ */
1169
+ URI: (callback: (event: {
1170
+ id: bigint;
1171
+ value: string;
1172
+ }) => void, filter?: {
1173
+ id: bigint;
1174
+ }) => () => void;
1175
+ };
1176
+ }