@story-protocol/core-sdk 0.0.1-beta-rc.11 → 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.
Files changed (33) hide show
  1. package/dist/declarations/src/client.d.ts +9 -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 +3 -4
  6. package/dist/declarations/src/index.d.ts.map +1 -1
  7. package/dist/declarations/src/resources/dispute.d.ts +419 -78
  8. package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
  9. package/dist/declarations/src/resources/ipAccount.d.ts +400 -76
  10. package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
  11. package/dist/declarations/src/resources/ipAsset.d.ts +26 -756
  12. package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
  13. package/dist/declarations/src/resources/license.d.ts +3411 -650
  14. package/dist/declarations/src/resources/license.d.ts.map +1 -1
  15. package/dist/declarations/src/resources/permission.d.ts +1000 -313
  16. package/dist/declarations/src/resources/permission.d.ts.map +1 -1
  17. package/dist/declarations/src/resources/royalty.d.ts +3103 -0
  18. package/dist/declarations/src/resources/{policy.d.ts.map → royalty.d.ts.map} +1 -1
  19. package/dist/declarations/src/types/config.d.ts +6 -2
  20. package/dist/declarations/src/types/config.d.ts.map +1 -1
  21. package/dist/declarations/src/types/resources/ipAsset.d.ts +5 -21
  22. package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
  23. package/dist/declarations/src/types/resources/license.d.ts +54 -18
  24. package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
  25. package/dist/declarations/src/types/resources/royalty.d.ts +41 -0
  26. package/dist/declarations/src/types/resources/royalty.d.ts.map +1 -1
  27. package/dist/story-protocol-core-sdk.cjs.dev.js +1580 -1371
  28. package/dist/story-protocol-core-sdk.cjs.prod.js +1580 -1371
  29. package/dist/story-protocol-core-sdk.esm.js +1583 -1373
  30. package/package.json +5 -5
  31. package/dist/declarations/src/resources/policy.d.ts +0 -2436
  32. package/dist/declarations/src/types/resources/policy.d.ts +0 -83
  33. package/dist/declarations/src/types/resources/policy.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"dispute.d.ts","sourceRoot":"../../../../src/resources","sources":["dispute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAe,MAAM,MAAM,CAAC;AAI/D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACvB,sCAAmC;AAGpC,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IAClC,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;OAeG;IACU,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgCtF;;;;;;;;;;;OAWG;IACU,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAqBzF;;;;;;;;OAQG;IACU,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAoB7F"}
