@kasufinance/kasu-sdk 1.0.1 → 1.0.2

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 (45) hide show
  1. package/.github/workflows/ci.yml +39 -0
  2. package/.github/workflows/main.yml +17 -13
  3. package/README.md +146 -0
  4. package/package.json +1 -1
  5. package/src/contracts/IClearingCoordinatorAbi.ts +0 -406
  6. package/src/contracts/IERC20MetadataAbi.ts +0 -364
  7. package/src/contracts/IFeeManagerAbi.ts +0 -182
  8. package/src/contracts/IKSULockingAbi.ts +0 -965
  9. package/src/contracts/IKasuAllowListAbi.ts +0 -605
  10. package/src/contracts/IKasuControllerAbi.ts +0 -703
  11. package/src/contracts/IKasuNFTsAbi.ts +0 -2744
  12. package/src/contracts/IKsuPriceAbi.ts +0 -87
  13. package/src/contracts/ILendingPoolAbi.ts +0 -2081
  14. package/src/contracts/ILendingPoolFactoryAbi.ts +0 -161
  15. package/src/contracts/ILendingPoolManagerAbi.ts +0 -1917
  16. package/src/contracts/ILendingPoolTrancheAbi.ts +0 -1911
  17. package/src/contracts/ISystemVariablesAbi.ts +0 -908
  18. package/src/contracts/IUserLoyaltyRewardsAbi.ts +0 -544
  19. package/src/contracts/IUserManagerAbi.ts +0 -612
  20. package/src/contracts/KSULockBonusAbi.ts +0 -124
  21. package/src/contracts/KasuPoolExternalTVLAbi.ts +0 -1071
  22. package/src/contracts/SwapperAbi.ts +0 -266
  23. package/src/contracts/common.ts +0 -44
  24. package/src/contracts/factories/IClearingCoordinatorAbi__factory.ts +0 -438
  25. package/src/contracts/factories/IERC20MetadataAbi__factory.ts +0 -248
  26. package/src/contracts/factories/IFeeManagerAbi__factory.ts +0 -90
  27. package/src/contracts/factories/IKSULockingAbi__factory.ts +0 -778
  28. package/src/contracts/factories/IKasuAllowListAbi__factory.ts +0 -479
  29. package/src/contracts/factories/IKasuControllerAbi__factory.ts +0 -447
  30. package/src/contracts/factories/IKasuNFTsAbi__factory.ts +0 -2116
  31. package/src/contracts/factories/IKsuPriceAbi__factory.ts +0 -36
  32. package/src/contracts/factories/ILendingPoolAbi__factory.ts +0 -1455
  33. package/src/contracts/factories/ILendingPoolFactoryAbi__factory.ts +0 -125
  34. package/src/contracts/factories/ILendingPoolManagerAbi__factory.ts +0 -1375
  35. package/src/contracts/factories/ILendingPoolTrancheAbi__factory.ts +0 -1345
  36. package/src/contracts/factories/ISystemVariablesAbi__factory.ts +0 -455
  37. package/src/contracts/factories/IUserLoyaltyRewardsAbi__factory.ts +0 -316
  38. package/src/contracts/factories/IUserManagerAbi__factory.ts +0 -345
  39. package/src/contracts/factories/KSULockBonusAbi__factory.ts +0 -115
  40. package/src/contracts/factories/KasuPoolExternalTVLAbi__factory.ts +0 -840
  41. package/src/contracts/factories/SwapperAbi__factory.ts +0 -167
  42. package/src/contracts/factories/index.ts +0 -21
  43. package/src/contracts/index.ts +0 -40
  44. package/tsconfig.tsbuildinfo +0 -1
  45. package/versioner.sh +0 -6
