@0xsequence/marketplace-sdk 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/BellIcon.js +1 -1
  3. package/dist/Card.js +1 -1
  4. package/dist/ShopCard.d.ts +4 -4
  5. package/dist/collectible.js +2 -2
  6. package/dist/collectible.js.map +1 -1
  7. package/dist/collection.js +1 -1
  8. package/dist/create-config.d.ts +8 -8
  9. package/dist/currency.js +3 -3
  10. package/dist/currency.js.map +1 -1
  11. package/dist/expirationDateSelect.js +1 -1
  12. package/dist/filters.d.ts +3 -3
  13. package/dist/index.d.ts +2 -2
  14. package/dist/index.js +2 -2
  15. package/dist/index10.d.ts +2 -2
  16. package/dist/index11.d.ts +14 -14
  17. package/dist/index12.d.ts +25 -25
  18. package/dist/index14.d.ts +2 -2
  19. package/dist/index16.d.ts +2 -2
  20. package/dist/index17.d.ts +85 -85
  21. package/dist/index18.d.ts +36 -36
  22. package/dist/index21.d.ts +14 -14
  23. package/dist/index22.d.ts +4 -4
  24. package/dist/index23.d.ts +11 -11
  25. package/dist/index26.d.ts +3 -3
  26. package/dist/index27.d.ts +3 -3
  27. package/dist/index28.d.ts +9 -9
  28. package/dist/index31.d.ts +4 -4
  29. package/dist/index33.d.ts +2 -2
  30. package/dist/index34.d.ts +3 -3
  31. package/dist/index36.d.ts +2 -2
  32. package/dist/index37.d.ts +2 -0
  33. package/dist/index38.d.ts +3 -3
  34. package/dist/index4.d.ts +458 -458
  35. package/dist/index40.d.ts +2 -2
  36. package/dist/index8.d.ts +10 -2
  37. package/dist/inventory.d.ts +3 -3
  38. package/dist/inventory.js +2 -2
  39. package/dist/inventory.js.map +1 -1
  40. package/dist/marketplace2.js +2 -2
  41. package/dist/marketplace2.js.map +1 -1
  42. package/dist/metadata.d.ts +72 -72
  43. package/dist/primary-sale-checkout-options.d.ts +3 -3
  44. package/dist/quantityInput.js +1 -1
  45. package/dist/ranges.d.ts +16 -16
  46. package/dist/react/ssr/index.d.ts +2 -2
  47. package/dist/react/ssr/index.js +2 -2
  48. package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
  49. package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +6 -6
  50. package/dist/react/ui/modals/_internal/components/calendarDropdown/index.d.ts +2 -2
  51. package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +2 -2
  52. package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +2 -2
  53. package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +2 -2
  54. package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +2 -4
  55. package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +2 -2
  56. package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +2 -2
  57. package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +2 -2
  58. package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +2 -2
  59. package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +3 -3
  60. package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +2 -2
  61. package/dist/react.js +114 -43
  62. package/dist/react.js.map +1 -1
  63. package/dist/styles/index.css +15 -0
  64. package/dist/token-balances.d.ts +27 -27
  65. package/dist/transaction-footer.js +1 -1
  66. package/dist/utils/index.d.ts +2 -2
  67. package/dist/utils/index.js +2 -2
  68. package/dist/utils.js +12 -1
  69. package/dist/utils.js.map +1 -1
  70. package/package.json +1 -1
  71. package/src/react/hooks/currency/list.test.tsx +23 -2
  72. package/src/react/hooks/transactions/useMarketTransactionSteps.tsx +55 -15
  73. package/src/react/queries/collectible/market-list.ts +5 -3
  74. package/src/react/queries/currency/list.ts +8 -5
  75. package/src/react/queries/inventory/inventory.ts +5 -3
  76. package/src/react/queries/marketplace/filters.ts +5 -3
  77. package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +40 -6
  78. package/src/react/ui/modals/BuyModal/hooks/useMarketPlatformFee.ts +5 -5
  79. package/src/react/ui/modals/CreateListingModal/internal/store.ts +5 -2
  80. package/src/react/ui/modals/MakeOfferModal/internal/context.ts +20 -1
  81. package/src/react/ui/modals/MakeOfferModal/internal/helpers/validation.ts +16 -1
  82. package/src/react/ui/modals/MakeOfferModal/internal/store.ts +5 -2
  83. package/src/react/ui/modals/SellModal/internal/store.ts +5 -2
  84. package/src/react/ui/modals/_internal/components/baseModal/errors/ModalInitializationError.tsx +8 -6
  85. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +2 -9
  86. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +5 -2
  87. package/src/styles/styles.ts +18 -0
  88. package/src/utils/collection.ts +19 -0
  89. package/src/utils/index.ts +1 -0
