@story-protocol/core-sdk 0.0.1-beta-rc.12 → 0.0.1-beta-rc.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/declarations/src/client.d.ts +0 -9
  2. package/dist/declarations/src/client.d.ts.map +1 -1
  3. package/dist/declarations/src/clients/storyAPI.d.ts +0 -2
  4. package/dist/declarations/src/clients/storyAPI.d.ts.map +1 -1
  5. package/dist/declarations/src/index.d.ts +1 -3
  6. package/dist/declarations/src/index.d.ts.map +1 -1
  7. package/dist/declarations/src/resources/dispute.d.ts +321 -5
  8. package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
  9. package/dist/declarations/src/resources/ipAccount.d.ts +321 -5
  10. package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
  11. package/dist/declarations/src/resources/license.d.ts +2955 -211
  12. package/dist/declarations/src/resources/license.d.ts.map +1 -1
  13. package/dist/declarations/src/resources/permission.d.ts +642 -10
  14. package/dist/declarations/src/resources/permission.d.ts.map +1 -1
  15. package/dist/declarations/src/resources/royalty.d.ts +963 -15
  16. package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
  17. package/dist/declarations/src/types/config.d.ts +2 -1
  18. package/dist/declarations/src/types/config.d.ts.map +1 -1
  19. package/dist/declarations/src/types/resources/ipAsset.d.ts +1 -1
  20. package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
  21. package/dist/declarations/src/types/resources/license.d.ts +54 -18
  22. package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
  23. package/dist/story-protocol-core-sdk.cjs.dev.js +863 -905
  24. package/dist/story-protocol-core-sdk.cjs.prod.js +863 -905
  25. package/dist/story-protocol-core-sdk.esm.js +865 -906
  26. package/package.json +5 -5
  27. package/dist/declarations/src/resources/policy.d.ts +0 -3253
  28. package/dist/declarations/src/resources/policy.d.ts.map +0 -1
  29. package/dist/declarations/src/types/resources/policy.d.ts +0 -83
  30. package/dist/declarations/src/types/resources/policy.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { PublicClient, WalletClient } from "viem";
2
2
  import { StoryAPIClient } from "../clients/storyAPI.js";
3
- import { LinkIpToParentRequest, LinkIpToParentResponse, MintLicenseRequest, MintLicenseResponse } from "../types/resources/license.js";
3
+ import { RegisterLicenseTermsRequest, RegisterLicenseTermsResponse as RegisterPILResponse, RegisterCommercialUsePILRequest, RegisterCommercialRemixPILRequest, AttachLicenseTermsRequest, MintLicenseTokensRequest, MintLicenseTokensResponse } from "../types/resources/license.js";
4
4
  import { SupportedChainIds } from "../types/config.js";
