@story-protocol/core-sdk 0.0.1-beta-rc.12 → 0.0.1-beta-rc.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/declarations/src/client.d.ts +0 -9
- package/dist/declarations/src/client.d.ts.map +1 -1
- package/dist/declarations/src/clients/storyAPI.d.ts +0 -2
- package/dist/declarations/src/clients/storyAPI.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +1 -3
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts +321 -5
- package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +321 -5
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +2955 -211
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts +642 -10
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts +963 -15
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/config.d.ts +2 -1
- package/dist/declarations/src/types/config.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/license.d.ts +54 -18
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +863 -905
- package/dist/story-protocol-core-sdk.cjs.prod.js +863 -905
- package/dist/story-protocol-core-sdk.esm.js +865 -906
- package/package.json +5 -5
- package/dist/declarations/src/resources/policy.d.ts +0 -3253
- package/dist/declarations/src/resources/policy.d.ts.map +0 -1
- package/dist/declarations/src/types/resources/policy.d.ts +0 -83
- package/dist/declarations/src/types/resources/policy.d.ts.map +0 -1
@@ -291,6 +291,10 @@ export declare class PermissionClient {
|
|
291
291
|
readonly inputs: readonly [];
|
292
292
|
readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
|
293
293
|
readonly type: "error";
|
294
|
+
} | {
|
295
|
+
readonly inputs: readonly [];
|
296
|
+
readonly name: "IpRoyaltyVault__IpTagged";
|
297
|
+
readonly type: "error";
|
294
298
|
} | {
|
295
299
|
readonly inputs: readonly [];
|
296
300
|
readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
|
@@ -299,6 +303,10 @@ export declare class PermissionClient {
|
|
299
303
|
readonly inputs: readonly [];
|
300
304
|
readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
|
301
305
|
readonly type: "error";
|
306
|
+
} | {
|
307
|
+
readonly inputs: readonly [];
|
308
|
+
readonly name: "IpRoyaltyVault__ZeroDisputeModule";
|
309
|
+
readonly type: "error";
|
302
310
|
} | {
|
303
311
|
readonly inputs: readonly [];
|
304
312
|
readonly name: "IpRoyaltyVault__ZeroIpId";
|
@@ -311,13 +319,129 @@ export declare class PermissionClient {
|
|
311
319
|
readonly inputs: readonly [];
|
312
320
|
readonly name: "LicenseRegistry__CallerNotLicensingModule";
|
313
321
|
readonly type: "error";
|
322
|
+
} | {
|
323
|
+
readonly inputs: readonly [{
|
324
|
+
readonly internalType: "address";
|
325
|
+
readonly name: "childIpId";
|
326
|
+
readonly type: "address";
|
327
|
+
}];
|
328
|
+
readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
|
329
|
+
readonly type: "error";
|
330
|
+
} | {
|
331
|
+
readonly inputs: readonly [{
|
332
|
+
readonly internalType: "address";
|
333
|
+
readonly name: "childIpId";
|
334
|
+
readonly type: "address";
|
335
|
+
}];
|
336
|
+
readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
|
337
|
+
readonly type: "error";
|
338
|
+
} | {
|
339
|
+
readonly inputs: readonly [{
|
340
|
+
readonly internalType: "address";
|
341
|
+
readonly name: "ipId";
|
342
|
+
readonly type: "address";
|
343
|
+
}];
|
344
|
+
readonly name: "LicenseRegistry__DerivativeIsParent";
|
345
|
+
readonly type: "error";
|
346
|
+
} | {
|
347
|
+
readonly inputs: readonly [{
|
348
|
+
readonly internalType: "address";
|
349
|
+
readonly name: "ipId";
|
350
|
+
readonly type: "address";
|
351
|
+
}, {
|
352
|
+
readonly internalType: "uint256";
|
353
|
+
readonly name: "index";
|
354
|
+
readonly type: "uint256";
|
355
|
+
}, {
|
356
|
+
readonly internalType: "uint256";
|
357
|
+
readonly name: "length";
|
358
|
+
readonly type: "uint256";
|
359
|
+
}];
|
360
|
+
readonly name: "LicenseRegistry__IndexOutOfBounds";
|
361
|
+
readonly type: "error";
|
362
|
+
} | {
|
363
|
+
readonly inputs: readonly [{
|
364
|
+
readonly internalType: "address";
|
365
|
+
readonly name: "ipId";
|
366
|
+
readonly type: "address";
|
367
|
+
}];
|
368
|
+
readonly name: "LicenseRegistry__IpExpired";
|
369
|
+
readonly type: "error";
|
370
|
+
} | {
|
371
|
+
readonly inputs: readonly [{
|
372
|
+
readonly internalType: "address";
|
373
|
+
readonly name: "licenseTemplate";
|
374
|
+
readonly type: "address";
|
375
|
+
}, {
|
376
|
+
readonly internalType: "uint256";
|
377
|
+
readonly name: "licenseTermsId";
|
378
|
+
readonly type: "uint256";
|
379
|
+
}];
|
380
|
+
readonly name: "LicenseRegistry__LicenseTermsNotExists";
|
381
|
+
readonly type: "error";
|
314
382
|
} | {
|
315
383
|
readonly inputs: readonly [];
|
316
|
-
readonly name: "
|
384
|
+
readonly name: "LicenseRegistry__NoParentIp";
|
385
|
+
readonly type: "error";
|
386
|
+
} | {
|
387
|
+
readonly inputs: readonly [{
|
388
|
+
readonly internalType: "address";
|
389
|
+
readonly name: "licenseTemplate";
|
390
|
+
readonly type: "address";
|
391
|
+
}];
|
392
|
+
readonly name: "LicenseRegistry__NotLicenseTemplate";
|
317
393
|
readonly type: "error";
|
318
394
|
} | {
|
319
395
|
readonly inputs: readonly [];
|
320
|
-
readonly name: "
|
396
|
+
readonly name: "LicenseRegistry__NotTransferable";
|
397
|
+
readonly type: "error";
|
398
|
+
} | {
|
399
|
+
readonly inputs: readonly [{
|
400
|
+
readonly internalType: "address";
|
401
|
+
readonly name: "ipId";
|
402
|
+
readonly type: "address";
|
403
|
+
}];
|
404
|
+
readonly name: "LicenseRegistry__ParentIpExpired";
|
405
|
+
readonly type: "error";
|
406
|
+
} | {
|
407
|
+
readonly inputs: readonly [{
|
408
|
+
readonly internalType: "address";
|
409
|
+
readonly name: "ipId";
|
410
|
+
readonly type: "address";
|
411
|
+
}, {
|
412
|
+
readonly internalType: "uint256";
|
413
|
+
readonly name: "licenseTermsId";
|
414
|
+
readonly type: "uint256";
|
415
|
+
}];
|
416
|
+
readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
|
417
|
+
readonly type: "error";
|
418
|
+
} | {
|
419
|
+
readonly inputs: readonly [{
|
420
|
+
readonly internalType: "address";
|
421
|
+
readonly name: "ipId";
|
422
|
+
readonly type: "address";
|
423
|
+
}];
|
424
|
+
readonly name: "LicenseRegistry__ParentIpTagged";
|
425
|
+
readonly type: "error";
|
426
|
+
} | {
|
427
|
+
readonly inputs: readonly [{
|
428
|
+
readonly internalType: "address";
|
429
|
+
readonly name: "ipId";
|
430
|
+
readonly type: "address";
|
431
|
+
}, {
|
432
|
+
readonly internalType: "address";
|
433
|
+
readonly name: "licenseTemplate";
|
434
|
+
readonly type: "address";
|
435
|
+
}];
|
436
|
+
readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
|
437
|
+
readonly type: "error";
|
438
|
+
} | {
|
439
|
+
readonly inputs: readonly [{
|
440
|
+
readonly internalType: "address";
|
441
|
+
readonly name: "licenseTemplate";
|
442
|
+
readonly type: "address";
|
443
|
+
}];
|
444
|
+
readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
|
321
445
|
readonly type: "error";
|
322
446
|
} | {
|
323
447
|
readonly inputs: readonly [];
|
@@ -327,10 +451,98 @@ export declare class PermissionClient {
|
|
327
451
|
readonly inputs: readonly [];
|
328
452
|
readonly name: "LicenseRegistry__ZeroLicensingModule";
|
329
453
|
readonly type: "error";
|
454
|
+
} | {
|
455
|
+
readonly inputs: readonly [{
|
456
|
+
readonly internalType: "address";
|
457
|
+
readonly name: "licenseTemplate";
|
458
|
+
readonly type: "address";
|
459
|
+
}, {
|
460
|
+
readonly internalType: "address";
|
461
|
+
readonly name: "anotherLicenseTemplate";
|
462
|
+
readonly type: "address";
|
463
|
+
}];
|
464
|
+
readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
|
465
|
+
readonly type: "error";
|
466
|
+
} | {
|
467
|
+
readonly inputs: readonly [];
|
468
|
+
readonly name: "LicenseToken__CallerNotLicensingModule";
|
469
|
+
readonly type: "error";
|
470
|
+
} | {
|
471
|
+
readonly inputs: readonly [{
|
472
|
+
readonly internalType: "uint256";
|
473
|
+
readonly name: "tokenId";
|
474
|
+
readonly type: "uint256";
|
475
|
+
}, {
|
476
|
+
readonly internalType: "uint256";
|
477
|
+
readonly name: "expiredAt";
|
478
|
+
readonly type: "uint256";
|
479
|
+
}, {
|
480
|
+
readonly internalType: "uint256";
|
481
|
+
readonly name: "currentTimestamp";
|
482
|
+
readonly type: "uint256";
|
483
|
+
}];
|
484
|
+
readonly name: "LicenseToken__LicenseTokenExpired";
|
485
|
+
readonly type: "error";
|
486
|
+
} | {
|
487
|
+
readonly inputs: readonly [{
|
488
|
+
readonly internalType: "uint256";
|
489
|
+
readonly name: "tokenId";
|
490
|
+
readonly type: "uint256";
|
491
|
+
}, {
|
492
|
+
readonly internalType: "address";
|
493
|
+
readonly name: "iPowner";
|
494
|
+
readonly type: "address";
|
495
|
+
}, {
|
496
|
+
readonly internalType: "address";
|
497
|
+
readonly name: "tokenOwner";
|
498
|
+
readonly type: "address";
|
499
|
+
}];
|
500
|
+
readonly name: "LicenseToken__NotLicenseTokenOwner";
|
501
|
+
readonly type: "error";
|
502
|
+
} | {
|
503
|
+
readonly inputs: readonly [];
|
504
|
+
readonly name: "LicenseToken__NotTransferable";
|
505
|
+
readonly type: "error";
|
506
|
+
} | {
|
507
|
+
readonly inputs: readonly [{
|
508
|
+
readonly internalType: "uint256";
|
509
|
+
readonly name: "tokenId";
|
510
|
+
readonly type: "uint256";
|
511
|
+
}];
|
512
|
+
readonly name: "LicenseToken__RevokedLicense";
|
513
|
+
readonly type: "error";
|
514
|
+
} | {
|
515
|
+
readonly inputs: readonly [];
|
516
|
+
readonly name: "LicenseToken__ZeroDisputeModule";
|
517
|
+
readonly type: "error";
|
518
|
+
} | {
|
519
|
+
readonly inputs: readonly [];
|
520
|
+
readonly name: "LicenseToken__ZeroLicensingModule";
|
521
|
+
readonly type: "error";
|
330
522
|
} | {
|
331
523
|
readonly inputs: readonly [];
|
332
524
|
readonly name: "LicensingModule__CallerNotLicenseRegistry";
|
333
525
|
readonly type: "error";
|
526
|
+
} | {
|
527
|
+
readonly inputs: readonly [{
|
528
|
+
readonly internalType: "address";
|
529
|
+
readonly name: "caller";
|
530
|
+
readonly type: "address";
|
531
|
+
}, {
|
532
|
+
readonly internalType: "address";
|
533
|
+
readonly name: "licensorIpId";
|
534
|
+
readonly type: "address";
|
535
|
+
}, {
|
536
|
+
readonly internalType: "address";
|
537
|
+
readonly name: "licenseTemplate";
|
538
|
+
readonly type: "address";
|
539
|
+
}, {
|
540
|
+
readonly internalType: "uint256";
|
541
|
+
readonly name: "licenseTermsId";
|
542
|
+
readonly type: "uint256";
|
543
|
+
}];
|
544
|
+
readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
|
545
|
+
readonly type: "error";
|
334
546
|
} | {
|
335
547
|
readonly inputs: readonly [];
|
336
548
|
readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
|
@@ -339,10 +551,30 @@ export declare class PermissionClient {
|
|
339
551
|
readonly inputs: readonly [];
|
340
552
|
readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
|
341
553
|
readonly type: "error";
|
554
|
+
} | {
|
555
|
+
readonly inputs: readonly [{
|
556
|
+
readonly internalType: "address";
|
557
|
+
readonly name: "ipId";
|
558
|
+
readonly type: "address";
|
559
|
+
}];
|
560
|
+
readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
|
561
|
+
readonly type: "error";
|
562
|
+
} | {
|
563
|
+
readonly inputs: readonly [];
|
564
|
+
readonly name: "LicensingModule__DerivativeAlreadyRegistered";
|
565
|
+
readonly type: "error";
|
566
|
+
} | {
|
567
|
+
readonly inputs: readonly [];
|
568
|
+
readonly name: "LicensingModule__DerivativeIsParent";
|
569
|
+
readonly type: "error";
|
342
570
|
} | {
|
343
571
|
readonly inputs: readonly [];
|
344
572
|
readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
|
345
573
|
readonly type: "error";
|
574
|
+
} | {
|
575
|
+
readonly inputs: readonly [];
|
576
|
+
readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
|
577
|
+
readonly type: "error";
|
346
578
|
} | {
|
347
579
|
readonly inputs: readonly [];
|
348
580
|
readonly name: "LicensingModule__DerivativesCannotAddPolicy";
|
@@ -365,11 +597,19 @@ export declare class PermissionClient {
|
|
365
597
|
readonly type: "error";
|
366
598
|
} | {
|
367
599
|
readonly inputs: readonly [];
|
368
|
-
readonly name: "
|
600
|
+
readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
|
369
601
|
readonly type: "error";
|
370
602
|
} | {
|
371
|
-
readonly inputs: readonly [
|
372
|
-
|
603
|
+
readonly inputs: readonly [{
|
604
|
+
readonly internalType: "address";
|
605
|
+
readonly name: "royaltyPolicy";
|
606
|
+
readonly type: "address";
|
607
|
+
}, {
|
608
|
+
readonly internalType: "address";
|
609
|
+
readonly name: "anotherRoyaltyPolicy";
|
610
|
+
readonly type: "address";
|
611
|
+
}];
|
612
|
+
readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
|
373
613
|
readonly type: "error";
|
374
614
|
} | {
|
375
615
|
readonly inputs: readonly [];
|
@@ -391,6 +631,50 @@ export declare class PermissionClient {
|
|
391
631
|
readonly inputs: readonly [];
|
392
632
|
readonly name: "LicensingModule__IpAlreadyLinked";
|
393
633
|
readonly type: "error";
|
634
|
+
} | {
|
635
|
+
readonly inputs: readonly [{
|
636
|
+
readonly internalType: "address";
|
637
|
+
readonly name: "childIpId";
|
638
|
+
readonly type: "address";
|
639
|
+
}];
|
640
|
+
readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
|
641
|
+
readonly type: "error";
|
642
|
+
} | {
|
643
|
+
readonly inputs: readonly [{
|
644
|
+
readonly internalType: "uint256";
|
645
|
+
readonly name: "ipLength";
|
646
|
+
readonly type: "uint256";
|
647
|
+
}, {
|
648
|
+
readonly internalType: "uint256";
|
649
|
+
readonly name: "licenseTermsLength";
|
650
|
+
readonly type: "uint256";
|
651
|
+
}];
|
652
|
+
readonly name: "LicensingModule__LicenseTermsLengthMismatch";
|
653
|
+
readonly type: "error";
|
654
|
+
} | {
|
655
|
+
readonly inputs: readonly [{
|
656
|
+
readonly internalType: "address";
|
657
|
+
readonly name: "licenseTemplate";
|
658
|
+
readonly type: "address";
|
659
|
+
}, {
|
660
|
+
readonly internalType: "uint256";
|
661
|
+
readonly name: "licenseTermsId";
|
662
|
+
readonly type: "uint256";
|
663
|
+
}];
|
664
|
+
readonly name: "LicensingModule__LicenseTermsNotFound";
|
665
|
+
readonly type: "error";
|
666
|
+
} | {
|
667
|
+
readonly inputs: readonly [{
|
668
|
+
readonly internalType: "address";
|
669
|
+
readonly name: "childIpId";
|
670
|
+
readonly type: "address";
|
671
|
+
}, {
|
672
|
+
readonly internalType: "uint256[]";
|
673
|
+
readonly name: "licenseTokenIds";
|
674
|
+
readonly type: "uint256[]";
|
675
|
+
}];
|
676
|
+
readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
|
677
|
+
readonly type: "error";
|
394
678
|
} | {
|
395
679
|
readonly inputs: readonly [];
|
396
680
|
readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
|
@@ -423,6 +707,14 @@ export declare class PermissionClient {
|
|
423
707
|
readonly inputs: readonly [];
|
424
708
|
readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
|
425
709
|
readonly type: "error";
|
710
|
+
} | {
|
711
|
+
readonly inputs: readonly [];
|
712
|
+
readonly name: "LicensingModule__NoLicenseToken";
|
713
|
+
readonly type: "error";
|
714
|
+
} | {
|
715
|
+
readonly inputs: readonly [];
|
716
|
+
readonly name: "LicensingModule__NoParentIp";
|
717
|
+
readonly type: "error";
|
426
718
|
} | {
|
427
719
|
readonly inputs: readonly [];
|
428
720
|
readonly name: "LicensingModule__NotLicensee";
|
@@ -439,6 +731,14 @@ export declare class PermissionClient {
|
|
439
731
|
readonly inputs: readonly [];
|
440
732
|
readonly name: "LicensingModule__ParentIdEqualThanChild";
|
441
733
|
readonly type: "error";
|
734
|
+
} | {
|
735
|
+
readonly inputs: readonly [{
|
736
|
+
readonly internalType: "address";
|
737
|
+
readonly name: "ipId";
|
738
|
+
readonly type: "address";
|
739
|
+
}];
|
740
|
+
readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
|
741
|
+
readonly type: "error";
|
442
742
|
} | {
|
443
743
|
readonly inputs: readonly [];
|
444
744
|
readonly name: "LicensingModule__PolicyAlreadySetForIpId";
|
@@ -447,6 +747,14 @@ export declare class PermissionClient {
|
|
447
747
|
readonly inputs: readonly [];
|
448
748
|
readonly name: "LicensingModule__PolicyNotFound";
|
449
749
|
readonly type: "error";
|
750
|
+
} | {
|
751
|
+
readonly inputs: readonly [{
|
752
|
+
readonly internalType: "address";
|
753
|
+
readonly name: "receiver";
|
754
|
+
readonly type: "address";
|
755
|
+
}];
|
756
|
+
readonly name: "LicensingModule__ReceiverCheckFailed";
|
757
|
+
readonly type: "error";
|
450
758
|
} | {
|
451
759
|
readonly inputs: readonly [];
|
452
760
|
readonly name: "LicensingModule__ReceiverZeroAddress";
|
@@ -587,6 +895,10 @@ export declare class PermissionClient {
|
|
587
895
|
readonly inputs: readonly [];
|
588
896
|
readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
|
589
897
|
readonly type: "error";
|
898
|
+
} | {
|
899
|
+
readonly inputs: readonly [];
|
900
|
+
readonly name: "RoyaltyModule__IpIsTagged";
|
901
|
+
readonly type: "error";
|
590
902
|
} | {
|
591
903
|
readonly inputs: readonly [];
|
592
904
|
readonly name: "RoyaltyModule__NoParentsOnLinking";
|
@@ -607,6 +919,10 @@ export declare class PermissionClient {
|
|
607
919
|
readonly inputs: readonly [];
|
608
920
|
readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
|
609
921
|
readonly type: "error";
|
922
|
+
} | {
|
923
|
+
readonly inputs: readonly [];
|
924
|
+
readonly name: "RoyaltyModule__ZeroDisputeModule";
|
925
|
+
readonly type: "error";
|
610
926
|
} | {
|
611
927
|
readonly inputs: readonly [];
|
612
928
|
readonly name: "RoyaltyModule__ZeroLicensingModule";
|
@@ -1085,6 +1401,10 @@ export declare class PermissionClient {
|
|
1085
1401
|
readonly inputs: readonly [];
|
1086
1402
|
readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
|
1087
1403
|
readonly type: "error";
|
1404
|
+
} | {
|
1405
|
+
readonly inputs: readonly [];
|
1406
|
+
readonly name: "IpRoyaltyVault__IpTagged";
|
1407
|
+
readonly type: "error";
|
1088
1408
|
} | {
|
1089
1409
|
readonly inputs: readonly [];
|
1090
1410
|
readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
|
@@ -1093,6 +1413,10 @@ export declare class PermissionClient {
|
|
1093
1413
|
readonly inputs: readonly [];
|
1094
1414
|
readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
|
1095
1415
|
readonly type: "error";
|
1416
|
+
} | {
|
1417
|
+
readonly inputs: readonly [];
|
1418
|
+
readonly name: "IpRoyaltyVault__ZeroDisputeModule";
|
1419
|
+
readonly type: "error";
|
1096
1420
|
} | {
|
1097
1421
|
readonly inputs: readonly [];
|
1098
1422
|
readonly name: "IpRoyaltyVault__ZeroIpId";
|
@@ -1105,13 +1429,129 @@ export declare class PermissionClient {
|
|
1105
1429
|
readonly inputs: readonly [];
|
1106
1430
|
readonly name: "LicenseRegistry__CallerNotLicensingModule";
|
1107
1431
|
readonly type: "error";
|
1432
|
+
} | {
|
1433
|
+
readonly inputs: readonly [{
|
1434
|
+
readonly internalType: "address";
|
1435
|
+
readonly name: "childIpId";
|
1436
|
+
readonly type: "address";
|
1437
|
+
}];
|
1438
|
+
readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
|
1439
|
+
readonly type: "error";
|
1440
|
+
} | {
|
1441
|
+
readonly inputs: readonly [{
|
1442
|
+
readonly internalType: "address";
|
1443
|
+
readonly name: "childIpId";
|
1444
|
+
readonly type: "address";
|
1445
|
+
}];
|
1446
|
+
readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
|
1447
|
+
readonly type: "error";
|
1448
|
+
} | {
|
1449
|
+
readonly inputs: readonly [{
|
1450
|
+
readonly internalType: "address";
|
1451
|
+
readonly name: "ipId";
|
1452
|
+
readonly type: "address";
|
1453
|
+
}];
|
1454
|
+
readonly name: "LicenseRegistry__DerivativeIsParent";
|
1455
|
+
readonly type: "error";
|
1456
|
+
} | {
|
1457
|
+
readonly inputs: readonly [{
|
1458
|
+
readonly internalType: "address";
|
1459
|
+
readonly name: "ipId";
|
1460
|
+
readonly type: "address";
|
1461
|
+
}, {
|
1462
|
+
readonly internalType: "uint256";
|
1463
|
+
readonly name: "index";
|
1464
|
+
readonly type: "uint256";
|
1465
|
+
}, {
|
1466
|
+
readonly internalType: "uint256";
|
1467
|
+
readonly name: "length";
|
1468
|
+
readonly type: "uint256";
|
1469
|
+
}];
|
1470
|
+
readonly name: "LicenseRegistry__IndexOutOfBounds";
|
1471
|
+
readonly type: "error";
|
1472
|
+
} | {
|
1473
|
+
readonly inputs: readonly [{
|
1474
|
+
readonly internalType: "address";
|
1475
|
+
readonly name: "ipId";
|
1476
|
+
readonly type: "address";
|
1477
|
+
}];
|
1478
|
+
readonly name: "LicenseRegistry__IpExpired";
|
1479
|
+
readonly type: "error";
|
1480
|
+
} | {
|
1481
|
+
readonly inputs: readonly [{
|
1482
|
+
readonly internalType: "address";
|
1483
|
+
readonly name: "licenseTemplate";
|
1484
|
+
readonly type: "address";
|
1485
|
+
}, {
|
1486
|
+
readonly internalType: "uint256";
|
1487
|
+
readonly name: "licenseTermsId";
|
1488
|
+
readonly type: "uint256";
|
1489
|
+
}];
|
1490
|
+
readonly name: "LicenseRegistry__LicenseTermsNotExists";
|
1491
|
+
readonly type: "error";
|
1108
1492
|
} | {
|
1109
1493
|
readonly inputs: readonly [];
|
1110
|
-
readonly name: "
|
1494
|
+
readonly name: "LicenseRegistry__NoParentIp";
|
1495
|
+
readonly type: "error";
|
1496
|
+
} | {
|
1497
|
+
readonly inputs: readonly [{
|
1498
|
+
readonly internalType: "address";
|
1499
|
+
readonly name: "licenseTemplate";
|
1500
|
+
readonly type: "address";
|
1501
|
+
}];
|
1502
|
+
readonly name: "LicenseRegistry__NotLicenseTemplate";
|
1111
1503
|
readonly type: "error";
|
1112
1504
|
} | {
|
1113
1505
|
readonly inputs: readonly [];
|
1114
|
-
readonly name: "
|
1506
|
+
readonly name: "LicenseRegistry__NotTransferable";
|
1507
|
+
readonly type: "error";
|
1508
|
+
} | {
|
1509
|
+
readonly inputs: readonly [{
|
1510
|
+
readonly internalType: "address";
|
1511
|
+
readonly name: "ipId";
|
1512
|
+
readonly type: "address";
|
1513
|
+
}];
|
1514
|
+
readonly name: "LicenseRegistry__ParentIpExpired";
|
1515
|
+
readonly type: "error";
|
1516
|
+
} | {
|
1517
|
+
readonly inputs: readonly [{
|
1518
|
+
readonly internalType: "address";
|
1519
|
+
readonly name: "ipId";
|
1520
|
+
readonly type: "address";
|
1521
|
+
}, {
|
1522
|
+
readonly internalType: "uint256";
|
1523
|
+
readonly name: "licenseTermsId";
|
1524
|
+
readonly type: "uint256";
|
1525
|
+
}];
|
1526
|
+
readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
|
1527
|
+
readonly type: "error";
|
1528
|
+
} | {
|
1529
|
+
readonly inputs: readonly [{
|
1530
|
+
readonly internalType: "address";
|
1531
|
+
readonly name: "ipId";
|
1532
|
+
readonly type: "address";
|
1533
|
+
}];
|
1534
|
+
readonly name: "LicenseRegistry__ParentIpTagged";
|
1535
|
+
readonly type: "error";
|
1536
|
+
} | {
|
1537
|
+
readonly inputs: readonly [{
|
1538
|
+
readonly internalType: "address";
|
1539
|
+
readonly name: "ipId";
|
1540
|
+
readonly type: "address";
|
1541
|
+
}, {
|
1542
|
+
readonly internalType: "address";
|
1543
|
+
readonly name: "licenseTemplate";
|
1544
|
+
readonly type: "address";
|
1545
|
+
}];
|
1546
|
+
readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
|
1547
|
+
readonly type: "error";
|
1548
|
+
} | {
|
1549
|
+
readonly inputs: readonly [{
|
1550
|
+
readonly internalType: "address";
|
1551
|
+
readonly name: "licenseTemplate";
|
1552
|
+
readonly type: "address";
|
1553
|
+
}];
|
1554
|
+
readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
|
1115
1555
|
readonly type: "error";
|
1116
1556
|
} | {
|
1117
1557
|
readonly inputs: readonly [];
|
@@ -1121,10 +1561,98 @@ export declare class PermissionClient {
|
|
1121
1561
|
readonly inputs: readonly [];
|
1122
1562
|
readonly name: "LicenseRegistry__ZeroLicensingModule";
|
1123
1563
|
readonly type: "error";
|
1564
|
+
} | {
|
1565
|
+
readonly inputs: readonly [{
|
1566
|
+
readonly internalType: "address";
|
1567
|
+
readonly name: "licenseTemplate";
|
1568
|
+
readonly type: "address";
|
1569
|
+
}, {
|
1570
|
+
readonly internalType: "address";
|
1571
|
+
readonly name: "anotherLicenseTemplate";
|
1572
|
+
readonly type: "address";
|
1573
|
+
}];
|
1574
|
+
readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
|
1575
|
+
readonly type: "error";
|
1576
|
+
} | {
|
1577
|
+
readonly inputs: readonly [];
|
1578
|
+
readonly name: "LicenseToken__CallerNotLicensingModule";
|
1579
|
+
readonly type: "error";
|
1580
|
+
} | {
|
1581
|
+
readonly inputs: readonly [{
|
1582
|
+
readonly internalType: "uint256";
|
1583
|
+
readonly name: "tokenId";
|
1584
|
+
readonly type: "uint256";
|
1585
|
+
}, {
|
1586
|
+
readonly internalType: "uint256";
|
1587
|
+
readonly name: "expiredAt";
|
1588
|
+
readonly type: "uint256";
|
1589
|
+
}, {
|
1590
|
+
readonly internalType: "uint256";
|
1591
|
+
readonly name: "currentTimestamp";
|
1592
|
+
readonly type: "uint256";
|
1593
|
+
}];
|
1594
|
+
readonly name: "LicenseToken__LicenseTokenExpired";
|
1595
|
+
readonly type: "error";
|
1596
|
+
} | {
|
1597
|
+
readonly inputs: readonly [{
|
1598
|
+
readonly internalType: "uint256";
|
1599
|
+
readonly name: "tokenId";
|
1600
|
+
readonly type: "uint256";
|
1601
|
+
}, {
|
1602
|
+
readonly internalType: "address";
|
1603
|
+
readonly name: "iPowner";
|
1604
|
+
readonly type: "address";
|
1605
|
+
}, {
|
1606
|
+
readonly internalType: "address";
|
1607
|
+
readonly name: "tokenOwner";
|
1608
|
+
readonly type: "address";
|
1609
|
+
}];
|
1610
|
+
readonly name: "LicenseToken__NotLicenseTokenOwner";
|
1611
|
+
readonly type: "error";
|
1612
|
+
} | {
|
1613
|
+
readonly inputs: readonly [];
|
1614
|
+
readonly name: "LicenseToken__NotTransferable";
|
1615
|
+
readonly type: "error";
|
1616
|
+
} | {
|
1617
|
+
readonly inputs: readonly [{
|
1618
|
+
readonly internalType: "uint256";
|
1619
|
+
readonly name: "tokenId";
|
1620
|
+
readonly type: "uint256";
|
1621
|
+
}];
|
1622
|
+
readonly name: "LicenseToken__RevokedLicense";
|
1623
|
+
readonly type: "error";
|
1624
|
+
} | {
|
1625
|
+
readonly inputs: readonly [];
|
1626
|
+
readonly name: "LicenseToken__ZeroDisputeModule";
|
1627
|
+
readonly type: "error";
|
1628
|
+
} | {
|
1629
|
+
readonly inputs: readonly [];
|
1630
|
+
readonly name: "LicenseToken__ZeroLicensingModule";
|
1631
|
+
readonly type: "error";
|
1124
1632
|
} | {
|
1125
1633
|
readonly inputs: readonly [];
|
1126
1634
|
readonly name: "LicensingModule__CallerNotLicenseRegistry";
|
1127
1635
|
readonly type: "error";
|
1636
|
+
} | {
|
1637
|
+
readonly inputs: readonly [{
|
1638
|
+
readonly internalType: "address";
|
1639
|
+
readonly name: "caller";
|
1640
|
+
readonly type: "address";
|
1641
|
+
}, {
|
1642
|
+
readonly internalType: "address";
|
1643
|
+
readonly name: "licensorIpId";
|
1644
|
+
readonly type: "address";
|
1645
|
+
}, {
|
1646
|
+
readonly internalType: "address";
|
1647
|
+
readonly name: "licenseTemplate";
|
1648
|
+
readonly type: "address";
|
1649
|
+
}, {
|
1650
|
+
readonly internalType: "uint256";
|
1651
|
+
readonly name: "licenseTermsId";
|
1652
|
+
readonly type: "uint256";
|
1653
|
+
}];
|
1654
|
+
readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
|
1655
|
+
readonly type: "error";
|
1128
1656
|
} | {
|
1129
1657
|
readonly inputs: readonly [];
|
1130
1658
|
readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
|
@@ -1133,10 +1661,30 @@ export declare class PermissionClient {
|
|
1133
1661
|
readonly inputs: readonly [];
|
1134
1662
|
readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
|
1135
1663
|
readonly type: "error";
|
1664
|
+
} | {
|
1665
|
+
readonly inputs: readonly [{
|
1666
|
+
readonly internalType: "address";
|
1667
|
+
readonly name: "ipId";
|
1668
|
+
readonly type: "address";
|
1669
|
+
}];
|
1670
|
+
readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
|
1671
|
+
readonly type: "error";
|
1672
|
+
} | {
|
1673
|
+
readonly inputs: readonly [];
|
1674
|
+
readonly name: "LicensingModule__DerivativeAlreadyRegistered";
|
1675
|
+
readonly type: "error";
|
1676
|
+
} | {
|
1677
|
+
readonly inputs: readonly [];
|
1678
|
+
readonly name: "LicensingModule__DerivativeIsParent";
|
1679
|
+
readonly type: "error";
|
1136
1680
|
} | {
|
1137
1681
|
readonly inputs: readonly [];
|
1138
1682
|
readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
|
1139
1683
|
readonly type: "error";
|
1684
|
+
} | {
|
1685
|
+
readonly inputs: readonly [];
|
1686
|
+
readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
|
1687
|
+
readonly type: "error";
|
1140
1688
|
} | {
|
1141
1689
|
readonly inputs: readonly [];
|
1142
1690
|
readonly name: "LicensingModule__DerivativesCannotAddPolicy";
|
@@ -1159,11 +1707,19 @@ export declare class PermissionClient {
|
|
1159
1707
|
readonly type: "error";
|
1160
1708
|
} | {
|
1161
1709
|
readonly inputs: readonly [];
|
1162
|
-
readonly name: "
|
1710
|
+
readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
|
1163
1711
|
readonly type: "error";
|
1164
1712
|
} | {
|
1165
|
-
readonly inputs: readonly [
|
1166
|
-
|
1713
|
+
readonly inputs: readonly [{
|
1714
|
+
readonly internalType: "address";
|
1715
|
+
readonly name: "royaltyPolicy";
|
1716
|
+
readonly type: "address";
|
1717
|
+
}, {
|
1718
|
+
readonly internalType: "address";
|
1719
|
+
readonly name: "anotherRoyaltyPolicy";
|
1720
|
+
readonly type: "address";
|
1721
|
+
}];
|
1722
|
+
readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
|
1167
1723
|
readonly type: "error";
|
1168
1724
|
} | {
|
1169
1725
|
readonly inputs: readonly [];
|
@@ -1185,6 +1741,50 @@ export declare class PermissionClient {
|
|
1185
1741
|
readonly inputs: readonly [];
|
1186
1742
|
readonly name: "LicensingModule__IpAlreadyLinked";
|
1187
1743
|
readonly type: "error";
|
1744
|
+
} | {
|
1745
|
+
readonly inputs: readonly [{
|
1746
|
+
readonly internalType: "address";
|
1747
|
+
readonly name: "childIpId";
|
1748
|
+
readonly type: "address";
|
1749
|
+
}];
|
1750
|
+
readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
|
1751
|
+
readonly type: "error";
|
1752
|
+
} | {
|
1753
|
+
readonly inputs: readonly [{
|
1754
|
+
readonly internalType: "uint256";
|
1755
|
+
readonly name: "ipLength";
|
1756
|
+
readonly type: "uint256";
|
1757
|
+
}, {
|
1758
|
+
readonly internalType: "uint256";
|
1759
|
+
readonly name: "licenseTermsLength";
|
1760
|
+
readonly type: "uint256";
|
1761
|
+
}];
|
1762
|
+
readonly name: "LicensingModule__LicenseTermsLengthMismatch";
|
1763
|
+
readonly type: "error";
|
1764
|
+
} | {
|
1765
|
+
readonly inputs: readonly [{
|
1766
|
+
readonly internalType: "address";
|
1767
|
+
readonly name: "licenseTemplate";
|
1768
|
+
readonly type: "address";
|
1769
|
+
}, {
|
1770
|
+
readonly internalType: "uint256";
|
1771
|
+
readonly name: "licenseTermsId";
|
1772
|
+
readonly type: "uint256";
|
1773
|
+
}];
|
1774
|
+
readonly name: "LicensingModule__LicenseTermsNotFound";
|
1775
|
+
readonly type: "error";
|
1776
|
+
} | {
|
1777
|
+
readonly inputs: readonly [{
|
1778
|
+
readonly internalType: "address";
|
1779
|
+
readonly name: "childIpId";
|
1780
|
+
readonly type: "address";
|
1781
|
+
}, {
|
1782
|
+
readonly internalType: "uint256[]";
|
1783
|
+
readonly name: "licenseTokenIds";
|
1784
|
+
readonly type: "uint256[]";
|
1785
|
+
}];
|
1786
|
+
readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
|
1787
|
+
readonly type: "error";
|
1188
1788
|
} | {
|
1189
1789
|
readonly inputs: readonly [];
|
1190
1790
|
readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
|
@@ -1217,6 +1817,14 @@ export declare class PermissionClient {
|
|
1217
1817
|
readonly inputs: readonly [];
|
1218
1818
|
readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
|
1219
1819
|
readonly type: "error";
|
1820
|
+
} | {
|
1821
|
+
readonly inputs: readonly [];
|
1822
|
+
readonly name: "LicensingModule__NoLicenseToken";
|
1823
|
+
readonly type: "error";
|
1824
|
+
} | {
|
1825
|
+
readonly inputs: readonly [];
|
1826
|
+
readonly name: "LicensingModule__NoParentIp";
|
1827
|
+
readonly type: "error";
|
1220
1828
|
} | {
|
1221
1829
|
readonly inputs: readonly [];
|
1222
1830
|
readonly name: "LicensingModule__NotLicensee";
|
@@ -1233,6 +1841,14 @@ export declare class PermissionClient {
|
|
1233
1841
|
readonly inputs: readonly [];
|
1234
1842
|
readonly name: "LicensingModule__ParentIdEqualThanChild";
|
1235
1843
|
readonly type: "error";
|
1844
|
+
} | {
|
1845
|
+
readonly inputs: readonly [{
|
1846
|
+
readonly internalType: "address";
|
1847
|
+
readonly name: "ipId";
|
1848
|
+
readonly type: "address";
|
1849
|
+
}];
|
1850
|
+
readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
|
1851
|
+
readonly type: "error";
|
1236
1852
|
} | {
|
1237
1853
|
readonly inputs: readonly [];
|
1238
1854
|
readonly name: "LicensingModule__PolicyAlreadySetForIpId";
|
@@ -1241,6 +1857,14 @@ export declare class PermissionClient {
|
|
1241
1857
|
readonly inputs: readonly [];
|
1242
1858
|
readonly name: "LicensingModule__PolicyNotFound";
|
1243
1859
|
readonly type: "error";
|
1860
|
+
} | {
|
1861
|
+
readonly inputs: readonly [{
|
1862
|
+
readonly internalType: "address";
|
1863
|
+
readonly name: "receiver";
|
1864
|
+
readonly type: "address";
|
1865
|
+
}];
|
1866
|
+
readonly name: "LicensingModule__ReceiverCheckFailed";
|
1867
|
+
readonly type: "error";
|
1244
1868
|
} | {
|
1245
1869
|
readonly inputs: readonly [];
|
1246
1870
|
readonly name: "LicensingModule__ReceiverZeroAddress";
|
@@ -1381,6 +2005,10 @@ export declare class PermissionClient {
|
|
1381
2005
|
readonly inputs: readonly [];
|
1382
2006
|
readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
|
1383
2007
|
readonly type: "error";
|
2008
|
+
} | {
|
2009
|
+
readonly inputs: readonly [];
|
2010
|
+
readonly name: "RoyaltyModule__IpIsTagged";
|
2011
|
+
readonly type: "error";
|
1384
2012
|
} | {
|
1385
2013
|
readonly inputs: readonly [];
|
1386
2014
|
readonly name: "RoyaltyModule__NoParentsOnLinking";
|
@@ -1401,6 +2029,10 @@ export declare class PermissionClient {
|
|
1401
2029
|
readonly inputs: readonly [];
|
1402
2030
|
readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
|
1403
2031
|
readonly type: "error";
|
2032
|
+
} | {
|
2033
|
+
readonly inputs: readonly [];
|
2034
|
+
readonly name: "RoyaltyModule__ZeroDisputeModule";
|
2035
|
+
readonly type: "error";
|
1404
2036
|
} | {
|
1405
2037
|
readonly inputs: readonly [];
|
1406
2038
|
readonly name: "RoyaltyModule__ZeroLicensingModule";
|