@gitmyabi/bzro 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,2401 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * BZROVault_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const BZROVault_jsonAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "initialOwner";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly internalType: "address[]";
14
+ readonly name: "baseCollections_";
15
+ readonly type: "address[]";
16
+ }];
17
+ readonly stateMutability: "nonpayable";
18
+ readonly type: "constructor";
19
+ }, {
20
+ readonly inputs: readonly [];
21
+ readonly name: "CollectionNotApproved";
22
+ readonly type: "error";
23
+ }, {
24
+ readonly inputs: readonly [];
25
+ readonly name: "ECDSAInvalidSignature";
26
+ readonly type: "error";
27
+ }, {
28
+ readonly inputs: readonly [{
29
+ readonly internalType: "uint256";
30
+ readonly name: "length";
31
+ readonly type: "uint256";
32
+ }];
33
+ readonly name: "ECDSAInvalidSignatureLength";
34
+ readonly type: "error";
35
+ }, {
36
+ readonly inputs: readonly [{
37
+ readonly internalType: "bytes32";
38
+ readonly name: "s";
39
+ readonly type: "bytes32";
40
+ }];
41
+ readonly name: "ECDSAInvalidSignatureS";
42
+ readonly type: "error";
43
+ }, {
44
+ readonly inputs: readonly [{
45
+ readonly internalType: "address";
46
+ readonly name: "spender";
47
+ readonly type: "address";
48
+ }, {
49
+ readonly internalType: "uint256";
50
+ readonly name: "allowance";
51
+ readonly type: "uint256";
52
+ }, {
53
+ readonly internalType: "uint256";
54
+ readonly name: "needed";
55
+ readonly type: "uint256";
56
+ }];
57
+ readonly name: "ERC20InsufficientAllowance";
58
+ readonly type: "error";
59
+ }, {
60
+ readonly inputs: readonly [{
61
+ readonly internalType: "address";
62
+ readonly name: "sender";
63
+ readonly type: "address";
64
+ }, {
65
+ readonly internalType: "uint256";
66
+ readonly name: "balance";
67
+ readonly type: "uint256";
68
+ }, {
69
+ readonly internalType: "uint256";
70
+ readonly name: "needed";
71
+ readonly type: "uint256";
72
+ }];
73
+ readonly name: "ERC20InsufficientBalance";
74
+ readonly type: "error";
75
+ }, {
76
+ readonly inputs: readonly [{
77
+ readonly internalType: "address";
78
+ readonly name: "approver";
79
+ readonly type: "address";
80
+ }];
81
+ readonly name: "ERC20InvalidApprover";
82
+ readonly type: "error";
83
+ }, {
84
+ readonly inputs: readonly [{
85
+ readonly internalType: "address";
86
+ readonly name: "receiver";
87
+ readonly type: "address";
88
+ }];
89
+ readonly name: "ERC20InvalidReceiver";
90
+ readonly type: "error";
91
+ }, {
92
+ readonly inputs: readonly [{
93
+ readonly internalType: "address";
94
+ readonly name: "sender";
95
+ readonly type: "address";
96
+ }];
97
+ readonly name: "ERC20InvalidSender";
98
+ readonly type: "error";
99
+ }, {
100
+ readonly inputs: readonly [{
101
+ readonly internalType: "address";
102
+ readonly name: "spender";
103
+ readonly type: "address";
104
+ }];
105
+ readonly name: "ERC20InvalidSpender";
106
+ readonly type: "error";
107
+ }, {
108
+ readonly inputs: readonly [{
109
+ readonly internalType: "uint256";
110
+ readonly name: "deadline";
111
+ readonly type: "uint256";
112
+ }];
113
+ readonly name: "ERC2612ExpiredSignature";
114
+ readonly type: "error";
115
+ }, {
116
+ readonly inputs: readonly [{
117
+ readonly internalType: "address";
118
+ readonly name: "signer";
119
+ readonly type: "address";
120
+ }, {
121
+ readonly internalType: "address";
122
+ readonly name: "owner";
123
+ readonly type: "address";
124
+ }];
125
+ readonly name: "ERC2612InvalidSigner";
126
+ readonly type: "error";
127
+ }, {
128
+ readonly inputs: readonly [{
129
+ readonly internalType: "uint256";
130
+ readonly name: "currentStaked";
131
+ readonly type: "uint256";
132
+ }, {
133
+ readonly internalType: "uint256";
134
+ readonly name: "attempting";
135
+ readonly type: "uint256";
136
+ }, {
137
+ readonly internalType: "uint256";
138
+ readonly name: "approvedSize";
139
+ readonly type: "uint256";
140
+ }];
141
+ readonly name: "ExceedsApprovedCollectionSize";
142
+ readonly type: "error";
143
+ }, {
144
+ readonly inputs: readonly [{
145
+ readonly internalType: "uint256";
146
+ readonly name: "current";
147
+ readonly type: "uint256";
148
+ }, {
149
+ readonly internalType: "uint256";
150
+ readonly name: "attempted";
151
+ readonly type: "uint256";
152
+ }, {
153
+ readonly internalType: "uint256";
154
+ readonly name: "cap";
155
+ readonly type: "uint256";
156
+ }];
157
+ readonly name: "GlobalEmissionCapExceeded";
158
+ readonly type: "error";
159
+ }, {
160
+ readonly inputs: readonly [];
161
+ readonly name: "GovernanceNotSet";
162
+ readonly type: "error";
163
+ }, {
164
+ readonly inputs: readonly [{
165
+ readonly internalType: "address";
166
+ readonly name: "account";
167
+ readonly type: "address";
168
+ }, {
169
+ readonly internalType: "uint256";
170
+ readonly name: "currentNonce";
171
+ readonly type: "uint256";
172
+ }];
173
+ readonly name: "InvalidAccountNonce";
174
+ readonly type: "error";
175
+ }, {
176
+ readonly inputs: readonly [];
177
+ readonly name: "InvalidCollection";
178
+ readonly type: "error";
179
+ }, {
180
+ readonly inputs: readonly [];
181
+ readonly name: "InvalidReceipt";
182
+ readonly type: "error";
183
+ }, {
184
+ readonly inputs: readonly [];
185
+ readonly name: "InvalidShortString";
186
+ readonly type: "error";
187
+ }, {
188
+ readonly inputs: readonly [];
189
+ readonly name: "NotTokenOwner";
190
+ readonly type: "error";
191
+ }, {
192
+ readonly inputs: readonly [];
193
+ readonly name: "OnlyGovernance";
194
+ readonly type: "error";
195
+ }, {
196
+ readonly inputs: readonly [{
197
+ readonly internalType: "address";
198
+ readonly name: "owner";
199
+ readonly type: "address";
200
+ }];
201
+ readonly name: "OwnableInvalidOwner";
202
+ readonly type: "error";
203
+ }, {
204
+ readonly inputs: readonly [{
205
+ readonly internalType: "address";
206
+ readonly name: "account";
207
+ readonly type: "address";
208
+ }];
209
+ readonly name: "OwnableUnauthorizedAccount";
210
+ readonly type: "error";
211
+ }, {
212
+ readonly inputs: readonly [];
213
+ readonly name: "ReceiptLocked";
214
+ readonly type: "error";
215
+ }, {
216
+ readonly inputs: readonly [];
217
+ readonly name: "ReentrancyGuardReentrantCall";
218
+ readonly type: "error";
219
+ }, {
220
+ readonly inputs: readonly [{
221
+ readonly internalType: "string";
222
+ readonly name: "str";
223
+ readonly type: "string";
224
+ }];
225
+ readonly name: "StringTooLong";
226
+ readonly type: "error";
227
+ }, {
228
+ readonly inputs: readonly [];
229
+ readonly name: "TokenAlreadyStaked";
230
+ readonly type: "error";
231
+ }, {
232
+ readonly inputs: readonly [];
233
+ readonly name: "UnsupportedCollection";
234
+ readonly type: "error";
235
+ }, {
236
+ readonly anonymous: false;
237
+ readonly inputs: readonly [{
238
+ readonly indexed: true;
239
+ readonly internalType: "address";
240
+ readonly name: "owner";
241
+ readonly type: "address";
242
+ }, {
243
+ readonly indexed: true;
244
+ readonly internalType: "address";
245
+ readonly name: "spender";
246
+ readonly type: "address";
247
+ }, {
248
+ readonly indexed: false;
249
+ readonly internalType: "uint256";
250
+ readonly name: "value";
251
+ readonly type: "uint256";
252
+ }];
253
+ readonly name: "Approval";
254
+ readonly type: "event";
255
+ }, {
256
+ readonly anonymous: false;
257
+ readonly inputs: readonly [{
258
+ readonly indexed: true;
259
+ readonly internalType: "address";
260
+ readonly name: "account";
261
+ readonly type: "address";
262
+ }, {
263
+ readonly indexed: false;
264
+ readonly internalType: "uint256";
265
+ readonly name: "amount";
266
+ readonly type: "uint256";
267
+ }];
268
+ readonly name: "Burn";
269
+ readonly type: "event";
270
+ }, {
271
+ readonly anonymous: false;
272
+ readonly inputs: readonly [{
273
+ readonly indexed: true;
274
+ readonly internalType: "address";
275
+ readonly name: "claimer";
276
+ readonly type: "address";
277
+ }, {
278
+ readonly indexed: true;
279
+ readonly internalType: "uint256";
280
+ readonly name: "receiptId";
281
+ readonly type: "uint256";
282
+ }, {
283
+ readonly indexed: false;
284
+ readonly internalType: "uint256";
285
+ readonly name: "reward";
286
+ readonly type: "uint256";
287
+ }];
288
+ readonly name: "Claimed";
289
+ readonly type: "event";
290
+ }, {
291
+ readonly anonymous: false;
292
+ readonly inputs: readonly [{
293
+ readonly indexed: true;
294
+ readonly internalType: "address";
295
+ readonly name: "collection";
296
+ readonly type: "address";
297
+ }, {
298
+ readonly indexed: false;
299
+ readonly internalType: "enum BZROVault.CollectionOperation";
300
+ readonly name: "operation";
301
+ readonly type: "uint8";
302
+ }, {
303
+ readonly indexed: false;
304
+ readonly internalType: "uint256";
305
+ readonly name: "collectionSize";
306
+ readonly type: "uint256";
307
+ }, {
308
+ readonly indexed: false;
309
+ readonly internalType: "uint256";
310
+ readonly name: "emissionRate";
311
+ readonly type: "uint256";
312
+ }, {
313
+ readonly indexed: false;
314
+ readonly internalType: "bool";
315
+ readonly name: "useGenericImage";
316
+ readonly type: "bool";
317
+ }, {
318
+ readonly indexed: false;
319
+ readonly internalType: "string";
320
+ readonly name: "fallbackCollectionName";
321
+ readonly type: "string";
322
+ }];
323
+ readonly name: "CollectionConfigApplied";
324
+ readonly type: "event";
325
+ }, {
326
+ readonly anonymous: false;
327
+ readonly inputs: readonly [];
328
+ readonly name: "EIP712DomainChanged";
329
+ readonly type: "event";
330
+ }, {
331
+ readonly anonymous: false;
332
+ readonly inputs: readonly [{
333
+ readonly indexed: true;
334
+ readonly internalType: "address";
335
+ readonly name: "oldGovernance";
336
+ readonly type: "address";
337
+ }, {
338
+ readonly indexed: true;
339
+ readonly internalType: "address";
340
+ readonly name: "newGovernance";
341
+ readonly type: "address";
342
+ }];
343
+ readonly name: "GovernanceUpdated";
344
+ readonly type: "event";
345
+ }, {
346
+ readonly anonymous: false;
347
+ readonly inputs: readonly [{
348
+ readonly indexed: true;
349
+ readonly internalType: "address";
350
+ readonly name: "previousOwner";
351
+ readonly type: "address";
352
+ }, {
353
+ readonly indexed: true;
354
+ readonly internalType: "address";
355
+ readonly name: "newOwner";
356
+ readonly type: "address";
357
+ }];
358
+ readonly name: "OwnershipTransferred";
359
+ readonly type: "event";
360
+ }, {
361
+ readonly anonymous: false;
362
+ readonly inputs: readonly [{
363
+ readonly indexed: true;
364
+ readonly internalType: "address";
365
+ readonly name: "newReceiptNFT";
366
+ readonly type: "address";
367
+ }];
368
+ readonly name: "ReceiptNFTUpdated";
369
+ readonly type: "event";
370
+ }, {
371
+ readonly anonymous: false;
372
+ readonly inputs: readonly [{
373
+ readonly indexed: false;
374
+ readonly internalType: "uint256";
375
+ readonly name: "receiptId";
376
+ readonly type: "uint256";
377
+ }, {
378
+ readonly indexed: false;
379
+ readonly internalType: "string";
380
+ readonly name: "reason";
381
+ readonly type: "string";
382
+ }];
383
+ readonly name: "ReceiptUnlockFailed";
384
+ readonly type: "event";
385
+ }, {
386
+ readonly anonymous: false;
387
+ readonly inputs: readonly [{
388
+ readonly indexed: true;
389
+ readonly internalType: "address";
390
+ readonly name: "proposer";
391
+ readonly type: "address";
392
+ }, {
393
+ readonly indexed: false;
394
+ readonly internalType: "uint256[]";
395
+ readonly name: "receiptIds";
396
+ readonly type: "uint256[]";
397
+ }, {
398
+ readonly indexed: false;
399
+ readonly internalType: "uint256";
400
+ readonly name: "proposalId";
401
+ readonly type: "uint256";
402
+ }];
403
+ readonly name: "ReceiptsLocked";
404
+ readonly type: "event";
405
+ }, {
406
+ readonly anonymous: false;
407
+ readonly inputs: readonly [{
408
+ readonly indexed: true;
409
+ readonly internalType: "address";
410
+ readonly name: "proposer";
411
+ readonly type: "address";
412
+ }, {
413
+ readonly indexed: false;
414
+ readonly internalType: "uint256[]";
415
+ readonly name: "receiptIds";
416
+ readonly type: "uint256[]";
417
+ }, {
418
+ readonly indexed: false;
419
+ readonly internalType: "string";
420
+ readonly name: "reason";
421
+ readonly type: "string";
422
+ }];
423
+ readonly name: "ReceiptsUnlocked";
424
+ readonly type: "event";
425
+ }, {
426
+ readonly anonymous: false;
427
+ readonly inputs: readonly [{
428
+ readonly indexed: true;
429
+ readonly internalType: "address";
430
+ readonly name: "staker";
431
+ readonly type: "address";
432
+ }, {
433
+ readonly indexed: true;
434
+ readonly internalType: "address";
435
+ readonly name: "collection";
436
+ readonly type: "address";
437
+ }, {
438
+ readonly indexed: true;
439
+ readonly internalType: "uint256";
440
+ readonly name: "tokenId";
441
+ readonly type: "uint256";
442
+ }, {
443
+ readonly indexed: false;
444
+ readonly internalType: "uint256";
445
+ readonly name: "receiptId";
446
+ readonly type: "uint256";
447
+ }, {
448
+ readonly indexed: false;
449
+ readonly internalType: "uint256";
450
+ readonly name: "stakedAt";
451
+ readonly type: "uint256";
452
+ }];
453
+ readonly name: "Staked";
454
+ readonly type: "event";
455
+ }, {
456
+ readonly anonymous: false;
457
+ readonly inputs: readonly [{
458
+ readonly indexed: true;
459
+ readonly internalType: "address";
460
+ readonly name: "from";
461
+ readonly type: "address";
462
+ }, {
463
+ readonly indexed: true;
464
+ readonly internalType: "address";
465
+ readonly name: "to";
466
+ readonly type: "address";
467
+ }, {
468
+ readonly indexed: false;
469
+ readonly internalType: "uint256";
470
+ readonly name: "value";
471
+ readonly type: "uint256";
472
+ }];
473
+ readonly name: "Transfer";
474
+ readonly type: "event";
475
+ }, {
476
+ readonly anonymous: false;
477
+ readonly inputs: readonly [{
478
+ readonly indexed: true;
479
+ readonly internalType: "address";
480
+ readonly name: "receiver";
481
+ readonly type: "address";
482
+ }, {
483
+ readonly indexed: true;
484
+ readonly internalType: "uint256";
485
+ readonly name: "receiptId";
486
+ readonly type: "uint256";
487
+ }, {
488
+ readonly indexed: true;
489
+ readonly internalType: "address";
490
+ readonly name: "collection";
491
+ readonly type: "address";
492
+ }, {
493
+ readonly indexed: false;
494
+ readonly internalType: "uint256";
495
+ readonly name: "tokenId";
496
+ readonly type: "uint256";
497
+ }, {
498
+ readonly indexed: false;
499
+ readonly internalType: "uint256";
500
+ readonly name: "reward";
501
+ readonly type: "uint256";
502
+ }];
503
+ readonly name: "Unstaked";
504
+ readonly type: "event";
505
+ }, {
506
+ readonly inputs: readonly [];
507
+ readonly name: "BASE_EMISSION_RATE";
508
+ readonly outputs: readonly [{
509
+ readonly internalType: "uint256";
510
+ readonly name: "";
511
+ readonly type: "uint256";
512
+ }];
513
+ readonly stateMutability: "view";
514
+ readonly type: "function";
515
+ }, {
516
+ readonly inputs: readonly [];
517
+ readonly name: "DOMAIN_SEPARATOR";
518
+ readonly outputs: readonly [{
519
+ readonly internalType: "bytes32";
520
+ readonly name: "";
521
+ readonly type: "bytes32";
522
+ }];
523
+ readonly stateMutability: "view";
524
+ readonly type: "function";
525
+ }, {
526
+ readonly inputs: readonly [];
527
+ readonly name: "GLOBAL_EMISSION_CAP";
528
+ readonly outputs: readonly [{
529
+ readonly internalType: "uint256";
530
+ readonly name: "";
531
+ readonly type: "uint256";
532
+ }];
533
+ readonly stateMutability: "view";
534
+ readonly type: "function";
535
+ }, {
536
+ readonly inputs: readonly [];
537
+ readonly name: "MAX_COLLECTION_EMISSION_RATE";
538
+ readonly outputs: readonly [{
539
+ readonly internalType: "uint256";
540
+ readonly name: "";
541
+ readonly type: "uint256";
542
+ }];
543
+ readonly stateMutability: "view";
544
+ readonly type: "function";
545
+ }, {
546
+ readonly inputs: readonly [];
547
+ readonly name: "MAX_SECONDARY_PER_NFT_RATE";
548
+ readonly outputs: readonly [{
549
+ readonly internalType: "uint256";
550
+ readonly name: "";
551
+ readonly type: "uint256";
552
+ }];
553
+ readonly stateMutability: "view";
554
+ readonly type: "function";
555
+ }, {
556
+ readonly inputs: readonly [];
557
+ readonly name: "SCALING_DENOMINATOR";
558
+ readonly outputs: readonly [{
559
+ readonly internalType: "uint256";
560
+ readonly name: "";
561
+ readonly type: "uint256";
562
+ }];
563
+ readonly stateMutability: "view";
564
+ readonly type: "function";
565
+ }, {
566
+ readonly inputs: readonly [{
567
+ readonly internalType: "address";
568
+ readonly name: "owner";
569
+ readonly type: "address";
570
+ }, {
571
+ readonly internalType: "address";
572
+ readonly name: "spender";
573
+ readonly type: "address";
574
+ }];
575
+ readonly name: "allowance";
576
+ readonly outputs: readonly [{
577
+ readonly internalType: "uint256";
578
+ readonly name: "";
579
+ readonly type: "uint256";
580
+ }];
581
+ readonly stateMutability: "view";
582
+ readonly type: "function";
583
+ }, {
584
+ readonly inputs: readonly [{
585
+ readonly internalType: "address";
586
+ readonly name: "collection";
587
+ readonly type: "address";
588
+ }, {
589
+ readonly internalType: "uint8";
590
+ readonly name: "operation";
591
+ readonly type: "uint8";
592
+ }, {
593
+ readonly internalType: "uint256";
594
+ readonly name: "collectionSize";
595
+ readonly type: "uint256";
596
+ }, {
597
+ readonly internalType: "uint256";
598
+ readonly name: "emissionRate";
599
+ readonly type: "uint256";
600
+ }, {
601
+ readonly internalType: "bool";
602
+ readonly name: "useGenericImage";
603
+ readonly type: "bool";
604
+ }, {
605
+ readonly internalType: "string";
606
+ readonly name: "fallbackCollectionName";
607
+ readonly type: "string";
608
+ }];
609
+ readonly name: "applyCollectionConfig";
610
+ readonly outputs: readonly [];
611
+ readonly stateMutability: "nonpayable";
612
+ readonly type: "function";
613
+ }, {
614
+ readonly inputs: readonly [{
615
+ readonly internalType: "address";
616
+ readonly name: "spender";
617
+ readonly type: "address";
618
+ }, {
619
+ readonly internalType: "uint256";
620
+ readonly name: "value";
621
+ readonly type: "uint256";
622
+ }];
623
+ readonly name: "approve";
624
+ readonly outputs: readonly [{
625
+ readonly internalType: "bool";
626
+ readonly name: "";
627
+ readonly type: "bool";
628
+ }];
629
+ readonly stateMutability: "nonpayable";
630
+ readonly type: "function";
631
+ }, {
632
+ readonly inputs: readonly [];
633
+ readonly name: "approvedEmissionTotal";
634
+ readonly outputs: readonly [{
635
+ readonly internalType: "uint256";
636
+ readonly name: "";
637
+ readonly type: "uint256";
638
+ }];
639
+ readonly stateMutability: "view";
640
+ readonly type: "function";
641
+ }, {
642
+ readonly inputs: readonly [{
643
+ readonly internalType: "address";
644
+ readonly name: "account";
645
+ readonly type: "address";
646
+ }];
647
+ readonly name: "balanceOf";
648
+ readonly outputs: readonly [{
649
+ readonly internalType: "uint256";
650
+ readonly name: "";
651
+ readonly type: "uint256";
652
+ }];
653
+ readonly stateMutability: "view";
654
+ readonly type: "function";
655
+ }, {
656
+ readonly inputs: readonly [{
657
+ readonly internalType: "uint256";
658
+ readonly name: "";
659
+ readonly type: "uint256";
660
+ }];
661
+ readonly name: "baseCollections";
662
+ readonly outputs: readonly [{
663
+ readonly internalType: "address";
664
+ readonly name: "";
665
+ readonly type: "address";
666
+ }];
667
+ readonly stateMutability: "view";
668
+ readonly type: "function";
669
+ }, {
670
+ readonly inputs: readonly [{
671
+ readonly internalType: "uint256";
672
+ readonly name: "amount";
673
+ readonly type: "uint256";
674
+ }];
675
+ readonly name: "burn";
676
+ readonly outputs: readonly [];
677
+ readonly stateMutability: "nonpayable";
678
+ readonly type: "function";
679
+ }, {
680
+ readonly inputs: readonly [{
681
+ readonly internalType: "address";
682
+ readonly name: "account";
683
+ readonly type: "address";
684
+ }, {
685
+ readonly internalType: "uint256";
686
+ readonly name: "amount";
687
+ readonly type: "uint256";
688
+ }];
689
+ readonly name: "burnFrom";
690
+ readonly outputs: readonly [];
691
+ readonly stateMutability: "nonpayable";
692
+ readonly type: "function";
693
+ }, {
694
+ readonly inputs: readonly [{
695
+ readonly internalType: "uint256[]";
696
+ readonly name: "receiptIds";
697
+ readonly type: "uint256[]";
698
+ }];
699
+ readonly name: "claim";
700
+ readonly outputs: readonly [];
701
+ readonly stateMutability: "nonpayable";
702
+ readonly type: "function";
703
+ }, {
704
+ readonly inputs: readonly [];
705
+ readonly name: "decimals";
706
+ readonly outputs: readonly [{
707
+ readonly internalType: "uint8";
708
+ readonly name: "";
709
+ readonly type: "uint8";
710
+ }];
711
+ readonly stateMutability: "view";
712
+ readonly type: "function";
713
+ }, {
714
+ readonly inputs: readonly [];
715
+ readonly name: "eip712Domain";
716
+ readonly outputs: readonly [{
717
+ readonly internalType: "bytes1";
718
+ readonly name: "fields";
719
+ readonly type: "bytes1";
720
+ }, {
721
+ readonly internalType: "string";
722
+ readonly name: "name";
723
+ readonly type: "string";
724
+ }, {
725
+ readonly internalType: "string";
726
+ readonly name: "version";
727
+ readonly type: "string";
728
+ }, {
729
+ readonly internalType: "uint256";
730
+ readonly name: "chainId";
731
+ readonly type: "uint256";
732
+ }, {
733
+ readonly internalType: "address";
734
+ readonly name: "verifyingContract";
735
+ readonly type: "address";
736
+ }, {
737
+ readonly internalType: "bytes32";
738
+ readonly name: "salt";
739
+ readonly type: "bytes32";
740
+ }, {
741
+ readonly internalType: "uint256[]";
742
+ readonly name: "extensions";
743
+ readonly type: "uint256[]";
744
+ }];
745
+ readonly stateMutability: "view";
746
+ readonly type: "function";
747
+ }, {
748
+ readonly inputs: readonly [];
749
+ readonly name: "getBaseCollections";
750
+ readonly outputs: readonly [{
751
+ readonly internalType: "address[]";
752
+ readonly name: "";
753
+ readonly type: "address[]";
754
+ }];
755
+ readonly stateMutability: "view";
756
+ readonly type: "function";
757
+ }, {
758
+ readonly inputs: readonly [{
759
+ readonly internalType: "address";
760
+ readonly name: "user";
761
+ readonly type: "address";
762
+ }, {
763
+ readonly internalType: "uint256";
764
+ readonly name: "timestamp";
765
+ readonly type: "uint256";
766
+ }];
767
+ readonly name: "getPastReceiptCount";
768
+ readonly outputs: readonly [{
769
+ readonly internalType: "uint256";
770
+ readonly name: "";
771
+ readonly type: "uint256";
772
+ }];
773
+ readonly stateMutability: "view";
774
+ readonly type: "function";
775
+ }, {
776
+ readonly inputs: readonly [{
777
+ readonly internalType: "uint256";
778
+ readonly name: "receiptId";
779
+ readonly type: "uint256";
780
+ }];
781
+ readonly name: "getReceiptProposalEligibleSince";
782
+ readonly outputs: readonly [{
783
+ readonly internalType: "uint256";
784
+ readonly name: "";
785
+ readonly type: "uint256";
786
+ }];
787
+ readonly stateMutability: "view";
788
+ readonly type: "function";
789
+ }, {
790
+ readonly inputs: readonly [{
791
+ readonly internalType: "uint256";
792
+ readonly name: "receiptId";
793
+ readonly type: "uint256";
794
+ }];
795
+ readonly name: "getReceiptStakeTimestamp";
796
+ readonly outputs: readonly [{
797
+ readonly internalType: "uint256";
798
+ readonly name: "";
799
+ readonly type: "uint256";
800
+ }];
801
+ readonly stateMutability: "view";
802
+ readonly type: "function";
803
+ }, {
804
+ readonly inputs: readonly [{
805
+ readonly internalType: "address";
806
+ readonly name: "user";
807
+ readonly type: "address";
808
+ }, {
809
+ readonly internalType: "uint256";
810
+ readonly name: "minDuration";
811
+ readonly type: "uint256";
812
+ }];
813
+ readonly name: "getUserEligibleReceiptCount";
814
+ readonly outputs: readonly [{
815
+ readonly internalType: "uint256";
816
+ readonly name: "";
817
+ readonly type: "uint256";
818
+ }];
819
+ readonly stateMutability: "view";
820
+ readonly type: "function";
821
+ }, {
822
+ readonly inputs: readonly [{
823
+ readonly internalType: "address";
824
+ readonly name: "user";
825
+ readonly type: "address";
826
+ }];
827
+ readonly name: "getUserReceiptCount";
828
+ readonly outputs: readonly [{
829
+ readonly internalType: "uint256";
830
+ readonly name: "";
831
+ readonly type: "uint256";
832
+ }];
833
+ readonly stateMutability: "view";
834
+ readonly type: "function";
835
+ }, {
836
+ readonly inputs: readonly [{
837
+ readonly internalType: "address";
838
+ readonly name: "user";
839
+ readonly type: "address";
840
+ }];
841
+ readonly name: "getUserReceipts";
842
+ readonly outputs: readonly [{
843
+ readonly internalType: "uint256[]";
844
+ readonly name: "";
845
+ readonly type: "uint256[]";
846
+ }];
847
+ readonly stateMutability: "view";
848
+ readonly type: "function";
849
+ }, {
850
+ readonly inputs: readonly [{
851
+ readonly internalType: "address";
852
+ readonly name: "user";
853
+ readonly type: "address";
854
+ }];
855
+ readonly name: "getUserStakingSummary";
856
+ readonly outputs: readonly [{
857
+ readonly internalType: "uint256";
858
+ readonly name: "receiptCount";
859
+ readonly type: "uint256";
860
+ }, {
861
+ readonly internalType: "uint256";
862
+ readonly name: "eligibleReceiptCount";
863
+ readonly type: "uint256";
864
+ }, {
865
+ readonly internalType: "uint256";
866
+ readonly name: "totalPendingRewards";
867
+ readonly type: "uint256";
868
+ }];
869
+ readonly stateMutability: "view";
870
+ readonly type: "function";
871
+ }, {
872
+ readonly inputs: readonly [];
873
+ readonly name: "governance";
874
+ readonly outputs: readonly [{
875
+ readonly internalType: "address";
876
+ readonly name: "";
877
+ readonly type: "address";
878
+ }];
879
+ readonly stateMutability: "view";
880
+ readonly type: "function";
881
+ }, {
882
+ readonly inputs: readonly [{
883
+ readonly internalType: "address";
884
+ readonly name: "collection";
885
+ readonly type: "address";
886
+ }];
887
+ readonly name: "isApprovedCollection";
888
+ readonly outputs: readonly [{
889
+ readonly internalType: "bool";
890
+ readonly name: "";
891
+ readonly type: "bool";
892
+ }];
893
+ readonly stateMutability: "view";
894
+ readonly type: "function";
895
+ }, {
896
+ readonly inputs: readonly [{
897
+ readonly internalType: "address";
898
+ readonly name: "collection";
899
+ readonly type: "address";
900
+ }];
901
+ readonly name: "isBaseCollection";
902
+ readonly outputs: readonly [{
903
+ readonly internalType: "bool";
904
+ readonly name: "";
905
+ readonly type: "bool";
906
+ }];
907
+ readonly stateMutability: "view";
908
+ readonly type: "function";
909
+ }, {
910
+ readonly inputs: readonly [{
911
+ readonly internalType: "uint256";
912
+ readonly name: "receiptId";
913
+ readonly type: "uint256";
914
+ }];
915
+ readonly name: "isReceiptLocked";
916
+ readonly outputs: readonly [{
917
+ readonly internalType: "bool";
918
+ readonly name: "";
919
+ readonly type: "bool";
920
+ }];
921
+ readonly stateMutability: "view";
922
+ readonly type: "function";
923
+ }, {
924
+ readonly inputs: readonly [{
925
+ readonly internalType: "address";
926
+ readonly name: "user";
927
+ readonly type: "address";
928
+ }];
929
+ readonly name: "isUserActiveStaker";
930
+ readonly outputs: readonly [{
931
+ readonly internalType: "bool";
932
+ readonly name: "";
933
+ readonly type: "bool";
934
+ }];
935
+ readonly stateMutability: "view";
936
+ readonly type: "function";
937
+ }, {
938
+ readonly inputs: readonly [{
939
+ readonly internalType: "uint256[]";
940
+ readonly name: "receiptIds";
941
+ readonly type: "uint256[]";
942
+ }, {
943
+ readonly internalType: "uint256";
944
+ readonly name: "proposalId";
945
+ readonly type: "uint256";
946
+ }, {
947
+ readonly internalType: "address";
948
+ readonly name: "proposer";
949
+ readonly type: "address";
950
+ }];
951
+ readonly name: "lockReceipts";
952
+ readonly outputs: readonly [];
953
+ readonly stateMutability: "nonpayable";
954
+ readonly type: "function";
955
+ }, {
956
+ readonly inputs: readonly [];
957
+ readonly name: "name";
958
+ readonly outputs: readonly [{
959
+ readonly internalType: "string";
960
+ readonly name: "";
961
+ readonly type: "string";
962
+ }];
963
+ readonly stateMutability: "view";
964
+ readonly type: "function";
965
+ }, {
966
+ readonly inputs: readonly [{
967
+ readonly internalType: "address";
968
+ readonly name: "owner";
969
+ readonly type: "address";
970
+ }];
971
+ readonly name: "nonces";
972
+ readonly outputs: readonly [{
973
+ readonly internalType: "uint256";
974
+ readonly name: "";
975
+ readonly type: "uint256";
976
+ }];
977
+ readonly stateMutability: "view";
978
+ readonly type: "function";
979
+ }, {
980
+ readonly inputs: readonly [{
981
+ readonly internalType: "address";
982
+ readonly name: "";
983
+ readonly type: "address";
984
+ }, {
985
+ readonly internalType: "address";
986
+ readonly name: "";
987
+ readonly type: "address";
988
+ }, {
989
+ readonly internalType: "uint256";
990
+ readonly name: "";
991
+ readonly type: "uint256";
992
+ }, {
993
+ readonly internalType: "bytes";
994
+ readonly name: "";
995
+ readonly type: "bytes";
996
+ }];
997
+ readonly name: "onERC721Received";
998
+ readonly outputs: readonly [{
999
+ readonly internalType: "bytes4";
1000
+ readonly name: "";
1001
+ readonly type: "bytes4";
1002
+ }];
1003
+ readonly stateMutability: "pure";
1004
+ readonly type: "function";
1005
+ }, {
1006
+ readonly inputs: readonly [];
1007
+ readonly name: "owner";
1008
+ readonly outputs: readonly [{
1009
+ readonly internalType: "address";
1010
+ readonly name: "";
1011
+ readonly type: "address";
1012
+ }];
1013
+ readonly stateMutability: "view";
1014
+ readonly type: "function";
1015
+ }, {
1016
+ readonly inputs: readonly [{
1017
+ readonly internalType: "uint256";
1018
+ readonly name: "receiptId";
1019
+ readonly type: "uint256";
1020
+ }];
1021
+ readonly name: "pendingRewards";
1022
+ readonly outputs: readonly [{
1023
+ readonly internalType: "uint256";
1024
+ readonly name: "";
1025
+ readonly type: "uint256";
1026
+ }];
1027
+ readonly stateMutability: "view";
1028
+ readonly type: "function";
1029
+ }, {
1030
+ readonly inputs: readonly [{
1031
+ readonly internalType: "uint256[]";
1032
+ readonly name: "receiptIds";
1033
+ readonly type: "uint256[]";
1034
+ }];
1035
+ readonly name: "pendingRewardsBatch";
1036
+ readonly outputs: readonly [{
1037
+ readonly internalType: "uint256[]";
1038
+ readonly name: "rewards";
1039
+ readonly type: "uint256[]";
1040
+ }];
1041
+ readonly stateMutability: "view";
1042
+ readonly type: "function";
1043
+ }, {
1044
+ readonly inputs: readonly [{
1045
+ readonly internalType: "address";
1046
+ readonly name: "owner";
1047
+ readonly type: "address";
1048
+ }, {
1049
+ readonly internalType: "address";
1050
+ readonly name: "spender";
1051
+ readonly type: "address";
1052
+ }, {
1053
+ readonly internalType: "uint256";
1054
+ readonly name: "value";
1055
+ readonly type: "uint256";
1056
+ }, {
1057
+ readonly internalType: "uint256";
1058
+ readonly name: "deadline";
1059
+ readonly type: "uint256";
1060
+ }, {
1061
+ readonly internalType: "uint8";
1062
+ readonly name: "v";
1063
+ readonly type: "uint8";
1064
+ }, {
1065
+ readonly internalType: "bytes32";
1066
+ readonly name: "r";
1067
+ readonly type: "bytes32";
1068
+ }, {
1069
+ readonly internalType: "bytes32";
1070
+ readonly name: "s";
1071
+ readonly type: "bytes32";
1072
+ }];
1073
+ readonly name: "permit";
1074
+ readonly outputs: readonly [];
1075
+ readonly stateMutability: "nonpayable";
1076
+ readonly type: "function";
1077
+ }, {
1078
+ readonly inputs: readonly [{
1079
+ readonly internalType: "address";
1080
+ readonly name: "";
1081
+ readonly type: "address";
1082
+ }, {
1083
+ readonly internalType: "uint256";
1084
+ readonly name: "";
1085
+ readonly type: "uint256";
1086
+ }];
1087
+ readonly name: "receiptCheckpoints";
1088
+ readonly outputs: readonly [{
1089
+ readonly internalType: "uint256";
1090
+ readonly name: "timestamp";
1091
+ readonly type: "uint256";
1092
+ }, {
1093
+ readonly internalType: "uint256";
1094
+ readonly name: "count";
1095
+ readonly type: "uint256";
1096
+ }];
1097
+ readonly stateMutability: "view";
1098
+ readonly type: "function";
1099
+ }, {
1100
+ readonly inputs: readonly [{
1101
+ readonly internalType: "uint256";
1102
+ readonly name: "";
1103
+ readonly type: "uint256";
1104
+ }];
1105
+ readonly name: "receiptLocked";
1106
+ readonly outputs: readonly [{
1107
+ readonly internalType: "bool";
1108
+ readonly name: "";
1109
+ readonly type: "bool";
1110
+ }];
1111
+ readonly stateMutability: "view";
1112
+ readonly type: "function";
1113
+ }, {
1114
+ readonly inputs: readonly [];
1115
+ readonly name: "receiptNFT";
1116
+ readonly outputs: readonly [{
1117
+ readonly internalType: "contract IReceiptNFT";
1118
+ readonly name: "";
1119
+ readonly type: "address";
1120
+ }];
1121
+ readonly stateMutability: "view";
1122
+ readonly type: "function";
1123
+ }, {
1124
+ readonly inputs: readonly [];
1125
+ readonly name: "renounceOwnership";
1126
+ readonly outputs: readonly [];
1127
+ readonly stateMutability: "nonpayable";
1128
+ readonly type: "function";
1129
+ }, {
1130
+ readonly inputs: readonly [{
1131
+ readonly internalType: "address";
1132
+ readonly name: "governance_";
1133
+ readonly type: "address";
1134
+ }];
1135
+ readonly name: "setGovernance";
1136
+ readonly outputs: readonly [];
1137
+ readonly stateMutability: "nonpayable";
1138
+ readonly type: "function";
1139
+ }, {
1140
+ readonly inputs: readonly [{
1141
+ readonly internalType: "address";
1142
+ readonly name: "receiptNFT_";
1143
+ readonly type: "address";
1144
+ }];
1145
+ readonly name: "setReceiptNFT";
1146
+ readonly outputs: readonly [];
1147
+ readonly stateMutability: "nonpayable";
1148
+ readonly type: "function";
1149
+ }, {
1150
+ readonly inputs: readonly [{
1151
+ readonly internalType: "address";
1152
+ readonly name: "collection";
1153
+ readonly type: "address";
1154
+ }, {
1155
+ readonly internalType: "uint256[]";
1156
+ readonly name: "tokenIds";
1157
+ readonly type: "uint256[]";
1158
+ }];
1159
+ readonly name: "stake";
1160
+ readonly outputs: readonly [];
1161
+ readonly stateMutability: "nonpayable";
1162
+ readonly type: "function";
1163
+ }, {
1164
+ readonly inputs: readonly [{
1165
+ readonly internalType: "address";
1166
+ readonly name: "collection";
1167
+ readonly type: "address";
1168
+ }];
1169
+ readonly name: "stakedCount";
1170
+ readonly outputs: readonly [{
1171
+ readonly internalType: "uint256";
1172
+ readonly name: "";
1173
+ readonly type: "uint256";
1174
+ }];
1175
+ readonly stateMutability: "view";
1176
+ readonly type: "function";
1177
+ }, {
1178
+ readonly inputs: readonly [{
1179
+ readonly internalType: "address";
1180
+ readonly name: "owner";
1181
+ readonly type: "address";
1182
+ }];
1183
+ readonly name: "stakedReceiptsOf";
1184
+ readonly outputs: readonly [{
1185
+ readonly internalType: "uint256[]";
1186
+ readonly name: "";
1187
+ readonly type: "uint256[]";
1188
+ }];
1189
+ readonly stateMutability: "view";
1190
+ readonly type: "function";
1191
+ }, {
1192
+ readonly inputs: readonly [{
1193
+ readonly internalType: "address";
1194
+ readonly name: "collection";
1195
+ readonly type: "address";
1196
+ }, {
1197
+ readonly internalType: "uint256";
1198
+ readonly name: "offset";
1199
+ readonly type: "uint256";
1200
+ }, {
1201
+ readonly internalType: "uint256";
1202
+ readonly name: "limit";
1203
+ readonly type: "uint256";
1204
+ }];
1205
+ readonly name: "stakedTokensInCollection";
1206
+ readonly outputs: readonly [{
1207
+ readonly internalType: "uint256[]";
1208
+ readonly name: "result";
1209
+ readonly type: "uint256[]";
1210
+ }, {
1211
+ readonly internalType: "uint256";
1212
+ readonly name: "total";
1213
+ readonly type: "uint256";
1214
+ }];
1215
+ readonly stateMutability: "view";
1216
+ readonly type: "function";
1217
+ }, {
1218
+ readonly inputs: readonly [];
1219
+ readonly name: "symbol";
1220
+ readonly outputs: readonly [{
1221
+ readonly internalType: "string";
1222
+ readonly name: "";
1223
+ readonly type: "string";
1224
+ }];
1225
+ readonly stateMutability: "view";
1226
+ readonly type: "function";
1227
+ }, {
1228
+ readonly inputs: readonly [{
1229
+ readonly internalType: "address";
1230
+ readonly name: "";
1231
+ readonly type: "address";
1232
+ }, {
1233
+ readonly internalType: "uint256";
1234
+ readonly name: "";
1235
+ readonly type: "uint256";
1236
+ }];
1237
+ readonly name: "tokenStaked";
1238
+ readonly outputs: readonly [{
1239
+ readonly internalType: "bool";
1240
+ readonly name: "";
1241
+ readonly type: "bool";
1242
+ }];
1243
+ readonly stateMutability: "view";
1244
+ readonly type: "function";
1245
+ }, {
1246
+ readonly inputs: readonly [];
1247
+ readonly name: "totalApprovedEmissionRate";
1248
+ readonly outputs: readonly [{
1249
+ readonly internalType: "uint256";
1250
+ readonly name: "";
1251
+ readonly type: "uint256";
1252
+ }];
1253
+ readonly stateMutability: "view";
1254
+ readonly type: "function";
1255
+ }, {
1256
+ readonly inputs: readonly [];
1257
+ readonly name: "totalSupply";
1258
+ readonly outputs: readonly [{
1259
+ readonly internalType: "uint256";
1260
+ readonly name: "";
1261
+ readonly type: "uint256";
1262
+ }];
1263
+ readonly stateMutability: "view";
1264
+ readonly type: "function";
1265
+ }, {
1266
+ readonly inputs: readonly [{
1267
+ readonly internalType: "address";
1268
+ readonly name: "to";
1269
+ readonly type: "address";
1270
+ }, {
1271
+ readonly internalType: "uint256";
1272
+ readonly name: "value";
1273
+ readonly type: "uint256";
1274
+ }];
1275
+ readonly name: "transfer";
1276
+ readonly outputs: readonly [{
1277
+ readonly internalType: "bool";
1278
+ readonly name: "";
1279
+ readonly type: "bool";
1280
+ }];
1281
+ readonly stateMutability: "nonpayable";
1282
+ readonly type: "function";
1283
+ }, {
1284
+ readonly inputs: readonly [{
1285
+ readonly internalType: "address";
1286
+ readonly name: "from";
1287
+ readonly type: "address";
1288
+ }, {
1289
+ readonly internalType: "address";
1290
+ readonly name: "to";
1291
+ readonly type: "address";
1292
+ }, {
1293
+ readonly internalType: "uint256";
1294
+ readonly name: "value";
1295
+ readonly type: "uint256";
1296
+ }];
1297
+ readonly name: "transferFrom";
1298
+ readonly outputs: readonly [{
1299
+ readonly internalType: "bool";
1300
+ readonly name: "";
1301
+ readonly type: "bool";
1302
+ }];
1303
+ readonly stateMutability: "nonpayable";
1304
+ readonly type: "function";
1305
+ }, {
1306
+ readonly inputs: readonly [{
1307
+ readonly internalType: "address";
1308
+ readonly name: "newOwner";
1309
+ readonly type: "address";
1310
+ }];
1311
+ readonly name: "transferOwnership";
1312
+ readonly outputs: readonly [];
1313
+ readonly stateMutability: "nonpayable";
1314
+ readonly type: "function";
1315
+ }, {
1316
+ readonly inputs: readonly [{
1317
+ readonly internalType: "address";
1318
+ readonly name: "proposer";
1319
+ readonly type: "address";
1320
+ }, {
1321
+ readonly internalType: "string";
1322
+ readonly name: "reason";
1323
+ readonly type: "string";
1324
+ }];
1325
+ readonly name: "unlockProposerReceipts";
1326
+ readonly outputs: readonly [];
1327
+ readonly stateMutability: "nonpayable";
1328
+ readonly type: "function";
1329
+ }, {
1330
+ readonly inputs: readonly [{
1331
+ readonly internalType: "uint256[]";
1332
+ readonly name: "receiptIds";
1333
+ readonly type: "uint256[]";
1334
+ }, {
1335
+ readonly internalType: "string";
1336
+ readonly name: "reason";
1337
+ readonly type: "string";
1338
+ }];
1339
+ readonly name: "unlockReceipts";
1340
+ readonly outputs: readonly [];
1341
+ readonly stateMutability: "nonpayable";
1342
+ readonly type: "function";
1343
+ }, {
1344
+ readonly inputs: readonly [{
1345
+ readonly internalType: "uint256[]";
1346
+ readonly name: "receiptIds";
1347
+ readonly type: "uint256[]";
1348
+ }];
1349
+ readonly name: "unstake";
1350
+ readonly outputs: readonly [];
1351
+ readonly stateMutability: "nonpayable";
1352
+ readonly type: "function";
1353
+ }];
1354
+ /**
1355
+ * Type-safe ABI for BZROVault_json
1356
+ */
1357
+ export type BZROVault_jsonAbi = typeof BZROVault_jsonAbi;
1358
+ /**
1359
+ * Contract instance type for BZROVault_json
1360
+ */
1361
+ export type BZROVault_jsonContract = any;
1362
+ /**
1363
+ * BZROVault_json Contract Class
1364
+ *
1365
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1366
+ *
1367
+ * @example
1368
+ * ```typescript
1369
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1370
+ * import { mainnet } from 'viem/chains';
1371
+ * import { BZROVault_json } from 'BZROVault_json';
1372
+ *
1373
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1374
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1375
+ *
1376
+ * const contract = new BZROVault_json('0x...', { publicClient, walletClient });
1377
+ *
1378
+ * // Read functions
1379
+ * const result = await contract.balanceOf('0x...');
1380
+ *
1381
+ * // Write functions
1382
+ * const hash = await contract.transfer('0x...', 1000n);
1383
+ *
1384
+ * // Simulate transactions (dry-run)
1385
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1386
+ * console.log('Gas estimate:', simulation.request.gas);
1387
+ *
1388
+ * // Watch events
1389
+ * const unwatch = contract.watch.Transfer((event) => {
1390
+ * console.log('Transfer event:', event);
1391
+ * });
1392
+ * ```
1393
+ */
1394
+ export declare class BZROVault_json {
1395
+ private contract;
1396
+ private contractAddress;
1397
+ private publicClient;
1398
+ constructor(address: Address, clients: {
1399
+ publicClient: PublicClient;
1400
+ walletClient?: WalletClient;
1401
+ });
1402
+ /**
1403
+ * Get the contract address
1404
+ */
1405
+ get address(): Address;
1406
+ /**
1407
+ * Get the underlying viem contract instance
1408
+ */
1409
+ getContract(): BZROVault_jsonContract;
1410
+ /**
1411
+ * BASE_EMISSION_RATE
1412
+ * view
1413
+ */
1414
+ BASE_EMISSION_RATE(): Promise<bigint>;
1415
+ /**
1416
+ * DOMAIN_SEPARATOR
1417
+ * view
1418
+ */
1419
+ DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
1420
+ /**
1421
+ * GLOBAL_EMISSION_CAP
1422
+ * view
1423
+ */
1424
+ GLOBAL_EMISSION_CAP(): Promise<bigint>;
1425
+ /**
1426
+ * MAX_COLLECTION_EMISSION_RATE
1427
+ * view
1428
+ */
1429
+ MAX_COLLECTION_EMISSION_RATE(): Promise<bigint>;
1430
+ /**
1431
+ * MAX_SECONDARY_PER_NFT_RATE
1432
+ * view
1433
+ */
1434
+ MAX_SECONDARY_PER_NFT_RATE(): Promise<bigint>;
1435
+ /**
1436
+ * SCALING_DENOMINATOR
1437
+ * view
1438
+ */
1439
+ SCALING_DENOMINATOR(): Promise<bigint>;
1440
+ /**
1441
+ * allowance
1442
+ * view
1443
+ */
1444
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
1445
+ /**
1446
+ * approvedEmissionTotal
1447
+ * view
1448
+ */
1449
+ approvedEmissionTotal(): Promise<bigint>;
1450
+ /**
1451
+ * balanceOf
1452
+ * view
1453
+ */
1454
+ balanceOf(account: `0x${string}`): Promise<bigint>;
1455
+ /**
1456
+ * baseCollections
1457
+ * view
1458
+ */
1459
+ baseCollections(arg0: bigint): Promise<`0x${string}`>;
1460
+ /**
1461
+ * decimals
1462
+ * view
1463
+ */
1464
+ decimals(): Promise<bigint>;
1465
+ /**
1466
+ * eip712Domain
1467
+ * view
1468
+ */
1469
+ eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
1470
+ /**
1471
+ * getBaseCollections
1472
+ * view
1473
+ */
1474
+ getBaseCollections(): Promise<`0x${string}`[]>;
1475
+ /**
1476
+ * getPastReceiptCount
1477
+ * view
1478
+ */
1479
+ getPastReceiptCount(user: `0x${string}`, timestamp: bigint): Promise<bigint>;
1480
+ /**
1481
+ * getReceiptProposalEligibleSince
1482
+ * view
1483
+ */
1484
+ getReceiptProposalEligibleSince(receiptId: bigint): Promise<bigint>;
1485
+ /**
1486
+ * getReceiptStakeTimestamp
1487
+ * view
1488
+ */
1489
+ getReceiptStakeTimestamp(receiptId: bigint): Promise<bigint>;
1490
+ /**
1491
+ * getUserEligibleReceiptCount
1492
+ * view
1493
+ */
1494
+ getUserEligibleReceiptCount(user: `0x${string}`, minDuration: bigint): Promise<bigint>;
1495
+ /**
1496
+ * getUserReceiptCount
1497
+ * view
1498
+ */
1499
+ getUserReceiptCount(user: `0x${string}`): Promise<bigint>;
1500
+ /**
1501
+ * getUserReceipts
1502
+ * view
1503
+ */
1504
+ getUserReceipts(user: `0x${string}`): Promise<bigint[]>;
1505
+ /**
1506
+ * getUserStakingSummary
1507
+ * view
1508
+ */
1509
+ getUserStakingSummary(user: `0x${string}`): Promise<[bigint, bigint, bigint]>;
1510
+ /**
1511
+ * governance
1512
+ * view
1513
+ */
1514
+ governance(): Promise<`0x${string}`>;
1515
+ /**
1516
+ * isApprovedCollection
1517
+ * view
1518
+ */
1519
+ isApprovedCollection(collection: `0x${string}`): Promise<boolean>;
1520
+ /**
1521
+ * isBaseCollection
1522
+ * view
1523
+ */
1524
+ isBaseCollection(collection: `0x${string}`): Promise<boolean>;
1525
+ /**
1526
+ * isReceiptLocked
1527
+ * view
1528
+ */
1529
+ isReceiptLocked(receiptId: bigint): Promise<boolean>;
1530
+ /**
1531
+ * isUserActiveStaker
1532
+ * view
1533
+ */
1534
+ isUserActiveStaker(user: `0x${string}`): Promise<boolean>;
1535
+ /**
1536
+ * name
1537
+ * view
1538
+ */
1539
+ name(): Promise<string>;
1540
+ /**
1541
+ * nonces
1542
+ * view
1543
+ */
1544
+ nonces(owner: `0x${string}`): Promise<bigint>;
1545
+ /**
1546
+ * onERC721Received
1547
+ * pure
1548
+ */
1549
+ onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`): Promise<`0x${string}`>;
1550
+ /**
1551
+ * owner
1552
+ * view
1553
+ */
1554
+ owner(): Promise<`0x${string}`>;
1555
+ /**
1556
+ * pendingRewards
1557
+ * view
1558
+ */
1559
+ pendingRewards(receiptId: bigint): Promise<bigint>;
1560
+ /**
1561
+ * pendingRewardsBatch
1562
+ * view
1563
+ */
1564
+ pendingRewardsBatch(receiptIds: bigint[]): Promise<bigint[]>;
1565
+ /**
1566
+ * receiptCheckpoints
1567
+ * view
1568
+ */
1569
+ receiptCheckpoints(arg0: `0x${string}`, arg1: bigint): Promise<[bigint, bigint]>;
1570
+ /**
1571
+ * receiptLocked
1572
+ * view
1573
+ */
1574
+ receiptLocked(arg0: bigint): Promise<boolean>;
1575
+ /**
1576
+ * receiptNFT
1577
+ * view
1578
+ */
1579
+ receiptNFT(): Promise<`0x${string}`>;
1580
+ /**
1581
+ * stakedCount
1582
+ * view
1583
+ */
1584
+ stakedCount(collection: `0x${string}`): Promise<bigint>;
1585
+ /**
1586
+ * stakedReceiptsOf
1587
+ * view
1588
+ */
1589
+ stakedReceiptsOf(owner: `0x${string}`): Promise<bigint[]>;
1590
+ /**
1591
+ * stakedTokensInCollection
1592
+ * view
1593
+ */
1594
+ stakedTokensInCollection(collection: `0x${string}`, offset: bigint, limit: bigint): Promise<[bigint[], bigint]>;
1595
+ /**
1596
+ * symbol
1597
+ * view
1598
+ */
1599
+ symbol(): Promise<string>;
1600
+ /**
1601
+ * tokenStaked
1602
+ * view
1603
+ */
1604
+ tokenStaked(arg0: `0x${string}`, arg1: bigint): Promise<boolean>;
1605
+ /**
1606
+ * totalApprovedEmissionRate
1607
+ * view
1608
+ */
1609
+ totalApprovedEmissionRate(): Promise<bigint>;
1610
+ /**
1611
+ * totalSupply
1612
+ * view
1613
+ */
1614
+ totalSupply(): Promise<bigint>;
1615
+ /**
1616
+ * applyCollectionConfig
1617
+ * nonpayable
1618
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1619
+ */
1620
+ applyCollectionConfig(collection: `0x${string}`, operation: bigint, collectionSize: bigint, emissionRate: bigint, useGenericImage: boolean, fallbackCollectionName: string, options?: {
1621
+ accessList?: import('viem').AccessList;
1622
+ authorizationList?: import('viem').AuthorizationList;
1623
+ chain?: import('viem').Chain | null;
1624
+ dataSuffix?: `0x${string}`;
1625
+ gas?: bigint;
1626
+ gasPrice?: bigint;
1627
+ maxFeePerGas?: bigint;
1628
+ maxPriorityFeePerGas?: bigint;
1629
+ nonce?: number;
1630
+ value?: bigint;
1631
+ }): Promise<`0x${string}`>;
1632
+ /**
1633
+ * approve
1634
+ * nonpayable
1635
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1636
+ */
1637
+ approve(spender: `0x${string}`, value: bigint, options?: {
1638
+ accessList?: import('viem').AccessList;
1639
+ authorizationList?: import('viem').AuthorizationList;
1640
+ chain?: import('viem').Chain | null;
1641
+ dataSuffix?: `0x${string}`;
1642
+ gas?: bigint;
1643
+ gasPrice?: bigint;
1644
+ maxFeePerGas?: bigint;
1645
+ maxPriorityFeePerGas?: bigint;
1646
+ nonce?: number;
1647
+ value?: bigint;
1648
+ }): Promise<`0x${string}`>;
1649
+ /**
1650
+ * burn
1651
+ * nonpayable
1652
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1653
+ */
1654
+ burn(amount: bigint, options?: {
1655
+ accessList?: import('viem').AccessList;
1656
+ authorizationList?: import('viem').AuthorizationList;
1657
+ chain?: import('viem').Chain | null;
1658
+ dataSuffix?: `0x${string}`;
1659
+ gas?: bigint;
1660
+ gasPrice?: bigint;
1661
+ maxFeePerGas?: bigint;
1662
+ maxPriorityFeePerGas?: bigint;
1663
+ nonce?: number;
1664
+ value?: bigint;
1665
+ }): Promise<`0x${string}`>;
1666
+ /**
1667
+ * burnFrom
1668
+ * nonpayable
1669
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1670
+ */
1671
+ burnFrom(account: `0x${string}`, amount: bigint, options?: {
1672
+ accessList?: import('viem').AccessList;
1673
+ authorizationList?: import('viem').AuthorizationList;
1674
+ chain?: import('viem').Chain | null;
1675
+ dataSuffix?: `0x${string}`;
1676
+ gas?: bigint;
1677
+ gasPrice?: bigint;
1678
+ maxFeePerGas?: bigint;
1679
+ maxPriorityFeePerGas?: bigint;
1680
+ nonce?: number;
1681
+ value?: bigint;
1682
+ }): Promise<`0x${string}`>;
1683
+ /**
1684
+ * claim
1685
+ * nonpayable
1686
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1687
+ */
1688
+ claim(receiptIds: bigint[], options?: {
1689
+ accessList?: import('viem').AccessList;
1690
+ authorizationList?: import('viem').AuthorizationList;
1691
+ chain?: import('viem').Chain | null;
1692
+ dataSuffix?: `0x${string}`;
1693
+ gas?: bigint;
1694
+ gasPrice?: bigint;
1695
+ maxFeePerGas?: bigint;
1696
+ maxPriorityFeePerGas?: bigint;
1697
+ nonce?: number;
1698
+ value?: bigint;
1699
+ }): Promise<`0x${string}`>;
1700
+ /**
1701
+ * lockReceipts
1702
+ * nonpayable
1703
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1704
+ */
1705
+ lockReceipts(receiptIds: bigint[], proposalId: bigint, proposer: `0x${string}`, options?: {
1706
+ accessList?: import('viem').AccessList;
1707
+ authorizationList?: import('viem').AuthorizationList;
1708
+ chain?: import('viem').Chain | null;
1709
+ dataSuffix?: `0x${string}`;
1710
+ gas?: bigint;
1711
+ gasPrice?: bigint;
1712
+ maxFeePerGas?: bigint;
1713
+ maxPriorityFeePerGas?: bigint;
1714
+ nonce?: number;
1715
+ value?: bigint;
1716
+ }): Promise<`0x${string}`>;
1717
+ /**
1718
+ * permit
1719
+ * nonpayable
1720
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1721
+ */
1722
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
1723
+ accessList?: import('viem').AccessList;
1724
+ authorizationList?: import('viem').AuthorizationList;
1725
+ chain?: import('viem').Chain | null;
1726
+ dataSuffix?: `0x${string}`;
1727
+ gas?: bigint;
1728
+ gasPrice?: bigint;
1729
+ maxFeePerGas?: bigint;
1730
+ maxPriorityFeePerGas?: bigint;
1731
+ nonce?: number;
1732
+ value?: bigint;
1733
+ }): Promise<`0x${string}`>;
1734
+ /**
1735
+ * renounceOwnership
1736
+ * nonpayable
1737
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1738
+ */
1739
+ renounceOwnership(options?: {
1740
+ accessList?: import('viem').AccessList;
1741
+ authorizationList?: import('viem').AuthorizationList;
1742
+ chain?: import('viem').Chain | null;
1743
+ dataSuffix?: `0x${string}`;
1744
+ gas?: bigint;
1745
+ gasPrice?: bigint;
1746
+ maxFeePerGas?: bigint;
1747
+ maxPriorityFeePerGas?: bigint;
1748
+ nonce?: number;
1749
+ value?: bigint;
1750
+ }): Promise<`0x${string}`>;
1751
+ /**
1752
+ * setGovernance
1753
+ * nonpayable
1754
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1755
+ */
1756
+ setGovernance(governance_: `0x${string}`, options?: {
1757
+ accessList?: import('viem').AccessList;
1758
+ authorizationList?: import('viem').AuthorizationList;
1759
+ chain?: import('viem').Chain | null;
1760
+ dataSuffix?: `0x${string}`;
1761
+ gas?: bigint;
1762
+ gasPrice?: bigint;
1763
+ maxFeePerGas?: bigint;
1764
+ maxPriorityFeePerGas?: bigint;
1765
+ nonce?: number;
1766
+ value?: bigint;
1767
+ }): Promise<`0x${string}`>;
1768
+ /**
1769
+ * setReceiptNFT
1770
+ * nonpayable
1771
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1772
+ */
1773
+ setReceiptNFT(receiptNFT_: `0x${string}`, options?: {
1774
+ accessList?: import('viem').AccessList;
1775
+ authorizationList?: import('viem').AuthorizationList;
1776
+ chain?: import('viem').Chain | null;
1777
+ dataSuffix?: `0x${string}`;
1778
+ gas?: bigint;
1779
+ gasPrice?: bigint;
1780
+ maxFeePerGas?: bigint;
1781
+ maxPriorityFeePerGas?: bigint;
1782
+ nonce?: number;
1783
+ value?: bigint;
1784
+ }): Promise<`0x${string}`>;
1785
+ /**
1786
+ * stake
1787
+ * nonpayable
1788
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1789
+ */
1790
+ stake(collection: `0x${string}`, tokenIds: bigint[], options?: {
1791
+ accessList?: import('viem').AccessList;
1792
+ authorizationList?: import('viem').AuthorizationList;
1793
+ chain?: import('viem').Chain | null;
1794
+ dataSuffix?: `0x${string}`;
1795
+ gas?: bigint;
1796
+ gasPrice?: bigint;
1797
+ maxFeePerGas?: bigint;
1798
+ maxPriorityFeePerGas?: bigint;
1799
+ nonce?: number;
1800
+ value?: bigint;
1801
+ }): Promise<`0x${string}`>;
1802
+ /**
1803
+ * transfer
1804
+ * nonpayable
1805
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1806
+ */
1807
+ transfer(to: `0x${string}`, value: bigint, options?: {
1808
+ accessList?: import('viem').AccessList;
1809
+ authorizationList?: import('viem').AuthorizationList;
1810
+ chain?: import('viem').Chain | null;
1811
+ dataSuffix?: `0x${string}`;
1812
+ gas?: bigint;
1813
+ gasPrice?: bigint;
1814
+ maxFeePerGas?: bigint;
1815
+ maxPriorityFeePerGas?: bigint;
1816
+ nonce?: number;
1817
+ value?: bigint;
1818
+ }): Promise<`0x${string}`>;
1819
+ /**
1820
+ * transferFrom
1821
+ * nonpayable
1822
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1823
+ */
1824
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
1825
+ accessList?: import('viem').AccessList;
1826
+ authorizationList?: import('viem').AuthorizationList;
1827
+ chain?: import('viem').Chain | null;
1828
+ dataSuffix?: `0x${string}`;
1829
+ gas?: bigint;
1830
+ gasPrice?: bigint;
1831
+ maxFeePerGas?: bigint;
1832
+ maxPriorityFeePerGas?: bigint;
1833
+ nonce?: number;
1834
+ value?: bigint;
1835
+ }): Promise<`0x${string}`>;
1836
+ /**
1837
+ * transferOwnership
1838
+ * nonpayable
1839
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1840
+ */
1841
+ transferOwnership(newOwner: `0x${string}`, options?: {
1842
+ accessList?: import('viem').AccessList;
1843
+ authorizationList?: import('viem').AuthorizationList;
1844
+ chain?: import('viem').Chain | null;
1845
+ dataSuffix?: `0x${string}`;
1846
+ gas?: bigint;
1847
+ gasPrice?: bigint;
1848
+ maxFeePerGas?: bigint;
1849
+ maxPriorityFeePerGas?: bigint;
1850
+ nonce?: number;
1851
+ value?: bigint;
1852
+ }): Promise<`0x${string}`>;
1853
+ /**
1854
+ * unlockProposerReceipts
1855
+ * nonpayable
1856
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1857
+ */
1858
+ unlockProposerReceipts(proposer: `0x${string}`, reason: string, options?: {
1859
+ accessList?: import('viem').AccessList;
1860
+ authorizationList?: import('viem').AuthorizationList;
1861
+ chain?: import('viem').Chain | null;
1862
+ dataSuffix?: `0x${string}`;
1863
+ gas?: bigint;
1864
+ gasPrice?: bigint;
1865
+ maxFeePerGas?: bigint;
1866
+ maxPriorityFeePerGas?: bigint;
1867
+ nonce?: number;
1868
+ value?: bigint;
1869
+ }): Promise<`0x${string}`>;
1870
+ /**
1871
+ * unlockReceipts
1872
+ * nonpayable
1873
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1874
+ */
1875
+ unlockReceipts(receiptIds: bigint[], reason: string, options?: {
1876
+ accessList?: import('viem').AccessList;
1877
+ authorizationList?: import('viem').AuthorizationList;
1878
+ chain?: import('viem').Chain | null;
1879
+ dataSuffix?: `0x${string}`;
1880
+ gas?: bigint;
1881
+ gasPrice?: bigint;
1882
+ maxFeePerGas?: bigint;
1883
+ maxPriorityFeePerGas?: bigint;
1884
+ nonce?: number;
1885
+ value?: bigint;
1886
+ }): Promise<`0x${string}`>;
1887
+ /**
1888
+ * unstake
1889
+ * nonpayable
1890
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1891
+ */
1892
+ unstake(receiptIds: bigint[], options?: {
1893
+ accessList?: import('viem').AccessList;
1894
+ authorizationList?: import('viem').AuthorizationList;
1895
+ chain?: import('viem').Chain | null;
1896
+ dataSuffix?: `0x${string}`;
1897
+ gas?: bigint;
1898
+ gasPrice?: bigint;
1899
+ maxFeePerGas?: bigint;
1900
+ maxPriorityFeePerGas?: bigint;
1901
+ nonce?: number;
1902
+ value?: bigint;
1903
+ }): Promise<`0x${string}`>;
1904
+ /**
1905
+ * Simulate contract write operations (dry-run without sending transaction)
1906
+ *
1907
+ * @example
1908
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1909
+ * console.log('Gas estimate:', result.request.gas);
1910
+ * console.log('Would succeed:', result.result);
1911
+ */
1912
+ get simulate(): {
1913
+ /**
1914
+ * Simulate applyCollectionConfig
1915
+ * Returns gas estimate and result without sending transaction
1916
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1917
+ */
1918
+ applyCollectionConfig(collection: `0x${string}`, operation: bigint, collectionSize: bigint, emissionRate: bigint, useGenericImage: boolean, fallbackCollectionName: string, options?: {
1919
+ accessList?: import("viem").AccessList;
1920
+ authorizationList?: import("viem").AuthorizationList;
1921
+ chain?: import("viem").Chain | null;
1922
+ dataSuffix?: `0x${string}`;
1923
+ gas?: bigint;
1924
+ gasPrice?: bigint;
1925
+ maxFeePerGas?: bigint;
1926
+ maxPriorityFeePerGas?: bigint;
1927
+ nonce?: number;
1928
+ value?: bigint;
1929
+ }): Promise<void>;
1930
+ /**
1931
+ * Simulate approve
1932
+ * Returns gas estimate and result without sending transaction
1933
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1934
+ */
1935
+ approve(spender: `0x${string}`, value: bigint, options?: {
1936
+ accessList?: import("viem").AccessList;
1937
+ authorizationList?: import("viem").AuthorizationList;
1938
+ chain?: import("viem").Chain | null;
1939
+ dataSuffix?: `0x${string}`;
1940
+ gas?: bigint;
1941
+ gasPrice?: bigint;
1942
+ maxFeePerGas?: bigint;
1943
+ maxPriorityFeePerGas?: bigint;
1944
+ nonce?: number;
1945
+ value?: bigint;
1946
+ }): Promise<boolean>;
1947
+ /**
1948
+ * Simulate burn
1949
+ * Returns gas estimate and result without sending transaction
1950
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1951
+ */
1952
+ burn(amount: bigint, options?: {
1953
+ accessList?: import("viem").AccessList;
1954
+ authorizationList?: import("viem").AuthorizationList;
1955
+ chain?: import("viem").Chain | null;
1956
+ dataSuffix?: `0x${string}`;
1957
+ gas?: bigint;
1958
+ gasPrice?: bigint;
1959
+ maxFeePerGas?: bigint;
1960
+ maxPriorityFeePerGas?: bigint;
1961
+ nonce?: number;
1962
+ value?: bigint;
1963
+ }): Promise<void>;
1964
+ /**
1965
+ * Simulate burnFrom
1966
+ * Returns gas estimate and result without sending transaction
1967
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1968
+ */
1969
+ burnFrom(account: `0x${string}`, amount: bigint, options?: {
1970
+ accessList?: import("viem").AccessList;
1971
+ authorizationList?: import("viem").AuthorizationList;
1972
+ chain?: import("viem").Chain | null;
1973
+ dataSuffix?: `0x${string}`;
1974
+ gas?: bigint;
1975
+ gasPrice?: bigint;
1976
+ maxFeePerGas?: bigint;
1977
+ maxPriorityFeePerGas?: bigint;
1978
+ nonce?: number;
1979
+ value?: bigint;
1980
+ }): Promise<void>;
1981
+ /**
1982
+ * Simulate claim
1983
+ * Returns gas estimate and result without sending transaction
1984
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1985
+ */
1986
+ claim(receiptIds: bigint[], options?: {
1987
+ accessList?: import("viem").AccessList;
1988
+ authorizationList?: import("viem").AuthorizationList;
1989
+ chain?: import("viem").Chain | null;
1990
+ dataSuffix?: `0x${string}`;
1991
+ gas?: bigint;
1992
+ gasPrice?: bigint;
1993
+ maxFeePerGas?: bigint;
1994
+ maxPriorityFeePerGas?: bigint;
1995
+ nonce?: number;
1996
+ value?: bigint;
1997
+ }): Promise<void>;
1998
+ /**
1999
+ * Simulate lockReceipts
2000
+ * Returns gas estimate and result without sending transaction
2001
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2002
+ */
2003
+ lockReceipts(receiptIds: bigint[], proposalId: bigint, proposer: `0x${string}`, options?: {
2004
+ accessList?: import("viem").AccessList;
2005
+ authorizationList?: import("viem").AuthorizationList;
2006
+ chain?: import("viem").Chain | null;
2007
+ dataSuffix?: `0x${string}`;
2008
+ gas?: bigint;
2009
+ gasPrice?: bigint;
2010
+ maxFeePerGas?: bigint;
2011
+ maxPriorityFeePerGas?: bigint;
2012
+ nonce?: number;
2013
+ value?: bigint;
2014
+ }): Promise<void>;
2015
+ /**
2016
+ * Simulate permit
2017
+ * Returns gas estimate and result without sending transaction
2018
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2019
+ */
2020
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
2021
+ accessList?: import("viem").AccessList;
2022
+ authorizationList?: import("viem").AuthorizationList;
2023
+ chain?: import("viem").Chain | null;
2024
+ dataSuffix?: `0x${string}`;
2025
+ gas?: bigint;
2026
+ gasPrice?: bigint;
2027
+ maxFeePerGas?: bigint;
2028
+ maxPriorityFeePerGas?: bigint;
2029
+ nonce?: number;
2030
+ value?: bigint;
2031
+ }): Promise<void>;
2032
+ /**
2033
+ * Simulate renounceOwnership
2034
+ * Returns gas estimate and result without sending transaction
2035
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2036
+ */
2037
+ renounceOwnership(options?: {
2038
+ accessList?: import("viem").AccessList;
2039
+ authorizationList?: import("viem").AuthorizationList;
2040
+ chain?: import("viem").Chain | null;
2041
+ dataSuffix?: `0x${string}`;
2042
+ gas?: bigint;
2043
+ gasPrice?: bigint;
2044
+ maxFeePerGas?: bigint;
2045
+ maxPriorityFeePerGas?: bigint;
2046
+ nonce?: number;
2047
+ value?: bigint;
2048
+ }): Promise<void>;
2049
+ /**
2050
+ * Simulate setGovernance
2051
+ * Returns gas estimate and result without sending transaction
2052
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2053
+ */
2054
+ setGovernance(governance_: `0x${string}`, options?: {
2055
+ accessList?: import("viem").AccessList;
2056
+ authorizationList?: import("viem").AuthorizationList;
2057
+ chain?: import("viem").Chain | null;
2058
+ dataSuffix?: `0x${string}`;
2059
+ gas?: bigint;
2060
+ gasPrice?: bigint;
2061
+ maxFeePerGas?: bigint;
2062
+ maxPriorityFeePerGas?: bigint;
2063
+ nonce?: number;
2064
+ value?: bigint;
2065
+ }): Promise<void>;
2066
+ /**
2067
+ * Simulate setReceiptNFT
2068
+ * Returns gas estimate and result without sending transaction
2069
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2070
+ */
2071
+ setReceiptNFT(receiptNFT_: `0x${string}`, options?: {
2072
+ accessList?: import("viem").AccessList;
2073
+ authorizationList?: import("viem").AuthorizationList;
2074
+ chain?: import("viem").Chain | null;
2075
+ dataSuffix?: `0x${string}`;
2076
+ gas?: bigint;
2077
+ gasPrice?: bigint;
2078
+ maxFeePerGas?: bigint;
2079
+ maxPriorityFeePerGas?: bigint;
2080
+ nonce?: number;
2081
+ value?: bigint;
2082
+ }): Promise<void>;
2083
+ /**
2084
+ * Simulate stake
2085
+ * Returns gas estimate and result without sending transaction
2086
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2087
+ */
2088
+ stake(collection: `0x${string}`, tokenIds: bigint[], options?: {
2089
+ accessList?: import("viem").AccessList;
2090
+ authorizationList?: import("viem").AuthorizationList;
2091
+ chain?: import("viem").Chain | null;
2092
+ dataSuffix?: `0x${string}`;
2093
+ gas?: bigint;
2094
+ gasPrice?: bigint;
2095
+ maxFeePerGas?: bigint;
2096
+ maxPriorityFeePerGas?: bigint;
2097
+ nonce?: number;
2098
+ value?: bigint;
2099
+ }): Promise<void>;
2100
+ /**
2101
+ * Simulate transfer
2102
+ * Returns gas estimate and result without sending transaction
2103
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2104
+ */
2105
+ transfer(to: `0x${string}`, value: bigint, options?: {
2106
+ accessList?: import("viem").AccessList;
2107
+ authorizationList?: import("viem").AuthorizationList;
2108
+ chain?: import("viem").Chain | null;
2109
+ dataSuffix?: `0x${string}`;
2110
+ gas?: bigint;
2111
+ gasPrice?: bigint;
2112
+ maxFeePerGas?: bigint;
2113
+ maxPriorityFeePerGas?: bigint;
2114
+ nonce?: number;
2115
+ value?: bigint;
2116
+ }): Promise<boolean>;
2117
+ /**
2118
+ * Simulate transferFrom
2119
+ * Returns gas estimate and result without sending transaction
2120
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2121
+ */
2122
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
2123
+ accessList?: import("viem").AccessList;
2124
+ authorizationList?: import("viem").AuthorizationList;
2125
+ chain?: import("viem").Chain | null;
2126
+ dataSuffix?: `0x${string}`;
2127
+ gas?: bigint;
2128
+ gasPrice?: bigint;
2129
+ maxFeePerGas?: bigint;
2130
+ maxPriorityFeePerGas?: bigint;
2131
+ nonce?: number;
2132
+ value?: bigint;
2133
+ }): Promise<boolean>;
2134
+ /**
2135
+ * Simulate transferOwnership
2136
+ * Returns gas estimate and result without sending transaction
2137
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2138
+ */
2139
+ transferOwnership(newOwner: `0x${string}`, options?: {
2140
+ accessList?: import("viem").AccessList;
2141
+ authorizationList?: import("viem").AuthorizationList;
2142
+ chain?: import("viem").Chain | null;
2143
+ dataSuffix?: `0x${string}`;
2144
+ gas?: bigint;
2145
+ gasPrice?: bigint;
2146
+ maxFeePerGas?: bigint;
2147
+ maxPriorityFeePerGas?: bigint;
2148
+ nonce?: number;
2149
+ value?: bigint;
2150
+ }): Promise<void>;
2151
+ /**
2152
+ * Simulate unlockProposerReceipts
2153
+ * Returns gas estimate and result without sending transaction
2154
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2155
+ */
2156
+ unlockProposerReceipts(proposer: `0x${string}`, reason: string, options?: {
2157
+ accessList?: import("viem").AccessList;
2158
+ authorizationList?: import("viem").AuthorizationList;
2159
+ chain?: import("viem").Chain | null;
2160
+ dataSuffix?: `0x${string}`;
2161
+ gas?: bigint;
2162
+ gasPrice?: bigint;
2163
+ maxFeePerGas?: bigint;
2164
+ maxPriorityFeePerGas?: bigint;
2165
+ nonce?: number;
2166
+ value?: bigint;
2167
+ }): Promise<void>;
2168
+ /**
2169
+ * Simulate unlockReceipts
2170
+ * Returns gas estimate and result without sending transaction
2171
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2172
+ */
2173
+ unlockReceipts(receiptIds: bigint[], reason: string, options?: {
2174
+ accessList?: import("viem").AccessList;
2175
+ authorizationList?: import("viem").AuthorizationList;
2176
+ chain?: import("viem").Chain | null;
2177
+ dataSuffix?: `0x${string}`;
2178
+ gas?: bigint;
2179
+ gasPrice?: bigint;
2180
+ maxFeePerGas?: bigint;
2181
+ maxPriorityFeePerGas?: bigint;
2182
+ nonce?: number;
2183
+ value?: bigint;
2184
+ }): Promise<void>;
2185
+ /**
2186
+ * Simulate unstake
2187
+ * Returns gas estimate and result without sending transaction
2188
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2189
+ */
2190
+ unstake(receiptIds: bigint[], options?: {
2191
+ accessList?: import("viem").AccessList;
2192
+ authorizationList?: import("viem").AuthorizationList;
2193
+ chain?: import("viem").Chain | null;
2194
+ dataSuffix?: `0x${string}`;
2195
+ gas?: bigint;
2196
+ gasPrice?: bigint;
2197
+ maxFeePerGas?: bigint;
2198
+ maxPriorityFeePerGas?: bigint;
2199
+ nonce?: number;
2200
+ value?: bigint;
2201
+ }): Promise<void>;
2202
+ };
2203
+ /**
2204
+ * Watch contract events
2205
+ *
2206
+ * @example
2207
+ * // Watch all Transfer events
2208
+ * const unwatch = contract.watch.Transfer((event) => {
2209
+ * console.log('Transfer:', event);
2210
+ * });
2211
+ *
2212
+ * // Stop watching
2213
+ * unwatch();
2214
+ */
2215
+ get watch(): {
2216
+ /**
2217
+ * Watch Approval events
2218
+ * @param callback Function to call when event is emitted
2219
+ * @param filter Optional filter for indexed parameters
2220
+ * @returns Unwatch function to stop listening
2221
+ */
2222
+ Approval: (callback: (event: {
2223
+ owner: `0x${string}`;
2224
+ spender: `0x${string}`;
2225
+ value: bigint;
2226
+ }) => void, filter?: {
2227
+ owner: `0x${string}`;
2228
+ spender: `0x${string}`;
2229
+ }) => () => void;
2230
+ /**
2231
+ * Watch Burn events
2232
+ * @param callback Function to call when event is emitted
2233
+ * @param filter Optional filter for indexed parameters
2234
+ * @returns Unwatch function to stop listening
2235
+ */
2236
+ Burn: (callback: (event: {
2237
+ account: `0x${string}`;
2238
+ amount: bigint;
2239
+ }) => void, filter?: {
2240
+ account: `0x${string}`;
2241
+ }) => () => void;
2242
+ /**
2243
+ * Watch Claimed events
2244
+ * @param callback Function to call when event is emitted
2245
+ * @param filter Optional filter for indexed parameters
2246
+ * @returns Unwatch function to stop listening
2247
+ */
2248
+ Claimed: (callback: (event: {
2249
+ claimer: `0x${string}`;
2250
+ receiptId: bigint;
2251
+ reward: bigint;
2252
+ }) => void, filter?: {
2253
+ claimer: `0x${string}`;
2254
+ receiptId: bigint;
2255
+ }) => () => void;
2256
+ /**
2257
+ * Watch CollectionConfigApplied events
2258
+ * @param callback Function to call when event is emitted
2259
+ * @param filter Optional filter for indexed parameters
2260
+ * @returns Unwatch function to stop listening
2261
+ */
2262
+ CollectionConfigApplied: (callback: (event: {
2263
+ collection: `0x${string}`;
2264
+ operation: bigint;
2265
+ collectionSize: bigint;
2266
+ emissionRate: bigint;
2267
+ useGenericImage: boolean;
2268
+ fallbackCollectionName: string;
2269
+ }) => void, filter?: {
2270
+ collection: `0x${string}`;
2271
+ }) => () => void;
2272
+ /**
2273
+ * Watch EIP712DomainChanged events
2274
+ * @param callback Function to call when event is emitted
2275
+ * @param filter Optional filter for indexed parameters
2276
+ * @returns Unwatch function to stop listening
2277
+ */
2278
+ EIP712DomainChanged: (callback: (event: {}) => void) => () => void;
2279
+ /**
2280
+ * Watch GovernanceUpdated events
2281
+ * @param callback Function to call when event is emitted
2282
+ * @param filter Optional filter for indexed parameters
2283
+ * @returns Unwatch function to stop listening
2284
+ */
2285
+ GovernanceUpdated: (callback: (event: {
2286
+ oldGovernance: `0x${string}`;
2287
+ newGovernance: `0x${string}`;
2288
+ }) => void, filter?: {
2289
+ oldGovernance: `0x${string}`;
2290
+ newGovernance: `0x${string}`;
2291
+ }) => () => void;
2292
+ /**
2293
+ * Watch OwnershipTransferred events
2294
+ * @param callback Function to call when event is emitted
2295
+ * @param filter Optional filter for indexed parameters
2296
+ * @returns Unwatch function to stop listening
2297
+ */
2298
+ OwnershipTransferred: (callback: (event: {
2299
+ previousOwner: `0x${string}`;
2300
+ newOwner: `0x${string}`;
2301
+ }) => void, filter?: {
2302
+ previousOwner: `0x${string}`;
2303
+ newOwner: `0x${string}`;
2304
+ }) => () => void;
2305
+ /**
2306
+ * Watch ReceiptNFTUpdated events
2307
+ * @param callback Function to call when event is emitted
2308
+ * @param filter Optional filter for indexed parameters
2309
+ * @returns Unwatch function to stop listening
2310
+ */
2311
+ ReceiptNFTUpdated: (callback: (event: {
2312
+ newReceiptNFT: `0x${string}`;
2313
+ }) => void, filter?: {
2314
+ newReceiptNFT: `0x${string}`;
2315
+ }) => () => void;
2316
+ /**
2317
+ * Watch ReceiptUnlockFailed events
2318
+ * @param callback Function to call when event is emitted
2319
+ * @param filter Optional filter for indexed parameters
2320
+ * @returns Unwatch function to stop listening
2321
+ */
2322
+ ReceiptUnlockFailed: (callback: (event: {
2323
+ receiptId: bigint;
2324
+ reason: string;
2325
+ }) => void) => () => void;
2326
+ /**
2327
+ * Watch ReceiptsLocked events
2328
+ * @param callback Function to call when event is emitted
2329
+ * @param filter Optional filter for indexed parameters
2330
+ * @returns Unwatch function to stop listening
2331
+ */
2332
+ ReceiptsLocked: (callback: (event: {
2333
+ proposer: `0x${string}`;
2334
+ receiptIds: bigint[];
2335
+ proposalId: bigint;
2336
+ }) => void, filter?: {
2337
+ proposer: `0x${string}`;
2338
+ }) => () => void;
2339
+ /**
2340
+ * Watch ReceiptsUnlocked events
2341
+ * @param callback Function to call when event is emitted
2342
+ * @param filter Optional filter for indexed parameters
2343
+ * @returns Unwatch function to stop listening
2344
+ */
2345
+ ReceiptsUnlocked: (callback: (event: {
2346
+ proposer: `0x${string}`;
2347
+ receiptIds: bigint[];
2348
+ reason: string;
2349
+ }) => void, filter?: {
2350
+ proposer: `0x${string}`;
2351
+ }) => () => void;
2352
+ /**
2353
+ * Watch Staked events
2354
+ * @param callback Function to call when event is emitted
2355
+ * @param filter Optional filter for indexed parameters
2356
+ * @returns Unwatch function to stop listening
2357
+ */
2358
+ Staked: (callback: (event: {
2359
+ staker: `0x${string}`;
2360
+ collection: `0x${string}`;
2361
+ tokenId: bigint;
2362
+ receiptId: bigint;
2363
+ stakedAt: bigint;
2364
+ }) => void, filter?: {
2365
+ staker: `0x${string}`;
2366
+ collection: `0x${string}`;
2367
+ tokenId: bigint;
2368
+ }) => () => void;
2369
+ /**
2370
+ * Watch Transfer events
2371
+ * @param callback Function to call when event is emitted
2372
+ * @param filter Optional filter for indexed parameters
2373
+ * @returns Unwatch function to stop listening
2374
+ */
2375
+ Transfer: (callback: (event: {
2376
+ from: `0x${string}`;
2377
+ to: `0x${string}`;
2378
+ value: bigint;
2379
+ }) => void, filter?: {
2380
+ from: `0x${string}`;
2381
+ to: `0x${string}`;
2382
+ }) => () => void;
2383
+ /**
2384
+ * Watch Unstaked events
2385
+ * @param callback Function to call when event is emitted
2386
+ * @param filter Optional filter for indexed parameters
2387
+ * @returns Unwatch function to stop listening
2388
+ */
2389
+ Unstaked: (callback: (event: {
2390
+ receiver: `0x${string}`;
2391
+ receiptId: bigint;
2392
+ collection: `0x${string}`;
2393
+ tokenId: bigint;
2394
+ reward: bigint;
2395
+ }) => void, filter?: {
2396
+ receiver: `0x${string}`;
2397
+ receiptId: bigint;
2398
+ collection: `0x${string}`;
2399
+ }) => () => void;
2400
+ };
2401
+ }