package/dist/index4.d.ts CHANGED
@@ -61,10 +61,6 @@ declare function useSalesContractABI({
61
61
  * Get the appropriate sales contract ABI based on token type and version
62
62
  */
63
63
  declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: SalesContractVersion) => readonly [{
64
- readonly inputs: readonly [];
65
- readonly name: "GlobalSaleInactive";
66
- readonly type: "error";
67
- }, {
68
64
  readonly inputs: readonly [{
69
65
  readonly internalType: "address";
70
66
  readonly name: "currency";
@@ -100,10 +96,6 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
100
96
  readonly inputs: readonly [];
101
97
  readonly name: "InvalidSaleDetails";
102
98
  readonly type: "error";
103
- }, {
104
- readonly inputs: readonly [];
105
- readonly name: "InvalidTokenIds";
106
- readonly type: "error";
107
99
  }, {
108
100
  readonly inputs: readonly [{
109
101
  readonly internalType: "bytes32";
@@ -125,57 +117,13 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
125
117
  readonly name: "MerkleProofInvalid";
126
118
  readonly type: "error";
127
119
  }, {
128
- readonly inputs: readonly [{
129
- readonly internalType: "uint256";
130
- readonly name: "tokenId";
131
- readonly type: "uint256";
132
- }];
120
+ readonly inputs: readonly [];
133
121
  readonly name: "SaleInactive";
134
122
  readonly type: "error";
135
123
  }, {
136
124
  readonly inputs: readonly [];
137
125
  readonly name: "WithdrawFailed";
138
126
  readonly type: "error";
139
- }, {
140
- readonly anonymous: false;
141
- readonly inputs: readonly [{
142
- readonly indexed: false;
143
- readonly internalType: "uint256";
144
- readonly name: "minTokenId";
145
- readonly type: "uint256";
146
- }, {
147
- readonly indexed: false;
148
- readonly internalType: "uint256";
149
- readonly name: "maxTokenId";
150
- readonly type: "uint256";
151
- }, {
152
- readonly indexed: false;
153
- readonly internalType: "uint256";
154
- readonly name: "cost";
155
- readonly type: "uint256";
156
- }, {
157
- readonly indexed: false;
158
- readonly internalType: "uint256";
159
- readonly name: "remainingSupply";
160
- readonly type: "uint256";
161
- }, {
162
- readonly indexed: false;
163
- readonly internalType: "uint64";
164
- readonly name: "startTime";
165
- readonly type: "uint64";
166
- }, {
167
- readonly indexed: false;
168
- readonly internalType: "uint64";
169
- readonly name: "endTime";
170
- readonly type: "uint64";
171
- }, {
172
- readonly indexed: false;
173
- readonly internalType: "bytes32";
174
- readonly name: "merkleRoot";
175
- readonly type: "bytes32";
176
- }];
177
- readonly name: "GlobalSaleDetailsUpdated";
178
- readonly type: "event";
179
127
  }, {
180
128
  readonly anonymous: false;
181
129
  readonly inputs: readonly [{
@@ -185,14 +133,9 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
185
133
  readonly type: "address";
186
134
  }, {
187
135
  readonly indexed: false;
188
- readonly internalType: "uint256[]";
189
- readonly name: "tokenIds";
190
- readonly type: "uint256[]";
191
- }, {
192
- readonly indexed: false;
193
- readonly internalType: "uint256[]";
194
- readonly name: "amounts";
195
- readonly type: "uint256[]";
136
+ readonly internalType: "uint256";
137
+ readonly name: "amount";
138
+ readonly type: "uint256";
196
139
  }];
197
140
  readonly name: "ItemsMinted";
198
141
  readonly type: "event";
@@ -261,7 +204,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
261
204
  readonly inputs: readonly [{
262
205
  readonly indexed: false;
263
206
  readonly internalType: "uint256";
264
- readonly name: "tokenId";
207
+ readonly name: "remainingSupply";
265
208
  readonly type: "uint256";
266
209
  }, {
267
210
  readonly indexed: false;
@@ -270,9 +213,9 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
270
213
  readonly type: "uint256";
271
214
  }, {
272
215
  readonly indexed: false;
273
- readonly internalType: "uint256";
274
- readonly name: "remainingSupply";
275
- readonly type: "uint256";
216
+ readonly internalType: "address";
217
+ readonly name: "paymentToken";
218
+ readonly type: "address";
276
219
  }, {
277
220
  readonly indexed: false;
278
221
  readonly internalType: "uint64";
@@ -289,7 +232,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
289
232
  readonly name: "merkleRoot";
290
233
  readonly type: "bytes32";
291
234
  }];
292
- readonly name: "TokenSaleDetailsUpdated";
235
+ readonly name: "SaleDetailsUpdated";
293
236
  readonly type: "event";
294
237
  }, {
295
238
  readonly inputs: readonly [];
@@ -458,45 +401,6 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
458
401
  }];
459
402
  readonly stateMutability: "view";
460
403
  readonly type: "function";
461
- }, {
462
- readonly inputs: readonly [];
463
- readonly name: "globalSaleDetails";
464
- readonly outputs: readonly [{
465
- readonly components: readonly [{
466
- readonly internalType: "uint256";
467
- readonly name: "minTokenId";
468
- readonly type: "uint256";
469
- }, {
470
- readonly internalType: "uint256";
471
- readonly name: "maxTokenId";
472
- readonly type: "uint256";
473
- }, {
474
- readonly internalType: "uint256";
475
- readonly name: "cost";
476
- readonly type: "uint256";
477
- }, {
478
- readonly internalType: "uint256";
479
- readonly name: "remainingSupply";
480
- readonly type: "uint256";
481
- }, {
482
- readonly internalType: "uint64";
483
- readonly name: "startTime";
484
- readonly type: "uint64";
485
- }, {
486
- readonly internalType: "uint64";
487
- readonly name: "endTime";
488
- readonly type: "uint64";
489
- }, {
490
- readonly internalType: "bytes32";
491
- readonly name: "merkleRoot";
492
- readonly type: "bytes32";
493
- }];
494
- readonly internalType: "struct IERC1155SaleFunctions.GlobalSaleDetails";
495
- readonly name: "";
496
- readonly type: "tuple";
497
- }];
498
- readonly stateMutability: "view";
499
- readonly type: "function";
500
404
  }, {
501
405
  readonly inputs: readonly [{
502
406
  readonly internalType: "bytes32";
@@ -551,26 +455,28 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
551
455
  readonly outputs: readonly [];
552
456
  readonly stateMutability: "nonpayable";
553
457
  readonly type: "function";
458
+ }, {
459
+ readonly inputs: readonly [];
460
+ readonly name: "itemsContract";
461
+ readonly outputs: readonly [{
462
+ readonly internalType: "address";
463
+ readonly name: "";
464
+ readonly type: "address";
465
+ }];
466
+ readonly stateMutability: "view";
467
+ readonly type: "function";
554
468
  }, {
555
469
  readonly inputs: readonly [{
556
470
  readonly internalType: "address";
557
471
  readonly name: "to";
558
472
  readonly type: "address";
559
473
  }, {
560
- readonly internalType: "uint256[]";
561
- readonly name: "tokenIds";
562
- readonly type: "uint256[]";
563
- }, {
564
- readonly internalType: "uint256[]";
565
- readonly name: "amounts";
566
- readonly type: "uint256[]";
567
- }, {
568
- readonly internalType: "bytes";
569
- readonly name: "data";
570
- readonly type: "bytes";
474
+ readonly internalType: "uint256";
475
+ readonly name: "amount";
476
+ readonly type: "uint256";
571
477
  }, {
572
478
  readonly internalType: "address";
573
- readonly name: "expectedPaymentToken";
479
+ readonly name: "paymentToken";
574
480
  readonly type: "address";
575
481
  }, {
576
482
  readonly internalType: "uint256";
@@ -585,16 +491,6 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
585
491
  readonly outputs: readonly [];
586
492
  readonly stateMutability: "payable";
587
493
  readonly type: "function";
588
- }, {
589
- readonly inputs: readonly [];
590
- readonly name: "paymentToken";
591
- readonly outputs: readonly [{
592
- readonly internalType: "address";
593
- readonly name: "";
594
- readonly type: "address";
595
- }];
596
- readonly stateMutability: "view";
597
- readonly type: "function";
598
494
  }, {
599
495
  readonly inputs: readonly [{
600
496
  readonly internalType: "bytes32";
@@ -624,38 +520,39 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
624
520
  readonly stateMutability: "nonpayable";
625
521
  readonly type: "function";
626
522
  }, {
627
- readonly inputs: readonly [{
628
- readonly internalType: "uint256";
629
- readonly name: "minTokenId";
630
- readonly type: "uint256";
631
- }, {
632
- readonly internalType: "uint256";
633
- readonly name: "maxTokenId";
634
- readonly type: "uint256";
635
- }, {
636
- readonly internalType: "uint256";
637
- readonly name: "cost";
638
- readonly type: "uint256";
639
- }, {
640
- readonly internalType: "uint256";
641
- readonly name: "remainingSupply";
642
- readonly type: "uint256";
643
- }, {
644
- readonly internalType: "uint64";
645
- readonly name: "startTime";
646
- readonly type: "uint64";
647
- }, {
648
- readonly internalType: "uint64";
649
- readonly name: "endTime";
650
- readonly type: "uint64";
651
- }, {
652
- readonly internalType: "bytes32";
653
- readonly name: "merkleRoot";
654
- readonly type: "bytes32";
523
+ readonly inputs: readonly [];
524
+ readonly name: "saleDetails";
525
+ readonly outputs: readonly [{
526
+ readonly components: readonly [{
527
+ readonly internalType: "uint256";
528
+ readonly name: "remainingSupply";
529
+ readonly type: "uint256";
530
+ }, {
531
+ readonly internalType: "uint256";
532
+ readonly name: "cost";
533
+ readonly type: "uint256";
534
+ }, {
535
+ readonly internalType: "address";
536
+ readonly name: "paymentToken";
537
+ readonly type: "address";
538
+ }, {
539
+ readonly internalType: "uint64";
540
+ readonly name: "startTime";
541
+ readonly type: "uint64";
542
+ }, {
543
+ readonly internalType: "uint64";
544
+ readonly name: "endTime";
545
+ readonly type: "uint64";
546
+ }, {
547
+ readonly internalType: "bytes32";
548
+ readonly name: "merkleRoot";
549
+ readonly type: "bytes32";
550
+ }];
551
+ readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
552
+ readonly name: "";
553
+ readonly type: "tuple";
655
554
  }];
656
- readonly name: "setGlobalSaleDetails";
657
- readonly outputs: readonly [];
658
- readonly stateMutability: "nonpayable";
555
+ readonly stateMutability: "view";
659
556
  readonly type: "function";
660
557
  }, {
661
558
  readonly inputs: readonly [{
@@ -677,29 +574,19 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
677
574
  readonly outputs: readonly [];
678
575
  readonly stateMutability: "nonpayable";
679
576
  readonly type: "function";
680
- }, {
681
- readonly inputs: readonly [{
682
- readonly internalType: "address";
683
- readonly name: "paymentTokenAddr";
684
- readonly type: "address";
685
- }];
686
- readonly name: "setPaymentToken";
687
- readonly outputs: readonly [];
688
- readonly stateMutability: "nonpayable";
689
- readonly type: "function";
690
577
  }, {
691
578
  readonly inputs: readonly [{
692
579
  readonly internalType: "uint256";
693
- readonly name: "tokenId";
580
+ readonly name: "remainingSupply";
694
581
  readonly type: "uint256";
695
582
  }, {
696
583
  readonly internalType: "uint256";
697
584
  readonly name: "cost";
698
585
  readonly type: "uint256";
699
586
  }, {
700
- readonly internalType: "uint256";
701
- readonly name: "remainingSupply";
702
- readonly type: "uint256";
587
+ readonly internalType: "address";
588
+ readonly name: "paymentToken";
589
+ readonly type: "address";
703
590
  }, {
704
591
  readonly internalType: "uint64";
705
592
  readonly name: "startTime";
@@ -713,129 +600,29 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
713
600
  readonly name: "merkleRoot";
714
601
  readonly type: "bytes32";
715
602
  }];
716
- readonly name: "setTokenSaleDetails";
603
+ readonly name: "setSaleDetails";
717
604
  readonly outputs: readonly [];
718
605
  readonly stateMutability: "nonpayable";
719
606
  readonly type: "function";
720
607
  }, {
721
608
  readonly inputs: readonly [{
722
- readonly internalType: "uint256[]";
723
- readonly name: "tokenIds";
724
- readonly type: "uint256[]";
725
- }, {
726
- readonly internalType: "uint256[]";
727
- readonly name: "costs";
728
- readonly type: "uint256[]";
729
- }, {
730
- readonly internalType: "uint256[]";
731
- readonly name: "remainingSupplies";
732
- readonly type: "uint256[]";
733
- }, {
734
- readonly internalType: "uint64[]";
735
- readonly name: "startTimes";
736
- readonly type: "uint64[]";
737
- }, {
738
- readonly internalType: "uint64[]";
739
- readonly name: "endTimes";
740
- readonly type: "uint64[]";
741
- }, {
742
- readonly internalType: "bytes32[]";
743
- readonly name: "merkleRoots";
744
- readonly type: "bytes32[]";
745
- }];
746
- readonly name: "setTokenSaleDetailsBatch";
747
- readonly outputs: readonly [];
748
- readonly stateMutability: "nonpayable";
749
- readonly type: "function";
750
- }, {
751
- readonly inputs: readonly [{
752
- readonly internalType: "bytes4";
753
- readonly name: "interfaceId";
754
- readonly type: "bytes4";
755
- }];
756
- readonly name: "supportsInterface";
757
- readonly outputs: readonly [{
758
- readonly internalType: "bool";
759
- readonly name: "";
760
- readonly type: "bool";
761
- }];
762
- readonly stateMutability: "view";
763
- readonly type: "function";
764
- }, {
765
- readonly inputs: readonly [{
766
- readonly internalType: "uint256";
767
- readonly name: "tokenId";
768
- readonly type: "uint256";
769
- }];
770
- readonly name: "tokenSaleDetails";
771
- readonly outputs: readonly [{
772
- readonly components: readonly [{
773
- readonly internalType: "uint256";
774
- readonly name: "cost";
775
- readonly type: "uint256";
776
- }, {
777
- readonly internalType: "uint256";
778
- readonly name: "remainingSupply";
779
- readonly type: "uint256";
780
- }, {
781
- readonly internalType: "uint64";
782
- readonly name: "startTime";
783
- readonly type: "uint64";
784
- }, {
785
- readonly internalType: "uint64";
786
- readonly name: "endTime";
787
- readonly type: "uint64";
788
- }, {
789
- readonly internalType: "bytes32";
790
- readonly name: "merkleRoot";
791
- readonly type: "bytes32";
792
- }];
793
- readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
794
- readonly name: "";
795
- readonly type: "tuple";
796
- }];
797
- readonly stateMutability: "view";
798
- readonly type: "function";
799
- }, {
800
- readonly inputs: readonly [{
801
- readonly internalType: "uint256[]";
802
- readonly name: "tokenIds";
803
- readonly type: "uint256[]";
804
- }];
805
- readonly name: "tokenSaleDetailsBatch";
806
- readonly outputs: readonly [{
807
- readonly components: readonly [{
808
- readonly internalType: "uint256";
809
- readonly name: "cost";
810
- readonly type: "uint256";
811
- }, {
812
- readonly internalType: "uint256";
813
- readonly name: "remainingSupply";
814
- readonly type: "uint256";
815
- }, {
816
- readonly internalType: "uint64";
817
- readonly name: "startTime";
818
- readonly type: "uint64";
819
- }, {
820
- readonly internalType: "uint64";
821
- readonly name: "endTime";
822
- readonly type: "uint64";
823
- }, {
824
- readonly internalType: "bytes32";
825
- readonly name: "merkleRoot";
826
- readonly type: "bytes32";
827
- }];
828
- readonly internalType: "struct IERC1155SaleFunctions.SaleDetails[]";
829
- readonly name: "";
830
- readonly type: "tuple[]";
831
- }];
832
- readonly stateMutability: "view";
833
- readonly type: "function";
834
- }, {
835
- readonly inputs: readonly [{
836
- readonly internalType: "address";
837
- readonly name: "token";
838
- readonly type: "address";
609
+ readonly internalType: "bytes4";
610
+ readonly name: "interfaceId";
611
+ readonly type: "bytes4";
612
+ }];
613
+ readonly name: "supportsInterface";
614
+ readonly outputs: readonly [{
615
+ readonly internalType: "bool";
616
+ readonly name: "";
617
+ readonly type: "bool";
618
+ }];
619
+ readonly stateMutability: "view";
620
+ readonly type: "function";
621
+ }, {
622
+ readonly inputs: readonly [{
623
+ readonly internalType: "address";
624
+ readonly name: "token";
625
+ readonly type: "address";
839
626
  }, {
840
627
  readonly internalType: "address";
841
628
  readonly name: "to";
@@ -864,6 +651,10 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
864
651
  readonly stateMutability: "nonpayable";
865
652
  readonly type: "function";
866
653
  }] | readonly [{
654
+ readonly inputs: readonly [];
655
+ readonly name: "GlobalSaleInactive";
656
+ readonly type: "error";
657
+ }, {
867
658
  readonly inputs: readonly [{
868
659
  readonly internalType: "address";
869
660
  readonly name: "currency";
@@ -899,6 +690,10 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
899
690
  readonly inputs: readonly [];
900
691
  readonly name: "InvalidSaleDetails";
901
692
  readonly type: "error";
693
+ }, {
694
+ readonly inputs: readonly [];
695
+ readonly name: "InvalidTokenIds";
696
+ readonly type: "error";
902
697
  }, {
903
698
  readonly inputs: readonly [{
904
699
  readonly internalType: "bytes32";
@@ -920,13 +715,57 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
920
715
  readonly name: "MerkleProofInvalid";
921
716
  readonly type: "error";
922
717
  }, {
923
- readonly inputs: readonly [];
718
+ readonly inputs: readonly [{
719
+ readonly internalType: "uint256";
720
+ readonly name: "tokenId";
721
+ readonly type: "uint256";
722
+ }];
924
723
  readonly name: "SaleInactive";
925
724
  readonly type: "error";
926
725
  }, {
927
726
  readonly inputs: readonly [];
928
727
  readonly name: "WithdrawFailed";
929
728
  readonly type: "error";
729
+ }, {
730
+ readonly anonymous: false;
731
+ readonly inputs: readonly [{
732
+ readonly indexed: false;
733
+ readonly internalType: "uint256";
734
+ readonly name: "minTokenId";
735
+ readonly type: "uint256";
736
+ }, {
737
+ readonly indexed: false;
738
+ readonly internalType: "uint256";
739
+ readonly name: "maxTokenId";
740
+ readonly type: "uint256";
741
+ }, {
742
+ readonly indexed: false;
743
+ readonly internalType: "uint256";
744
+ readonly name: "cost";
745
+ readonly type: "uint256";
746
+ }, {
747
+ readonly indexed: false;
748
+ readonly internalType: "uint256";
749
+ readonly name: "remainingSupply";
750
+ readonly type: "uint256";
751
+ }, {
752
+ readonly indexed: false;
753
+ readonly internalType: "uint64";
754
+ readonly name: "startTime";
755
+ readonly type: "uint64";
756
+ }, {
757
+ readonly indexed: false;
758
+ readonly internalType: "uint64";
759
+ readonly name: "endTime";
760
+ readonly type: "uint64";
761
+ }, {
762
+ readonly indexed: false;
763
+ readonly internalType: "bytes32";
764
+ readonly name: "merkleRoot";
765
+ readonly type: "bytes32";
766
+ }];
767
+ readonly name: "GlobalSaleDetailsUpdated";
768
+ readonly type: "event";
930
769
  }, {
931
770
  readonly anonymous: false;
932
771
  readonly inputs: readonly [{
@@ -936,9 +775,14 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
936
775
  readonly type: "address";
937
776
  }, {
938
777
  readonly indexed: false;
939
- readonly internalType: "uint256";
940
- readonly name: "amount";
941
- readonly type: "uint256";
778
+ readonly internalType: "uint256[]";
779
+ readonly name: "tokenIds";
780
+ readonly type: "uint256[]";
781
+ }, {
782
+ readonly indexed: false;
783
+ readonly internalType: "uint256[]";
784
+ readonly name: "amounts";
785
+ readonly type: "uint256[]";
942
786
  }];
943
787
  readonly name: "ItemsMinted";
944
788
  readonly type: "event";
@@ -1007,7 +851,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1007
851
  readonly inputs: readonly [{
1008
852
  readonly indexed: false;
1009
853
  readonly internalType: "uint256";
1010
- readonly name: "remainingSupply";
854
+ readonly name: "tokenId";
1011
855
  readonly type: "uint256";
1012
856
  }, {
1013
857
  readonly indexed: false;
@@ -1016,9 +860,9 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1016
860
  readonly type: "uint256";
1017
861
  }, {
1018
862
  readonly indexed: false;
1019
- readonly internalType: "address";
1020
- readonly name: "paymentToken";
1021
- readonly type: "address";
863
+ readonly internalType: "uint256";
864
+ readonly name: "remainingSupply";
865
+ readonly type: "uint256";
1022
866
  }, {
1023
867
  readonly indexed: false;
1024
868
  readonly internalType: "uint64";
@@ -1035,7 +879,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1035
879
  readonly name: "merkleRoot";
1036
880
  readonly type: "bytes32";
1037
881
  }];
1038
- readonly name: "SaleDetailsUpdated";
882
+ readonly name: "TokenSaleDetailsUpdated";
1039
883
  readonly type: "event";
1040
884
  }, {
1041
885
  readonly inputs: readonly [];
@@ -1204,6 +1048,45 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1204
1048
  }];
1205
1049
  readonly stateMutability: "view";
1206
1050
  readonly type: "function";
1051
+ }, {
1052
+ readonly inputs: readonly [];
1053
+ readonly name: "globalSaleDetails";
1054
+ readonly outputs: readonly [{
1055
+ readonly components: readonly [{
1056
+ readonly internalType: "uint256";
1057
+ readonly name: "minTokenId";
1058
+ readonly type: "uint256";
1059
+ }, {
1060
+ readonly internalType: "uint256";
1061
+ readonly name: "maxTokenId";
1062
+ readonly type: "uint256";
1063
+ }, {
1064
+ readonly internalType: "uint256";
1065
+ readonly name: "cost";
1066
+ readonly type: "uint256";
1067
+ }, {
1068
+ readonly internalType: "uint256";
1069
+ readonly name: "remainingSupply";
1070
+ readonly type: "uint256";
1071
+ }, {
1072
+ readonly internalType: "uint64";
1073
+ readonly name: "startTime";
1074
+ readonly type: "uint64";
1075
+ }, {
1076
+ readonly internalType: "uint64";
1077
+ readonly name: "endTime";
1078
+ readonly type: "uint64";
1079
+ }, {
1080
+ readonly internalType: "bytes32";
1081
+ readonly name: "merkleRoot";
1082
+ readonly type: "bytes32";
1083
+ }];
1084
+ readonly internalType: "struct IERC1155SaleFunctions.GlobalSaleDetails";
1085
+ readonly name: "";
1086
+ readonly type: "tuple";
1087
+ }];
1088
+ readonly stateMutability: "view";
1089
+ readonly type: "function";
1207
1090
  }, {
1208
1091
  readonly inputs: readonly [{
1209
1092
  readonly internalType: "bytes32";
@@ -1258,28 +1141,26 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1258
1141
  readonly outputs: readonly [];
1259
1142
  readonly stateMutability: "nonpayable";
1260
1143
  readonly type: "function";
1261
- }, {
1262
- readonly inputs: readonly [];
1263
- readonly name: "itemsContract";
1264
- readonly outputs: readonly [{
1265
- readonly internalType: "address";
1266
- readonly name: "";
1267
- readonly type: "address";
1268
- }];
1269
- readonly stateMutability: "view";
1270
- readonly type: "function";
1271
1144
  }, {
1272
1145
  readonly inputs: readonly [{
1273
1146
  readonly internalType: "address";
1274
1147
  readonly name: "to";
1275
1148
  readonly type: "address";
1276
1149
  }, {
1277
- readonly internalType: "uint256";
1278
- readonly name: "amount";
1279
- readonly type: "uint256";
1150
+ readonly internalType: "uint256[]";
1151
+ readonly name: "tokenIds";
1152
+ readonly type: "uint256[]";
1153
+ }, {
1154
+ readonly internalType: "uint256[]";
1155
+ readonly name: "amounts";
1156
+ readonly type: "uint256[]";
1157
+ }, {
1158
+ readonly internalType: "bytes";
1159
+ readonly name: "data";
1160
+ readonly type: "bytes";
1280
1161
  }, {
1281
1162
  readonly internalType: "address";
1282
- readonly name: "paymentToken";
1163
+ readonly name: "expectedPaymentToken";
1283
1164
  readonly type: "address";
1284
1165
  }, {
1285
1166
  readonly internalType: "uint256";
@@ -1294,6 +1175,16 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1294
1175
  readonly outputs: readonly [];
1295
1176
  readonly stateMutability: "payable";
1296
1177
  readonly type: "function";
1178
+ }, {
1179
+ readonly inputs: readonly [];
1180
+ readonly name: "paymentToken";
1181
+ readonly outputs: readonly [{
1182
+ readonly internalType: "address";
1183
+ readonly name: "";
1184
+ readonly type: "address";
1185
+ }];
1186
+ readonly stateMutability: "view";
1187
+ readonly type: "function";
1297
1188
  }, {
1298
1189
  readonly inputs: readonly [{
1299
1190
  readonly internalType: "bytes32";
@@ -1318,26 +1209,164 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1318
1209
  readonly name: "account";
1319
1210
  readonly type: "address";
1320
1211
  }];
1321
- readonly name: "revokeRole";
1322
- readonly outputs: readonly [];
1323
- readonly stateMutability: "nonpayable";
1212
+ readonly name: "revokeRole";
1213
+ readonly outputs: readonly [];
1214
+ readonly stateMutability: "nonpayable";
1215
+ readonly type: "function";
1216
+ }, {
1217
+ readonly inputs: readonly [{
1218
+ readonly internalType: "uint256";
1219
+ readonly name: "minTokenId";
1220
+ readonly type: "uint256";
1221
+ }, {
1222
+ readonly internalType: "uint256";
1223
+ readonly name: "maxTokenId";
1224
+ readonly type: "uint256";
1225
+ }, {
1226
+ readonly internalType: "uint256";
1227
+ readonly name: "cost";
1228
+ readonly type: "uint256";
1229
+ }, {
1230
+ readonly internalType: "uint256";
1231
+ readonly name: "remainingSupply";
1232
+ readonly type: "uint256";
1233
+ }, {
1234
+ readonly internalType: "uint64";
1235
+ readonly name: "startTime";
1236
+ readonly type: "uint64";
1237
+ }, {
1238
+ readonly internalType: "uint64";
1239
+ readonly name: "endTime";
1240
+ readonly type: "uint64";
1241
+ }, {
1242
+ readonly internalType: "bytes32";
1243
+ readonly name: "merkleRoot";
1244
+ readonly type: "bytes32";
1245
+ }];
1246
+ readonly name: "setGlobalSaleDetails";
1247
+ readonly outputs: readonly [];
1248
+ readonly stateMutability: "nonpayable";
1249
+ readonly type: "function";
1250
+ }, {
1251
+ readonly inputs: readonly [{
1252
+ readonly internalType: "bytes32";
1253
+ readonly name: "projectId";
1254
+ readonly type: "bytes32";
1255
+ }];
1256
+ readonly name: "setImplicitModeProjectId";
1257
+ readonly outputs: readonly [];
1258
+ readonly stateMutability: "nonpayable";
1259
+ readonly type: "function";
1260
+ }, {
1261
+ readonly inputs: readonly [{
1262
+ readonly internalType: "address";
1263
+ readonly name: "validator";
1264
+ readonly type: "address";
1265
+ }];
1266
+ readonly name: "setImplicitModeValidator";
1267
+ readonly outputs: readonly [];
1268
+ readonly stateMutability: "nonpayable";
1269
+ readonly type: "function";
1270
+ }, {
1271
+ readonly inputs: readonly [{
1272
+ readonly internalType: "address";
1273
+ readonly name: "paymentTokenAddr";
1274
+ readonly type: "address";
1275
+ }];
1276
+ readonly name: "setPaymentToken";
1277
+ readonly outputs: readonly [];
1278
+ readonly stateMutability: "nonpayable";
1279
+ readonly type: "function";
1280
+ }, {
1281
+ readonly inputs: readonly [{
1282
+ readonly internalType: "uint256";
1283
+ readonly name: "tokenId";
1284
+ readonly type: "uint256";
1285
+ }, {
1286
+ readonly internalType: "uint256";
1287
+ readonly name: "cost";
1288
+ readonly type: "uint256";
1289
+ }, {
1290
+ readonly internalType: "uint256";
1291
+ readonly name: "remainingSupply";
1292
+ readonly type: "uint256";
1293
+ }, {
1294
+ readonly internalType: "uint64";
1295
+ readonly name: "startTime";
1296
+ readonly type: "uint64";
1297
+ }, {
1298
+ readonly internalType: "uint64";
1299
+ readonly name: "endTime";
1300
+ readonly type: "uint64";
1301
+ }, {
1302
+ readonly internalType: "bytes32";
1303
+ readonly name: "merkleRoot";
1304
+ readonly type: "bytes32";
1305
+ }];
1306
+ readonly name: "setTokenSaleDetails";
1307
+ readonly outputs: readonly [];
1308
+ readonly stateMutability: "nonpayable";
1309
+ readonly type: "function";
1310
+ }, {
1311
+ readonly inputs: readonly [{
1312
+ readonly internalType: "uint256[]";
1313
+ readonly name: "tokenIds";
1314
+ readonly type: "uint256[]";
1315
+ }, {
1316
+ readonly internalType: "uint256[]";
1317
+ readonly name: "costs";
1318
+ readonly type: "uint256[]";
1319
+ }, {
1320
+ readonly internalType: "uint256[]";
1321
+ readonly name: "remainingSupplies";
1322
+ readonly type: "uint256[]";
1323
+ }, {
1324
+ readonly internalType: "uint64[]";
1325
+ readonly name: "startTimes";
1326
+ readonly type: "uint64[]";
1327
+ }, {
1328
+ readonly internalType: "uint64[]";
1329
+ readonly name: "endTimes";
1330
+ readonly type: "uint64[]";
1331
+ }, {
1332
+ readonly internalType: "bytes32[]";
1333
+ readonly name: "merkleRoots";
1334
+ readonly type: "bytes32[]";
1335
+ }];
1336
+ readonly name: "setTokenSaleDetailsBatch";
1337
+ readonly outputs: readonly [];
1338
+ readonly stateMutability: "nonpayable";
1339
+ readonly type: "function";
1340
+ }, {
1341
+ readonly inputs: readonly [{
1342
+ readonly internalType: "bytes4";
1343
+ readonly name: "interfaceId";
1344
+ readonly type: "bytes4";
1345
+ }];
1346
+ readonly name: "supportsInterface";
1347
+ readonly outputs: readonly [{
1348
+ readonly internalType: "bool";
1349
+ readonly name: "";
1350
+ readonly type: "bool";
1351
+ }];
1352
+ readonly stateMutability: "view";
1324
1353
  readonly type: "function";
1325
1354
  }, {
1326
- readonly inputs: readonly [];
1327
- readonly name: "saleDetails";
1355
+ readonly inputs: readonly [{
1356
+ readonly internalType: "uint256";
1357
+ readonly name: "tokenId";
1358
+ readonly type: "uint256";
1359
+ }];
1360
+ readonly name: "tokenSaleDetails";
1328
1361
  readonly outputs: readonly [{
1329
1362
  readonly components: readonly [{
1330
1363
  readonly internalType: "uint256";
1331
- readonly name: "remainingSupply";
1364
+ readonly name: "cost";
1332
1365
  readonly type: "uint256";
1333
1366
  }, {
1334
1367
  readonly internalType: "uint256";
1335
- readonly name: "cost";
1368
+ readonly name: "remainingSupply";
1336
1369
  readonly type: "uint256";
1337
- }, {
1338
- readonly internalType: "address";
1339
- readonly name: "paymentToken";
1340
- readonly type: "address";
1341
1370
  }, {
1342
1371
  readonly internalType: "uint64";
1343
1372
  readonly name: "startTime";
@@ -1351,7 +1380,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1351
1380
  readonly name: "merkleRoot";
1352
1381
  readonly type: "bytes32";
1353
1382
  }];
1354
- readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
1383
+ readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
1355
1384
  readonly name: "";
1356
1385
  readonly type: "tuple";
1357
1386
  }];
@@ -1359,65 +1388,36 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
1359
1388
  readonly type: "function";
1360
1389
  }, {
1361
1390
  readonly inputs: readonly [{
1362
- readonly internalType: "bytes32";
1363
- readonly name: "projectId";
1364
- readonly type: "bytes32";
1365
- }];
1366
- readonly name: "setImplicitModeProjectId";
1367
- readonly outputs: readonly [];
1368
- readonly stateMutability: "nonpayable";
1369
- readonly type: "function";
1370
- }, {
1371
- readonly inputs: readonly [{
1372
- readonly internalType: "address";
1373
- readonly name: "validator";
1374
- readonly type: "address";
1375
- }];
1376
- readonly name: "setImplicitModeValidator";
1377
- readonly outputs: readonly [];
1378
- readonly stateMutability: "nonpayable";
1379
- readonly type: "function";
1380
- }, {
1381
- readonly inputs: readonly [{
1382
- readonly internalType: "uint256";
1383
- readonly name: "remainingSupply";
1384
- readonly type: "uint256";
1385
- }, {
1386
- readonly internalType: "uint256";
1387
- readonly name: "cost";
1388
- readonly type: "uint256";
1389
- }, {
1390
- readonly internalType: "address";
1391
- readonly name: "paymentToken";
1392
- readonly type: "address";
1393
- }, {
1394
- readonly internalType: "uint64";
1395
- readonly name: "startTime";
1396
- readonly type: "uint64";
1397
- }, {
1398
- readonly internalType: "uint64";
1399
- readonly name: "endTime";
1400
- readonly type: "uint64";
1401
- }, {
1402
- readonly internalType: "bytes32";
1403
- readonly name: "merkleRoot";
1404
- readonly type: "bytes32";
1405
- }];
1406
- readonly name: "setSaleDetails";
1407
- readonly outputs: readonly [];
1408
- readonly stateMutability: "nonpayable";
1409
- readonly type: "function";
1410
- }, {
1411
- readonly inputs: readonly [{
1412
- readonly internalType: "bytes4";
1413
- readonly name: "interfaceId";
1414
- readonly type: "bytes4";
1391
+ readonly internalType: "uint256[]";
1392
+ readonly name: "tokenIds";
1393
+ readonly type: "uint256[]";
1415
1394
  }];
1416
- readonly name: "supportsInterface";
1395
+ readonly name: "tokenSaleDetailsBatch";
1417
1396
  readonly outputs: readonly [{
1418
- readonly internalType: "bool";
1397
+ readonly components: readonly [{
1398
+ readonly internalType: "uint256";
1399
+ readonly name: "cost";
1400
+ readonly type: "uint256";
1401
+ }, {
1402
+ readonly internalType: "uint256";
1403
+ readonly name: "remainingSupply";
1404
+ readonly type: "uint256";
1405
+ }, {
1406
+ readonly internalType: "uint64";
1407
+ readonly name: "startTime";
1408
+ readonly type: "uint64";
1409
+ }, {
1410
+ readonly internalType: "uint64";
1411
+ readonly name: "endTime";
1412
+ readonly type: "uint64";
1413
+ }, {
1414
+ readonly internalType: "bytes32";
1415
+ readonly name: "merkleRoot";
1416
+ readonly type: "bytes32";
1417
+ }];
1418
+ readonly internalType: "struct IERC1155SaleFunctions.SaleDetails[]";
1419
1419
  readonly name: "";
1420
- readonly type: "bool";
1420
+ readonly type: "tuple[]";
1421
1421
  }];
1422
1422
  readonly stateMutability: "view";
1423
1423
  readonly type: "function";
@@ -2591,82 +2591,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
2591
2591
  /**
2592
2592
  * Get the appropriate marketplace ABI based on version
2593
2593
  */
2594
- declare const getMarketplaceABI: (version: "v1" | "v2") => ({
2595
- type: string;
2596
- inputs: never[];
2597
- stateMutability: string;
2598
- name?: undefined;
2599
- outputs?: undefined;
2600
- anonymous?: undefined;
2601
- } | {
2602
- type: string;
2603
- name: string;
2604
- inputs: {
2605
- name: string;
2606
- type: string;
2607
- internalType: string;
2608
- components: {
2609
- name: string;
2610
- type: string;
2611
- internalType: string;
2612
- }[];
2613
- }[];
2614
- outputs: {
2615
- name: string;
2616
- type: string;
2617
- internalType: string;
2618
- }[];
2619
- stateMutability: string;
2620
- anonymous?: undefined;
2621
- } | {
2622
- type: string;
2623
- name: string;
2624
- inputs: {
2625
- name: string;
2626
- type: string;
2627
- internalType: string;
2628
- }[];
2629
- outputs: ({
2630
- name: string;
2631
- type: string;
2632
- internalType: string;
2633
- components?: undefined;
2634
- } | {
2635
- name: string;
2636
- type: string;
2637
- internalType: string;
2638
- components: {
2639
- name: string;
2640
- type: string;
2641
- internalType: string;
2642
- }[];
2643
- })[];
2644
- stateMutability: string;
2645
- anonymous?: undefined;
2646
- } | {
2647
- type: string;
2648
- name: string;
2649
- inputs: {
2650
- name: string;
2651
- type: string;
2652
- indexed: boolean;
2653
- internalType: string;
2654
- }[];
2655
- anonymous: boolean;
2656
- stateMutability?: undefined;
2657
- outputs?: undefined;
2658
- } | {
2659
- type: string;
2660
- name: string;
2661
- inputs: {
2662
- name: string;
2663
- type: string;
2664
- internalType: string;
2665
- }[];
2666
- stateMutability?: undefined;
2667
- outputs?: undefined;
2668
- anonymous?: undefined;
2669
- })[] | readonly [{
2594
+ declare const getMarketplaceABI: (version: "v1" | "v2") => readonly [{
2670
2595
  readonly inputs: readonly [{
2671
2596
  readonly internalType: "address";
2672
2597
  readonly name: "_owner";
@@ -3367,7 +3292,82 @@ declare const getMarketplaceABI: (version: "v1" | "v2") => ({
3367
3292
  readonly outputs: readonly [];
3368
3293
  readonly stateMutability: "nonpayable";
3369
3294
  readonly type: "function";
3370
- }];
3295
+ }] | ({
3296
+ type: string;
3297
+ inputs: never[];
3298
+ stateMutability: string;
3299
+ name?: undefined;
3300
+ outputs?: undefined;
3301
+ anonymous?: undefined;
3302
+ } | {
3303
+ type: string;
3304
+ name: string;
3305
+ inputs: {
3306
+ name: string;
3307
+ type: string;
3308
+ internalType: string;
3309
+ components: {
3310
+ name: string;
3311
+ type: string;
3312
+ internalType: string;
3313
+ }[];
3314
+ }[];
3315
+ outputs: {
3316
+ name: string;
3317
+ type: string;
3318
+ internalType: string;
3319
+ }[];
3320
+ stateMutability: string;
3321
+ anonymous?: undefined;
3322
+ } | {
3323
+ type: string;
3324
+ name: string;
3325
+ inputs: {
3326
+ name: string;
3327
+ type: string;
3328
+ internalType: string;
3329
+ }[];
3330
+ outputs: ({
3331
+ name: string;
3332
+ type: string;
3333
+ internalType: string;
3334
+ components?: undefined;
3335
+ } | {
3336
+ name: string;
3337
+ type: string;
3338
+ internalType: string;
3339
+ components: {
3340
+ name: string;
3341
+ type: string;
3342
+ internalType: string;
3343
+ }[];
3344
+ })[];
3345
+ stateMutability: string;
3346
+ anonymous?: undefined;
3347
+ } | {
3348
+ type: string;
3349
+ name: string;
3350
+ inputs: {
3351
+ name: string;
3352
+ type: string;
3353
+ indexed: boolean;
3354
+ internalType: string;
3355
+ }[];
3356
+ anonymous: boolean;
3357
+ stateMutability?: undefined;
3358
+ outputs?: undefined;
3359
+ } | {
3360
+ type: string;
3361
+ name: string;
3362
+ inputs: {
3363
+ name: string;
3364
+ type: string;
3365
+ internalType: string;
3366
+ }[];
3367
+ stateMutability?: undefined;
3368
+ outputs?: undefined;
3369
+ anonymous?: undefined;
3370
+ })[];
3371
3371
  //#endregion
3372
3372
  //#region src/utils/abi/mainModule.d.ts
3373
3373
  declare const MAIN_MODULE_ABI: ({