5
5
  export declare class LicenseClient {
6
6
  private readonly wallet;
@@ -339,6 +339,10 @@ export declare class LicenseClient {
339
339
  readonly inputs: readonly [];
340
340
  readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
341
341
  readonly type: "error";
342
+ } | {
343
+ readonly inputs: readonly [];
344
+ readonly name: "IpRoyaltyVault__IpTagged";
345
+ readonly type: "error";
342
346
  } | {
343
347
  readonly inputs: readonly [];
344
348
  readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
@@ -347,6 +351,10 @@ export declare class LicenseClient {
347
351
  readonly inputs: readonly [];
348
352
  readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
349
353
  readonly type: "error";
354
+ } | {
355
+ readonly inputs: readonly [];
356
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
357
+ readonly type: "error";
350
358
  } | {
351
359
  readonly inputs: readonly [];
352
360
  readonly name: "IpRoyaltyVault__ZeroIpId";
@@ -359,13 +367,129 @@ export declare class LicenseClient {
359
367
  readonly inputs: readonly [];
360
368
  readonly name: "LicenseRegistry__CallerNotLicensingModule";
361
369
  readonly type: "error";
370
+ } | {
371
+ readonly inputs: readonly [{
372
+ readonly internalType: "address";
373
+ readonly name: "childIpId";
374
+ readonly type: "address";
375
+ }];
376
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
377
+ readonly type: "error";
378
+ } | {
379
+ readonly inputs: readonly [{
380
+ readonly internalType: "address";
381
+ readonly name: "childIpId";
382
+ readonly type: "address";
383
+ }];
384
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
385
+ readonly type: "error";
386
+ } | {
387
+ readonly inputs: readonly [{
388
+ readonly internalType: "address";
389
+ readonly name: "ipId";
390
+ readonly type: "address";
391
+ }];
392
+ readonly name: "LicenseRegistry__DerivativeIsParent";
393
+ readonly type: "error";
394
+ } | {
395
+ readonly inputs: readonly [{
396
+ readonly internalType: "address";
397
+ readonly name: "ipId";
398
+ readonly type: "address";
399
+ }, {
400
+ readonly internalType: "uint256";
401
+ readonly name: "index";
402
+ readonly type: "uint256";
403
+ }, {
404
+ readonly internalType: "uint256";
405
+ readonly name: "length";
406
+ readonly type: "uint256";
407
+ }];
408
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
409
+ readonly type: "error";
410
+ } | {
411
+ readonly inputs: readonly [{
412
+ readonly internalType: "address";
413
+ readonly name: "ipId";
414
+ readonly type: "address";
415
+ }];
416
+ readonly name: "LicenseRegistry__IpExpired";
417
+ readonly type: "error";
418
+ } | {
419
+ readonly inputs: readonly [{
420
+ readonly internalType: "address";
421
+ readonly name: "licenseTemplate";
422
+ readonly type: "address";
423
+ }, {
424
+ readonly internalType: "uint256";
425
+ readonly name: "licenseTermsId";
426
+ readonly type: "uint256";
427
+ }];
428
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
429
+ readonly type: "error";
362
430
  } | {
363
431
  readonly inputs: readonly [];
364
- readonly name: "LicenseRegistry__NotTransferable";
432
+ readonly name: "LicenseRegistry__NoParentIp";
433
+ readonly type: "error";
434
+ } | {
435
+ readonly inputs: readonly [{
436
+ readonly internalType: "address";
437
+ readonly name: "licenseTemplate";
438
+ readonly type: "address";
439
+ }];
440
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
365
441
  readonly type: "error";
366
442
  } | {
367
443
  readonly inputs: readonly [];
368
- readonly name: "LicenseRegistry__RevokedLicense";
444
+ readonly name: "LicenseRegistry__NotTransferable";
445
+ readonly type: "error";
446
+ } | {
447
+ readonly inputs: readonly [{
448
+ readonly internalType: "address";
449
+ readonly name: "ipId";
450
+ readonly type: "address";
451
+ }];
452
+ readonly name: "LicenseRegistry__ParentIpExpired";
453
+ readonly type: "error";
454
+ } | {
455
+ readonly inputs: readonly [{
456
+ readonly internalType: "address";
457
+ readonly name: "ipId";
458
+ readonly type: "address";
459
+ }, {
460
+ readonly internalType: "uint256";
461
+ readonly name: "licenseTermsId";
462
+ readonly type: "uint256";
463
+ }];
464
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
465
+ readonly type: "error";
466
+ } | {
467
+ readonly inputs: readonly [{
468
+ readonly internalType: "address";
469
+ readonly name: "ipId";
470
+ readonly type: "address";
471
+ }];
472
+ readonly name: "LicenseRegistry__ParentIpTagged";
473
+ readonly type: "error";
474
+ } | {
475
+ readonly inputs: readonly [{
476
+ readonly internalType: "address";
477
+ readonly name: "ipId";
478
+ readonly type: "address";
479
+ }, {
480
+ readonly internalType: "address";
481
+ readonly name: "licenseTemplate";
482
+ readonly type: "address";
483
+ }];
484
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
485
+ readonly type: "error";
486
+ } | {
487
+ readonly inputs: readonly [{
488
+ readonly internalType: "address";
489
+ readonly name: "licenseTemplate";
490
+ readonly type: "address";
491
+ }];
492
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
369
493
  readonly type: "error";
370
494
  } | {
371
495
  readonly inputs: readonly [];
@@ -375,10 +499,98 @@ export declare class LicenseClient {
375
499
  readonly inputs: readonly [];
376
500
  readonly name: "LicenseRegistry__ZeroLicensingModule";
377
501
  readonly type: "error";
502
+ } | {
503
+ readonly inputs: readonly [{
504
+ readonly internalType: "address";
505
+ readonly name: "licenseTemplate";
506
+ readonly type: "address";
507
+ }, {
508
+ readonly internalType: "address";
509
+ readonly name: "anotherLicenseTemplate";
510
+ readonly type: "address";
511
+ }];
512
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
513
+ readonly type: "error";
514
+ } | {
515
+ readonly inputs: readonly [];
516
+ readonly name: "LicenseToken__CallerNotLicensingModule";
517
+ readonly type: "error";
518
+ } | {
519
+ readonly inputs: readonly [{
520
+ readonly internalType: "uint256";
521
+ readonly name: "tokenId";
522
+ readonly type: "uint256";
523
+ }, {
524
+ readonly internalType: "uint256";
525
+ readonly name: "expiredAt";
526
+ readonly type: "uint256";
527
+ }, {
528
+ readonly internalType: "uint256";
529
+ readonly name: "currentTimestamp";
530
+ readonly type: "uint256";
531
+ }];
532
+ readonly name: "LicenseToken__LicenseTokenExpired";
533
+ readonly type: "error";
534
+ } | {
535
+ readonly inputs: readonly [{
536
+ readonly internalType: "uint256";
537
+ readonly name: "tokenId";
538
+ readonly type: "uint256";
539
+ }, {
540
+ readonly internalType: "address";
541
+ readonly name: "iPowner";
542
+ readonly type: "address";
543
+ }, {
544
+ readonly internalType: "address";
545
+ readonly name: "tokenOwner";
546
+ readonly type: "address";
547
+ }];
548
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
549
+ readonly type: "error";
550
+ } | {
551
+ readonly inputs: readonly [];
552
+ readonly name: "LicenseToken__NotTransferable";
553
+ readonly type: "error";
554
+ } | {
555
+ readonly inputs: readonly [{
556
+ readonly internalType: "uint256";
557
+ readonly name: "tokenId";
558
+ readonly type: "uint256";
559
+ }];
560
+ readonly name: "LicenseToken__RevokedLicense";
561
+ readonly type: "error";
562
+ } | {
563
+ readonly inputs: readonly [];
564
+ readonly name: "LicenseToken__ZeroDisputeModule";
565
+ readonly type: "error";
566
+ } | {
567
+ readonly inputs: readonly [];
568
+ readonly name: "LicenseToken__ZeroLicensingModule";
569
+ readonly type: "error";
378
570
  } | {
379
571
  readonly inputs: readonly [];
380
572
  readonly name: "LicensingModule__CallerNotLicenseRegistry";
381
573
  readonly type: "error";
574
+ } | {
575
+ readonly inputs: readonly [{
576
+ readonly internalType: "address";
577
+ readonly name: "caller";
578
+ readonly type: "address";
579
+ }, {
580
+ readonly internalType: "address";
581
+ readonly name: "licensorIpId";
582
+ readonly type: "address";
583
+ }, {
584
+ readonly internalType: "address";
585
+ readonly name: "licenseTemplate";
586
+ readonly type: "address";
587
+ }, {
588
+ readonly internalType: "uint256";
589
+ readonly name: "licenseTermsId";
590
+ readonly type: "uint256";
591
+ }];
592
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
593
+ readonly type: "error";
382
594
  } | {
383
595
  readonly inputs: readonly [];
384
596
  readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
@@ -387,10 +599,30 @@ export declare class LicenseClient {
387
599
  readonly inputs: readonly [];
388
600
  readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
389
601
  readonly type: "error";
602
+ } | {
603
+ readonly inputs: readonly [{
604
+ readonly internalType: "address";
605
+ readonly name: "ipId";
606
+ readonly type: "address";
607
+ }];
608
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
609
+ readonly type: "error";
610
+ } | {
611
+ readonly inputs: readonly [];
612
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
613
+ readonly type: "error";
614
+ } | {
615
+ readonly inputs: readonly [];
616
+ readonly name: "LicensingModule__DerivativeIsParent";
617
+ readonly type: "error";
390
618
  } | {
391
619
  readonly inputs: readonly [];
392
620
  readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
393
621
  readonly type: "error";
622
+ } | {
623
+ readonly inputs: readonly [];
624
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
625
+ readonly type: "error";
394
626
  } | {
395
627
  readonly inputs: readonly [];
396
628
  readonly name: "LicensingModule__DerivativesCannotAddPolicy";
@@ -413,11 +645,19 @@ export declare class LicenseClient {
413
645
  readonly type: "error";
414
646
  } | {
415
647
  readonly inputs: readonly [];
416
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
648
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
417
649
  readonly type: "error";
418
650
  } | {
419
- readonly inputs: readonly [];
420
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
651
+ readonly inputs: readonly [{
652
+ readonly internalType: "address";
653
+ readonly name: "royaltyPolicy";
654
+ readonly type: "address";
655
+ }, {
656
+ readonly internalType: "address";
657
+ readonly name: "anotherRoyaltyPolicy";
658
+ readonly type: "address";
659
+ }];
660
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
421
661
  readonly type: "error";
422
662
  } | {
423
663
  readonly inputs: readonly [];
@@ -439,6 +679,50 @@ export declare class LicenseClient {
439
679
  readonly inputs: readonly [];
440
680
  readonly name: "LicensingModule__IpAlreadyLinked";
441
681
  readonly type: "error";
682
+ } | {
683
+ readonly inputs: readonly [{
684
+ readonly internalType: "address";
685
+ readonly name: "childIpId";
686
+ readonly type: "address";
687
+ }];
688
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
689
+ readonly type: "error";
690
+ } | {
691
+ readonly inputs: readonly [{
692
+ readonly internalType: "uint256";
693
+ readonly name: "ipLength";
694
+ readonly type: "uint256";
695
+ }, {
696
+ readonly internalType: "uint256";
697
+ readonly name: "licenseTermsLength";
698
+ readonly type: "uint256";
699
+ }];
700
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
701
+ readonly type: "error";
702
+ } | {
703
+ readonly inputs: readonly [{
704
+ readonly internalType: "address";
705
+ readonly name: "licenseTemplate";
706
+ readonly type: "address";
707
+ }, {
708
+ readonly internalType: "uint256";
709
+ readonly name: "licenseTermsId";
710
+ readonly type: "uint256";
711
+ }];
712
+ readonly name: "LicensingModule__LicenseTermsNotFound";
713
+ readonly type: "error";
714
+ } | {
715
+ readonly inputs: readonly [{
716
+ readonly internalType: "address";
717
+ readonly name: "childIpId";
718
+ readonly type: "address";
719
+ }, {
720
+ readonly internalType: "uint256[]";
721
+ readonly name: "licenseTokenIds";
722
+ readonly type: "uint256[]";
723
+ }];
724
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
725
+ readonly type: "error";
442
726
  } | {
443
727
  readonly inputs: readonly [];
444
728
  readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
@@ -471,6 +755,14 @@ export declare class LicenseClient {
471
755
  readonly inputs: readonly [];
472
756
  readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
473
757
  readonly type: "error";
758
+ } | {
759
+ readonly inputs: readonly [];
760
+ readonly name: "LicensingModule__NoLicenseToken";
761
+ readonly type: "error";
762
+ } | {
763
+ readonly inputs: readonly [];
764
+ readonly name: "LicensingModule__NoParentIp";
765
+ readonly type: "error";
474
766
  } | {
475
767
  readonly inputs: readonly [];
476
768
  readonly name: "LicensingModule__NotLicensee";
@@ -488,19 +780,35 @@ export declare class LicenseClient {
488
780
  readonly name: "LicensingModule__ParentIdEqualThanChild";
489
781
  readonly type: "error";
490
782
  } | {
491
- readonly inputs: readonly [];
492
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
783
+ readonly inputs: readonly [{
784
+ readonly internalType: "address";
785
+ readonly name: "ipId";
786
+ readonly type: "address";
787
+ }];
788
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
493
789
  readonly type: "error";
494
790
  } | {
495
791
  readonly inputs: readonly [];
496
- readonly name: "LicensingModule__PolicyNotFound";
792
+ readonly name: "LicensingModule__PolicyAlreadySetForIpId";
497
793
  readonly type: "error";
498
794
  } | {
499
795
  readonly inputs: readonly [];
500
- readonly name: "LicensingModule__ReceiverZeroAddress";
796
+ readonly name: "LicensingModule__PolicyNotFound";
501
797
  readonly type: "error";
502
798
  } | {
503
- readonly inputs: readonly [];
799
+ readonly inputs: readonly [{
800
+ readonly internalType: "address";
801
+ readonly name: "receiver";
802
+ readonly type: "address";
803
+ }];
804
+ readonly name: "LicensingModule__ReceiverCheckFailed";
805
+ readonly type: "error";
806
+ } | {
807
+ readonly inputs: readonly [];
808
+ readonly name: "LicensingModule__ReceiverZeroAddress";
809
+ readonly type: "error";
810
+ } | {
811
+ readonly inputs: readonly [];
504
812
  readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
505
813
  readonly type: "error";
506
814
  } | {
@@ -635,6 +943,10 @@ export declare class LicenseClient {
635
943
  readonly inputs: readonly [];
636
944
  readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
637
945
  readonly type: "error";
946
+ } | {
947
+ readonly inputs: readonly [];
948
+ readonly name: "RoyaltyModule__IpIsTagged";
949
+ readonly type: "error";
638
950
  } | {
639
951
  readonly inputs: readonly [];
640
952
  readonly name: "RoyaltyModule__NoParentsOnLinking";
@@ -655,6 +967,10 @@ export declare class LicenseClient {
655
967
  readonly inputs: readonly [];
656
968
  readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
657
969
  readonly type: "error";
970
+ } | {
971
+ readonly inputs: readonly [];
972
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
973
+ readonly type: "error";
658
974
  } | {
659
975
  readonly inputs: readonly [];
660
976
  readonly name: "RoyaltyModule__ZeroLicensingModule";
@@ -741,170 +1057,88 @@ export declare class LicenseClient {
741
1057
  readonly type: "address";
742
1058
  }, {
743
1059
  readonly indexed: false;
744
- readonly internalType: "address[]";
745
- readonly name: "parentIpIds";
746
- readonly type: "address[]";
747
- }];
748
- readonly name: "IpIdLinkedToParents";
749
- readonly type: "event";
750
- } | {
751
- readonly anonymous: false;
752
- readonly inputs: readonly [{
753
- readonly indexed: true;
754
- readonly internalType: "address";
755
- readonly name: "caller";
756
- readonly type: "address";
757
- }, {
758
- readonly indexed: true;
759
1060
  readonly internalType: "address";
760
- readonly name: "ipId";
1061
+ readonly name: "licenseTemplate";
761
1062
  readonly type: "address";
762
- }, {
763
- readonly indexed: true;
764
- readonly internalType: "uint256";
765
- readonly name: "policyId";
766
- readonly type: "uint256";
767
1063
  }, {
768
1064
  readonly indexed: false;
769
1065
  readonly internalType: "uint256";
770
- readonly name: "index";
1066
+ readonly name: "licenseTermsId";
771
1067
  readonly type: "uint256";
772
- }, {
773
- readonly indexed: false;
774
- readonly internalType: "bool";
775
- readonly name: "isInherited";
776
- readonly type: "bool";
777
1068
  }];
778
- readonly name: "PolicyAddedToIpId";
1069
+ readonly name: "LicenseTermsAttached";
779
1070
  readonly type: "event";
780
1071
  } | {
781
1072
  readonly anonymous: false;
782
1073
  readonly inputs: readonly [{
783
1074
  readonly indexed: true;
784
- readonly internalType: "uint256";
785
- readonly name: "policyId";
786
- readonly type: "uint256";
1075
+ readonly internalType: "address";
1076
+ readonly name: "caller";
1077
+ readonly type: "address";
787
1078
  }, {
788
1079
  readonly indexed: true;
789
1080
  readonly internalType: "address";
790
- readonly name: "policyFrameworkManager";
1081
+ readonly name: "licensorIpId";
791
1082
  readonly type: "address";
792
- }, {
793
- readonly indexed: false;
794
- readonly internalType: "bytes";
795
- readonly name: "frameworkData";
796
- readonly type: "bytes";
797
1083
  }, {
798
1084
  readonly indexed: false;
799
1085
  readonly internalType: "address";
800
- readonly name: "royaltyPolicy";
1086
+ readonly name: "licenseTemplate";
801
1087
  readonly type: "address";
802
1088
  }, {
803
- readonly indexed: false;
804
- readonly internalType: "bytes";
805
- readonly name: "royaltyData";
806
- readonly type: "bytes";
1089
+ readonly indexed: true;
1090
+ readonly internalType: "uint256";
1091
+ readonly name: "licenseTermsId";
1092
+ readonly type: "uint256";
807
1093
  }, {
808
1094
  readonly indexed: false;
809
1095
  readonly internalType: "uint256";
810
- readonly name: "mintingFee";
1096
+ readonly name: "amount";
811
1097
  readonly type: "uint256";
812
1098
  }, {
813
1099
  readonly indexed: false;
814
1100
  readonly internalType: "address";
815
- readonly name: "mintingFeeToken";
1101
+ readonly name: "receiver";
816
1102
  readonly type: "address";
1103
+ }, {
1104
+ readonly indexed: false;
1105
+ readonly internalType: "uint256";
1106
+ readonly name: "startLicenseTokenId";
1107
+ readonly type: "uint256";
817
1108
  }];
818
- readonly name: "PolicyRegistered";
1109
+ readonly name: "LicenseTokensMinted";
819
1110
  readonly type: "event";
820
1111
  } | {
821
1112
  readonly inputs: readonly [{
822
1113
  readonly internalType: "address";
823
1114
  readonly name: "ipId";
824
1115
  readonly type: "address";
1116
+ }, {
1117
+ readonly internalType: "address";
1118
+ readonly name: "licenseTemplate";
1119
+ readonly type: "address";
825
1120
  }, {
826
1121
  readonly internalType: "uint256";
827
- readonly name: "polId";
828
- readonly type: "uint256";
829
- }];
830
- readonly name: "addPolicyToIp";
831
- readonly outputs: readonly [{
832
- readonly internalType: "uint256";
833
- readonly name: "indexOnIpId";
1122
+ readonly name: "licenseTermsId";
834
1123
  readonly type: "uint256";
835
1124
  }];
1125
+ readonly name: "attachLicenseTerms";
1126
+ readonly outputs: readonly [];
836
1127
  readonly stateMutability: "nonpayable";
837
1128
  readonly type: "function";
838
1129
  } | {
839
1130
  readonly inputs: readonly [{
840
- readonly components: readonly [{
841
- readonly internalType: "bool";
842
- readonly name: "isLicenseTransferable";
843
- readonly type: "bool";
844
- }, {
845
- readonly internalType: "address";
846
- readonly name: "policyFramework";
847
- readonly type: "address";
848
- }, {
849
- readonly internalType: "bytes";
850
- readonly name: "frameworkData";
851
- readonly type: "bytes";
852
- }, {
853
- readonly internalType: "address";
854
- readonly name: "royaltyPolicy";
855
- readonly type: "address";
856
- }, {
857
- readonly internalType: "bytes";
858
- readonly name: "royaltyData";
859
- readonly type: "bytes";
860
- }, {
861
- readonly internalType: "uint256";
862
- readonly name: "mintingFee";
863
- readonly type: "uint256";
864
- }, {
865
- readonly internalType: "address";
866
- readonly name: "mintingFeeToken";
867
- readonly type: "address";
868
- }];
869
- readonly internalType: "struct Licensing.Policy";
870
- readonly name: "pol";
871
- readonly type: "tuple";
872
- }];
873
- readonly name: "getPolicyId";
874
- readonly outputs: readonly [{
875
- readonly internalType: "uint256";
876
- readonly name: "policyId";
877
- readonly type: "uint256";
878
- }];
879
- readonly stateMutability: "view";
880
- readonly type: "function";
881
- } | {
882
- readonly inputs: readonly [{
883
- readonly internalType: "uint256[]";
884
- readonly name: "licenseIds";
885
- readonly type: "uint256[]";
1131
+ readonly internalType: "address";
1132
+ readonly name: "licensorIpId";
1133
+ readonly type: "address";
886
1134
  }, {
887
1135
  readonly internalType: "address";
888
- readonly name: "childIpId";
1136
+ readonly name: "licenseTemplate";
889
1137
  readonly type: "address";
890
1138
  }, {
891
- readonly internalType: "bytes";
892
- readonly name: "royaltyContext";
893
- readonly type: "bytes";
894
- }];
895
- readonly name: "linkIpToParents";
896
- readonly outputs: readonly [];
897
- readonly stateMutability: "nonpayable";
898
- readonly type: "function";
899
- } | {
900
- readonly inputs: readonly [{
901
1139
  readonly internalType: "uint256";
902
- readonly name: "policyId";
1140
+ readonly name: "licenseTermsId";
903
1141
  readonly type: "uint256";
904
- }, {
905
- readonly internalType: "address";
906
- readonly name: "licensorIpId";
907
- readonly type: "address";
908
1142
  }, {
909
1143
  readonly internalType: "uint256";
910
1144
  readonly name: "amount";
@@ -918,53 +1152,10 @@ export declare class LicenseClient {
918
1152
  readonly name: "royaltyContext";
919
1153
  readonly type: "bytes";
920
1154
  }];
921
- readonly name: "mintLicense";
922
- readonly outputs: readonly [{
923
- readonly internalType: "uint256";
924
- readonly name: "licenseId";
925
- readonly type: "uint256";
926
- }];
927
- readonly stateMutability: "nonpayable";
928
- readonly type: "function";
929
- } | {
930
- readonly inputs: readonly [{
931
- readonly components: readonly [{
932
- readonly internalType: "bool";
933
- readonly name: "isLicenseTransferable";
934
- readonly type: "bool";
935
- }, {
936
- readonly internalType: "address";
937
- readonly name: "policyFramework";
938
- readonly type: "address";
939
- }, {
940
- readonly internalType: "bytes";
941
- readonly name: "frameworkData";
942
- readonly type: "bytes";
943
- }, {
944
- readonly internalType: "address";
945
- readonly name: "royaltyPolicy";
946
- readonly type: "address";
947
- }, {
948
- readonly internalType: "bytes";
949
- readonly name: "royaltyData";
950
- readonly type: "bytes";
951
- }, {
952
- readonly internalType: "uint256";
953
- readonly name: "mintingFee";
954
- readonly type: "uint256";
955
- }, {
956
- readonly internalType: "address";
957
- readonly name: "mintingFeeToken";
958
- readonly type: "address";
959
- }];
960
- readonly internalType: "struct Licensing.Policy";
961
- readonly name: "pol";
962
- readonly type: "tuple";
963
- }];
964
- readonly name: "registerPolicy";
1155
+ readonly name: "mintLicenseTokens";
965
1156
  readonly outputs: readonly [{
966
1157
  readonly internalType: "uint256";
967
- readonly name: "policyId";
1158
+ readonly name: "startLicenseTokenId";
968
1159
  readonly type: "uint256";
969
1160
  }];
970
1161
  readonly stateMutability: "nonpayable";
@@ -1240,6 +1431,10 @@ export declare class LicenseClient {
1240
1431
  readonly inputs: readonly [];
1241
1432
  readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
1242
1433
  readonly type: "error";
1434
+ } | {
1435
+ readonly inputs: readonly [];
1436
+ readonly name: "IpRoyaltyVault__IpTagged";
1437
+ readonly type: "error";
1243
1438
  } | {
1244
1439
  readonly inputs: readonly [];
1245
1440
  readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
@@ -1248,6 +1443,10 @@ export declare class LicenseClient {
1248
1443
  readonly inputs: readonly [];
1249
1444
  readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
1250
1445
  readonly type: "error";
1446
+ } | {
1447
+ readonly inputs: readonly [];
1448
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
1449
+ readonly type: "error";
1251
1450
  } | {
1252
1451
  readonly inputs: readonly [];
1253
1452
  readonly name: "IpRoyaltyVault__ZeroIpId";
@@ -1261,68 +1460,300 @@ export declare class LicenseClient {
1261
1460
  readonly name: "LicenseRegistry__CallerNotLicensingModule";
1262
1461
  readonly type: "error";
1263
1462
  } | {
1264
- readonly inputs: readonly [];
1265
- readonly name: "LicenseRegistry__NotTransferable";
1463
+ readonly inputs: readonly [{
1464
+ readonly internalType: "address";
1465
+ readonly name: "childIpId";
1466
+ readonly type: "address";
1467
+ }];
1468
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
1266
1469
  readonly type: "error";
1267
1470
  } | {
1268
- readonly inputs: readonly [];
1269
- readonly name: "LicenseRegistry__RevokedLicense";
1471
+ readonly inputs: readonly [{
1472
+ readonly internalType: "address";
1473
+ readonly name: "childIpId";
1474
+ readonly type: "address";
1475
+ }];
1476
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
1270
1477
  readonly type: "error";
1271
1478
  } | {
1272
- readonly inputs: readonly [];
1273
- readonly name: "LicenseRegistry__ZeroDisputeModule";
1479
+ readonly inputs: readonly [{
1480
+ readonly internalType: "address";
1481
+ readonly name: "ipId";
1482
+ readonly type: "address";
1483
+ }];
1484
+ readonly name: "LicenseRegistry__DerivativeIsParent";
1274
1485
  readonly type: "error";
1275
1486
  } | {
1276
- readonly inputs: readonly [];
1277
- readonly name: "LicenseRegistry__ZeroLicensingModule";
1487
+ readonly inputs: readonly [{
1488
+ readonly internalType: "address";
1489
+ readonly name: "ipId";
1490
+ readonly type: "address";
1491
+ }, {
1492
+ readonly internalType: "uint256";
1493
+ readonly name: "index";
1494
+ readonly type: "uint256";
1495
+ }, {
1496
+ readonly internalType: "uint256";
1497
+ readonly name: "length";
1498
+ readonly type: "uint256";
1499
+ }];
1500
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
1278
1501
  readonly type: "error";
1279
1502
  } | {
1280
- readonly inputs: readonly [];
1281
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
1503
+ readonly inputs: readonly [{
1504
+ readonly internalType: "address";
1505
+ readonly name: "ipId";
1506
+ readonly type: "address";
1507
+ }];
1508
+ readonly name: "LicenseRegistry__IpExpired";
1282
1509
  readonly type: "error";
1283
1510
  } | {
1284
- readonly inputs: readonly [];
1285
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
1511
+ readonly inputs: readonly [{
1512
+ readonly internalType: "address";
1513
+ readonly name: "licenseTemplate";
1514
+ readonly type: "address";
1515
+ }, {
1516
+ readonly internalType: "uint256";
1517
+ readonly name: "licenseTermsId";
1518
+ readonly type: "uint256";
1519
+ }];
1520
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
1286
1521
  readonly type: "error";
1287
1522
  } | {
1288
1523
  readonly inputs: readonly [];
1289
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
1524
+ readonly name: "LicenseRegistry__NoParentIp";
1290
1525
  readonly type: "error";
1291
1526
  } | {
1292
- readonly inputs: readonly [];
1293
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
1527
+ readonly inputs: readonly [{
1528
+ readonly internalType: "address";
1529
+ readonly name: "licenseTemplate";
1530
+ readonly type: "address";
1531
+ }];
1532
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
1294
1533
  readonly type: "error";
1295
1534
  } | {
1296
1535
  readonly inputs: readonly [];
1297
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
1536
+ readonly name: "LicenseRegistry__NotTransferable";
1298
1537
  readonly type: "error";
1299
1538
  } | {
1300
- readonly inputs: readonly [];
1301
- readonly name: "LicensingModule__DisputedIpId";
1539
+ readonly inputs: readonly [{
1540
+ readonly internalType: "address";
1541
+ readonly name: "ipId";
1542
+ readonly type: "address";
1543
+ }];
1544
+ readonly name: "LicenseRegistry__ParentIpExpired";
1302
1545
  readonly type: "error";
1303
1546
  } | {
1304
- readonly inputs: readonly [];
1305
- readonly name: "LicensingModule__EmptyLicenseUrl";
1547
+ readonly inputs: readonly [{
1548
+ readonly internalType: "address";
1549
+ readonly name: "ipId";
1550
+ readonly type: "address";
1551
+ }, {
1552
+ readonly internalType: "uint256";
1553
+ readonly name: "licenseTermsId";
1554
+ readonly type: "uint256";
1555
+ }];
1556
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
1306
1557
  readonly type: "error";
1307
1558
  } | {
1308
- readonly inputs: readonly [];
1309
- readonly name: "LicensingModule__EmptyParamName";
1559
+ readonly inputs: readonly [{
1560
+ readonly internalType: "address";
1561
+ readonly name: "ipId";
1562
+ readonly type: "address";
1563
+ }];
1564
+ readonly name: "LicenseRegistry__ParentIpTagged";
1310
1565
  readonly type: "error";
1311
1566
  } | {
1312
- readonly inputs: readonly [];
1313
- readonly name: "LicensingModule__FrameworkNotFound";
1567
+ readonly inputs: readonly [{
1568
+ readonly internalType: "address";
1569
+ readonly name: "ipId";
1570
+ readonly type: "address";
1571
+ }, {
1572
+ readonly internalType: "address";
1573
+ readonly name: "licenseTemplate";
1574
+ readonly type: "address";
1575
+ }];
1576
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
1314
1577
  readonly type: "error";
1315
1578
  } | {
1316
- readonly inputs: readonly [];
1317
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
1579
+ readonly inputs: readonly [{
1580
+ readonly internalType: "address";
1581
+ readonly name: "licenseTemplate";
1582
+ readonly type: "address";
1583
+ }];
1584
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
1318
1585
  readonly type: "error";
1319
1586
  } | {
1320
1587
  readonly inputs: readonly [];
1321
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
1588
+ readonly name: "LicenseRegistry__ZeroDisputeModule";
1322
1589
  readonly type: "error";
1323
1590
  } | {
1324
1591
  readonly inputs: readonly [];
1325
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
1592
+ readonly name: "LicenseRegistry__ZeroLicensingModule";
1593
+ readonly type: "error";
1594
+ } | {
1595
+ readonly inputs: readonly [{
1596
+ readonly internalType: "address";
1597
+ readonly name: "licenseTemplate";
1598
+ readonly type: "address";
1599
+ }, {
1600
+ readonly internalType: "address";
1601
+ readonly name: "anotherLicenseTemplate";
1602
+ readonly type: "address";
1603
+ }];
1604
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
1605
+ readonly type: "error";
1606
+ } | {
1607
+ readonly inputs: readonly [];
1608
+ readonly name: "LicenseToken__CallerNotLicensingModule";
1609
+ readonly type: "error";
1610
+ } | {
1611
+ readonly inputs: readonly [{
1612
+ readonly internalType: "uint256";
1613
+ readonly name: "tokenId";
1614
+ readonly type: "uint256";
1615
+ }, {
1616
+ readonly internalType: "uint256";
1617
+ readonly name: "expiredAt";
1618
+ readonly type: "uint256";
1619
+ }, {
1620
+ readonly internalType: "uint256";
1621
+ readonly name: "currentTimestamp";
1622
+ readonly type: "uint256";
1623
+ }];
1624
+ readonly name: "LicenseToken__LicenseTokenExpired";
1625
+ readonly type: "error";
1626
+ } | {
1627
+ readonly inputs: readonly [{
1628
+ readonly internalType: "uint256";
1629
+ readonly name: "tokenId";
1630
+ readonly type: "uint256";
1631
+ }, {
1632
+ readonly internalType: "address";
1633
+ readonly name: "iPowner";
1634
+ readonly type: "address";
1635
+ }, {
1636
+ readonly internalType: "address";
1637
+ readonly name: "tokenOwner";
1638
+ readonly type: "address";
1639
+ }];
1640
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
1641
+ readonly type: "error";
1642
+ } | {
1643
+ readonly inputs: readonly [];
1644
+ readonly name: "LicenseToken__NotTransferable";
1645
+ readonly type: "error";
1646
+ } | {
1647
+ readonly inputs: readonly [{
1648
+ readonly internalType: "uint256";
1649
+ readonly name: "tokenId";
1650
+ readonly type: "uint256";
1651
+ }];
1652
+ readonly name: "LicenseToken__RevokedLicense";
1653
+ readonly type: "error";
1654
+ } | {
1655
+ readonly inputs: readonly [];
1656
+ readonly name: "LicenseToken__ZeroDisputeModule";
1657
+ readonly type: "error";
1658
+ } | {
1659
+ readonly inputs: readonly [];
1660
+ readonly name: "LicenseToken__ZeroLicensingModule";
1661
+ readonly type: "error";
1662
+ } | {
1663
+ readonly inputs: readonly [];
1664
+ readonly name: "LicensingModule__CallerNotLicenseRegistry";
1665
+ readonly type: "error";
1666
+ } | {
1667
+ readonly inputs: readonly [{
1668
+ readonly internalType: "address";
1669
+ readonly name: "caller";
1670
+ readonly type: "address";
1671
+ }, {
1672
+ readonly internalType: "address";
1673
+ readonly name: "licensorIpId";
1674
+ readonly type: "address";
1675
+ }, {
1676
+ readonly internalType: "address";
1677
+ readonly name: "licenseTemplate";
1678
+ readonly type: "address";
1679
+ }, {
1680
+ readonly internalType: "uint256";
1681
+ readonly name: "licenseTermsId";
1682
+ readonly type: "uint256";
1683
+ }];
1684
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
1685
+ readonly type: "error";
1686
+ } | {
1687
+ readonly inputs: readonly [];
1688
+ readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
1689
+ readonly type: "error";
1690
+ } | {
1691
+ readonly inputs: readonly [];
1692
+ readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
1693
+ readonly type: "error";
1694
+ } | {
1695
+ readonly inputs: readonly [{
1696
+ readonly internalType: "address";
1697
+ readonly name: "ipId";
1698
+ readonly type: "address";
1699
+ }];
1700
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
1701
+ readonly type: "error";
1702
+ } | {
1703
+ readonly inputs: readonly [];
1704
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
1705
+ readonly type: "error";
1706
+ } | {
1707
+ readonly inputs: readonly [];
1708
+ readonly name: "LicensingModule__DerivativeIsParent";
1709
+ readonly type: "error";
1710
+ } | {
1711
+ readonly inputs: readonly [];
1712
+ readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
1713
+ readonly type: "error";
1714
+ } | {
1715
+ readonly inputs: readonly [];
1716
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
1717
+ readonly type: "error";
1718
+ } | {
1719
+ readonly inputs: readonly [];
1720
+ readonly name: "LicensingModule__DerivativesCannotAddPolicy";
1721
+ readonly type: "error";
1722
+ } | {
1723
+ readonly inputs: readonly [];
1724
+ readonly name: "LicensingModule__DisputedIpId";
1725
+ readonly type: "error";
1726
+ } | {
1727
+ readonly inputs: readonly [];
1728
+ readonly name: "LicensingModule__EmptyLicenseUrl";
1729
+ readonly type: "error";
1730
+ } | {
1731
+ readonly inputs: readonly [];
1732
+ readonly name: "LicensingModule__EmptyParamName";
1733
+ readonly type: "error";
1734
+ } | {
1735
+ readonly inputs: readonly [];
1736
+ readonly name: "LicensingModule__FrameworkNotFound";
1737
+ readonly type: "error";
1738
+ } | {
1739
+ readonly inputs: readonly [];
1740
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
1741
+ readonly type: "error";
1742
+ } | {
1743
+ readonly inputs: readonly [{
1744
+ readonly internalType: "address";
1745
+ readonly name: "royaltyPolicy";
1746
+ readonly type: "address";
1747
+ }, {
1748
+ readonly internalType: "address";
1749
+ readonly name: "anotherRoyaltyPolicy";
1750
+ readonly type: "address";
1751
+ }];
1752
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
1753
+ readonly type: "error";
1754
+ } | {
1755
+ readonly inputs: readonly [];
1756
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
1326
1757
  readonly type: "error";
1327
1758
  } | {
1328
1759
  readonly inputs: readonly [];
@@ -1340,6 +1771,50 @@ export declare class LicenseClient {
1340
1771
  readonly inputs: readonly [];
1341
1772
  readonly name: "LicensingModule__IpAlreadyLinked";
1342
1773
  readonly type: "error";
1774
+ } | {
1775
+ readonly inputs: readonly [{
1776
+ readonly internalType: "address";
1777
+ readonly name: "childIpId";
1778
+ readonly type: "address";
1779
+ }];
1780
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
1781
+ readonly type: "error";
1782
+ } | {
1783
+ readonly inputs: readonly [{
1784
+ readonly internalType: "uint256";
1785
+ readonly name: "ipLength";
1786
+ readonly type: "uint256";
1787
+ }, {
1788
+ readonly internalType: "uint256";
1789
+ readonly name: "licenseTermsLength";
1790
+ readonly type: "uint256";
1791
+ }];
1792
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
1793
+ readonly type: "error";
1794
+ } | {
1795
+ readonly inputs: readonly [{
1796
+ readonly internalType: "address";
1797
+ readonly name: "licenseTemplate";
1798
+ readonly type: "address";
1799
+ }, {
1800
+ readonly internalType: "uint256";
1801
+ readonly name: "licenseTermsId";
1802
+ readonly type: "uint256";
1803
+ }];
1804
+ readonly name: "LicensingModule__LicenseTermsNotFound";
1805
+ readonly type: "error";
1806
+ } | {
1807
+ readonly inputs: readonly [{
1808
+ readonly internalType: "address";
1809
+ readonly name: "childIpId";
1810
+ readonly type: "address";
1811
+ }, {
1812
+ readonly internalType: "uint256[]";
1813
+ readonly name: "licenseTokenIds";
1814
+ readonly type: "uint256[]";
1815
+ }];
1816
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
1817
+ readonly type: "error";
1343
1818
  } | {
1344
1819
  readonly inputs: readonly [];
1345
1820
  readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
@@ -1372,6 +1847,14 @@ export declare class LicenseClient {
1372
1847
  readonly inputs: readonly [];
1373
1848
  readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
1374
1849
  readonly type: "error";
1850
+ } | {
1851
+ readonly inputs: readonly [];
1852
+ readonly name: "LicensingModule__NoLicenseToken";
1853
+ readonly type: "error";
1854
+ } | {
1855
+ readonly inputs: readonly [];
1856
+ readonly name: "LicensingModule__NoParentIp";
1857
+ readonly type: "error";
1375
1858
  } | {
1376
1859
  readonly inputs: readonly [];
1377
1860
  readonly name: "LicensingModule__NotLicensee";
@@ -1388,6 +1871,14 @@ export declare class LicenseClient {
1388
1871
  readonly inputs: readonly [];
1389
1872
  readonly name: "LicensingModule__ParentIdEqualThanChild";
1390
1873
  readonly type: "error";
1874
+ } | {
1875
+ readonly inputs: readonly [{
1876
+ readonly internalType: "address";
1877
+ readonly name: "ipId";
1878
+ readonly type: "address";
1879
+ }];
1880
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
1881
+ readonly type: "error";
1391
1882
  } | {
1392
1883
  readonly inputs: readonly [];
1393
1884
  readonly name: "LicensingModule__PolicyAlreadySetForIpId";
@@ -1396,6 +1887,14 @@ export declare class LicenseClient {
1396
1887
  readonly inputs: readonly [];
1397
1888
  readonly name: "LicensingModule__PolicyNotFound";
1398
1889
  readonly type: "error";
1890
+ } | {
1891
+ readonly inputs: readonly [{
1892
+ readonly internalType: "address";
1893
+ readonly name: "receiver";
1894
+ readonly type: "address";
1895
+ }];
1896
+ readonly name: "LicensingModule__ReceiverCheckFailed";
1897
+ readonly type: "error";
1399
1898
  } | {
1400
1899
  readonly inputs: readonly [];
1401
1900
  readonly name: "LicensingModule__ReceiverZeroAddress";
@@ -1536,6 +2035,10 @@ export declare class LicenseClient {
1536
2035
  readonly inputs: readonly [];
1537
2036
  readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
1538
2037
  readonly type: "error";
2038
+ } | {
2039
+ readonly inputs: readonly [];
2040
+ readonly name: "RoyaltyModule__IpIsTagged";
2041
+ readonly type: "error";
1539
2042
  } | {
1540
2043
  readonly inputs: readonly [];
1541
2044
  readonly name: "RoyaltyModule__NoParentsOnLinking";
@@ -1556,6 +2059,10 @@ export declare class LicenseClient {
1556
2059
  readonly inputs: readonly [];
1557
2060
  readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
1558
2061
  readonly type: "error";
2062
+ } | {
2063
+ readonly inputs: readonly [];
2064
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
2065
+ readonly type: "error";
1559
2066
  } | {
1560
2067
  readonly inputs: readonly [];
1561
2068
  readonly name: "RoyaltyModule__ZeroLicensingModule";
@@ -1685,20 +2192,2257 @@ export declare class LicenseClient {
1685
2192
  readonly stateMutability: "payable";
1686
2193
  readonly type: "function";
1687
2194
  })[];
1688
- constructor(rpcClient: PublicClient, wallet: WalletClient, storyClient: StoryAPIClient, chainId: SupportedChainIds);
2195
+ licenseTemplateConfig: {
2196
+ abi: ({
2197
+ readonly inputs: readonly [{
2198
+ readonly internalType: "address";
2199
+ readonly name: "caller";
2200
+ readonly type: "address";
2201
+ }];
2202
+ readonly name: "AccessControlled__CallerIsNotIpAccount";
2203
+ readonly type: "error";
2204
+ } | {
2205
+ readonly inputs: readonly [{
2206
+ readonly internalType: "address";
2207
+ readonly name: "ipAccount";
2208
+ readonly type: "address";
2209
+ }];
2210
+ readonly name: "AccessControlled__NotIpAccount";
2211
+ readonly type: "error";
2212
+ } | {
2213
+ readonly inputs: readonly [];
2214
+ readonly name: "AccessControlled__ZeroAddress";
2215
+ readonly type: "error";
2216
+ } | {
2217
+ readonly inputs: readonly [{
2218
+ readonly internalType: "address";
2219
+ readonly name: "signer";
2220
+ readonly type: "address";
2221
+ }, {
2222
+ readonly internalType: "address";
2223
+ readonly name: "to";
2224
+ readonly type: "address";
2225
+ }];
2226
+ readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
2227
+ readonly type: "error";
2228
+ } | {
2229
+ readonly inputs: readonly [];
2230
+ readonly name: "AccessController__CallerIsNotIPAccount";
2231
+ readonly type: "error";
2232
+ } | {
2233
+ readonly inputs: readonly [{
2234
+ readonly internalType: "address";
2235
+ readonly name: "ipAccount";
2236
+ readonly type: "address";
2237
+ }];
2238
+ readonly name: "AccessController__IPAccountIsNotValid";
2239
+ readonly type: "error";
2240
+ } | {
2241
+ readonly inputs: readonly [];
2242
+ readonly name: "AccessController__IPAccountIsZeroAddress";
2243
+ readonly type: "error";
2244
+ } | {
2245
+ readonly inputs: readonly [{
2246
+ readonly internalType: "address";
2247
+ readonly name: "ipAccount";
2248
+ readonly type: "address";
2249
+ }, {
2250
+ readonly internalType: "address";
2251
+ readonly name: "signer";
2252
+ readonly type: "address";
2253
+ }, {
2254
+ readonly internalType: "address";
2255
+ readonly name: "to";
2256
+ readonly type: "address";
2257
+ }, {
2258
+ readonly internalType: "bytes4";
2259
+ readonly name: "func";
2260
+ readonly type: "bytes4";
2261
+ }];
2262
+ readonly name: "AccessController__PermissionDenied";
2263
+ readonly type: "error";
2264
+ } | {
2265
+ readonly inputs: readonly [];
2266
+ readonly name: "AccessController__PermissionIsNotValid";
2267
+ readonly type: "error";
2268
+ } | {
2269
+ readonly inputs: readonly [];
2270
+ readonly name: "AccessController__SignerIsZeroAddress";
2271
+ readonly type: "error";
2272
+ } | {
2273
+ readonly inputs: readonly [];
2274
+ readonly name: "ArbitrationPolicySP__NotDisputeModule";
2275
+ readonly type: "error";
2276
+ } | {
2277
+ readonly inputs: readonly [];
2278
+ readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
2279
+ readonly type: "error";
2280
+ } | {
2281
+ readonly inputs: readonly [];
2282
+ readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
2283
+ readonly type: "error";
2284
+ } | {
2285
+ readonly inputs: readonly [];
2286
+ readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
2287
+ readonly type: "error";
2288
+ } | {
2289
+ readonly inputs: readonly [];
2290
+ readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
2291
+ readonly type: "error";
2292
+ } | {
2293
+ readonly inputs: readonly [];
2294
+ readonly name: "DisputeModule__NotAbleToResolve";
2295
+ readonly type: "error";
2296
+ } | {
2297
+ readonly inputs: readonly [];
2298
+ readonly name: "DisputeModule__NotDisputeInitiator";
2299
+ readonly type: "error";
2300
+ } | {
2301
+ readonly inputs: readonly [];
2302
+ readonly name: "DisputeModule__NotInDisputeState";
2303
+ readonly type: "error";
2304
+ } | {
2305
+ readonly inputs: readonly [];
2306
+ readonly name: "DisputeModule__NotRegisteredIpId";
2307
+ readonly type: "error";
2308
+ } | {
2309
+ readonly inputs: readonly [];
2310
+ readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
2311
+ readonly type: "error";
2312
+ } | {
2313
+ readonly inputs: readonly [];
2314
+ readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
2315
+ readonly type: "error";
2316
+ } | {
2317
+ readonly inputs: readonly [];
2318
+ readonly name: "DisputeModule__NotWhitelistedDisputeTag";
2319
+ readonly type: "error";
2320
+ } | {
2321
+ readonly inputs: readonly [];
2322
+ readonly name: "DisputeModule__ZeroArbitrationPolicy";
2323
+ readonly type: "error";
2324
+ } | {
2325
+ readonly inputs: readonly [];
2326
+ readonly name: "DisputeModule__ZeroArbitrationRelayer";
2327
+ readonly type: "error";
2328
+ } | {
2329
+ readonly inputs: readonly [];
2330
+ readonly name: "DisputeModule__ZeroDisputeTag";
2331
+ readonly type: "error";
2332
+ } | {
2333
+ readonly inputs: readonly [];
2334
+ readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
2335
+ readonly type: "error";
2336
+ } | {
2337
+ readonly inputs: readonly [];
2338
+ readonly name: "Governance__InconsistentState";
2339
+ readonly type: "error";
2340
+ } | {
2341
+ readonly inputs: readonly [];
2342
+ readonly name: "Governance__NewStateIsTheSameWithOldState";
2343
+ readonly type: "error";
2344
+ } | {
2345
+ readonly inputs: readonly [];
2346
+ readonly name: "Governance__OnlyProtocolAdmin";
2347
+ readonly type: "error";
2348
+ } | {
2349
+ readonly inputs: readonly [];
2350
+ readonly name: "Governance__ProtocolPaused";
2351
+ readonly type: "error";
2352
+ } | {
2353
+ readonly inputs: readonly [{
2354
+ readonly internalType: "string";
2355
+ readonly name: "interfaceName";
2356
+ readonly type: "string";
2357
+ }];
2358
+ readonly name: "Governance__UnsupportedInterface";
2359
+ readonly type: "error";
2360
+ } | {
2361
+ readonly inputs: readonly [];
2362
+ readonly name: "Governance__ZeroAddress";
2363
+ readonly type: "error";
2364
+ } | {
2365
+ readonly inputs: readonly [];
2366
+ readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
2367
+ readonly type: "error";
2368
+ } | {
2369
+ readonly inputs: readonly [];
2370
+ readonly name: "IPAccount__ExpiredSignature";
2371
+ readonly type: "error";
2372
+ } | {
2373
+ readonly inputs: readonly [];
2374
+ readonly name: "IPAccount__InvalidAccessController";
2375
+ readonly type: "error";
2376
+ } | {
2377
+ readonly inputs: readonly [];
2378
+ readonly name: "IPAccount__InvalidCalldata";
2379
+ readonly type: "error";
2380
+ } | {
2381
+ readonly inputs: readonly [];
2382
+ readonly name: "IPAccount__InvalidSignature";
2383
+ readonly type: "error";
2384
+ } | {
2385
+ readonly inputs: readonly [];
2386
+ readonly name: "IPAccount__InvalidSigner";
2387
+ readonly type: "error";
2388
+ } | {
2389
+ readonly inputs: readonly [];
2390
+ readonly name: "IPAssetRegistry__AlreadyRegistered";
2391
+ readonly type: "error";
2392
+ } | {
2393
+ readonly inputs: readonly [];
2394
+ readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
2395
+ readonly type: "error";
2396
+ } | {
2397
+ readonly inputs: readonly [];
2398
+ readonly name: "IPAssetRegistry__InvalidAccount";
2399
+ readonly type: "error";
2400
+ } | {
2401
+ readonly inputs: readonly [];
2402
+ readonly name: "IPAssetRegistry__InvalidMetadataProvider";
2403
+ readonly type: "error";
2404
+ } | {
2405
+ readonly inputs: readonly [{
2406
+ readonly internalType: "address";
2407
+ readonly name: "contractAddress";
2408
+ readonly type: "address";
2409
+ }, {
2410
+ readonly internalType: "uint256";
2411
+ readonly name: "tokenId";
2412
+ readonly type: "uint256";
2413
+ }];
2414
+ readonly name: "IPAssetRegistry__InvalidToken";
2415
+ readonly type: "error";
2416
+ } | {
2417
+ readonly inputs: readonly [];
2418
+ readonly name: "IPAssetRegistry__NotYetRegistered";
2419
+ readonly type: "error";
2420
+ } | {
2421
+ readonly inputs: readonly [];
2422
+ readonly name: "IPAssetRegistry__RegistrantUnauthorized";
2423
+ readonly type: "error";
2424
+ } | {
2425
+ readonly inputs: readonly [];
2426
+ readonly name: "IPAssetRegistry__ResolverInvalid";
2427
+ readonly type: "error";
2428
+ } | {
2429
+ readonly inputs: readonly [];
2430
+ readonly name: "IPAssetRegistry__Unauthorized";
2431
+ readonly type: "error";
2432
+ } | {
2433
+ readonly inputs: readonly [{
2434
+ readonly internalType: "address";
2435
+ readonly name: "contractAddress";
2436
+ readonly type: "address";
2437
+ }];
2438
+ readonly name: "IPAssetRegistry__UnsupportedIERC721";
2439
+ readonly type: "error";
2440
+ } | {
2441
+ readonly inputs: readonly [{
2442
+ readonly internalType: "address";
2443
+ readonly name: "contractAddress";
2444
+ readonly type: "address";
2445
+ }];
2446
+ readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
2447
+ readonly type: "error";
2448
+ } | {
2449
+ readonly inputs: readonly [];
2450
+ readonly name: "IPResolver_InvalidIP";
2451
+ readonly type: "error";
2452
+ } | {
2453
+ readonly inputs: readonly [];
2454
+ readonly name: "IPResolver_Unauthorized";
2455
+ readonly type: "error";
2456
+ } | {
2457
+ readonly inputs: readonly [];
2458
+ readonly name: "IpRoyaltyVault__AlreadyClaimed";
2459
+ readonly type: "error";
2460
+ } | {
2461
+ readonly inputs: readonly [];
2462
+ readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
2463
+ readonly type: "error";
2464
+ } | {
2465
+ readonly inputs: readonly [];
2466
+ readonly name: "IpRoyaltyVault__IpTagged";
2467
+ readonly type: "error";
2468
+ } | {
2469
+ readonly inputs: readonly [];
2470
+ readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
2471
+ readonly type: "error";
2472
+ } | {
2473
+ readonly inputs: readonly [];
2474
+ readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
2475
+ readonly type: "error";
2476
+ } | {
2477
+ readonly inputs: readonly [];
2478
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
2479
+ readonly type: "error";
2480
+ } | {
2481
+ readonly inputs: readonly [];
2482
+ readonly name: "IpRoyaltyVault__ZeroIpId";
2483
+ readonly type: "error";
2484
+ } | {
2485
+ readonly inputs: readonly [];
2486
+ readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
2487
+ readonly type: "error";
2488
+ } | {
2489
+ readonly inputs: readonly [];
2490
+ readonly name: "LicenseRegistry__CallerNotLicensingModule";
2491
+ readonly type: "error";
2492
+ } | {
2493
+ readonly inputs: readonly [{
2494
+ readonly internalType: "address";
2495
+ readonly name: "childIpId";
2496
+ readonly type: "address";
2497
+ }];
2498
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
2499
+ readonly type: "error";
2500
+ } | {
2501
+ readonly inputs: readonly [{
2502
+ readonly internalType: "address";
2503
+ readonly name: "childIpId";
2504
+ readonly type: "address";
2505
+ }];
2506
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
2507
+ readonly type: "error";
2508
+ } | {
2509
+ readonly inputs: readonly [{
2510
+ readonly internalType: "address";
2511
+ readonly name: "ipId";
2512
+ readonly type: "address";
2513
+ }];
2514
+ readonly name: "LicenseRegistry__DerivativeIsParent";
2515
+ readonly type: "error";
2516
+ } | {
2517
+ readonly inputs: readonly [{
2518
+ readonly internalType: "address";
2519
+ readonly name: "ipId";
2520
+ readonly type: "address";
2521
+ }, {
2522
+ readonly internalType: "uint256";
2523
+ readonly name: "index";
2524
+ readonly type: "uint256";
2525
+ }, {
2526
+ readonly internalType: "uint256";
2527
+ readonly name: "length";
2528
+ readonly type: "uint256";
2529
+ }];
2530
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
2531
+ readonly type: "error";
2532
+ } | {
2533
+ readonly inputs: readonly [{
2534
+ readonly internalType: "address";
2535
+ readonly name: "ipId";
2536
+ readonly type: "address";
2537
+ }];
2538
+ readonly name: "LicenseRegistry__IpExpired";
2539
+ readonly type: "error";
2540
+ } | {
2541
+ readonly inputs: readonly [{
2542
+ readonly internalType: "address";
2543
+ readonly name: "licenseTemplate";
2544
+ readonly type: "address";
2545
+ }, {
2546
+ readonly internalType: "uint256";
2547
+ readonly name: "licenseTermsId";
2548
+ readonly type: "uint256";
2549
+ }];
2550
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
2551
+ readonly type: "error";
2552
+ } | {
2553
+ readonly inputs: readonly [];
2554
+ readonly name: "LicenseRegistry__NoParentIp";
2555
+ readonly type: "error";
2556
+ } | {
2557
+ readonly inputs: readonly [{
2558
+ readonly internalType: "address";
2559
+ readonly name: "licenseTemplate";
2560
+ readonly type: "address";
2561
+ }];
2562
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
2563
+ readonly type: "error";
2564
+ } | {
2565
+ readonly inputs: readonly [];
2566
+ readonly name: "LicenseRegistry__NotTransferable";
2567
+ readonly type: "error";
2568
+ } | {
2569
+ readonly inputs: readonly [{
2570
+ readonly internalType: "address";
2571
+ readonly name: "ipId";
2572
+ readonly type: "address";
2573
+ }];
2574
+ readonly name: "LicenseRegistry__ParentIpExpired";
2575
+ readonly type: "error";
2576
+ } | {
2577
+ readonly inputs: readonly [{
2578
+ readonly internalType: "address";
2579
+ readonly name: "ipId";
2580
+ readonly type: "address";
2581
+ }, {
2582
+ readonly internalType: "uint256";
2583
+ readonly name: "licenseTermsId";
2584
+ readonly type: "uint256";
2585
+ }];
2586
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
2587
+ readonly type: "error";
2588
+ } | {
2589
+ readonly inputs: readonly [{
2590
+ readonly internalType: "address";
2591
+ readonly name: "ipId";
2592
+ readonly type: "address";
2593
+ }];
2594
+ readonly name: "LicenseRegistry__ParentIpTagged";
2595
+ readonly type: "error";
2596
+ } | {
2597
+ readonly inputs: readonly [{
2598
+ readonly internalType: "address";
2599
+ readonly name: "ipId";
2600
+ readonly type: "address";
2601
+ }, {
2602
+ readonly internalType: "address";
2603
+ readonly name: "licenseTemplate";
2604
+ readonly type: "address";
2605
+ }];
2606
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
2607
+ readonly type: "error";
2608
+ } | {
2609
+ readonly inputs: readonly [{
2610
+ readonly internalType: "address";
2611
+ readonly name: "licenseTemplate";
2612
+ readonly type: "address";
2613
+ }];
2614
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
2615
+ readonly type: "error";
2616
+ } | {
2617
+ readonly inputs: readonly [];
2618
+ readonly name: "LicenseRegistry__ZeroDisputeModule";
2619
+ readonly type: "error";
2620
+ } | {
2621
+ readonly inputs: readonly [];
2622
+ readonly name: "LicenseRegistry__ZeroLicensingModule";
2623
+ readonly type: "error";
2624
+ } | {
2625
+ readonly inputs: readonly [{
2626
+ readonly internalType: "address";
2627
+ readonly name: "licenseTemplate";
2628
+ readonly type: "address";
2629
+ }, {
2630
+ readonly internalType: "address";
2631
+ readonly name: "anotherLicenseTemplate";
2632
+ readonly type: "address";
2633
+ }];
2634
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
2635
+ readonly type: "error";
2636
+ } | {
2637
+ readonly inputs: readonly [];
2638
+ readonly name: "LicenseToken__CallerNotLicensingModule";
2639
+ readonly type: "error";
2640
+ } | {
2641
+ readonly inputs: readonly [{
2642
+ readonly internalType: "uint256";
2643
+ readonly name: "tokenId";
2644
+ readonly type: "uint256";
2645
+ }, {
2646
+ readonly internalType: "uint256";
2647
+ readonly name: "expiredAt";
2648
+ readonly type: "uint256";
2649
+ }, {
2650
+ readonly internalType: "uint256";
2651
+ readonly name: "currentTimestamp";
2652
+ readonly type: "uint256";
2653
+ }];
2654
+ readonly name: "LicenseToken__LicenseTokenExpired";
2655
+ readonly type: "error";
2656
+ } | {
2657
+ readonly inputs: readonly [{
2658
+ readonly internalType: "uint256";
2659
+ readonly name: "tokenId";
2660
+ readonly type: "uint256";
2661
+ }, {
2662
+ readonly internalType: "address";
2663
+ readonly name: "iPowner";
2664
+ readonly type: "address";
2665
+ }, {
2666
+ readonly internalType: "address";
2667
+ readonly name: "tokenOwner";
2668
+ readonly type: "address";
2669
+ }];
2670
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
2671
+ readonly type: "error";
2672
+ } | {
2673
+ readonly inputs: readonly [];
2674
+ readonly name: "LicenseToken__NotTransferable";
2675
+ readonly type: "error";
2676
+ } | {
2677
+ readonly inputs: readonly [{
2678
+ readonly internalType: "uint256";
2679
+ readonly name: "tokenId";
2680
+ readonly type: "uint256";
2681
+ }];
2682
+ readonly name: "LicenseToken__RevokedLicense";
2683
+ readonly type: "error";
2684
+ } | {
2685
+ readonly inputs: readonly [];
2686
+ readonly name: "LicenseToken__ZeroDisputeModule";
2687
+ readonly type: "error";
2688
+ } | {
2689
+ readonly inputs: readonly [];
2690
+ readonly name: "LicenseToken__ZeroLicensingModule";
2691
+ readonly type: "error";
2692
+ } | {
2693
+ readonly inputs: readonly [];
2694
+ readonly name: "LicensingModule__CallerNotLicenseRegistry";
2695
+ readonly type: "error";
2696
+ } | {
2697
+ readonly inputs: readonly [{
2698
+ readonly internalType: "address";
2699
+ readonly name: "caller";
2700
+ readonly type: "address";
2701
+ }, {
2702
+ readonly internalType: "address";
2703
+ readonly name: "licensorIpId";
2704
+ readonly type: "address";
2705
+ }, {
2706
+ readonly internalType: "address";
2707
+ readonly name: "licenseTemplate";
2708
+ readonly type: "address";
2709
+ }, {
2710
+ readonly internalType: "uint256";
2711
+ readonly name: "licenseTermsId";
2712
+ readonly type: "uint256";
2713
+ }];
2714
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
2715
+ readonly type: "error";
2716
+ } | {
2717
+ readonly inputs: readonly [];
2718
+ readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
2719
+ readonly type: "error";
2720
+ } | {
2721
+ readonly inputs: readonly [];
2722
+ readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
2723
+ readonly type: "error";
2724
+ } | {
2725
+ readonly inputs: readonly [{
2726
+ readonly internalType: "address";
2727
+ readonly name: "ipId";
2728
+ readonly type: "address";
2729
+ }];
2730
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
2731
+ readonly type: "error";
2732
+ } | {
2733
+ readonly inputs: readonly [];
2734
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
2735
+ readonly type: "error";
2736
+ } | {
2737
+ readonly inputs: readonly [];
2738
+ readonly name: "LicensingModule__DerivativeIsParent";
2739
+ readonly type: "error";
2740
+ } | {
2741
+ readonly inputs: readonly [];
2742
+ readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
2743
+ readonly type: "error";
2744
+ } | {
2745
+ readonly inputs: readonly [];
2746
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
2747
+ readonly type: "error";
2748
+ } | {
2749
+ readonly inputs: readonly [];
2750
+ readonly name: "LicensingModule__DerivativesCannotAddPolicy";
2751
+ readonly type: "error";
2752
+ } | {
2753
+ readonly inputs: readonly [];
2754
+ readonly name: "LicensingModule__DisputedIpId";
2755
+ readonly type: "error";
2756
+ } | {
2757
+ readonly inputs: readonly [];
2758
+ readonly name: "LicensingModule__EmptyLicenseUrl";
2759
+ readonly type: "error";
2760
+ } | {
2761
+ readonly inputs: readonly [];
2762
+ readonly name: "LicensingModule__EmptyParamName";
2763
+ readonly type: "error";
2764
+ } | {
2765
+ readonly inputs: readonly [];
2766
+ readonly name: "LicensingModule__FrameworkNotFound";
2767
+ readonly type: "error";
2768
+ } | {
2769
+ readonly inputs: readonly [];
2770
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
2771
+ readonly type: "error";
2772
+ } | {
2773
+ readonly inputs: readonly [{
2774
+ readonly internalType: "address";
2775
+ readonly name: "royaltyPolicy";
2776
+ readonly type: "address";
2777
+ }, {
2778
+ readonly internalType: "address";
2779
+ readonly name: "anotherRoyaltyPolicy";
2780
+ readonly type: "address";
2781
+ }];
2782
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
2783
+ readonly type: "error";
2784
+ } | {
2785
+ readonly inputs: readonly [];
2786
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
2787
+ readonly type: "error";
2788
+ } | {
2789
+ readonly inputs: readonly [];
2790
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
2791
+ readonly type: "error";
2792
+ } | {
2793
+ readonly inputs: readonly [];
2794
+ readonly name: "LicensingModule__InvalidLicensor";
2795
+ readonly type: "error";
2796
+ } | {
2797
+ readonly inputs: readonly [];
2798
+ readonly name: "LicensingModule__InvalidPolicyFramework";
2799
+ readonly type: "error";
2800
+ } | {
2801
+ readonly inputs: readonly [];
2802
+ readonly name: "LicensingModule__IpAlreadyLinked";
2803
+ readonly type: "error";
2804
+ } | {
2805
+ readonly inputs: readonly [{
2806
+ readonly internalType: "address";
2807
+ readonly name: "childIpId";
2808
+ readonly type: "address";
2809
+ }];
2810
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
2811
+ readonly type: "error";
2812
+ } | {
2813
+ readonly inputs: readonly [{
2814
+ readonly internalType: "uint256";
2815
+ readonly name: "ipLength";
2816
+ readonly type: "uint256";
2817
+ }, {
2818
+ readonly internalType: "uint256";
2819
+ readonly name: "licenseTermsLength";
2820
+ readonly type: "uint256";
2821
+ }];
2822
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
2823
+ readonly type: "error";
2824
+ } | {
2825
+ readonly inputs: readonly [{
2826
+ readonly internalType: "address";
2827
+ readonly name: "licenseTemplate";
2828
+ readonly type: "address";
2829
+ }, {
2830
+ readonly internalType: "uint256";
2831
+ readonly name: "licenseTermsId";
2832
+ readonly type: "uint256";
2833
+ }];
2834
+ readonly name: "LicensingModule__LicenseTermsNotFound";
2835
+ readonly type: "error";
2836
+ } | {
2837
+ readonly inputs: readonly [{
2838
+ readonly internalType: "address";
2839
+ readonly name: "childIpId";
2840
+ readonly type: "address";
2841
+ }, {
2842
+ readonly internalType: "uint256[]";
2843
+ readonly name: "licenseTokenIds";
2844
+ readonly type: "uint256[]";
2845
+ }];
2846
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
2847
+ readonly type: "error";
2848
+ } | {
2849
+ readonly inputs: readonly [];
2850
+ readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
2851
+ readonly type: "error";
2852
+ } | {
2853
+ readonly inputs: readonly [];
2854
+ readonly name: "LicensingModule__LicensorNotRegistered";
2855
+ readonly type: "error";
2856
+ } | {
2857
+ readonly inputs: readonly [];
2858
+ readonly name: "LicensingModule__LinkParentParamFailed";
2859
+ readonly type: "error";
2860
+ } | {
2861
+ readonly inputs: readonly [];
2862
+ readonly name: "LicensingModule__LinkingRevokedLicense";
2863
+ readonly type: "error";
2864
+ } | {
2865
+ readonly inputs: readonly [];
2866
+ readonly name: "LicensingModule__MintAmountZero";
2867
+ readonly type: "error";
2868
+ } | {
2869
+ readonly inputs: readonly [];
2870
+ readonly name: "LicensingModule__MintLicenseParamFailed";
2871
+ readonly type: "error";
2872
+ } | {
2873
+ readonly inputs: readonly [];
2874
+ readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
2875
+ readonly type: "error";
2876
+ } | {
2877
+ readonly inputs: readonly [];
2878
+ readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
2879
+ readonly type: "error";
2880
+ } | {
2881
+ readonly inputs: readonly [];
2882
+ readonly name: "LicensingModule__NoLicenseToken";
2883
+ readonly type: "error";
2884
+ } | {
2885
+ readonly inputs: readonly [];
2886
+ readonly name: "LicensingModule__NoParentIp";
2887
+ readonly type: "error";
2888
+ } | {
2889
+ readonly inputs: readonly [];
2890
+ readonly name: "LicensingModule__NotLicensee";
2891
+ readonly type: "error";
2892
+ } | {
2893
+ readonly inputs: readonly [];
2894
+ readonly name: "LicensingModule__ParamVerifierAlreadySet";
2895
+ readonly type: "error";
2896
+ } | {
2897
+ readonly inputs: readonly [];
2898
+ readonly name: "LicensingModule__ParamVerifierLengthMismatch";
2899
+ readonly type: "error";
2900
+ } | {
2901
+ readonly inputs: readonly [];
2902
+ readonly name: "LicensingModule__ParentIdEqualThanChild";
2903
+ readonly type: "error";
2904
+ } | {
2905
+ readonly inputs: readonly [{
2906
+ readonly internalType: "address";
2907
+ readonly name: "ipId";
2908
+ readonly type: "address";
2909
+ }];
2910
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
2911
+ readonly type: "error";
2912
+ } | {
2913
+ readonly inputs: readonly [];
2914
+ readonly name: "LicensingModule__PolicyAlreadySetForIpId";
2915
+ readonly type: "error";
2916
+ } | {
2917
+ readonly inputs: readonly [];
2918
+ readonly name: "LicensingModule__PolicyNotFound";
2919
+ readonly type: "error";
2920
+ } | {
2921
+ readonly inputs: readonly [{
2922
+ readonly internalType: "address";
2923
+ readonly name: "receiver";
2924
+ readonly type: "address";
2925
+ }];
2926
+ readonly name: "LicensingModule__ReceiverCheckFailed";
2927
+ readonly type: "error";
2928
+ } | {
2929
+ readonly inputs: readonly [];
2930
+ readonly name: "LicensingModule__ReceiverZeroAddress";
2931
+ readonly type: "error";
2932
+ } | {
2933
+ readonly inputs: readonly [];
2934
+ readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
2935
+ readonly type: "error";
2936
+ } | {
2937
+ readonly inputs: readonly [];
2938
+ readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
2939
+ readonly type: "error";
2940
+ } | {
2941
+ readonly inputs: readonly [];
2942
+ readonly name: "LicensingModule__TransferParamFailed";
2943
+ readonly type: "error";
2944
+ } | {
2945
+ readonly inputs: readonly [];
2946
+ readonly name: "LicensingModule__UnauthorizedAccess";
2947
+ readonly type: "error";
2948
+ } | {
2949
+ readonly inputs: readonly [];
2950
+ readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
2951
+ readonly type: "error";
2952
+ } | {
2953
+ readonly inputs: readonly [];
2954
+ readonly name: "LicensorApprovalChecker__Unauthorized";
2955
+ readonly type: "error";
2956
+ } | {
2957
+ readonly inputs: readonly [];
2958
+ readonly name: "MetadataProvider__HashInvalid";
2959
+ readonly type: "error";
2960
+ } | {
2961
+ readonly inputs: readonly [];
2962
+ readonly name: "MetadataProvider__IPAssetOwnerInvalid";
2963
+ readonly type: "error";
2964
+ } | {
2965
+ readonly inputs: readonly [];
2966
+ readonly name: "MetadataProvider__MetadataNotCompatible";
2967
+ readonly type: "error";
2968
+ } | {
2969
+ readonly inputs: readonly [];
2970
+ readonly name: "MetadataProvider__NameInvalid";
2971
+ readonly type: "error";
2972
+ } | {
2973
+ readonly inputs: readonly [];
2974
+ readonly name: "MetadataProvider__RegistrantInvalid";
2975
+ readonly type: "error";
2976
+ } | {
2977
+ readonly inputs: readonly [];
2978
+ readonly name: "MetadataProvider__RegistrationDateInvalid";
2979
+ readonly type: "error";
2980
+ } | {
2981
+ readonly inputs: readonly [];
2982
+ readonly name: "MetadataProvider__URIInvalid";
2983
+ readonly type: "error";
2984
+ } | {
2985
+ readonly inputs: readonly [];
2986
+ readonly name: "MetadataProvider__Unauthorized";
2987
+ readonly type: "error";
2988
+ } | {
2989
+ readonly inputs: readonly [];
2990
+ readonly name: "MetadataProvider__UpgradeProviderInvalid";
2991
+ readonly type: "error";
2992
+ } | {
2993
+ readonly inputs: readonly [];
2994
+ readonly name: "MetadataProvider__UpgradeUnavailable";
2995
+ readonly type: "error";
2996
+ } | {
2997
+ readonly inputs: readonly [];
2998
+ readonly name: "ModuleRegistry__InterfaceIdZero";
2999
+ readonly type: "error";
3000
+ } | {
3001
+ readonly inputs: readonly [];
3002
+ readonly name: "ModuleRegistry__ModuleAddressNotContract";
3003
+ readonly type: "error";
3004
+ } | {
3005
+ readonly inputs: readonly [];
3006
+ readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
3007
+ readonly type: "error";
3008
+ } | {
3009
+ readonly inputs: readonly [];
3010
+ readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
3011
+ readonly type: "error";
3012
+ } | {
3013
+ readonly inputs: readonly [];
3014
+ readonly name: "ModuleRegistry__ModuleNotRegistered";
3015
+ readonly type: "error";
3016
+ } | {
3017
+ readonly inputs: readonly [];
3018
+ readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
3019
+ readonly type: "error";
3020
+ } | {
3021
+ readonly inputs: readonly [];
3022
+ readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
3023
+ readonly type: "error";
3024
+ } | {
3025
+ readonly inputs: readonly [];
3026
+ readonly name: "ModuleRegistry__ModuleTypeEmptyString";
3027
+ readonly type: "error";
3028
+ } | {
3029
+ readonly inputs: readonly [];
3030
+ readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
3031
+ readonly type: "error";
3032
+ } | {
3033
+ readonly inputs: readonly [];
3034
+ readonly name: "ModuleRegistry__NameAlreadyRegistered";
3035
+ readonly type: "error";
3036
+ } | {
3037
+ readonly inputs: readonly [];
3038
+ readonly name: "ModuleRegistry__NameDoesNotMatch";
3039
+ readonly type: "error";
3040
+ } | {
3041
+ readonly inputs: readonly [];
3042
+ readonly name: "ModuleRegistry__NameEmptyString";
3043
+ readonly type: "error";
3044
+ } | {
3045
+ readonly inputs: readonly [];
3046
+ readonly name: "Module_Unauthorized";
3047
+ readonly type: "error";
3048
+ } | {
3049
+ readonly inputs: readonly [{
3050
+ readonly internalType: "address";
3051
+ readonly name: "commercializer";
3052
+ readonly type: "address";
3053
+ }];
3054
+ readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
3055
+ readonly type: "error";
3056
+ } | {
3057
+ readonly inputs: readonly [];
3058
+ readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
3059
+ readonly type: "error";
3060
+ } | {
3061
+ readonly inputs: readonly [];
3062
+ readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
3063
+ readonly type: "error";
3064
+ } | {
3065
+ readonly inputs: readonly [];
3066
+ readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
3067
+ readonly type: "error";
3068
+ } | {
3069
+ readonly inputs: readonly [];
3070
+ readonly name: "RoyaltyModule__IpIsTagged";
3071
+ readonly type: "error";
3072
+ } | {
3073
+ readonly inputs: readonly [];
3074
+ readonly name: "RoyaltyModule__NoParentsOnLinking";
3075
+ readonly type: "error";
3076
+ } | {
3077
+ readonly inputs: readonly [];
3078
+ readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
3079
+ readonly type: "error";
3080
+ } | {
3081
+ readonly inputs: readonly [];
3082
+ readonly name: "RoyaltyModule__NotAllowedCaller";
3083
+ readonly type: "error";
3084
+ } | {
3085
+ readonly inputs: readonly [];
3086
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
3087
+ readonly type: "error";
3088
+ } | {
3089
+ readonly inputs: readonly [];
3090
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
3091
+ readonly type: "error";
3092
+ } | {
3093
+ readonly inputs: readonly [];
3094
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
3095
+ readonly type: "error";
3096
+ } | {
3097
+ readonly inputs: readonly [];
3098
+ readonly name: "RoyaltyModule__ZeroLicensingModule";
3099
+ readonly type: "error";
3100
+ } | {
3101
+ readonly inputs: readonly [];
3102
+ readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
3103
+ readonly type: "error";
3104
+ } | {
3105
+ readonly inputs: readonly [];
3106
+ readonly name: "RoyaltyModule__ZeroRoyaltyToken";
3107
+ readonly type: "error";
3108
+ } | {
3109
+ readonly inputs: readonly [];
3110
+ readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
3111
+ readonly type: "error";
3112
+ } | {
3113
+ readonly inputs: readonly [];
3114
+ readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
3115
+ readonly type: "error";
3116
+ } | {
3117
+ readonly inputs: readonly [];
3118
+ readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
3119
+ readonly type: "error";
3120
+ } | {
3121
+ readonly inputs: readonly [];
3122
+ readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
3123
+ readonly type: "error";
3124
+ } | {
3125
+ readonly inputs: readonly [];
3126
+ readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
3127
+ readonly type: "error";
3128
+ } | {
3129
+ readonly inputs: readonly [];
3130
+ readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
3131
+ readonly type: "error";
3132
+ } | {
3133
+ readonly inputs: readonly [];
3134
+ readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
3135
+ readonly type: "error";
3136
+ } | {
3137
+ readonly inputs: readonly [];
3138
+ readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
3139
+ readonly type: "error";
3140
+ } | {
3141
+ readonly inputs: readonly [];
3142
+ readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
3143
+ readonly type: "error";
3144
+ } | {
3145
+ readonly inputs: readonly [];
3146
+ readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
3147
+ readonly type: "error";
3148
+ } | {
3149
+ readonly inputs: readonly [];
3150
+ readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
3151
+ readonly type: "error";
3152
+ } | {
3153
+ readonly inputs: readonly [];
3154
+ readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
3155
+ readonly type: "error";
3156
+ } | {
3157
+ readonly inputs: readonly [];
3158
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
3159
+ readonly type: "error";
3160
+ } | {
3161
+ readonly inputs: readonly [];
3162
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
3163
+ readonly type: "error";
3164
+ } | {
3165
+ readonly inputs: readonly [];
3166
+ readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
3167
+ readonly type: "error";
3168
+ } | {
3169
+ readonly anonymous: false;
3170
+ readonly inputs: readonly [{
3171
+ readonly indexed: true;
3172
+ readonly internalType: "uint256";
3173
+ readonly name: "licenseTermsId";
3174
+ readonly type: "uint256";
3175
+ }, {
3176
+ readonly indexed: true;
3177
+ readonly internalType: "address";
3178
+ readonly name: "licenseTemplate";
3179
+ readonly type: "address";
3180
+ }, {
3181
+ readonly indexed: false;
3182
+ readonly internalType: "bytes";
3183
+ readonly name: "licenseTerms";
3184
+ readonly type: "bytes";
3185
+ }];
3186
+ readonly name: "LicenseTermsRegistered";
3187
+ readonly type: "event";
3188
+ } | {
3189
+ readonly inputs: readonly [{
3190
+ readonly components: readonly [{
3191
+ readonly internalType: "bool";
3192
+ readonly name: "transferable";
3193
+ readonly type: "bool";
3194
+ }, {
3195
+ readonly internalType: "address";
3196
+ readonly name: "royaltyPolicy";
3197
+ readonly type: "address";
3198
+ }, {
3199
+ readonly internalType: "uint256";
3200
+ readonly name: "mintingFee";
3201
+ readonly type: "uint256";
3202
+ }, {
3203
+ readonly internalType: "uint256";
3204
+ readonly name: "expiration";
3205
+ readonly type: "uint256";
3206
+ }, {
3207
+ readonly internalType: "bool";
3208
+ readonly name: "commercialUse";
3209
+ readonly type: "bool";
3210
+ }, {
3211
+ readonly internalType: "bool";
3212
+ readonly name: "commercialAttribution";
3213
+ readonly type: "bool";
3214
+ }, {
3215
+ readonly internalType: "address";
3216
+ readonly name: "commercializerChecker";
3217
+ readonly type: "address";
3218
+ }, {
3219
+ readonly internalType: "bytes";
3220
+ readonly name: "commercializerCheckerData";
3221
+ readonly type: "bytes";
3222
+ }, {
3223
+ readonly internalType: "uint32";
3224
+ readonly name: "commercialRevShare";
3225
+ readonly type: "uint32";
3226
+ }, {
3227
+ readonly internalType: "uint256";
3228
+ readonly name: "commercialRevCelling";
3229
+ readonly type: "uint256";
3230
+ }, {
3231
+ readonly internalType: "bool";
3232
+ readonly name: "derivativesAllowed";
3233
+ readonly type: "bool";
3234
+ }, {
3235
+ readonly internalType: "bool";
3236
+ readonly name: "derivativesAttribution";
3237
+ readonly type: "bool";
3238
+ }, {
3239
+ readonly internalType: "bool";
3240
+ readonly name: "derivativesApproval";
3241
+ readonly type: "bool";
3242
+ }, {
3243
+ readonly internalType: "bool";
3244
+ readonly name: "derivativesReciprocal";
3245
+ readonly type: "bool";
3246
+ }, {
3247
+ readonly internalType: "uint256";
3248
+ readonly name: "derivativeRevCelling";
3249
+ readonly type: "uint256";
3250
+ }, {
3251
+ readonly internalType: "address";
3252
+ readonly name: "currency";
3253
+ readonly type: "address";
3254
+ }];
3255
+ readonly internalType: "struct PILTerms";
3256
+ readonly name: "terms";
3257
+ readonly type: "tuple";
3258
+ }];
3259
+ readonly name: "getLicenseTermsId";
3260
+ readonly outputs: readonly [{
3261
+ readonly internalType: "uint256";
3262
+ readonly name: "selectedLicenseTermsId";
3263
+ readonly type: "uint256";
3264
+ }];
3265
+ readonly stateMutability: "view";
3266
+ readonly type: "function";
3267
+ } | {
3268
+ readonly inputs: readonly [{
3269
+ readonly components: readonly [{
3270
+ readonly internalType: "bool";
3271
+ readonly name: "transferable";
3272
+ readonly type: "bool";
3273
+ }, {
3274
+ readonly internalType: "address";
3275
+ readonly name: "royaltyPolicy";
3276
+ readonly type: "address";
3277
+ }, {
3278
+ readonly internalType: "uint256";
3279
+ readonly name: "mintingFee";
3280
+ readonly type: "uint256";
3281
+ }, {
3282
+ readonly internalType: "uint256";
3283
+ readonly name: "expiration";
3284
+ readonly type: "uint256";
3285
+ }, {
3286
+ readonly internalType: "bool";
3287
+ readonly name: "commercialUse";
3288
+ readonly type: "bool";
3289
+ }, {
3290
+ readonly internalType: "bool";
3291
+ readonly name: "commercialAttribution";
3292
+ readonly type: "bool";
3293
+ }, {
3294
+ readonly internalType: "address";
3295
+ readonly name: "commercializerChecker";
3296
+ readonly type: "address";
3297
+ }, {
3298
+ readonly internalType: "bytes";
3299
+ readonly name: "commercializerCheckerData";
3300
+ readonly type: "bytes";
3301
+ }, {
3302
+ readonly internalType: "uint32";
3303
+ readonly name: "commercialRevShare";
3304
+ readonly type: "uint32";
3305
+ }, {
3306
+ readonly internalType: "uint256";
3307
+ readonly name: "commercialRevCelling";
3308
+ readonly type: "uint256";
3309
+ }, {
3310
+ readonly internalType: "bool";
3311
+ readonly name: "derivativesAllowed";
3312
+ readonly type: "bool";
3313
+ }, {
3314
+ readonly internalType: "bool";
3315
+ readonly name: "derivativesAttribution";
3316
+ readonly type: "bool";
3317
+ }, {
3318
+ readonly internalType: "bool";
3319
+ readonly name: "derivativesApproval";
3320
+ readonly type: "bool";
3321
+ }, {
3322
+ readonly internalType: "bool";
3323
+ readonly name: "derivativesReciprocal";
3324
+ readonly type: "bool";
3325
+ }, {
3326
+ readonly internalType: "uint256";
3327
+ readonly name: "derivativeRevCelling";
3328
+ readonly type: "uint256";
3329
+ }, {
3330
+ readonly internalType: "address";
3331
+ readonly name: "currency";
3332
+ readonly type: "address";
3333
+ }];
3334
+ readonly internalType: "struct PILTerms";
3335
+ readonly name: "terms";
3336
+ readonly type: "tuple";
3337
+ }];
3338
+ readonly name: "registerLicenseTerms";
3339
+ readonly outputs: readonly [{
3340
+ readonly internalType: "uint256";
3341
+ readonly name: "selectedLicenseTermsId";
3342
+ readonly type: "uint256";
3343
+ }];
3344
+ readonly stateMutability: "nonpayable";
3345
+ readonly type: "function";
3346
+ })[];
3347
+ address: `0x${string}`;
3348
+ };
3349
+ royaltyPolicyLAPConfig: {
3350
+ abi: ({
3351
+ readonly inputs: readonly [{
3352
+ readonly internalType: "address";
3353
+ readonly name: "caller";
3354
+ readonly type: "address";
3355
+ }];
3356
+ readonly name: "AccessControlled__CallerIsNotIpAccount";
3357
+ readonly type: "error";
3358
+ } | {
3359
+ readonly inputs: readonly [{
3360
+ readonly internalType: "address";
3361
+ readonly name: "ipAccount";
3362
+ readonly type: "address";
3363
+ }];
3364
+ readonly name: "AccessControlled__NotIpAccount";
3365
+ readonly type: "error";
3366
+ } | {
3367
+ readonly inputs: readonly [];
3368
+ readonly name: "AccessControlled__ZeroAddress";
3369
+ readonly type: "error";
3370
+ } | {
3371
+ readonly inputs: readonly [{
3372
+ readonly internalType: "address";
3373
+ readonly name: "signer";
3374
+ readonly type: "address";
3375
+ }, {
3376
+ readonly internalType: "address";
3377
+ readonly name: "to";
3378
+ readonly type: "address";
3379
+ }];
3380
+ readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
3381
+ readonly type: "error";
3382
+ } | {
3383
+ readonly inputs: readonly [];
3384
+ readonly name: "AccessController__CallerIsNotIPAccount";
3385
+ readonly type: "error";
3386
+ } | {
3387
+ readonly inputs: readonly [{
3388
+ readonly internalType: "address";
3389
+ readonly name: "ipAccount";
3390
+ readonly type: "address";
3391
+ }];
3392
+ readonly name: "AccessController__IPAccountIsNotValid";
3393
+ readonly type: "error";
3394
+ } | {
3395
+ readonly inputs: readonly [];
3396
+ readonly name: "AccessController__IPAccountIsZeroAddress";
3397
+ readonly type: "error";
3398
+ } | {
3399
+ readonly inputs: readonly [{
3400
+ readonly internalType: "address";
3401
+ readonly name: "ipAccount";
3402
+ readonly type: "address";
3403
+ }, {
3404
+ readonly internalType: "address";
3405
+ readonly name: "signer";
3406
+ readonly type: "address";
3407
+ }, {
3408
+ readonly internalType: "address";
3409
+ readonly name: "to";
3410
+ readonly type: "address";
3411
+ }, {
3412
+ readonly internalType: "bytes4";
3413
+ readonly name: "func";
3414
+ readonly type: "bytes4";
3415
+ }];
3416
+ readonly name: "AccessController__PermissionDenied";
3417
+ readonly type: "error";
3418
+ } | {
3419
+ readonly inputs: readonly [];
3420
+ readonly name: "AccessController__PermissionIsNotValid";
3421
+ readonly type: "error";
3422
+ } | {
3423
+ readonly inputs: readonly [];
3424
+ readonly name: "AccessController__SignerIsZeroAddress";
3425
+ readonly type: "error";
3426
+ } | {
3427
+ readonly inputs: readonly [];
3428
+ readonly name: "ArbitrationPolicySP__NotDisputeModule";
3429
+ readonly type: "error";
3430
+ } | {
3431
+ readonly inputs: readonly [];
3432
+ readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
3433
+ readonly type: "error";
3434
+ } | {
3435
+ readonly inputs: readonly [];
3436
+ readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
3437
+ readonly type: "error";
3438
+ } | {
3439
+ readonly inputs: readonly [];
3440
+ readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
3441
+ readonly type: "error";
3442
+ } | {
3443
+ readonly inputs: readonly [];
3444
+ readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
3445
+ readonly type: "error";
3446
+ } | {
3447
+ readonly inputs: readonly [];
3448
+ readonly name: "DisputeModule__NotAbleToResolve";
3449
+ readonly type: "error";
3450
+ } | {
3451
+ readonly inputs: readonly [];
3452
+ readonly name: "DisputeModule__NotDisputeInitiator";
3453
+ readonly type: "error";
3454
+ } | {
3455
+ readonly inputs: readonly [];
3456
+ readonly name: "DisputeModule__NotInDisputeState";
3457
+ readonly type: "error";
3458
+ } | {
3459
+ readonly inputs: readonly [];
3460
+ readonly name: "DisputeModule__NotRegisteredIpId";
3461
+ readonly type: "error";
3462
+ } | {
3463
+ readonly inputs: readonly [];
3464
+ readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
3465
+ readonly type: "error";
3466
+ } | {
3467
+ readonly inputs: readonly [];
3468
+ readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
3469
+ readonly type: "error";
3470
+ } | {
3471
+ readonly inputs: readonly [];
3472
+ readonly name: "DisputeModule__NotWhitelistedDisputeTag";
3473
+ readonly type: "error";
3474
+ } | {
3475
+ readonly inputs: readonly [];
3476
+ readonly name: "DisputeModule__ZeroArbitrationPolicy";
3477
+ readonly type: "error";
3478
+ } | {
3479
+ readonly inputs: readonly [];
3480
+ readonly name: "DisputeModule__ZeroArbitrationRelayer";
3481
+ readonly type: "error";
3482
+ } | {
3483
+ readonly inputs: readonly [];
3484
+ readonly name: "DisputeModule__ZeroDisputeTag";
3485
+ readonly type: "error";
3486
+ } | {
3487
+ readonly inputs: readonly [];
3488
+ readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
3489
+ readonly type: "error";
3490
+ } | {
3491
+ readonly inputs: readonly [];
3492
+ readonly name: "Governance__InconsistentState";
3493
+ readonly type: "error";
3494
+ } | {
3495
+ readonly inputs: readonly [];
3496
+ readonly name: "Governance__NewStateIsTheSameWithOldState";
3497
+ readonly type: "error";
3498
+ } | {
3499
+ readonly inputs: readonly [];
3500
+ readonly name: "Governance__OnlyProtocolAdmin";
3501
+ readonly type: "error";
3502
+ } | {
3503
+ readonly inputs: readonly [];
3504
+ readonly name: "Governance__ProtocolPaused";
3505
+ readonly type: "error";
3506
+ } | {
3507
+ readonly inputs: readonly [{
3508
+ readonly internalType: "string";
3509
+ readonly name: "interfaceName";
3510
+ readonly type: "string";
3511
+ }];
3512
+ readonly name: "Governance__UnsupportedInterface";
3513
+ readonly type: "error";
3514
+ } | {
3515
+ readonly inputs: readonly [];
3516
+ readonly name: "Governance__ZeroAddress";
3517
+ readonly type: "error";
3518
+ } | {
3519
+ readonly inputs: readonly [];
3520
+ readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
3521
+ readonly type: "error";
3522
+ } | {
3523
+ readonly inputs: readonly [];
3524
+ readonly name: "IPAccount__ExpiredSignature";
3525
+ readonly type: "error";
3526
+ } | {
3527
+ readonly inputs: readonly [];
3528
+ readonly name: "IPAccount__InvalidAccessController";
3529
+ readonly type: "error";
3530
+ } | {
3531
+ readonly inputs: readonly [];
3532
+ readonly name: "IPAccount__InvalidCalldata";
3533
+ readonly type: "error";
3534
+ } | {
3535
+ readonly inputs: readonly [];
3536
+ readonly name: "IPAccount__InvalidSignature";
3537
+ readonly type: "error";
3538
+ } | {
3539
+ readonly inputs: readonly [];
3540
+ readonly name: "IPAccount__InvalidSigner";
3541
+ readonly type: "error";
3542
+ } | {
3543
+ readonly inputs: readonly [];
3544
+ readonly name: "IPAssetRegistry__AlreadyRegistered";
3545
+ readonly type: "error";
3546
+ } | {
3547
+ readonly inputs: readonly [];
3548
+ readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
3549
+ readonly type: "error";
3550
+ } | {
3551
+ readonly inputs: readonly [];
3552
+ readonly name: "IPAssetRegistry__InvalidAccount";
3553
+ readonly type: "error";
3554
+ } | {
3555
+ readonly inputs: readonly [];
3556
+ readonly name: "IPAssetRegistry__InvalidMetadataProvider";
3557
+ readonly type: "error";
3558
+ } | {
3559
+ readonly inputs: readonly [{
3560
+ readonly internalType: "address";
3561
+ readonly name: "contractAddress";
3562
+ readonly type: "address";
3563
+ }, {
3564
+ readonly internalType: "uint256";
3565
+ readonly name: "tokenId";
3566
+ readonly type: "uint256";
3567
+ }];
3568
+ readonly name: "IPAssetRegistry__InvalidToken";
3569
+ readonly type: "error";
3570
+ } | {
3571
+ readonly inputs: readonly [];
3572
+ readonly name: "IPAssetRegistry__NotYetRegistered";
3573
+ readonly type: "error";
3574
+ } | {
3575
+ readonly inputs: readonly [];
3576
+ readonly name: "IPAssetRegistry__RegistrantUnauthorized";
3577
+ readonly type: "error";
3578
+ } | {
3579
+ readonly inputs: readonly [];
3580
+ readonly name: "IPAssetRegistry__ResolverInvalid";
3581
+ readonly type: "error";
3582
+ } | {
3583
+ readonly inputs: readonly [];
3584
+ readonly name: "IPAssetRegistry__Unauthorized";
3585
+ readonly type: "error";
3586
+ } | {
3587
+ readonly inputs: readonly [{
3588
+ readonly internalType: "address";
3589
+ readonly name: "contractAddress";
3590
+ readonly type: "address";
3591
+ }];
3592
+ readonly name: "IPAssetRegistry__UnsupportedIERC721";
3593
+ readonly type: "error";
3594
+ } | {
3595
+ readonly inputs: readonly [{
3596
+ readonly internalType: "address";
3597
+ readonly name: "contractAddress";
3598
+ readonly type: "address";
3599
+ }];
3600
+ readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
3601
+ readonly type: "error";
3602
+ } | {
3603
+ readonly inputs: readonly [];
3604
+ readonly name: "IPResolver_InvalidIP";
3605
+ readonly type: "error";
3606
+ } | {
3607
+ readonly inputs: readonly [];
3608
+ readonly name: "IPResolver_Unauthorized";
3609
+ readonly type: "error";
3610
+ } | {
3611
+ readonly inputs: readonly [];
3612
+ readonly name: "IpRoyaltyVault__AlreadyClaimed";
3613
+ readonly type: "error";
3614
+ } | {
3615
+ readonly inputs: readonly [];
3616
+ readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
3617
+ readonly type: "error";
3618
+ } | {
3619
+ readonly inputs: readonly [];
3620
+ readonly name: "IpRoyaltyVault__IpTagged";
3621
+ readonly type: "error";
3622
+ } | {
3623
+ readonly inputs: readonly [];
3624
+ readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
3625
+ readonly type: "error";
3626
+ } | {
3627
+ readonly inputs: readonly [];
3628
+ readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
3629
+ readonly type: "error";
3630
+ } | {
3631
+ readonly inputs: readonly [];
3632
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
3633
+ readonly type: "error";
3634
+ } | {
3635
+ readonly inputs: readonly [];
3636
+ readonly name: "IpRoyaltyVault__ZeroIpId";
3637
+ readonly type: "error";
3638
+ } | {
3639
+ readonly inputs: readonly [];
3640
+ readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
3641
+ readonly type: "error";
3642
+ } | {
3643
+ readonly inputs: readonly [];
3644
+ readonly name: "LicenseRegistry__CallerNotLicensingModule";
3645
+ readonly type: "error";
3646
+ } | {
3647
+ readonly inputs: readonly [{
3648
+ readonly internalType: "address";
3649
+ readonly name: "childIpId";
3650
+ readonly type: "address";
3651
+ }];
3652
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
3653
+ readonly type: "error";
3654
+ } | {
3655
+ readonly inputs: readonly [{
3656
+ readonly internalType: "address";
3657
+ readonly name: "childIpId";
3658
+ readonly type: "address";
3659
+ }];
3660
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
3661
+ readonly type: "error";
3662
+ } | {
3663
+ readonly inputs: readonly [{
3664
+ readonly internalType: "address";
3665
+ readonly name: "ipId";
3666
+ readonly type: "address";
3667
+ }];
3668
+ readonly name: "LicenseRegistry__DerivativeIsParent";
3669
+ readonly type: "error";
3670
+ } | {
3671
+ readonly inputs: readonly [{
3672
+ readonly internalType: "address";
3673
+ readonly name: "ipId";
3674
+ readonly type: "address";
3675
+ }, {
3676
+ readonly internalType: "uint256";
3677
+ readonly name: "index";
3678
+ readonly type: "uint256";
3679
+ }, {
3680
+ readonly internalType: "uint256";
3681
+ readonly name: "length";
3682
+ readonly type: "uint256";
3683
+ }];
3684
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
3685
+ readonly type: "error";
3686
+ } | {
3687
+ readonly inputs: readonly [{
3688
+ readonly internalType: "address";
3689
+ readonly name: "ipId";
3690
+ readonly type: "address";
3691
+ }];
3692
+ readonly name: "LicenseRegistry__IpExpired";
3693
+ readonly type: "error";
3694
+ } | {
3695
+ readonly inputs: readonly [{
3696
+ readonly internalType: "address";
3697
+ readonly name: "licenseTemplate";
3698
+ readonly type: "address";
3699
+ }, {
3700
+ readonly internalType: "uint256";
3701
+ readonly name: "licenseTermsId";
3702
+ readonly type: "uint256";
3703
+ }];
3704
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
3705
+ readonly type: "error";
3706
+ } | {
3707
+ readonly inputs: readonly [];
3708
+ readonly name: "LicenseRegistry__NoParentIp";
3709
+ readonly type: "error";
3710
+ } | {
3711
+ readonly inputs: readonly [{
3712
+ readonly internalType: "address";
3713
+ readonly name: "licenseTemplate";
3714
+ readonly type: "address";
3715
+ }];
3716
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
3717
+ readonly type: "error";
3718
+ } | {
3719
+ readonly inputs: readonly [];
3720
+ readonly name: "LicenseRegistry__NotTransferable";
3721
+ readonly type: "error";
3722
+ } | {
3723
+ readonly inputs: readonly [{
3724
+ readonly internalType: "address";
3725
+ readonly name: "ipId";
3726
+ readonly type: "address";
3727
+ }];
3728
+ readonly name: "LicenseRegistry__ParentIpExpired";
3729
+ readonly type: "error";
3730
+ } | {
3731
+ readonly inputs: readonly [{
3732
+ readonly internalType: "address";
3733
+ readonly name: "ipId";
3734
+ readonly type: "address";
3735
+ }, {
3736
+ readonly internalType: "uint256";
3737
+ readonly name: "licenseTermsId";
3738
+ readonly type: "uint256";
3739
+ }];
3740
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
3741
+ readonly type: "error";
3742
+ } | {
3743
+ readonly inputs: readonly [{
3744
+ readonly internalType: "address";
3745
+ readonly name: "ipId";
3746
+ readonly type: "address";
3747
+ }];
3748
+ readonly name: "LicenseRegistry__ParentIpTagged";
3749
+ readonly type: "error";
3750
+ } | {
3751
+ readonly inputs: readonly [{
3752
+ readonly internalType: "address";
3753
+ readonly name: "ipId";
3754
+ readonly type: "address";
3755
+ }, {
3756
+ readonly internalType: "address";
3757
+ readonly name: "licenseTemplate";
3758
+ readonly type: "address";
3759
+ }];
3760
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
3761
+ readonly type: "error";
3762
+ } | {
3763
+ readonly inputs: readonly [{
3764
+ readonly internalType: "address";
3765
+ readonly name: "licenseTemplate";
3766
+ readonly type: "address";
3767
+ }];
3768
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
3769
+ readonly type: "error";
3770
+ } | {
3771
+ readonly inputs: readonly [];
3772
+ readonly name: "LicenseRegistry__ZeroDisputeModule";
3773
+ readonly type: "error";
3774
+ } | {
3775
+ readonly inputs: readonly [];
3776
+ readonly name: "LicenseRegistry__ZeroLicensingModule";
3777
+ readonly type: "error";
3778
+ } | {
3779
+ readonly inputs: readonly [{
3780
+ readonly internalType: "address";
3781
+ readonly name: "licenseTemplate";
3782
+ readonly type: "address";
3783
+ }, {
3784
+ readonly internalType: "address";
3785
+ readonly name: "anotherLicenseTemplate";
3786
+ readonly type: "address";
3787
+ }];
3788
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
3789
+ readonly type: "error";
3790
+ } | {
3791
+ readonly inputs: readonly [];
3792
+ readonly name: "LicenseToken__CallerNotLicensingModule";
3793
+ readonly type: "error";
3794
+ } | {
3795
+ readonly inputs: readonly [{
3796
+ readonly internalType: "uint256";
3797
+ readonly name: "tokenId";
3798
+ readonly type: "uint256";
3799
+ }, {
3800
+ readonly internalType: "uint256";
3801
+ readonly name: "expiredAt";
3802
+ readonly type: "uint256";
3803
+ }, {
3804
+ readonly internalType: "uint256";
3805
+ readonly name: "currentTimestamp";
3806
+ readonly type: "uint256";
3807
+ }];
3808
+ readonly name: "LicenseToken__LicenseTokenExpired";
3809
+ readonly type: "error";
3810
+ } | {
3811
+ readonly inputs: readonly [{
3812
+ readonly internalType: "uint256";
3813
+ readonly name: "tokenId";
3814
+ readonly type: "uint256";
3815
+ }, {
3816
+ readonly internalType: "address";
3817
+ readonly name: "iPowner";
3818
+ readonly type: "address";
3819
+ }, {
3820
+ readonly internalType: "address";
3821
+ readonly name: "tokenOwner";
3822
+ readonly type: "address";
3823
+ }];
3824
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
3825
+ readonly type: "error";
3826
+ } | {
3827
+ readonly inputs: readonly [];
3828
+ readonly name: "LicenseToken__NotTransferable";
3829
+ readonly type: "error";
3830
+ } | {
3831
+ readonly inputs: readonly [{
3832
+ readonly internalType: "uint256";
3833
+ readonly name: "tokenId";
3834
+ readonly type: "uint256";
3835
+ }];
3836
+ readonly name: "LicenseToken__RevokedLicense";
3837
+ readonly type: "error";
3838
+ } | {
3839
+ readonly inputs: readonly [];
3840
+ readonly name: "LicenseToken__ZeroDisputeModule";
3841
+ readonly type: "error";
3842
+ } | {
3843
+ readonly inputs: readonly [];
3844
+ readonly name: "LicenseToken__ZeroLicensingModule";
3845
+ readonly type: "error";
3846
+ } | {
3847
+ readonly inputs: readonly [];
3848
+ readonly name: "LicensingModule__CallerNotLicenseRegistry";
3849
+ readonly type: "error";
3850
+ } | {
3851
+ readonly inputs: readonly [{
3852
+ readonly internalType: "address";
3853
+ readonly name: "caller";
3854
+ readonly type: "address";
3855
+ }, {
3856
+ readonly internalType: "address";
3857
+ readonly name: "licensorIpId";
3858
+ readonly type: "address";
3859
+ }, {
3860
+ readonly internalType: "address";
3861
+ readonly name: "licenseTemplate";
3862
+ readonly type: "address";
3863
+ }, {
3864
+ readonly internalType: "uint256";
3865
+ readonly name: "licenseTermsId";
3866
+ readonly type: "uint256";
3867
+ }];
3868
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
3869
+ readonly type: "error";
3870
+ } | {
3871
+ readonly inputs: readonly [];
3872
+ readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
3873
+ readonly type: "error";
3874
+ } | {
3875
+ readonly inputs: readonly [];
3876
+ readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
3877
+ readonly type: "error";
3878
+ } | {
3879
+ readonly inputs: readonly [{
3880
+ readonly internalType: "address";
3881
+ readonly name: "ipId";
3882
+ readonly type: "address";
3883
+ }];
3884
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
3885
+ readonly type: "error";
3886
+ } | {
3887
+ readonly inputs: readonly [];
3888
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
3889
+ readonly type: "error";
3890
+ } | {
3891
+ readonly inputs: readonly [];
3892
+ readonly name: "LicensingModule__DerivativeIsParent";
3893
+ readonly type: "error";
3894
+ } | {
3895
+ readonly inputs: readonly [];
3896
+ readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
3897
+ readonly type: "error";
3898
+ } | {
3899
+ readonly inputs: readonly [];
3900
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
3901
+ readonly type: "error";
3902
+ } | {
3903
+ readonly inputs: readonly [];
3904
+ readonly name: "LicensingModule__DerivativesCannotAddPolicy";
3905
+ readonly type: "error";
3906
+ } | {
3907
+ readonly inputs: readonly [];
3908
+ readonly name: "LicensingModule__DisputedIpId";
3909
+ readonly type: "error";
3910
+ } | {
3911
+ readonly inputs: readonly [];
3912
+ readonly name: "LicensingModule__EmptyLicenseUrl";
3913
+ readonly type: "error";
3914
+ } | {
3915
+ readonly inputs: readonly [];
3916
+ readonly name: "LicensingModule__EmptyParamName";
3917
+ readonly type: "error";
3918
+ } | {
3919
+ readonly inputs: readonly [];
3920
+ readonly name: "LicensingModule__FrameworkNotFound";
3921
+ readonly type: "error";
3922
+ } | {
3923
+ readonly inputs: readonly [];
3924
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
3925
+ readonly type: "error";
3926
+ } | {
3927
+ readonly inputs: readonly [{
3928
+ readonly internalType: "address";
3929
+ readonly name: "royaltyPolicy";
3930
+ readonly type: "address";
3931
+ }, {
3932
+ readonly internalType: "address";
3933
+ readonly name: "anotherRoyaltyPolicy";
3934
+ readonly type: "address";
3935
+ }];
3936
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
3937
+ readonly type: "error";
3938
+ } | {
3939
+ readonly inputs: readonly [];
3940
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
3941
+ readonly type: "error";
3942
+ } | {
3943
+ readonly inputs: readonly [];
3944
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
3945
+ readonly type: "error";
3946
+ } | {
3947
+ readonly inputs: readonly [];
3948
+ readonly name: "LicensingModule__InvalidLicensor";
3949
+ readonly type: "error";
3950
+ } | {
3951
+ readonly inputs: readonly [];
3952
+ readonly name: "LicensingModule__InvalidPolicyFramework";
3953
+ readonly type: "error";
3954
+ } | {
3955
+ readonly inputs: readonly [];
3956
+ readonly name: "LicensingModule__IpAlreadyLinked";
3957
+ readonly type: "error";
3958
+ } | {
3959
+ readonly inputs: readonly [{
3960
+ readonly internalType: "address";
3961
+ readonly name: "childIpId";
3962
+ readonly type: "address";
3963
+ }];
3964
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
3965
+ readonly type: "error";
3966
+ } | {
3967
+ readonly inputs: readonly [{
3968
+ readonly internalType: "uint256";
3969
+ readonly name: "ipLength";
3970
+ readonly type: "uint256";
3971
+ }, {
3972
+ readonly internalType: "uint256";
3973
+ readonly name: "licenseTermsLength";
3974
+ readonly type: "uint256";
3975
+ }];
3976
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
3977
+ readonly type: "error";
3978
+ } | {
3979
+ readonly inputs: readonly [{
3980
+ readonly internalType: "address";
3981
+ readonly name: "licenseTemplate";
3982
+ readonly type: "address";
3983
+ }, {
3984
+ readonly internalType: "uint256";
3985
+ readonly name: "licenseTermsId";
3986
+ readonly type: "uint256";
3987
+ }];
3988
+ readonly name: "LicensingModule__LicenseTermsNotFound";
3989
+ readonly type: "error";
3990
+ } | {
3991
+ readonly inputs: readonly [{
3992
+ readonly internalType: "address";
3993
+ readonly name: "childIpId";
3994
+ readonly type: "address";
3995
+ }, {
3996
+ readonly internalType: "uint256[]";
3997
+ readonly name: "licenseTokenIds";
3998
+ readonly type: "uint256[]";
3999
+ }];
4000
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
4001
+ readonly type: "error";
4002
+ } | {
4003
+ readonly inputs: readonly [];
4004
+ readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
4005
+ readonly type: "error";
4006
+ } | {
4007
+ readonly inputs: readonly [];
4008
+ readonly name: "LicensingModule__LicensorNotRegistered";
4009
+ readonly type: "error";
4010
+ } | {
4011
+ readonly inputs: readonly [];
4012
+ readonly name: "LicensingModule__LinkParentParamFailed";
4013
+ readonly type: "error";
4014
+ } | {
4015
+ readonly inputs: readonly [];
4016
+ readonly name: "LicensingModule__LinkingRevokedLicense";
4017
+ readonly type: "error";
4018
+ } | {
4019
+ readonly inputs: readonly [];
4020
+ readonly name: "LicensingModule__MintAmountZero";
4021
+ readonly type: "error";
4022
+ } | {
4023
+ readonly inputs: readonly [];
4024
+ readonly name: "LicensingModule__MintLicenseParamFailed";
4025
+ readonly type: "error";
4026
+ } | {
4027
+ readonly inputs: readonly [];
4028
+ readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
4029
+ readonly type: "error";
4030
+ } | {
4031
+ readonly inputs: readonly [];
4032
+ readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
4033
+ readonly type: "error";
4034
+ } | {
4035
+ readonly inputs: readonly [];
4036
+ readonly name: "LicensingModule__NoLicenseToken";
4037
+ readonly type: "error";
4038
+ } | {
4039
+ readonly inputs: readonly [];
4040
+ readonly name: "LicensingModule__NoParentIp";
4041
+ readonly type: "error";
4042
+ } | {
4043
+ readonly inputs: readonly [];
4044
+ readonly name: "LicensingModule__NotLicensee";
4045
+ readonly type: "error";
4046
+ } | {
4047
+ readonly inputs: readonly [];
4048
+ readonly name: "LicensingModule__ParamVerifierAlreadySet";
4049
+ readonly type: "error";
4050
+ } | {
4051
+ readonly inputs: readonly [];
4052
+ readonly name: "LicensingModule__ParamVerifierLengthMismatch";
4053
+ readonly type: "error";
4054
+ } | {
4055
+ readonly inputs: readonly [];
4056
+ readonly name: "LicensingModule__ParentIdEqualThanChild";
4057
+ readonly type: "error";
4058
+ } | {
4059
+ readonly inputs: readonly [{
4060
+ readonly internalType: "address";
4061
+ readonly name: "ipId";
4062
+ readonly type: "address";
4063
+ }];
4064
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
4065
+ readonly type: "error";
4066
+ } | {
4067
+ readonly inputs: readonly [];
4068
+ readonly name: "LicensingModule__PolicyAlreadySetForIpId";
4069
+ readonly type: "error";
4070
+ } | {
4071
+ readonly inputs: readonly [];
4072
+ readonly name: "LicensingModule__PolicyNotFound";
4073
+ readonly type: "error";
4074
+ } | {
4075
+ readonly inputs: readonly [{
4076
+ readonly internalType: "address";
4077
+ readonly name: "receiver";
4078
+ readonly type: "address";
4079
+ }];
4080
+ readonly name: "LicensingModule__ReceiverCheckFailed";
4081
+ readonly type: "error";
4082
+ } | {
4083
+ readonly inputs: readonly [];
4084
+ readonly name: "LicensingModule__ReceiverZeroAddress";
4085
+ readonly type: "error";
4086
+ } | {
4087
+ readonly inputs: readonly [];
4088
+ readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
4089
+ readonly type: "error";
4090
+ } | {
4091
+ readonly inputs: readonly [];
4092
+ readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
4093
+ readonly type: "error";
4094
+ } | {
4095
+ readonly inputs: readonly [];
4096
+ readonly name: "LicensingModule__TransferParamFailed";
4097
+ readonly type: "error";
4098
+ } | {
4099
+ readonly inputs: readonly [];
4100
+ readonly name: "LicensingModule__UnauthorizedAccess";
4101
+ readonly type: "error";
4102
+ } | {
4103
+ readonly inputs: readonly [];
4104
+ readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
4105
+ readonly type: "error";
4106
+ } | {
4107
+ readonly inputs: readonly [];
4108
+ readonly name: "LicensorApprovalChecker__Unauthorized";
4109
+ readonly type: "error";
4110
+ } | {
4111
+ readonly inputs: readonly [];
4112
+ readonly name: "MetadataProvider__HashInvalid";
4113
+ readonly type: "error";
4114
+ } | {
4115
+ readonly inputs: readonly [];
4116
+ readonly name: "MetadataProvider__IPAssetOwnerInvalid";
4117
+ readonly type: "error";
4118
+ } | {
4119
+ readonly inputs: readonly [];
4120
+ readonly name: "MetadataProvider__MetadataNotCompatible";
4121
+ readonly type: "error";
4122
+ } | {
4123
+ readonly inputs: readonly [];
4124
+ readonly name: "MetadataProvider__NameInvalid";
4125
+ readonly type: "error";
4126
+ } | {
4127
+ readonly inputs: readonly [];
4128
+ readonly name: "MetadataProvider__RegistrantInvalid";
4129
+ readonly type: "error";
4130
+ } | {
4131
+ readonly inputs: readonly [];
4132
+ readonly name: "MetadataProvider__RegistrationDateInvalid";
4133
+ readonly type: "error";
4134
+ } | {
4135
+ readonly inputs: readonly [];
4136
+ readonly name: "MetadataProvider__URIInvalid";
4137
+ readonly type: "error";
4138
+ } | {
4139
+ readonly inputs: readonly [];
4140
+ readonly name: "MetadataProvider__Unauthorized";
4141
+ readonly type: "error";
4142
+ } | {
4143
+ readonly inputs: readonly [];
4144
+ readonly name: "MetadataProvider__UpgradeProviderInvalid";
4145
+ readonly type: "error";
4146
+ } | {
4147
+ readonly inputs: readonly [];
4148
+ readonly name: "MetadataProvider__UpgradeUnavailable";
4149
+ readonly type: "error";
4150
+ } | {
4151
+ readonly inputs: readonly [];
4152
+ readonly name: "ModuleRegistry__InterfaceIdZero";
4153
+ readonly type: "error";
4154
+ } | {
4155
+ readonly inputs: readonly [];
4156
+ readonly name: "ModuleRegistry__ModuleAddressNotContract";
4157
+ readonly type: "error";
4158
+ } | {
4159
+ readonly inputs: readonly [];
4160
+ readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
4161
+ readonly type: "error";
4162
+ } | {
4163
+ readonly inputs: readonly [];
4164
+ readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
4165
+ readonly type: "error";
4166
+ } | {
4167
+ readonly inputs: readonly [];
4168
+ readonly name: "ModuleRegistry__ModuleNotRegistered";
4169
+ readonly type: "error";
4170
+ } | {
4171
+ readonly inputs: readonly [];
4172
+ readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
4173
+ readonly type: "error";
4174
+ } | {
4175
+ readonly inputs: readonly [];
4176
+ readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
4177
+ readonly type: "error";
4178
+ } | {
4179
+ readonly inputs: readonly [];
4180
+ readonly name: "ModuleRegistry__ModuleTypeEmptyString";
4181
+ readonly type: "error";
4182
+ } | {
4183
+ readonly inputs: readonly [];
4184
+ readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
4185
+ readonly type: "error";
4186
+ } | {
4187
+ readonly inputs: readonly [];
4188
+ readonly name: "ModuleRegistry__NameAlreadyRegistered";
4189
+ readonly type: "error";
4190
+ } | {
4191
+ readonly inputs: readonly [];
4192
+ readonly name: "ModuleRegistry__NameDoesNotMatch";
4193
+ readonly type: "error";
4194
+ } | {
4195
+ readonly inputs: readonly [];
4196
+ readonly name: "ModuleRegistry__NameEmptyString";
4197
+ readonly type: "error";
4198
+ } | {
4199
+ readonly inputs: readonly [];
4200
+ readonly name: "Module_Unauthorized";
4201
+ readonly type: "error";
4202
+ } | {
4203
+ readonly inputs: readonly [{
4204
+ readonly internalType: "address";
4205
+ readonly name: "commercializer";
4206
+ readonly type: "address";
4207
+ }];
4208
+ readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
4209
+ readonly type: "error";
4210
+ } | {
4211
+ readonly inputs: readonly [];
4212
+ readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
4213
+ readonly type: "error";
4214
+ } | {
4215
+ readonly inputs: readonly [];
4216
+ readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
4217
+ readonly type: "error";
4218
+ } | {
4219
+ readonly inputs: readonly [];
4220
+ readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
4221
+ readonly type: "error";
4222
+ } | {
4223
+ readonly inputs: readonly [];
4224
+ readonly name: "RoyaltyModule__IpIsTagged";
4225
+ readonly type: "error";
4226
+ } | {
4227
+ readonly inputs: readonly [];
4228
+ readonly name: "RoyaltyModule__NoParentsOnLinking";
4229
+ readonly type: "error";
4230
+ } | {
4231
+ readonly inputs: readonly [];
4232
+ readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
4233
+ readonly type: "error";
4234
+ } | {
4235
+ readonly inputs: readonly [];
4236
+ readonly name: "RoyaltyModule__NotAllowedCaller";
4237
+ readonly type: "error";
4238
+ } | {
4239
+ readonly inputs: readonly [];
4240
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
4241
+ readonly type: "error";
4242
+ } | {
4243
+ readonly inputs: readonly [];
4244
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
4245
+ readonly type: "error";
4246
+ } | {
4247
+ readonly inputs: readonly [];
4248
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
4249
+ readonly type: "error";
4250
+ } | {
4251
+ readonly inputs: readonly [];
4252
+ readonly name: "RoyaltyModule__ZeroLicensingModule";
4253
+ readonly type: "error";
4254
+ } | {
4255
+ readonly inputs: readonly [];
4256
+ readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
4257
+ readonly type: "error";
4258
+ } | {
4259
+ readonly inputs: readonly [];
4260
+ readonly name: "RoyaltyModule__ZeroRoyaltyToken";
4261
+ readonly type: "error";
4262
+ } | {
4263
+ readonly inputs: readonly [];
4264
+ readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
4265
+ readonly type: "error";
4266
+ } | {
4267
+ readonly inputs: readonly [];
4268
+ readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
4269
+ readonly type: "error";
4270
+ } | {
4271
+ readonly inputs: readonly [];
4272
+ readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
4273
+ readonly type: "error";
4274
+ } | {
4275
+ readonly inputs: readonly [];
4276
+ readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
4277
+ readonly type: "error";
4278
+ } | {
4279
+ readonly inputs: readonly [];
4280
+ readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
4281
+ readonly type: "error";
4282
+ } | {
4283
+ readonly inputs: readonly [];
4284
+ readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
4285
+ readonly type: "error";
4286
+ } | {
4287
+ readonly inputs: readonly [];
4288
+ readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
4289
+ readonly type: "error";
4290
+ } | {
4291
+ readonly inputs: readonly [];
4292
+ readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
4293
+ readonly type: "error";
4294
+ } | {
4295
+ readonly inputs: readonly [];
4296
+ readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
4297
+ readonly type: "error";
4298
+ } | {
4299
+ readonly inputs: readonly [];
4300
+ readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
4301
+ readonly type: "error";
4302
+ } | {
4303
+ readonly inputs: readonly [];
4304
+ readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
4305
+ readonly type: "error";
4306
+ } | {
4307
+ readonly inputs: readonly [];
4308
+ readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
4309
+ readonly type: "error";
4310
+ } | {
4311
+ readonly inputs: readonly [];
4312
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
4313
+ readonly type: "error";
4314
+ } | {
4315
+ readonly inputs: readonly [];
4316
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
4317
+ readonly type: "error";
4318
+ } | {
4319
+ readonly inputs: readonly [];
4320
+ readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
4321
+ readonly type: "error";
4322
+ } | {
4323
+ readonly inputs: readonly [{
4324
+ readonly internalType: "address";
4325
+ readonly name: "ipId";
4326
+ readonly type: "address";
4327
+ }];
4328
+ readonly name: "getRoyaltyData";
4329
+ readonly outputs: readonly [{
4330
+ readonly internalType: "bool";
4331
+ readonly name: "";
4332
+ readonly type: "bool";
4333
+ }, {
4334
+ readonly internalType: "address";
4335
+ readonly name: "";
4336
+ readonly type: "address";
4337
+ }, {
4338
+ readonly internalType: "uint32";
4339
+ readonly name: "";
4340
+ readonly type: "uint32";
4341
+ }, {
4342
+ readonly internalType: "address[]";
4343
+ readonly name: "";
4344
+ readonly type: "address[]";
4345
+ }, {
4346
+ readonly internalType: "uint32[]";
4347
+ readonly name: "";
4348
+ readonly type: "uint32[]";
4349
+ }];
4350
+ readonly stateMutability: "view";
4351
+ readonly type: "function";
4352
+ } | {
4353
+ readonly inputs: readonly [{
4354
+ readonly internalType: "address";
4355
+ readonly name: "caller";
4356
+ readonly type: "address";
4357
+ }, {
4358
+ readonly internalType: "address";
4359
+ readonly name: "ipId";
4360
+ readonly type: "address";
4361
+ }, {
4362
+ readonly internalType: "address";
4363
+ readonly name: "token";
4364
+ readonly type: "address";
4365
+ }, {
4366
+ readonly internalType: "uint256";
4367
+ readonly name: "amount";
4368
+ readonly type: "uint256";
4369
+ }];
4370
+ readonly name: "onRoyaltyPayment";
4371
+ readonly outputs: readonly [];
4372
+ readonly stateMutability: "nonpayable";
4373
+ readonly type: "function";
4374
+ })[];
4375
+ address: `0x${string}`;
4376
+ };
4377
+ constructor(rpcClient: PublicClient, wallet: WalletClient, storyClient: StoryAPIClient, chainId: SupportedChainIds);
4378
+ private getLicenseTermsId;
4379
+ /**
4380
+ * Convenient function to register a PIL non commercial social remix license to the registry
4381
+ * @param request The request object that contains all data needed to register a PIL non commercial social remix license.
4382
+ * @param request.txOptions [Optional] The transaction options.
4383
+ * @returns A Promise that resolves to an object containing the optional transaction hash and optional license ID.
4384
+ * @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
4385
+ */
4386
+ registerNonComSocialRemixingPIL(request: RegisterLicenseTermsRequest): Promise<RegisterPILResponse>;
4387
+ /**
4388
+ * Convenient function to register a PIL commercial use license to the registry.
4389
+ * @param request The request object that contains all data needed to register a PIL commercial use license.
4390
+ * @param request.mintingFee The fee to be paid when minting a license.
4391
+ * @param request.currency The ERC20 token to be used to pay the minting fee.
4392
+ * the token must be registered in story protocol.
4393
+ * @param request.royaltyPolicy The address of the royalty policy contract which required to StoryProtocol in advance.
4394
+ * @param request.txOptions [Optional] The transaction options.
4395
+ * @returns A Promise that resolves to an object containing the optional transaction hash and optional license ID.
4396
+ * @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
4397
+ */
4398
+ registerCommercialUsePIL(request: RegisterCommercialUsePILRequest): Promise<RegisterPILResponse>;
4399
+ /**
4400
+ * Convenient function to register a PIL commercial Remix license to the registry.
4401
+ * @param request The request object that contains all data needed to register license.
4402
+ * @param request.mintingFee The fee to be paid when minting a license.
4403
+ * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor.
4404
+ * @param request.currency The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
4405
+ * @param request.royaltyPolicy The address of the royalty policy contract which required to StoryProtocol in advance.
4406
+ * @param request.txOptions [Optional] The transaction options.
4407
+ * @returns A Promise that resolves to an object containing the optional transaction hash and optional license ID.
4408
+ * @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
4409
+ */
4410
+ registerCommercialRemixPIL(request: RegisterCommercialRemixPILRequest): Promise<RegisterPILResponse>;
4411
+ /**
4412
+ * Attaches license terms to an IP, and the function must be called by the IP owner or an authorized operator.
4413
+ * @param request The request object that contains all data needed to attach license terms.
4414
+ @param request.ipId The IP ID.
4415
+ @param request.tokenAddress The address of the NFT.
4416
+ @param request.licenseTemplate The address of the license template.
4417
+ @param request.licenseTermsId The ID of the license terms.
4418
+ * @param request.txOptions [Optional] The transaction options.
4419
+ * @returns A Promise that resolves to an object containing the transaction hash.
4420
+ */
4421
+ attachLicenseTerms(request: AttachLicenseTermsRequest): Promise<{
4422
+ txHash: `0x${string}`;
4423
+ }>;
1689
4424
  /**
1690
- * Mints license NFTs representing a policy granted by a set of ipIds (licensors). This NFT needs to be
1691
- * burned in order to link a derivative IP with its parents. If this is the first combination of policy and
1692
- * licensors, a new licenseId will be created. If not, the license is fungible and an id will be reused.
1693
- * @dev Only callable by the licensing module.
1694
- * @param request The request object containing necessary data to mint a license.
1695
- * @param request.policyId The ID of the policy to be minted
1696
- * @param request.licensorIpId_ The ID of the IP granting the license (ie. licensor)
1697
- * @param request.mintAmount Number of licenses to mint. License NFT is fungible for same policy and same licensors
1698
- * @param request.receiver Receiver address of the minted license NFT(s).
1699
- * @returns licenseId The ID of the minted license NFT(s).
4425
+ * Mints license tokens for the license terms attached to an IP.
4426
+ * The license tokens are minted to the receiver.
4427
+ * The license terms must be attached to the IP before calling this function.
4428
+ * But it can mint license token of default license terms without attaching the default license terms,
4429
+ * since it is attached to all IPs by default.
4430
+ * IP owners can mint license tokens for their IPs for arbitrary license terms
4431
+ * without attaching the license terms to IP.
4432
+ * It might require the caller pay the minting fee, depending on the license terms or configured by the iP owner.
4433
+ * The minting fee is paid in the minting fee token specified in the license terms or configured by the IP owner.
4434
+ * IP owners can configure the minting fee of their IPs or
4435
+ * configure the minting fee module to determine the minting fee.
4436
+ * @param request The request object that contains all data needed to mint license tokens.
4437
+ * @param request.licensorIpId The licensor IP ID.
4438
+ * @param request.licenseTemplate The address of the license template.
4439
+ * @param request.licenseTermsId The ID of the license terms within the license template.
4440
+ * @param request.amount The amount of license tokens to mint.
4441
+ * @param request.receiver The address of the receiver.
4442
+ * @param request.txOptions [Optional] The transaction options.
4443
+ * @returns A Promise that resolves to an object containing the transaction hash and optional license token ID if waitForTxn is set to true.
4444
+ * @emits LicenseTokensMinted (msg.sender, licensorIpId, licenseTemplate, licenseTermsId, amount, receiver, startLicenseTokenId);
1700
4445
  */
1701
- mintLicense(request: MintLicenseRequest): Promise<MintLicenseResponse>;
1702
- linkIpToParent(request: LinkIpToParentRequest): Promise<LinkIpToParentResponse>;
4446
+ mintLicenseTokens(request: MintLicenseTokensRequest): Promise<MintLicenseTokensResponse>;
1703
4447
  }
1704
4448
  //# sourceMappingURL=license.d.ts.map