@@ -23,6 +23,18 @@ export declare class IPAccountClient {
23
23
  readonly inputs: readonly [];
24
24
  readonly name: "AccessControlled__ZeroAddress";
25
25
  readonly type: "error";
26
+ } | {
27
+ readonly inputs: readonly [{
28
+ readonly internalType: "address";
29
+ readonly name: "signer";
30
+ readonly type: "address";
31
+ }, {
32
+ readonly internalType: "address";
33
+ readonly name: "to";
34
+ readonly type: "address";
35
+ }];
36
+ readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
37
+ readonly type: "error";
26
38
  } | {
27
39
  readonly inputs: readonly [];
28
40
  readonly name: "AccessController__CallerIsNotIPAccount";
@@ -63,61 +75,29 @@ export declare class IPAccountClient {
63
75
  readonly inputs: readonly [];
64
76
  readonly name: "AccessController__PermissionIsNotValid";
65
77
  readonly type: "error";
66
- } | {
67
- readonly inputs: readonly [{
68
- readonly internalType: "address";
69
- readonly name: "to";
70
- readonly type: "address";
71
- }];
72
- readonly name: "AccessController__RecipientIsNotRegisteredModule";
73
- readonly type: "error";
74
78
  } | {
75
79
  readonly inputs: readonly [];
76
80
  readonly name: "AccessController__SignerIsZeroAddress";
77
81
  readonly type: "error";
78
82
  } | {
79
83
  readonly inputs: readonly [];
80
- readonly name: "AncestorsVaultLAP__AlreadyClaimed";
81
- readonly type: "error";
82
- } | {
83
- readonly inputs: readonly [];
84
- readonly name: "AncestorsVaultLAP__ClaimerNotAnAncestor";
85
- readonly type: "error";
86
- } | {
87
- readonly inputs: readonly [];
88
- readonly name: "AncestorsVaultLAP__ERC20BalanceNotZero";
89
- readonly type: "error";
90
- } | {
91
- readonly inputs: readonly [];
92
- readonly name: "AncestorsVaultLAP__ETHBalanceNotZero";
93
- readonly type: "error";
94
- } | {
95
- readonly inputs: readonly [];
96
- readonly name: "AncestorsVaultLAP__InvalidAncestorsHash";
97
- readonly type: "error";
98
- } | {
99
- readonly inputs: readonly [];
100
- readonly name: "AncestorsVaultLAP__InvalidClaimer";
101
- readonly type: "error";
102
- } | {
103
- readonly inputs: readonly [];
104
- readonly name: "AncestorsVaultLAP__TransferFailed";
84
+ readonly name: "ArbitrationPolicySP__NotDisputeModule";
105
85
  readonly type: "error";
106
86
  } | {
107
87
  readonly inputs: readonly [];
108
- readonly name: "AncestorsVaultLAP__ZeroRoyaltyPolicyLAP";
88
+ readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
109
89
  readonly type: "error";
110
90
  } | {
111
91
  readonly inputs: readonly [];
112
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
92
+ readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
113
93
  readonly type: "error";
114
94
  } | {
115
95
  readonly inputs: readonly [];
116
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
96
+ readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
117
97
  readonly type: "error";
118
98
  } | {
119
99
  readonly inputs: readonly [];
120
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
100
+ readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
121
101
  readonly type: "error";
122
102
  } | {
123
103
  readonly inputs: readonly [];
@@ -147,10 +127,6 @@ export declare class IPAccountClient {
147
127
  readonly inputs: readonly [];
148
128
  readonly name: "DisputeModule__NotWhitelistedDisputeTag";
149
129
  readonly type: "error";
150
- } | {
151
- readonly inputs: readonly [];
152
- readonly name: "DisputeModule__UnauthorizedAccess";
153
- readonly type: "error";
154
130
  } | {
155
131
  readonly inputs: readonly [];
156
132
  readonly name: "DisputeModule__ZeroArbitrationPolicy";
@@ -235,6 +211,18 @@ export declare class IPAccountClient {
235
211
  readonly inputs: readonly [];
236
212
  readonly name: "IPAssetRegistry__InvalidMetadataProvider";
237
213
  readonly type: "error";
214
+ } | {
215
+ readonly inputs: readonly [{
216
+ readonly internalType: "address";
217
+ readonly name: "contractAddress";
218
+ readonly type: "address";
219
+ }, {
220
+ readonly internalType: "uint256";
221
+ readonly name: "tokenId";
222
+ readonly type: "uint256";
223
+ }];
224
+ readonly name: "IPAssetRegistry__InvalidToken";
225
+ readonly type: "error";
238
226
  } | {
239
227
  readonly inputs: readonly [];
240
228
  readonly name: "IPAssetRegistry__NotYetRegistered";
@@ -251,6 +239,22 @@ export declare class IPAccountClient {
251
239
  readonly inputs: readonly [];
252
240
  readonly name: "IPAssetRegistry__Unauthorized";
253
241
  readonly type: "error";
242
+ } | {
243
+ readonly inputs: readonly [{
244
+ readonly internalType: "address";
245
+ readonly name: "contractAddress";
246
+ readonly type: "address";
247
+ }];
248
+ readonly name: "IPAssetRegistry__UnsupportedIERC721";
249
+ readonly type: "error";
250
+ } | {
251
+ readonly inputs: readonly [{
252
+ readonly internalType: "address";
253
+ readonly name: "contractAddress";
254
+ readonly type: "address";
255
+ }];
256
+ readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
257
+ readonly type: "error";
254
258
  } | {
255
259
  readonly inputs: readonly [];
256
260
  readonly name: "IPResolver_InvalidIP";
@@ -259,17 +263,165 @@ export declare class IPAccountClient {
259
263
  readonly inputs: readonly [];
260
264
  readonly name: "IPResolver_Unauthorized";
261
265
  readonly type: "error";
266
+ } | {
267
+ readonly inputs: readonly [];
268
+ readonly name: "IpRoyaltyVault__AlreadyClaimed";
269
+ readonly type: "error";
270
+ } | {
271
+ readonly inputs: readonly [];
272
+ readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
273
+ readonly type: "error";
274
+ } | {
275
+ readonly inputs: readonly [];
276
+ readonly name: "IpRoyaltyVault__IpTagged";
277
+ readonly type: "error";
278
+ } | {
279
+ readonly inputs: readonly [];
280
+ readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
281
+ readonly type: "error";
282
+ } | {
283
+ readonly inputs: readonly [];
284
+ readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
285
+ readonly type: "error";
286
+ } | {
287
+ readonly inputs: readonly [];
288
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
289
+ readonly type: "error";
290
+ } | {
291
+ readonly inputs: readonly [];
292
+ readonly name: "IpRoyaltyVault__ZeroIpId";
293
+ readonly type: "error";
294
+ } | {
295
+ readonly inputs: readonly [];
296
+ readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
297
+ readonly type: "error";
262
298
  } | {
263
299
  readonly inputs: readonly [];
264
300
  readonly name: "LicenseRegistry__CallerNotLicensingModule";
265
301
  readonly type: "error";
302
+ } | {
303
+ readonly inputs: readonly [{
304
+ readonly internalType: "address";
305
+ readonly name: "childIpId";
306
+ readonly type: "address";
307
+ }];
308
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
309
+ readonly type: "error";
310
+ } | {
311
+ readonly inputs: readonly [{
312
+ readonly internalType: "address";
313
+ readonly name: "childIpId";
314
+ readonly type: "address";
315
+ }];
316
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
317
+ readonly type: "error";
318
+ } | {
319
+ readonly inputs: readonly [{
320
+ readonly internalType: "address";
321
+ readonly name: "ipId";
322
+ readonly type: "address";
323
+ }];
324
+ readonly name: "LicenseRegistry__DerivativeIsParent";
325
+ readonly type: "error";
326
+ } | {
327
+ readonly inputs: readonly [{
328
+ readonly internalType: "address";
329
+ readonly name: "ipId";
330
+ readonly type: "address";
331
+ }, {
332
+ readonly internalType: "uint256";
333
+ readonly name: "index";
334
+ readonly type: "uint256";
335
+ }, {
336
+ readonly internalType: "uint256";
337
+ readonly name: "length";
338
+ readonly type: "uint256";
339
+ }];
340
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
341
+ readonly type: "error";
342
+ } | {
343
+ readonly inputs: readonly [{
344
+ readonly internalType: "address";
345
+ readonly name: "ipId";
346
+ readonly type: "address";
347
+ }];
348
+ readonly name: "LicenseRegistry__IpExpired";
349
+ readonly type: "error";
350
+ } | {
351
+ readonly inputs: readonly [{
352
+ readonly internalType: "address";
353
+ readonly name: "licenseTemplate";
354
+ readonly type: "address";
355
+ }, {
356
+ readonly internalType: "uint256";
357
+ readonly name: "licenseTermsId";
358
+ readonly type: "uint256";
359
+ }];
360
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
361
+ readonly type: "error";
266
362
  } | {
267
363
  readonly inputs: readonly [];
268
- readonly name: "LicenseRegistry__NotTransferable";
364
+ readonly name: "LicenseRegistry__NoParentIp";
365
+ readonly type: "error";
366
+ } | {
367
+ readonly inputs: readonly [{
368
+ readonly internalType: "address";
369
+ readonly name: "licenseTemplate";
370
+ readonly type: "address";
371
+ }];
372
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
269
373
  readonly type: "error";
270
374
  } | {
271
375
  readonly inputs: readonly [];
272
- readonly name: "LicenseRegistry__RevokedLicense";
376
+ readonly name: "LicenseRegistry__NotTransferable";
377
+ readonly type: "error";
378
+ } | {
379
+ readonly inputs: readonly [{
380
+ readonly internalType: "address";
381
+ readonly name: "ipId";
382
+ readonly type: "address";
383
+ }];
384
+ readonly name: "LicenseRegistry__ParentIpExpired";
385
+ readonly type: "error";
386
+ } | {
387
+ readonly inputs: readonly [{
388
+ readonly internalType: "address";
389
+ readonly name: "ipId";
390
+ readonly type: "address";
391
+ }, {
392
+ readonly internalType: "uint256";
393
+ readonly name: "licenseTermsId";
394
+ readonly type: "uint256";
395
+ }];
396
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
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__ParentIpTagged";
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: "address";
413
+ readonly name: "licenseTemplate";
414
+ readonly type: "address";
415
+ }];
416
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
417
+ readonly type: "error";
418
+ } | {
419
+ readonly inputs: readonly [{
420
+ readonly internalType: "address";
421
+ readonly name: "licenseTemplate";
422
+ readonly type: "address";
423
+ }];
424
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
273
425
  readonly type: "error";
274
426
  } | {
275
427
  readonly inputs: readonly [];
@@ -279,14 +431,98 @@ export declare class IPAccountClient {
279
431
  readonly inputs: readonly [];
280
432
  readonly name: "LicenseRegistry__ZeroLicensingModule";
281
433
  readonly type: "error";
434
+ } | {
435
+ readonly inputs: readonly [{
436
+ readonly internalType: "address";
437
+ readonly name: "licenseTemplate";
438
+ readonly type: "address";
439
+ }, {
440
+ readonly internalType: "address";
441
+ readonly name: "anotherLicenseTemplate";
442
+ readonly type: "address";
443
+ }];
444
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
445
+ readonly type: "error";
446
+ } | {
447
+ readonly inputs: readonly [];
448
+ readonly name: "LicenseToken__CallerNotLicensingModule";
449
+ readonly type: "error";
450
+ } | {
451
+ readonly inputs: readonly [{
452
+ readonly internalType: "uint256";
453
+ readonly name: "tokenId";
454
+ readonly type: "uint256";
455
+ }, {
456
+ readonly internalType: "uint256";
457
+ readonly name: "expiredAt";
458
+ readonly type: "uint256";
459
+ }, {
460
+ readonly internalType: "uint256";
461
+ readonly name: "currentTimestamp";
462
+ readonly type: "uint256";
463
+ }];
464
+ readonly name: "LicenseToken__LicenseTokenExpired";
465
+ readonly type: "error";
466
+ } | {
467
+ readonly inputs: readonly [{
468
+ readonly internalType: "uint256";
469
+ readonly name: "tokenId";
470
+ readonly type: "uint256";
471
+ }, {
472
+ readonly internalType: "address";
473
+ readonly name: "iPowner";
474
+ readonly type: "address";
475
+ }, {
476
+ readonly internalType: "address";
477
+ readonly name: "tokenOwner";
478
+ readonly type: "address";
479
+ }];
480
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
481
+ readonly type: "error";
482
+ } | {
483
+ readonly inputs: readonly [];
484
+ readonly name: "LicenseToken__NotTransferable";
485
+ readonly type: "error";
486
+ } | {
487
+ readonly inputs: readonly [{
488
+ readonly internalType: "uint256";
489
+ readonly name: "tokenId";
490
+ readonly type: "uint256";
491
+ }];
492
+ readonly name: "LicenseToken__RevokedLicense";
493
+ readonly type: "error";
494
+ } | {
495
+ readonly inputs: readonly [];
496
+ readonly name: "LicenseToken__ZeroDisputeModule";
497
+ readonly type: "error";
282
498
  } | {
283
499
  readonly inputs: readonly [];
284
- readonly name: "LicensingModuleAware__CallerNotLicensingModule";
500
+ readonly name: "LicenseToken__ZeroLicensingModule";
285
501
  readonly type: "error";
286
502
  } | {
287
503
  readonly inputs: readonly [];
288
504
  readonly name: "LicensingModule__CallerNotLicenseRegistry";
289
505
  readonly type: "error";
506
+ } | {
507
+ readonly inputs: readonly [{
508
+ readonly internalType: "address";
509
+ readonly name: "caller";
510
+ readonly type: "address";
511
+ }, {
512
+ readonly internalType: "address";
513
+ readonly name: "licensorIpId";
514
+ readonly type: "address";
515
+ }, {
516
+ readonly internalType: "address";
517
+ readonly name: "licenseTemplate";
518
+ readonly type: "address";
519
+ }, {
520
+ readonly internalType: "uint256";
521
+ readonly name: "licenseTermsId";
522
+ readonly type: "uint256";
523
+ }];
524
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
525
+ readonly type: "error";
290
526
  } | {
291
527
  readonly inputs: readonly [];
292
528
  readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
@@ -295,10 +531,30 @@ export declare class IPAccountClient {
295
531
  readonly inputs: readonly [];
296
532
  readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
297
533
  readonly type: "error";
534
+ } | {
535
+ readonly inputs: readonly [{
536
+ readonly internalType: "address";
537
+ readonly name: "ipId";
538
+ readonly type: "address";
539
+ }];
540
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
541
+ readonly type: "error";
542
+ } | {
543
+ readonly inputs: readonly [];
544
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
545
+ readonly type: "error";
546
+ } | {
547
+ readonly inputs: readonly [];
548
+ readonly name: "LicensingModule__DerivativeIsParent";
549
+ readonly type: "error";
298
550
  } | {
299
551
  readonly inputs: readonly [];
300
552
  readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
301
553
  readonly type: "error";
554
+ } | {
555
+ readonly inputs: readonly [];
556
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
557
+ readonly type: "error";
302
558
  } | {
303
559
  readonly inputs: readonly [];
304
560
  readonly name: "LicensingModule__DerivativesCannotAddPolicy";
@@ -321,11 +577,19 @@ export declare class IPAccountClient {
321
577
  readonly type: "error";
322
578
  } | {
323
579
  readonly inputs: readonly [];
324
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
580
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
325
581
  readonly type: "error";
326
582
  } | {
327
- readonly inputs: readonly [];
328
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
583
+ readonly inputs: readonly [{
584
+ readonly internalType: "address";
585
+ readonly name: "royaltyPolicy";
586
+ readonly type: "address";
587
+ }, {
588
+ readonly internalType: "address";
589
+ readonly name: "anotherRoyaltyPolicy";
590
+ readonly type: "address";
591
+ }];
592
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
329
593
  readonly type: "error";
330
594
  } | {
331
595
  readonly inputs: readonly [];
@@ -343,6 +607,54 @@ export declare class IPAccountClient {
343
607
  readonly inputs: readonly [];
344
608
  readonly name: "LicensingModule__InvalidPolicyFramework";
345
609
  readonly type: "error";
610
+ } | {
611
+ readonly inputs: readonly [];
612
+ readonly name: "LicensingModule__IpAlreadyLinked";
613
+ readonly type: "error";
614
+ } | {
615
+ readonly inputs: readonly [{
616
+ readonly internalType: "address";
617
+ readonly name: "childIpId";
618
+ readonly type: "address";
619
+ }];
620
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
621
+ readonly type: "error";
622
+ } | {
623
+ readonly inputs: readonly [{
624
+ readonly internalType: "uint256";
625
+ readonly name: "ipLength";
626
+ readonly type: "uint256";
627
+ }, {
628
+ readonly internalType: "uint256";
629
+ readonly name: "licenseTermsLength";
630
+ readonly type: "uint256";
631
+ }];
632
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
633
+ readonly type: "error";
634
+ } | {
635
+ readonly inputs: readonly [{
636
+ readonly internalType: "address";
637
+ readonly name: "licenseTemplate";
638
+ readonly type: "address";
639
+ }, {
640
+ readonly internalType: "uint256";
641
+ readonly name: "licenseTermsId";
642
+ readonly type: "uint256";
643
+ }];
644
+ readonly name: "LicensingModule__LicenseTermsNotFound";
645
+ readonly type: "error";
646
+ } | {
647
+ readonly inputs: readonly [{
648
+ readonly internalType: "address";
649
+ readonly name: "childIpId";
650
+ readonly type: "address";
651
+ }, {
652
+ readonly internalType: "uint256[]";
653
+ readonly name: "licenseTokenIds";
654
+ readonly type: "uint256[]";
655
+ }];
656
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
657
+ readonly type: "error";
346
658
  } | {
347
659
  readonly inputs: readonly [];
348
660
  readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
@@ -359,6 +671,10 @@ export declare class IPAccountClient {
359
671
  readonly inputs: readonly [];
360
672
  readonly name: "LicensingModule__LinkingRevokedLicense";
361
673
  readonly type: "error";
674
+ } | {
675
+ readonly inputs: readonly [];
676
+ readonly name: "LicensingModule__MintAmountZero";
677
+ readonly type: "error";
362
678
  } | {
363
679
  readonly inputs: readonly [];
364
680
  readonly name: "LicensingModule__MintLicenseParamFailed";
@@ -371,6 +687,14 @@ export declare class IPAccountClient {
371
687
  readonly inputs: readonly [];
372
688
  readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
373
689
  readonly type: "error";
690
+ } | {
691
+ readonly inputs: readonly [];
692
+ readonly name: "LicensingModule__NoLicenseToken";
693
+ readonly type: "error";
694
+ } | {
695
+ readonly inputs: readonly [];
696
+ readonly name: "LicensingModule__NoParentIp";
697
+ readonly type: "error";
374
698
  } | {
375
699
  readonly inputs: readonly [];
376
700
  readonly name: "LicensingModule__NotLicensee";
@@ -387,6 +711,14 @@ export declare class IPAccountClient {
387
711
  readonly inputs: readonly [];
388
712
  readonly name: "LicensingModule__ParentIdEqualThanChild";
389
713
  readonly type: "error";
714
+ } | {
715
+ readonly inputs: readonly [{
716
+ readonly internalType: "address";
717
+ readonly name: "ipId";
718
+ readonly type: "address";
719
+ }];
720
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
721
+ readonly type: "error";
390
722
  } | {
391
723
  readonly inputs: readonly [];
392
724
  readonly name: "LicensingModule__PolicyAlreadySetForIpId";
@@ -395,6 +727,18 @@ export declare class IPAccountClient {
395
727
  readonly inputs: readonly [];
396
728
  readonly name: "LicensingModule__PolicyNotFound";
397
729
  readonly type: "error";
730
+ } | {
731
+ readonly inputs: readonly [{
732
+ readonly internalType: "address";
733
+ readonly name: "receiver";
734
+ readonly type: "address";
735
+ }];
736
+ readonly name: "LicensingModule__ReceiverCheckFailed";
737
+ readonly type: "error";
738
+ } | {
739
+ readonly inputs: readonly [];
740
+ readonly name: "LicensingModule__ReceiverZeroAddress";
741
+ readonly type: "error";
398
742
  } | {
399
743
  readonly inputs: readonly [];
400
744
  readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
@@ -525,15 +869,15 @@ export declare class IPAccountClient {
525
869
  readonly type: "error";
526
870
  } | {
527
871
  readonly inputs: readonly [];
528
- readonly name: "RegistrationModule__InvalidOwner";
872
+ readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
529
873
  readonly type: "error";
530
874
  } | {
531
875
  readonly inputs: readonly [];
532
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
876
+ readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
533
877
  readonly type: "error";
534
878
  } | {
535
879
  readonly inputs: readonly [];
536
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
880
+ readonly name: "RoyaltyModule__IpIsTagged";
537
881
  readonly type: "error";
538
882
  } | {
539
883
  readonly inputs: readonly [];
@@ -549,15 +893,15 @@ export declare class IPAccountClient {
549
893
  readonly type: "error";
550
894
  } | {
551
895
  readonly inputs: readonly [];
552
- readonly name: "RoyaltyModule__NotRegisteredIpId";
896
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
553
897
  readonly type: "error";
554
898
  } | {
555
899
  readonly inputs: readonly [];
556
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
900
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
557
901
  readonly type: "error";
558
902
  } | {
559
903
  readonly inputs: readonly [];
560
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
904
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
561
905
  readonly type: "error";
562
906
  } | {
563
907
  readonly inputs: readonly [];
@@ -587,30 +931,10 @@ export declare class IPAccountClient {
587
931
  readonly inputs: readonly [];
588
932
  readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
589
933
  readonly type: "error";
590
- } | {
591
- readonly inputs: readonly [];
592
- readonly name: "RoyaltyPolicyLAP__InvalidAncestors";
593
- readonly type: "error";
594
- } | {
595
- readonly inputs: readonly [];
596
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsHash";
597
- readonly type: "error";
598
- } | {
599
- readonly inputs: readonly [];
600
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsLength";
601
- readonly type: "error";
602
- } | {
603
- readonly inputs: readonly [];
604
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsRoyalty";
605
- readonly type: "error";
606
934
  } | {
607
935
  readonly inputs: readonly [];
608
936
  readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
609
937
  readonly type: "error";
610
- } | {
611
- readonly inputs: readonly [];
612
- readonly name: "RoyaltyPolicyLAP__InvalidRoyaltyAmountLength";
613
- readonly type: "error";
614
938
  } | {
615
939
  readonly inputs: readonly [];
616
940
  readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
@@ -625,15 +949,15 @@ export declare class IPAccountClient {
625
949
  readonly type: "error";
626
950
  } | {
627
951
  readonly inputs: readonly [];
628
- readonly name: "RoyaltyPolicyLAP__TransferFailed";
952
+ readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
629
953
  readonly type: "error";
630
954
  } | {
631
955
  readonly inputs: readonly [];
632
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
956
+ readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
633
957
  readonly type: "error";
634
958
  } | {
635
959
  readonly inputs: readonly [];
636
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
960
+ readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
637
961
  readonly type: "error";
638
962
  } | {
639
963
  readonly inputs: readonly [];
@@ -1 +1 @@
1
- {"version":3,"file":"ipAccount.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAc,MAAM,MAAM,CAAC;AAE9D,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAChC,wCAAqC;AAKtC,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IAClC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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