@@ -1,2116 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import type { Provider } from "@ethersproject/providers";
7
- import type { IKasuNFTsAbi, IKasuNFTsAbiInterface } from "../IKasuNFTsAbi";
8
-
9
- const _abi = [
10
- {
11
- inputs: [
12
- {
13
- internalType: "string",
14
- name: "collectionName",
15
- type: "string",
16
- },
17
- {
18
- internalType: "string",
19
- name: "collectionSymbol",
20
- type: "string",
21
- },
22
- {
23
- internalType: "string",
24
- name: "tokenURISuffix",
25
- type: "string",
26
- },
27
- {
28
- internalType: "uint256",
29
- name: "maxMintableSupply",
30
- type: "uint256",
31
- },
32
- {
33
- internalType: "uint256",
34
- name: "globalWalletLimit",
35
- type: "uint256",
36
- },
37
- {
38
- internalType: "address",
39
- name: "cosigner",
40
- type: "address",
41
- },
42
- {
43
- internalType: "uint64",
44
- name: "timestampExpirySeconds",
45
- type: "uint64",
46
- },
47
- {
48
- internalType: "address",
49
- name: "mintCurrency",
50
- type: "address",
51
- },
52
- {
53
- internalType: "address",
54
- name: "fundReceiver",
55
- type: "address",
56
- },
57
- {
58
- internalType: "address",
59
- name: "royaltyReceiver",
60
- type: "address",
61
- },
62
- {
63
- internalType: "uint96",
64
- name: "royaltyFeeNumerator",
65
- type: "uint96",
66
- },
67
- ],
68
- stateMutability: "nonpayable",
69
- type: "constructor",
70
- },
71
- {
72
- inputs: [
73
- {
74
- internalType: "address",
75
- name: "target",
76
- type: "address",
77
- },
78
- ],
79
- name: "AddressEmptyCode",
80
- type: "error",
81
- },
82
- {
83
- inputs: [
84
- {
85
- internalType: "address",
86
- name: "account",
87
- type: "address",
88
- },
89
- ],
90
- name: "AddressInsufficientBalance",
91
- type: "error",
92
- },
93
- {
94
- inputs: [],
95
- name: "ApprovalCallerNotOwnerNorApproved",
96
- type: "error",
97
- },
98
- {
99
- inputs: [],
100
- name: "ApprovalQueryForNonexistentToken",
101
- type: "error",
102
- },
103
- {
104
- inputs: [],
105
- name: "BalanceQueryForZeroAddress",
106
- type: "error",
107
- },
108
- {
109
- inputs: [],
110
- name: "CannotIncreaseMaxMintableSupply",
111
- type: "error",
112
- },
113
- {
114
- inputs: [],
115
- name: "CosignerNotSet",
116
- type: "error",
117
- },
118
- {
119
- inputs: [],
120
- name: "CreatorTokenBase__InvalidTransferValidatorContract",
121
- type: "error",
122
- },
123
- {
124
- inputs: [],
125
- name: "CreatorTokenBase__SetTransferValidatorFirst",
126
- type: "error",
127
- },
128
- {
129
- inputs: [],
130
- name: "CrossmintAddressNotSet",
131
- type: "error",
132
- },
133
- {
134
- inputs: [],
135
- name: "CrossmintOnly",
136
- type: "error",
137
- },
138
- {
139
- inputs: [
140
- {
141
- internalType: "uint256",
142
- name: "numerator",
143
- type: "uint256",
144
- },
145
- {
146
- internalType: "uint256",
147
- name: "denominator",
148
- type: "uint256",
149
- },
150
- ],
151
- name: "ERC2981InvalidDefaultRoyalty",
152
- type: "error",
153
- },
154
- {
155
- inputs: [
156
- {
157
- internalType: "address",
158
- name: "receiver",
159
- type: "address",
160
- },
161
- ],
162
- name: "ERC2981InvalidDefaultRoyaltyReceiver",
163
- type: "error",
164
- },
165
- {
166
- inputs: [
167
- {
168
- internalType: "uint256",
169
- name: "tokenId",
170
- type: "uint256",
171
- },
172
- {
173
- internalType: "uint256",
174
- name: "numerator",
175
- type: "uint256",
176
- },
177
- {
178
- internalType: "uint256",
179
- name: "denominator",
180
- type: "uint256",
181
- },
182
- ],
183
- name: "ERC2981InvalidTokenRoyalty",
184
- type: "error",
185
- },
186
- {
187
- inputs: [
188
- {
189
- internalType: "uint256",
190
- name: "tokenId",
191
- type: "uint256",
192
- },
193
- {
194
- internalType: "address",
195
- name: "receiver",
196
- type: "address",
197
- },
198
- ],
199
- name: "ERC2981InvalidTokenRoyaltyReceiver",
200
- type: "error",
201
- },
202
- {
203
- inputs: [],
204
- name: "FailedInnerCall",
205
- type: "error",
206
- },
207
- {
208
- inputs: [],
209
- name: "GlobalWalletLimitOverflow",
210
- type: "error",
211
- },
212
- {
213
- inputs: [],
214
- name: "InsufficientStageTimeGap",
215
- type: "error",
216
- },
217
- {
218
- inputs: [],
219
- name: "InvalidCosignSignature",
220
- type: "error",
221
- },
222
- {
223
- inputs: [],
224
- name: "InvalidProof",
225
- type: "error",
226
- },
227
- {
228
- inputs: [],
229
- name: "InvalidQueryRange",
230
- type: "error",
231
- },
232
- {
233
- inputs: [],
234
- name: "InvalidStage",
235
- type: "error",
236
- },
237
- {
238
- inputs: [],
239
- name: "InvalidStageArgsLength",
240
- type: "error",
241
- },
242
- {
243
- inputs: [],
244
- name: "InvalidStartAndEndTimestamp",
245
- type: "error",
246
- },
247
- {
248
- inputs: [],
249
- name: "MintERC2309QuantityExceedsLimit",
250
- type: "error",
251
- },
252
- {
253
- inputs: [],
254
- name: "MintToZeroAddress",
255
- type: "error",
256
- },
257
- {
258
- inputs: [],
259
- name: "MintZeroQuantity",
260
- type: "error",
261
- },
262
- {
263
- inputs: [],
264
- name: "Mintable",
265
- type: "error",
266
- },
267
- {
268
- inputs: [],
269
- name: "NoSupplyLeft",
270
- type: "error",
271
- },
272
- {
273
- inputs: [],
274
- name: "NotEnoughValue",
275
- type: "error",
276
- },
277
- {
278
- inputs: [],
279
- name: "NotMintable",
280
- type: "error",
281
- },
282
- {
283
- inputs: [],
284
- name: "NotSupported",
285
- type: "error",
286
- },
287
- {
288
- inputs: [
289
- {
290
- internalType: "address",
291
- name: "owner",
292
- type: "address",
293
- },
294
- ],
295
- name: "OwnableInvalidOwner",
296
- type: "error",
297
- },
298
- {
299
- inputs: [
300
- {
301
- internalType: "address",
302
- name: "account",
303
- type: "address",
304
- },
305
- ],
306
- name: "OwnableUnauthorizedAccount",
307
- type: "error",
308
- },
309
- {
310
- inputs: [],
311
- name: "OwnerQueryForNonexistentToken",
312
- type: "error",
313
- },
314
- {
315
- inputs: [],
316
- name: "OwnershipNotInitializedForExtraData",
317
- type: "error",
318
- },
319
- {
320
- inputs: [],
321
- name: "ReentrancyGuardReentrantCall",
322
- type: "error",
323
- },
324
- {
325
- inputs: [
326
- {
327
- internalType: "address",
328
- name: "token",
329
- type: "address",
330
- },
331
- ],
332
- name: "SafeERC20FailedOperation",
333
- type: "error",
334
- },
335
- {
336
- inputs: [],
337
- name: "ShouldNotMintToBurnAddress",
338
- type: "error",
339
- },
340
- {
341
- inputs: [],
342
- name: "StageSupplyExceeded",
343
- type: "error",
344
- },
345
- {
346
- inputs: [],
347
- name: "TimestampExpired",
348
- type: "error",
349
- },
350
- {
351
- inputs: [],
352
- name: "TransferCallerNotOwnerNorApproved",
353
- type: "error",
354
- },
355
- {
356
- inputs: [],
357
- name: "TransferFailed",
358
- type: "error",
359
- },
360
- {
361
- inputs: [],
362
- name: "TransferFromIncorrectOwner",
363
- type: "error",
364
- },
365
- {
366
- inputs: [],
367
- name: "TransferToNonERC721ReceiverImplementer",
368
- type: "error",
369
- },
370
- {
371
- inputs: [],
372
- name: "TransferToZeroAddress",
373
- type: "error",
374
- },
375
- {
376
- inputs: [],
377
- name: "URIQueryForNonexistentToken",
378
- type: "error",
379
- },
380
- {
381
- inputs: [],
382
- name: "WalletGlobalLimitExceeded",
383
- type: "error",
384
- },
385
- {
386
- inputs: [],
387
- name: "WalletStageLimitExceeded",
388
- type: "error",
389
- },
390
- {
391
- inputs: [],
392
- name: "WithdrawFailed",
393
- type: "error",
394
- },
395
- {
396
- inputs: [],
397
- name: "WrongMintCurrency",
398
- type: "error",
399
- },
400
- {
401
- anonymous: false,
402
- inputs: [
403
- {
404
- indexed: true,
405
- internalType: "address",
406
- name: "owner",
407
- type: "address",
408
- },
409
- {
410
- indexed: true,
411
- internalType: "address",
412
- name: "approved",
413
- type: "address",
414
- },
415
- {
416
- indexed: true,
417
- internalType: "uint256",
418
- name: "tokenId",
419
- type: "uint256",
420
- },
421
- ],
422
- name: "Approval",
423
- type: "event",
424
- },
425
- {
426
- anonymous: false,
427
- inputs: [
428
- {
429
- indexed: true,
430
- internalType: "address",
431
- name: "owner",
432
- type: "address",
433
- },
434
- {
435
- indexed: true,
436
- internalType: "address",
437
- name: "operator",
438
- type: "address",
439
- },
440
- {
441
- indexed: false,
442
- internalType: "bool",
443
- name: "approved",
444
- type: "bool",
445
- },
446
- ],
447
- name: "ApprovalForAll",
448
- type: "event",
449
- },
450
- {
451
- anonymous: false,
452
- inputs: [
453
- {
454
- indexed: true,
455
- internalType: "uint256",
456
- name: "fromTokenId",
457
- type: "uint256",
458
- },
459
- {
460
- indexed: false,
461
- internalType: "uint256",
462
- name: "toTokenId",
463
- type: "uint256",
464
- },
465
- {
466
- indexed: true,
467
- internalType: "address",
468
- name: "from",
469
- type: "address",
470
- },
471
- {
472
- indexed: true,
473
- internalType: "address",
474
- name: "to",
475
- type: "address",
476
- },
477
- ],
478
- name: "ConsecutiveTransfer",
479
- type: "event",
480
- },
481
- {
482
- anonymous: false,
483
- inputs: [
484
- {
485
- indexed: true,
486
- internalType: "address",
487
- name: "receiver",
488
- type: "address",
489
- },
490
- {
491
- indexed: false,
492
- internalType: "uint96",
493
- name: "feeNumerator",
494
- type: "uint96",
495
- },
496
- ],
497
- name: "DefaultRoyaltySet",
498
- type: "event",
499
- },
500
- {
501
- anonymous: false,
502
- inputs: [
503
- {
504
- indexed: true,
505
- internalType: "address",
506
- name: "previousOwner",
507
- type: "address",
508
- },
509
- {
510
- indexed: true,
511
- internalType: "address",
512
- name: "newOwner",
513
- type: "address",
514
- },
515
- ],
516
- name: "OwnershipTransferred",
517
- type: "event",
518
- },
519
- {
520
- anonymous: false,
521
- inputs: [
522
- {
523
- indexed: false,
524
- internalType: "uint256",
525
- name: "activeStage",
526
- type: "uint256",
527
- },
528
- ],
529
- name: "SetActiveStage",
530
- type: "event",
531
- },
532
- {
533
- anonymous: false,
534
- inputs: [
535
- {
536
- indexed: false,
537
- internalType: "string",
538
- name: "baseURI",
539
- type: "string",
540
- },
541
- ],
542
- name: "SetBaseURI",
543
- type: "event",
544
- },
545
- {
546
- anonymous: false,
547
- inputs: [
548
- {
549
- indexed: false,
550
- internalType: "address",
551
- name: "cosigner",
552
- type: "address",
553
- },
554
- ],
555
- name: "SetCosigner",
556
- type: "event",
557
- },
558
- {
559
- anonymous: false,
560
- inputs: [
561
- {
562
- indexed: false,
563
- internalType: "address",
564
- name: "crossmintAddress",
565
- type: "address",
566
- },
567
- ],
568
- name: "SetCrossmintAddress",
569
- type: "event",
570
- },
571
- {
572
- anonymous: false,
573
- inputs: [
574
- {
575
- indexed: false,
576
- internalType: "uint256",
577
- name: "globalWalletLimit",
578
- type: "uint256",
579
- },
580
- ],
581
- name: "SetGlobalWalletLimit",
582
- type: "event",
583
- },
584
- {
585
- anonymous: false,
586
- inputs: [
587
- {
588
- indexed: false,
589
- internalType: "uint256",
590
- name: "maxMintableSupply",
591
- type: "uint256",
592
- },
593
- ],
594
- name: "SetMaxMintableSupply",
595
- type: "event",
596
- },
597
- {
598
- anonymous: false,
599
- inputs: [
600
- {
601
- indexed: false,
602
- internalType: "address",
603
- name: "mintCurrency",
604
- type: "address",
605
- },
606
- ],
607
- name: "SetMintCurrency",
608
- type: "event",
609
- },
610
- {
611
- anonymous: false,
612
- inputs: [
613
- {
614
- indexed: false,
615
- internalType: "bool",
616
- name: "mintable",
617
- type: "bool",
618
- },
619
- ],
620
- name: "SetMintable",
621
- type: "event",
622
- },
623
- {
624
- anonymous: false,
625
- inputs: [
626
- {
627
- indexed: false,
628
- internalType: "uint64",
629
- name: "expiry",
630
- type: "uint64",
631
- },
632
- ],
633
- name: "SetTimestampExpirySeconds",
634
- type: "event",
635
- },
636
- {
637
- anonymous: false,
638
- inputs: [
639
- {
640
- indexed: true,
641
- internalType: "uint256",
642
- name: "tokenId",
643
- type: "uint256",
644
- },
645
- {
646
- indexed: true,
647
- internalType: "address",
648
- name: "receiver",
649
- type: "address",
650
- },
651
- {
652
- indexed: false,
653
- internalType: "uint96",
654
- name: "feeNumerator",
655
- type: "uint96",
656
- },
657
- ],
658
- name: "TokenRoyaltySet",
659
- type: "event",
660
- },
661
- {
662
- anonymous: false,
663
- inputs: [
664
- {
665
- indexed: true,
666
- internalType: "address",
667
- name: "from",
668
- type: "address",
669
- },
670
- {
671
- indexed: true,
672
- internalType: "address",
673
- name: "to",
674
- type: "address",
675
- },
676
- {
677
- indexed: true,
678
- internalType: "uint256",
679
- name: "tokenId",
680
- type: "uint256",
681
- },
682
- ],
683
- name: "Transfer",
684
- type: "event",
685
- },
686
- {
687
- anonymous: false,
688
- inputs: [
689
- {
690
- indexed: false,
691
- internalType: "address",
692
- name: "oldValidator",
693
- type: "address",
694
- },
695
- {
696
- indexed: false,
697
- internalType: "address",
698
- name: "newValidator",
699
- type: "address",
700
- },
701
- ],
702
- name: "TransferValidatorUpdated",
703
- type: "event",
704
- },
705
- {
706
- anonymous: false,
707
- inputs: [
708
- {
709
- indexed: false,
710
- internalType: "uint256",
711
- name: "stage",
712
- type: "uint256",
713
- },
714
- {
715
- indexed: false,
716
- internalType: "uint80",
717
- name: "price",
718
- type: "uint80",
719
- },
720
- {
721
- indexed: false,
722
- internalType: "uint80",
723
- name: "mintFee",
724
- type: "uint80",
725
- },
726
- {
727
- indexed: false,
728
- internalType: "uint32",
729
- name: "walletLimit",
730
- type: "uint32",
731
- },
732
- {
733
- indexed: false,
734
- internalType: "bytes32",
735
- name: "merkleRoot",
736
- type: "bytes32",
737
- },
738
- {
739
- indexed: false,
740
- internalType: "uint24",
741
- name: "maxStageSupply",
742
- type: "uint24",
743
- },
744
- {
745
- indexed: false,
746
- internalType: "uint64",
747
- name: "startTimeUnixSeconds",
748
- type: "uint64",
749
- },
750
- {
751
- indexed: false,
752
- internalType: "uint64",
753
- name: "endTimeUnixSeconds",
754
- type: "uint64",
755
- },
756
- ],
757
- name: "UpdateStage",
758
- type: "event",
759
- },
760
- {
761
- anonymous: false,
762
- inputs: [
763
- {
764
- indexed: false,
765
- internalType: "uint256",
766
- name: "value",
767
- type: "uint256",
768
- },
769
- ],
770
- name: "Withdraw",
771
- type: "event",
772
- },
773
- {
774
- anonymous: false,
775
- inputs: [
776
- {
777
- indexed: false,
778
- internalType: "address",
779
- name: "mintCurrency",
780
- type: "address",
781
- },
782
- {
783
- indexed: false,
784
- internalType: "uint256",
785
- name: "value",
786
- type: "uint256",
787
- },
788
- ],
789
- name: "WithdrawERC20",
790
- type: "event",
791
- },
792
- {
793
- inputs: [],
794
- name: "DEFAULT_OPERATOR_WHITELIST_ID",
795
- outputs: [
796
- {
797
- internalType: "uint120",
798
- name: "",
799
- type: "uint120",
800
- },
801
- ],
802
- stateMutability: "view",
803
- type: "function",
804
- },
805
- {
806
- inputs: [],
807
- name: "DEFAULT_TRANSFER_SECURITY_LEVEL",
808
- outputs: [
809
- {
810
- internalType: "enum TransferSecurityLevels",
811
- name: "",
812
- type: "uint8",
813
- },
814
- ],
815
- stateMutability: "view",
816
- type: "function",
817
- },
818
- {
819
- inputs: [],
820
- name: "DEFAULT_TRANSFER_VALIDATOR",
821
- outputs: [
822
- {
823
- internalType: "address",
824
- name: "",
825
- type: "address",
826
- },
827
- ],
828
- stateMutability: "view",
829
- type: "function",
830
- },
831
- {
832
- inputs: [],
833
- name: "FUND_RECEIVER",
834
- outputs: [
835
- {
836
- internalType: "address",
837
- name: "",
838
- type: "address",
839
- },
840
- ],
841
- stateMutability: "view",
842
- type: "function",
843
- },
844
- {
845
- inputs: [
846
- {
847
- internalType: "address",
848
- name: "to",
849
- type: "address",
850
- },
851
- {
852
- internalType: "uint256",
853
- name: "tokenId",
854
- type: "uint256",
855
- },
856
- ],
857
- name: "approve",
858
- outputs: [],
859
- stateMutability: "payable",
860
- type: "function",
861
- },
862
- {
863
- inputs: [
864
- {
865
- internalType: "address",
866
- name: "minter",
867
- type: "address",
868
- },
869
- {
870
- internalType: "uint32",
871
- name: "qty",
872
- type: "uint32",
873
- },
874
- {
875
- internalType: "uint64",
876
- name: "timestamp",
877
- type: "uint64",
878
- },
879
- {
880
- internalType: "bytes",
881
- name: "signature",
882
- type: "bytes",
883
- },
884
- ],
885
- name: "assertValidCosign",
886
- outputs: [],
887
- stateMutability: "view",
888
- type: "function",
889
- },
890
- {
891
- inputs: [
892
- {
893
- internalType: "address",
894
- name: "owner",
895
- type: "address",
896
- },
897
- ],
898
- name: "balanceOf",
899
- outputs: [
900
- {
901
- internalType: "uint256",
902
- name: "",
903
- type: "uint256",
904
- },
905
- ],
906
- stateMutability: "view",
907
- type: "function",
908
- },
909
- {
910
- inputs: [],
911
- name: "contractURI",
912
- outputs: [
913
- {
914
- internalType: "string",
915
- name: "",
916
- type: "string",
917
- },
918
- ],
919
- stateMutability: "view",
920
- type: "function",
921
- },
922
- {
923
- inputs: [
924
- {
925
- internalType: "uint32",
926
- name: "qty",
927
- type: "uint32",
928
- },
929
- {
930
- internalType: "address",
931
- name: "to",
932
- type: "address",
933
- },
934
- {
935
- internalType: "bytes32[]",
936
- name: "proof",
937
- type: "bytes32[]",
938
- },
939
- {
940
- internalType: "uint64",
941
- name: "timestamp",
942
- type: "uint64",
943
- },
944
- {
945
- internalType: "bytes",
946
- name: "signature",
947
- type: "bytes",
948
- },
949
- ],
950
- name: "crossmint",
951
- outputs: [],
952
- stateMutability: "payable",
953
- type: "function",
954
- },
955
- {
956
- inputs: [
957
- {
958
- internalType: "uint256",
959
- name: "tokenId",
960
- type: "uint256",
961
- },
962
- ],
963
- name: "explicitOwnershipOf",
964
- outputs: [
965
- {
966
- components: [
967
- {
968
- internalType: "address",
969
- name: "addr",
970
- type: "address",
971
- },
972
- {
973
- internalType: "uint64",
974
- name: "startTimestamp",
975
- type: "uint64",
976
- },
977
- {
978
- internalType: "bool",
979
- name: "burned",
980
- type: "bool",
981
- },
982
- {
983
- internalType: "uint24",
984
- name: "extraData",
985
- type: "uint24",
986
- },
987
- ],
988
- internalType: "struct IERC721A.TokenOwnership",
989
- name: "",
990
- type: "tuple",
991
- },
992
- ],
993
- stateMutability: "view",
994
- type: "function",
995
- },
996
- {
997
- inputs: [
998
- {
999
- internalType: "uint256[]",
1000
- name: "tokenIds",
1001
- type: "uint256[]",
1002
- },
1003
- ],
1004
- name: "explicitOwnershipsOf",
1005
- outputs: [
1006
- {
1007
- components: [
1008
- {
1009
- internalType: "address",
1010
- name: "addr",
1011
- type: "address",
1012
- },
1013
- {
1014
- internalType: "uint64",
1015
- name: "startTimestamp",
1016
- type: "uint64",
1017
- },
1018
- {
1019
- internalType: "bool",
1020
- name: "burned",
1021
- type: "bool",
1022
- },
1023
- {
1024
- internalType: "uint24",
1025
- name: "extraData",
1026
- type: "uint24",
1027
- },
1028
- ],
1029
- internalType: "struct IERC721A.TokenOwnership[]",
1030
- name: "",
1031
- type: "tuple[]",
1032
- },
1033
- ],
1034
- stateMutability: "view",
1035
- type: "function",
1036
- },
1037
- {
1038
- inputs: [
1039
- {
1040
- internalType: "uint64",
1041
- name: "timestamp",
1042
- type: "uint64",
1043
- },
1044
- ],
1045
- name: "getActiveStageFromTimestamp",
1046
- outputs: [
1047
- {
1048
- internalType: "uint256",
1049
- name: "",
1050
- type: "uint256",
1051
- },
1052
- ],
1053
- stateMutability: "view",
1054
- type: "function",
1055
- },
1056
- {
1057
- inputs: [
1058
- {
1059
- internalType: "uint256",
1060
- name: "tokenId",
1061
- type: "uint256",
1062
- },
1063
- ],
1064
- name: "getApproved",
1065
- outputs: [
1066
- {
1067
- internalType: "address",
1068
- name: "",
1069
- type: "address",
1070
- },
1071
- ],
1072
- stateMutability: "view",
1073
- type: "function",
1074
- },
1075
- {
1076
- inputs: [
1077
- {
1078
- internalType: "address",
1079
- name: "minter",
1080
- type: "address",
1081
- },
1082
- {
1083
- internalType: "uint32",
1084
- name: "qty",
1085
- type: "uint32",
1086
- },
1087
- {
1088
- internalType: "uint64",
1089
- name: "timestamp",
1090
- type: "uint64",
1091
- },
1092
- ],
1093
- name: "getCosignDigest",
1094
- outputs: [
1095
- {
1096
- internalType: "bytes32",
1097
- name: "",
1098
- type: "bytes32",
1099
- },
1100
- ],
1101
- stateMutability: "view",
1102
- type: "function",
1103
- },
1104
- {
1105
- inputs: [
1106
- {
1107
- internalType: "address",
1108
- name: "minter",
1109
- type: "address",
1110
- },
1111
- ],
1112
- name: "getCosignNonce",
1113
- outputs: [
1114
- {
1115
- internalType: "uint256",
1116
- name: "",
1117
- type: "uint256",
1118
- },
1119
- ],
1120
- stateMutability: "view",
1121
- type: "function",
1122
- },
1123
- {
1124
- inputs: [],
1125
- name: "getGlobalWalletLimit",
1126
- outputs: [
1127
- {
1128
- internalType: "uint256",
1129
- name: "",
1130
- type: "uint256",
1131
- },
1132
- ],
1133
- stateMutability: "view",
1134
- type: "function",
1135
- },
1136
- {
1137
- inputs: [],
1138
- name: "getMaxMintableSupply",
1139
- outputs: [
1140
- {
1141
- internalType: "uint256",
1142
- name: "",
1143
- type: "uint256",
1144
- },
1145
- ],
1146
- stateMutability: "view",
1147
- type: "function",
1148
- },
1149
- {
1150
- inputs: [],
1151
- name: "getMintCurrency",
1152
- outputs: [
1153
- {
1154
- internalType: "address",
1155
- name: "",
1156
- type: "address",
1157
- },
1158
- ],
1159
- stateMutability: "view",
1160
- type: "function",
1161
- },
1162
- {
1163
- inputs: [],
1164
- name: "getMintable",
1165
- outputs: [
1166
- {
1167
- internalType: "bool",
1168
- name: "",
1169
- type: "bool",
1170
- },
1171
- ],
1172
- stateMutability: "view",
1173
- type: "function",
1174
- },
1175
- {
1176
- inputs: [],
1177
- name: "getNumberStages",
1178
- outputs: [
1179
- {
1180
- internalType: "uint256",
1181
- name: "",
1182
- type: "uint256",
1183
- },
1184
- ],
1185
- stateMutability: "view",
1186
- type: "function",
1187
- },
1188
- {
1189
- inputs: [],
1190
- name: "getPermittedContractReceivers",
1191
- outputs: [
1192
- {
1193
- internalType: "address[]",
1194
- name: "",
1195
- type: "address[]",
1196
- },
1197
- ],
1198
- stateMutability: "view",
1199
- type: "function",
1200
- },
1201
- {
1202
- inputs: [],
1203
- name: "getSecurityPolicy",
1204
- outputs: [
1205
- {
1206
- components: [
1207
- {
1208
- internalType: "enum TransferSecurityLevels",
1209
- name: "transferSecurityLevel",
1210
- type: "uint8",
1211
- },
1212
- {
1213
- internalType: "uint120",
1214
- name: "operatorWhitelistId",
1215
- type: "uint120",
1216
- },
1217
- {
1218
- internalType: "uint120",
1219
- name: "permittedContractReceiversId",
1220
- type: "uint120",
1221
- },
1222
- ],
1223
- internalType: "struct CollectionSecurityPolicy",
1224
- name: "",
1225
- type: "tuple",
1226
- },
1227
- ],
1228
- stateMutability: "view",
1229
- type: "function",
1230
- },
1231
- {
1232
- inputs: [
1233
- {
1234
- internalType: "uint256",
1235
- name: "index",
1236
- type: "uint256",
1237
- },
1238
- ],
1239
- name: "getStageInfo",
1240
- outputs: [
1241
- {
1242
- components: [
1243
- {
1244
- internalType: "uint80",
1245
- name: "price",
1246
- type: "uint80",
1247
- },
1248
- {
1249
- internalType: "uint80",
1250
- name: "mintFee",
1251
- type: "uint80",
1252
- },
1253
- {
1254
- internalType: "uint32",
1255
- name: "walletLimit",
1256
- type: "uint32",
1257
- },
1258
- {
1259
- internalType: "bytes32",
1260
- name: "merkleRoot",
1261
- type: "bytes32",
1262
- },
1263
- {
1264
- internalType: "uint24",
1265
- name: "maxStageSupply",
1266
- type: "uint24",
1267
- },
1268
- {
1269
- internalType: "uint64",
1270
- name: "startTimeUnixSeconds",
1271
- type: "uint64",
1272
- },
1273
- {
1274
- internalType: "uint64",
1275
- name: "endTimeUnixSeconds",
1276
- type: "uint64",
1277
- },
1278
- ],
1279
- internalType: "struct IERC721M.MintStageInfo",
1280
- name: "",
1281
- type: "tuple",
1282
- },
1283
- {
1284
- internalType: "uint32",
1285
- name: "",
1286
- type: "uint32",
1287
- },
1288
- {
1289
- internalType: "uint256",
1290
- name: "",
1291
- type: "uint256",
1292
- },
1293
- ],
1294
- stateMutability: "view",
1295
- type: "function",
1296
- },
1297
- {
1298
- inputs: [],
1299
- name: "getTransferValidator",
1300
- outputs: [
1301
- {
1302
- internalType: "contract ICreatorTokenTransferValidator",
1303
- name: "",
1304
- type: "address",
1305
- },
1306
- ],
1307
- stateMutability: "view",
1308
- type: "function",
1309
- },
1310
- {
1311
- inputs: [],
1312
- name: "getWhitelistedOperators",
1313
- outputs: [
1314
- {
1315
- internalType: "address[]",
1316
- name: "",
1317
- type: "address[]",
1318
- },
1319
- ],
1320
- stateMutability: "view",
1321
- type: "function",
1322
- },
1323
- {
1324
- inputs: [
1325
- {
1326
- internalType: "address",
1327
- name: "owner",
1328
- type: "address",
1329
- },
1330
- {
1331
- internalType: "address",
1332
- name: "operator",
1333
- type: "address",
1334
- },
1335
- ],
1336
- name: "isApprovedForAll",
1337
- outputs: [
1338
- {
1339
- internalType: "bool",
1340
- name: "",
1341
- type: "bool",
1342
- },
1343
- ],
1344
- stateMutability: "view",
1345
- type: "function",
1346
- },
1347
- {
1348
- inputs: [
1349
- {
1350
- internalType: "address",
1351
- name: "receiver",
1352
- type: "address",
1353
- },
1354
- ],
1355
- name: "isContractReceiverPermitted",
1356
- outputs: [
1357
- {
1358
- internalType: "bool",
1359
- name: "",
1360
- type: "bool",
1361
- },
1362
- ],
1363
- stateMutability: "view",
1364
- type: "function",
1365
- },
1366
- {
1367
- inputs: [
1368
- {
1369
- internalType: "address",
1370
- name: "operator",
1371
- type: "address",
1372
- },
1373
- ],
1374
- name: "isOperatorWhitelisted",
1375
- outputs: [
1376
- {
1377
- internalType: "bool",
1378
- name: "",
1379
- type: "bool",
1380
- },
1381
- ],
1382
- stateMutability: "view",
1383
- type: "function",
1384
- },
1385
- {
1386
- inputs: [
1387
- {
1388
- internalType: "address",
1389
- name: "caller",
1390
- type: "address",
1391
- },
1392
- {
1393
- internalType: "address",
1394
- name: "from",
1395
- type: "address",
1396
- },
1397
- {
1398
- internalType: "address",
1399
- name: "to",
1400
- type: "address",
1401
- },
1402
- ],
1403
- name: "isTransferAllowed",
1404
- outputs: [
1405
- {
1406
- internalType: "bool",
1407
- name: "",
1408
- type: "bool",
1409
- },
1410
- ],
1411
- stateMutability: "view",
1412
- type: "function",
1413
- },
1414
- {
1415
- inputs: [
1416
- {
1417
- internalType: "uint32",
1418
- name: "qty",
1419
- type: "uint32",
1420
- },
1421
- {
1422
- internalType: "bytes32[]",
1423
- name: "proof",
1424
- type: "bytes32[]",
1425
- },
1426
- {
1427
- internalType: "uint64",
1428
- name: "timestamp",
1429
- type: "uint64",
1430
- },
1431
- {
1432
- internalType: "bytes",
1433
- name: "signature",
1434
- type: "bytes",
1435
- },
1436
- ],
1437
- name: "mint",
1438
- outputs: [],
1439
- stateMutability: "payable",
1440
- type: "function",
1441
- },
1442
- {
1443
- inputs: [
1444
- {
1445
- internalType: "uint32",
1446
- name: "qty",
1447
- type: "uint32",
1448
- },
1449
- {
1450
- internalType: "uint32",
1451
- name: "limit",
1452
- type: "uint32",
1453
- },
1454
- {
1455
- internalType: "bytes32[]",
1456
- name: "proof",
1457
- type: "bytes32[]",
1458
- },
1459
- {
1460
- internalType: "uint64",
1461
- name: "timestamp",
1462
- type: "uint64",
1463
- },
1464
- {
1465
- internalType: "bytes",
1466
- name: "signature",
1467
- type: "bytes",
1468
- },
1469
- ],
1470
- name: "mintWithLimit",
1471
- outputs: [],
1472
- stateMutability: "payable",
1473
- type: "function",
1474
- },
1475
- {
1476
- inputs: [],
1477
- name: "name",
1478
- outputs: [
1479
- {
1480
- internalType: "string",
1481
- name: "",
1482
- type: "string",
1483
- },
1484
- ],
1485
- stateMutability: "view",
1486
- type: "function",
1487
- },
1488
- {
1489
- inputs: [],
1490
- name: "owner",
1491
- outputs: [
1492
- {
1493
- internalType: "address",
1494
- name: "",
1495
- type: "address",
1496
- },
1497
- ],
1498
- stateMutability: "view",
1499
- type: "function",
1500
- },
1501
- {
1502
- inputs: [
1503
- {
1504
- internalType: "uint32",
1505
- name: "qty",
1506
- type: "uint32",
1507
- },
1508
- {
1509
- internalType: "address",
1510
- name: "to",
1511
- type: "address",
1512
- },
1513
- ],
1514
- name: "ownerMint",
1515
- outputs: [],
1516
- stateMutability: "nonpayable",
1517
- type: "function",
1518
- },
1519
- {
1520
- inputs: [
1521
- {
1522
- internalType: "uint256",
1523
- name: "tokenId",
1524
- type: "uint256",
1525
- },
1526
- ],
1527
- name: "ownerOf",
1528
- outputs: [
1529
- {
1530
- internalType: "address",
1531
- name: "",
1532
- type: "address",
1533
- },
1534
- ],
1535
- stateMutability: "view",
1536
- type: "function",
1537
- },
1538
- {
1539
- inputs: [],
1540
- name: "renounceOwnership",
1541
- outputs: [],
1542
- stateMutability: "nonpayable",
1543
- type: "function",
1544
- },
1545
- {
1546
- inputs: [
1547
- {
1548
- internalType: "uint256",
1549
- name: "tokenId",
1550
- type: "uint256",
1551
- },
1552
- {
1553
- internalType: "uint256",
1554
- name: "salePrice",
1555
- type: "uint256",
1556
- },
1557
- ],
1558
- name: "royaltyInfo",
1559
- outputs: [
1560
- {
1561
- internalType: "address",
1562
- name: "",
1563
- type: "address",
1564
- },
1565
- {
1566
- internalType: "uint256",
1567
- name: "",
1568
- type: "uint256",
1569
- },
1570
- ],
1571
- stateMutability: "view",
1572
- type: "function",
1573
- },
1574
- {
1575
- inputs: [
1576
- {
1577
- internalType: "address",
1578
- name: "from",
1579
- type: "address",
1580
- },
1581
- {
1582
- internalType: "address",
1583
- name: "to",
1584
- type: "address",
1585
- },
1586
- {
1587
- internalType: "uint256",
1588
- name: "tokenId",
1589
- type: "uint256",
1590
- },
1591
- ],
1592
- name: "safeTransferFrom",
1593
- outputs: [],
1594
- stateMutability: "payable",
1595
- type: "function",
1596
- },
1597
- {
1598
- inputs: [
1599
- {
1600
- internalType: "address",
1601
- name: "from",
1602
- type: "address",
1603
- },
1604
- {
1605
- internalType: "address",
1606
- name: "to",
1607
- type: "address",
1608
- },
1609
- {
1610
- internalType: "uint256",
1611
- name: "tokenId",
1612
- type: "uint256",
1613
- },
1614
- {
1615
- internalType: "bytes",
1616
- name: "_data",
1617
- type: "bytes",
1618
- },
1619
- ],
1620
- name: "safeTransferFrom",
1621
- outputs: [],
1622
- stateMutability: "payable",
1623
- type: "function",
1624
- },
1625
- {
1626
- inputs: [
1627
- {
1628
- internalType: "address",
1629
- name: "operator",
1630
- type: "address",
1631
- },
1632
- {
1633
- internalType: "bool",
1634
- name: "approved",
1635
- type: "bool",
1636
- },
1637
- ],
1638
- name: "setApprovalForAll",
1639
- outputs: [],
1640
- stateMutability: "nonpayable",
1641
- type: "function",
1642
- },
1643
- {
1644
- inputs: [
1645
- {
1646
- internalType: "string",
1647
- name: "baseURI",
1648
- type: "string",
1649
- },
1650
- ],
1651
- name: "setBaseURI",
1652
- outputs: [],
1653
- stateMutability: "nonpayable",
1654
- type: "function",
1655
- },
1656
- {
1657
- inputs: [
1658
- {
1659
- internalType: "string",
1660
- name: "uri",
1661
- type: "string",
1662
- },
1663
- ],
1664
- name: "setContractURI",
1665
- outputs: [],
1666
- stateMutability: "nonpayable",
1667
- type: "function",
1668
- },
1669
- {
1670
- inputs: [
1671
- {
1672
- internalType: "address",
1673
- name: "cosigner",
1674
- type: "address",
1675
- },
1676
- ],
1677
- name: "setCosigner",
1678
- outputs: [],
1679
- stateMutability: "nonpayable",
1680
- type: "function",
1681
- },
1682
- {
1683
- inputs: [
1684
- {
1685
- internalType: "address",
1686
- name: "crossmintAddress",
1687
- type: "address",
1688
- },
1689
- ],
1690
- name: "setCrossmintAddress",
1691
- outputs: [],
1692
- stateMutability: "nonpayable",
1693
- type: "function",
1694
- },
1695
- {
1696
- inputs: [
1697
- {
1698
- internalType: "address",
1699
- name: "receiver",
1700
- type: "address",
1701
- },
1702
- {
1703
- internalType: "uint96",
1704
- name: "feeNumerator",
1705
- type: "uint96",
1706
- },
1707
- ],
1708
- name: "setDefaultRoyalty",
1709
- outputs: [],
1710
- stateMutability: "nonpayable",
1711
- type: "function",
1712
- },
1713
- {
1714
- inputs: [
1715
- {
1716
- internalType: "uint256",
1717
- name: "globalWalletLimit",
1718
- type: "uint256",
1719
- },
1720
- ],
1721
- name: "setGlobalWalletLimit",
1722
- outputs: [],
1723
- stateMutability: "nonpayable",
1724
- type: "function",
1725
- },
1726
- {
1727
- inputs: [
1728
- {
1729
- internalType: "uint256",
1730
- name: "maxMintableSupply",
1731
- type: "uint256",
1732
- },
1733
- ],
1734
- name: "setMaxMintableSupply",
1735
- outputs: [],
1736
- stateMutability: "nonpayable",
1737
- type: "function",
1738
- },
1739
- {
1740
- inputs: [
1741
- {
1742
- internalType: "bool",
1743
- name: "mintable",
1744
- type: "bool",
1745
- },
1746
- ],
1747
- name: "setMintable",
1748
- outputs: [],
1749
- stateMutability: "nonpayable",
1750
- type: "function",
1751
- },
1752
- {
1753
- inputs: [
1754
- {
1755
- components: [
1756
- {
1757
- internalType: "uint80",
1758
- name: "price",
1759
- type: "uint80",
1760
- },
1761
- {
1762
- internalType: "uint80",
1763
- name: "mintFee",
1764
- type: "uint80",
1765
- },
1766
- {
1767
- internalType: "uint32",
1768
- name: "walletLimit",
1769
- type: "uint32",
1770
- },
1771
- {
1772
- internalType: "bytes32",
1773
- name: "merkleRoot",
1774
- type: "bytes32",
1775
- },
1776
- {
1777
- internalType: "uint24",
1778
- name: "maxStageSupply",
1779
- type: "uint24",
1780
- },
1781
- {
1782
- internalType: "uint64",
1783
- name: "startTimeUnixSeconds",
1784
- type: "uint64",
1785
- },
1786
- {
1787
- internalType: "uint64",
1788
- name: "endTimeUnixSeconds",
1789
- type: "uint64",
1790
- },
1791
- ],
1792
- internalType: "struct IERC721M.MintStageInfo[]",
1793
- name: "newStages",
1794
- type: "tuple[]",
1795
- },
1796
- ],
1797
- name: "setStages",
1798
- outputs: [],
1799
- stateMutability: "nonpayable",
1800
- type: "function",
1801
- },
1802
- {
1803
- inputs: [
1804
- {
1805
- internalType: "uint64",
1806
- name: "expiry",
1807
- type: "uint64",
1808
- },
1809
- ],
1810
- name: "setTimestampExpirySeconds",
1811
- outputs: [],
1812
- stateMutability: "nonpayable",
1813
- type: "function",
1814
- },
1815
- {
1816
- inputs: [
1817
- {
1818
- internalType: "enum TransferSecurityLevels",
1819
- name: "level",
1820
- type: "uint8",
1821
- },
1822
- {
1823
- internalType: "uint120",
1824
- name: "operatorWhitelistId",
1825
- type: "uint120",
1826
- },
1827
- {
1828
- internalType: "uint120",
1829
- name: "permittedContractReceiversAllowlistId",
1830
- type: "uint120",
1831
- },
1832
- ],
1833
- name: "setToCustomSecurityPolicy",
1834
- outputs: [],
1835
- stateMutability: "nonpayable",
1836
- type: "function",
1837
- },
1838
- {
1839
- inputs: [
1840
- {
1841
- internalType: "address",
1842
- name: "validator",
1843
- type: "address",
1844
- },
1845
- {
1846
- internalType: "enum TransferSecurityLevels",
1847
- name: "level",
1848
- type: "uint8",
1849
- },
1850
- {
1851
- internalType: "uint120",
1852
- name: "operatorWhitelistId",
1853
- type: "uint120",
1854
- },
1855
- {
1856
- internalType: "uint120",
1857
- name: "permittedContractReceiversAllowlistId",
1858
- type: "uint120",
1859
- },
1860
- ],
1861
- name: "setToCustomValidatorAndSecurityPolicy",
1862
- outputs: [],
1863
- stateMutability: "nonpayable",
1864
- type: "function",
1865
- },
1866
- {
1867
- inputs: [],
1868
- name: "setToDefaultSecurityPolicy",
1869
- outputs: [],
1870
- stateMutability: "nonpayable",
1871
- type: "function",
1872
- },
1873
- {
1874
- inputs: [
1875
- {
1876
- internalType: "uint256",
1877
- name: "tokenId",
1878
- type: "uint256",
1879
- },
1880
- {
1881
- internalType: "address",
1882
- name: "receiver",
1883
- type: "address",
1884
- },
1885
- {
1886
- internalType: "uint96",
1887
- name: "feeNumerator",
1888
- type: "uint96",
1889
- },
1890
- ],
1891
- name: "setTokenRoyalty",
1892
- outputs: [],
1893
- stateMutability: "nonpayable",
1894
- type: "function",
1895
- },
1896
- {
1897
- inputs: [
1898
- {
1899
- internalType: "string",
1900
- name: "suffix",
1901
- type: "string",
1902
- },
1903
- ],
1904
- name: "setTokenURISuffix",
1905
- outputs: [],
1906
- stateMutability: "nonpayable",
1907
- type: "function",
1908
- },
1909
- {
1910
- inputs: [
1911
- {
1912
- internalType: "address",
1913
- name: "transferValidator_",
1914
- type: "address",
1915
- },
1916
- ],
1917
- name: "setTransferValidator",
1918
- outputs: [],
1919
- stateMutability: "nonpayable",
1920
- type: "function",
1921
- },
1922
- {
1923
- inputs: [
1924
- {
1925
- internalType: "bytes4",
1926
- name: "interfaceId",
1927
- type: "bytes4",
1928
- },
1929
- ],
1930
- name: "supportsInterface",
1931
- outputs: [
1932
- {
1933
- internalType: "bool",
1934
- name: "",
1935
- type: "bool",
1936
- },
1937
- ],
1938
- stateMutability: "view",
1939
- type: "function",
1940
- },
1941
- {
1942
- inputs: [],
1943
- name: "symbol",
1944
- outputs: [
1945
- {
1946
- internalType: "string",
1947
- name: "",
1948
- type: "string",
1949
- },
1950
- ],
1951
- stateMutability: "view",
1952
- type: "function",
1953
- },
1954
- {
1955
- inputs: [
1956
- {
1957
- internalType: "uint256",
1958
- name: "tokenId",
1959
- type: "uint256",
1960
- },
1961
- ],
1962
- name: "tokenURI",
1963
- outputs: [
1964
- {
1965
- internalType: "string",
1966
- name: "",
1967
- type: "string",
1968
- },
1969
- ],
1970
- stateMutability: "view",
1971
- type: "function",
1972
- },
1973
- {
1974
- inputs: [
1975
- {
1976
- internalType: "address",
1977
- name: "owner",
1978
- type: "address",
1979
- },
1980
- ],
1981
- name: "tokensOfOwner",
1982
- outputs: [
1983
- {
1984
- internalType: "uint256[]",
1985
- name: "",
1986
- type: "uint256[]",
1987
- },
1988
- ],
1989
- stateMutability: "view",
1990
- type: "function",
1991
- },
1992
- {
1993
- inputs: [
1994
- {
1995
- internalType: "address",
1996
- name: "owner",
1997
- type: "address",
1998
- },
1999
- {
2000
- internalType: "uint256",
2001
- name: "start",
2002
- type: "uint256",
2003
- },
2004
- {
2005
- internalType: "uint256",
2006
- name: "stop",
2007
- type: "uint256",
2008
- },
2009
- ],
2010
- name: "tokensOfOwnerIn",
2011
- outputs: [
2012
- {
2013
- internalType: "uint256[]",
2014
- name: "",
2015
- type: "uint256[]",
2016
- },
2017
- ],
2018
- stateMutability: "view",
2019
- type: "function",
2020
- },
2021
- {
2022
- inputs: [
2023
- {
2024
- internalType: "address",
2025
- name: "a",
2026
- type: "address",
2027
- },
2028
- ],
2029
- name: "totalMintedByAddress",
2030
- outputs: [
2031
- {
2032
- internalType: "uint256",
2033
- name: "",
2034
- type: "uint256",
2035
- },
2036
- ],
2037
- stateMutability: "view",
2038
- type: "function",
2039
- },
2040
- {
2041
- inputs: [],
2042
- name: "totalSupply",
2043
- outputs: [
2044
- {
2045
- internalType: "uint256",
2046
- name: "",
2047
- type: "uint256",
2048
- },
2049
- ],
2050
- stateMutability: "view",
2051
- type: "function",
2052
- },
2053
- {
2054
- inputs: [
2055
- {
2056
- internalType: "address",
2057
- name: "from",
2058
- type: "address",
2059
- },
2060
- {
2061
- internalType: "address",
2062
- name: "to",
2063
- type: "address",
2064
- },
2065
- {
2066
- internalType: "uint256",
2067
- name: "tokenId",
2068
- type: "uint256",
2069
- },
2070
- ],
2071
- name: "transferFrom",
2072
- outputs: [],
2073
- stateMutability: "payable",
2074
- type: "function",
2075
- },
2076
- {
2077
- inputs: [
2078
- {
2079
- internalType: "address",
2080
- name: "newOwner",
2081
- type: "address",
2082
- },
2083
- ],
2084
- name: "transferOwnership",
2085
- outputs: [],
2086
- stateMutability: "nonpayable",
2087
- type: "function",
2088
- },
2089
- {
2090
- inputs: [],
2091
- name: "withdraw",
2092
- outputs: [],
2093
- stateMutability: "nonpayable",
2094
- type: "function",
2095
- },
2096
- {
2097
- inputs: [],
2098
- name: "withdrawERC20",
2099
- outputs: [],
2100
- stateMutability: "nonpayable",
2101
- type: "function",
2102
- },
2103
- ] as const;
2104
-
2105
- export class IKasuNFTsAbi__factory {
2106
- static readonly abi = _abi;
2107
- static createInterface(): IKasuNFTsAbiInterface {
2108
- return new utils.Interface(_abi) as IKasuNFTsAbiInterface;
2109
- }
2110
- static connect(
2111
- address: string,
2112
- signerOrProvider: Signer | Provider
2113
- ): IKasuNFTsAbi {
2114
- return new Contract(address, _abi, signerOrProvider) as IKasuNFTsAbi;
2115
- }
2116
- }