@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,2436 +0,0 @@
1
- import { PublicClient, WalletClient } from "viem";
2
- import { RegisterPILPolicyRequest, RegisterPILPolicyResponse, RegisterPILSocialRemixPolicyRequest, RegisterPILSocialRemixPolicyResponse, RegisterPILCommercialUsePolicyRequest, RegisterPILCommercialUsePolicyResponse, AddPolicyToIpRequest, AddPolicyToIpResponse } from "../types/resources/policy.js";
3
- export declare class PolicyClient {
4
- private readonly wallet;
5
- private readonly rpcClient;
6
- ipAccountABI: ({
7
- readonly inputs: readonly [{
8
- readonly internalType: "address";
9
- readonly name: "caller";
10
- readonly type: "address";
11
- }];
12
- readonly name: "AccessControlled__CallerIsNotIpAccount";
13
- readonly type: "error";
14
- } | {
15
- readonly inputs: readonly [{
16
- readonly internalType: "address";
17
- readonly name: "ipAccount";
18
- readonly type: "address";
19
- }];
20
- readonly name: "AccessControlled__NotIpAccount";
21
- readonly type: "error";
22
- } | {
23
- readonly inputs: readonly [];
24
- readonly name: "AccessControlled__ZeroAddress";
25
- readonly type: "error";
26
- } | {
27
- readonly inputs: readonly [];
28
- readonly name: "AccessController__CallerIsNotIPAccount";
29
- readonly type: "error";
30
- } | {
31
- readonly inputs: readonly [{
32
- readonly internalType: "address";
33
- readonly name: "ipAccount";
34
- readonly type: "address";
35
- }];
36
- readonly name: "AccessController__IPAccountIsNotValid";
37
- readonly type: "error";
38
- } | {
39
- readonly inputs: readonly [];
40
- readonly name: "AccessController__IPAccountIsZeroAddress";
41
- readonly type: "error";
42
- } | {
43
- readonly inputs: readonly [{
44
- readonly internalType: "address";
45
- readonly name: "ipAccount";
46
- readonly type: "address";
47
- }, {
48
- readonly internalType: "address";
49
- readonly name: "signer";
50
- readonly type: "address";
51
- }, {
52
- readonly internalType: "address";
53
- readonly name: "to";
54
- readonly type: "address";
55
- }, {
56
- readonly internalType: "bytes4";
57
- readonly name: "func";
58
- readonly type: "bytes4";
59
- }];
60
- readonly name: "AccessController__PermissionDenied";
61
- readonly type: "error";
62
- } | {
63
- readonly inputs: readonly [];
64
- readonly name: "AccessController__PermissionIsNotValid";
65
- 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
- } | {
75
- readonly inputs: readonly [];
76
- readonly name: "AccessController__SignerIsZeroAddress";
77
- readonly type: "error";
78
- } | {
79
- 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";
105
- readonly type: "error";
106
- } | {
107
- readonly inputs: readonly [];
108
- readonly name: "AncestorsVaultLAP__ZeroRoyaltyPolicyLAP";
109
- readonly type: "error";
110
- } | {
111
- readonly inputs: readonly [];
112
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
113
- readonly type: "error";
114
- } | {
115
- readonly inputs: readonly [];
116
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
117
- readonly type: "error";
118
- } | {
119
- readonly inputs: readonly [];
120
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
121
- readonly type: "error";
122
- } | {
123
- readonly inputs: readonly [];
124
- readonly name: "DisputeModule__NotAbleToResolve";
125
- readonly type: "error";
126
- } | {
127
- readonly inputs: readonly [];
128
- readonly name: "DisputeModule__NotDisputeInitiator";
129
- readonly type: "error";
130
- } | {
131
- readonly inputs: readonly [];
132
- readonly name: "DisputeModule__NotInDisputeState";
133
- readonly type: "error";
134
- } | {
135
- readonly inputs: readonly [];
136
- readonly name: "DisputeModule__NotRegisteredIpId";
137
- readonly type: "error";
138
- } | {
139
- readonly inputs: readonly [];
140
- readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
141
- readonly type: "error";
142
- } | {
143
- readonly inputs: readonly [];
144
- readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
145
- readonly type: "error";
146
- } | {
147
- readonly inputs: readonly [];
148
- readonly name: "DisputeModule__NotWhitelistedDisputeTag";
149
- readonly type: "error";
150
- } | {
151
- readonly inputs: readonly [];
152
- readonly name: "DisputeModule__UnauthorizedAccess";
153
- readonly type: "error";
154
- } | {
155
- readonly inputs: readonly [];
156
- readonly name: "DisputeModule__ZeroArbitrationPolicy";
157
- readonly type: "error";
158
- } | {
159
- readonly inputs: readonly [];
160
- readonly name: "DisputeModule__ZeroArbitrationRelayer";
161
- readonly type: "error";
162
- } | {
163
- readonly inputs: readonly [];
164
- readonly name: "DisputeModule__ZeroDisputeTag";
165
- readonly type: "error";
166
- } | {
167
- readonly inputs: readonly [];
168
- readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
169
- readonly type: "error";
170
- } | {
171
- readonly inputs: readonly [];
172
- readonly name: "Governance__InconsistentState";
173
- readonly type: "error";
174
- } | {
175
- readonly inputs: readonly [];
176
- readonly name: "Governance__NewStateIsTheSameWithOldState";
177
- readonly type: "error";
178
- } | {
179
- readonly inputs: readonly [];
180
- readonly name: "Governance__OnlyProtocolAdmin";
181
- readonly type: "error";
182
- } | {
183
- readonly inputs: readonly [];
184
- readonly name: "Governance__ProtocolPaused";
185
- readonly type: "error";
186
- } | {
187
- readonly inputs: readonly [{
188
- readonly internalType: "string";
189
- readonly name: "interfaceName";
190
- readonly type: "string";
191
- }];
192
- readonly name: "Governance__UnsupportedInterface";
193
- readonly type: "error";
194
- } | {
195
- readonly inputs: readonly [];
196
- readonly name: "Governance__ZeroAddress";
197
- readonly type: "error";
198
- } | {
199
- readonly inputs: readonly [];
200
- readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
201
- readonly type: "error";
202
- } | {
203
- readonly inputs: readonly [];
204
- readonly name: "IPAccount__ExpiredSignature";
205
- readonly type: "error";
206
- } | {
207
- readonly inputs: readonly [];
208
- readonly name: "IPAccount__InvalidAccessController";
209
- readonly type: "error";
210
- } | {
211
- readonly inputs: readonly [];
212
- readonly name: "IPAccount__InvalidCalldata";
213
- readonly type: "error";
214
- } | {
215
- readonly inputs: readonly [];
216
- readonly name: "IPAccount__InvalidSignature";
217
- readonly type: "error";
218
- } | {
219
- readonly inputs: readonly [];
220
- readonly name: "IPAccount__InvalidSigner";
221
- readonly type: "error";
222
- } | {
223
- readonly inputs: readonly [];
224
- readonly name: "IPAssetRegistry__AlreadyRegistered";
225
- readonly type: "error";
226
- } | {
227
- readonly inputs: readonly [];
228
- readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
229
- readonly type: "error";
230
- } | {
231
- readonly inputs: readonly [];
232
- readonly name: "IPAssetRegistry__InvalidAccount";
233
- readonly type: "error";
234
- } | {
235
- readonly inputs: readonly [];
236
- readonly name: "IPAssetRegistry__InvalidMetadataProvider";
237
- readonly type: "error";
238
- } | {
239
- readonly inputs: readonly [];
240
- readonly name: "IPAssetRegistry__NotYetRegistered";
241
- readonly type: "error";
242
- } | {
243
- readonly inputs: readonly [];
244
- readonly name: "IPAssetRegistry__RegistrantUnauthorized";
245
- readonly type: "error";
246
- } | {
247
- readonly inputs: readonly [];
248
- readonly name: "IPAssetRegistry__ResolverInvalid";
249
- readonly type: "error";
250
- } | {
251
- readonly inputs: readonly [];
252
- readonly name: "IPAssetRegistry__Unauthorized";
253
- readonly type: "error";
254
- } | {
255
- readonly inputs: readonly [];
256
- readonly name: "IPResolver_InvalidIP";
257
- readonly type: "error";
258
- } | {
259
- readonly inputs: readonly [];
260
- readonly name: "IPResolver_Unauthorized";
261
- readonly type: "error";
262
- } | {
263
- readonly inputs: readonly [];
264
- readonly name: "LicenseRegistry__CallerNotLicensingModule";
265
- readonly type: "error";
266
- } | {
267
- readonly inputs: readonly [];
268
- readonly name: "LicenseRegistry__NotTransferable";
269
- readonly type: "error";
270
- } | {
271
- readonly inputs: readonly [];
272
- readonly name: "LicenseRegistry__RevokedLicense";
273
- readonly type: "error";
274
- } | {
275
- readonly inputs: readonly [];
276
- readonly name: "LicenseRegistry__ZeroDisputeModule";
277
- readonly type: "error";
278
- } | {
279
- readonly inputs: readonly [];
280
- readonly name: "LicenseRegistry__ZeroLicensingModule";
281
- readonly type: "error";
282
- } | {
283
- readonly inputs: readonly [];
284
- readonly name: "LicensingModuleAware__CallerNotLicensingModule";
285
- readonly type: "error";
286
- } | {
287
- readonly inputs: readonly [];
288
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
289
- readonly type: "error";
290
- } | {
291
- readonly inputs: readonly [];
292
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
293
- readonly type: "error";
294
- } | {
295
- readonly inputs: readonly [];
296
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
297
- readonly type: "error";
298
- } | {
299
- readonly inputs: readonly [];
300
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
301
- readonly type: "error";
302
- } | {
303
- readonly inputs: readonly [];
304
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
305
- readonly type: "error";
306
- } | {
307
- readonly inputs: readonly [];
308
- readonly name: "LicensingModule__DisputedIpId";
309
- readonly type: "error";
310
- } | {
311
- readonly inputs: readonly [];
312
- readonly name: "LicensingModule__EmptyLicenseUrl";
313
- readonly type: "error";
314
- } | {
315
- readonly inputs: readonly [];
316
- readonly name: "LicensingModule__EmptyParamName";
317
- readonly type: "error";
318
- } | {
319
- readonly inputs: readonly [];
320
- readonly name: "LicensingModule__FrameworkNotFound";
321
- readonly type: "error";
322
- } | {
323
- readonly inputs: readonly [];
324
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
325
- readonly type: "error";
326
- } | {
327
- readonly inputs: readonly [];
328
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
329
- readonly type: "error";
330
- } | {
331
- readonly inputs: readonly [];
332
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
333
- readonly type: "error";
334
- } | {
335
- readonly inputs: readonly [];
336
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
337
- readonly type: "error";
338
- } | {
339
- readonly inputs: readonly [];
340
- readonly name: "LicensingModule__InvalidLicensor";
341
- readonly type: "error";
342
- } | {
343
- readonly inputs: readonly [];
344
- readonly name: "LicensingModule__InvalidPolicyFramework";
345
- readonly type: "error";
346
- } | {
347
- readonly inputs: readonly [];
348
- readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
349
- readonly type: "error";
350
- } | {
351
- readonly inputs: readonly [];
352
- readonly name: "LicensingModule__LicensorNotRegistered";
353
- readonly type: "error";
354
- } | {
355
- readonly inputs: readonly [];
356
- readonly name: "LicensingModule__LinkParentParamFailed";
357
- readonly type: "error";
358
- } | {
359
- readonly inputs: readonly [];
360
- readonly name: "LicensingModule__LinkingRevokedLicense";
361
- readonly type: "error";
362
- } | {
363
- readonly inputs: readonly [];
364
- readonly name: "LicensingModule__MintLicenseParamFailed";
365
- readonly type: "error";
366
- } | {
367
- readonly inputs: readonly [];
368
- readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
369
- readonly type: "error";
370
- } | {
371
- readonly inputs: readonly [];
372
- readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
373
- readonly type: "error";
374
- } | {
375
- readonly inputs: readonly [];
376
- readonly name: "LicensingModule__NotLicensee";
377
- readonly type: "error";
378
- } | {
379
- readonly inputs: readonly [];
380
- readonly name: "LicensingModule__ParamVerifierAlreadySet";
381
- readonly type: "error";
382
- } | {
383
- readonly inputs: readonly [];
384
- readonly name: "LicensingModule__ParamVerifierLengthMismatch";
385
- readonly type: "error";
386
- } | {
387
- readonly inputs: readonly [];
388
- readonly name: "LicensingModule__ParentIdEqualThanChild";
389
- readonly type: "error";
390
- } | {
391
- readonly inputs: readonly [];
392
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
393
- readonly type: "error";
394
- } | {
395
- readonly inputs: readonly [];
396
- readonly name: "LicensingModule__PolicyNotFound";
397
- readonly type: "error";
398
- } | {
399
- readonly inputs: readonly [];
400
- readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
401
- readonly type: "error";
402
- } | {
403
- readonly inputs: readonly [];
404
- readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
405
- readonly type: "error";
406
- } | {
407
- readonly inputs: readonly [];
408
- readonly name: "LicensingModule__TransferParamFailed";
409
- readonly type: "error";
410
- } | {
411
- readonly inputs: readonly [];
412
- readonly name: "LicensingModule__UnauthorizedAccess";
413
- readonly type: "error";
414
- } | {
415
- readonly inputs: readonly [];
416
- readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
417
- readonly type: "error";
418
- } | {
419
- readonly inputs: readonly [];
420
- readonly name: "LicensorApprovalChecker__Unauthorized";
421
- readonly type: "error";
422
- } | {
423
- readonly inputs: readonly [];
424
- readonly name: "MetadataProvider__HashInvalid";
425
- readonly type: "error";
426
- } | {
427
- readonly inputs: readonly []; /**
428
- * Convenient function to register a PIL social remix policy to the registry
429
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
430
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
431
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
432
- * @param mintingFee Fee to be paid when minting a license
433
- * @param mintingFeeToken Token to be used to pay the minting fee
434
- * @param request.territories List of territories where the license is valid. If empty, global.
435
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
436
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
437
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
438
- */
439
- readonly name: "MetadataProvider__IPAssetOwnerInvalid";
440
- readonly type: "error";
441
- } | {
442
- readonly inputs: readonly [];
443
- readonly name: "MetadataProvider__MetadataNotCompatible";
444
- readonly type: "error";
445
- } | {
446
- readonly inputs: readonly [];
447
- readonly name: "MetadataProvider__NameInvalid";
448
- readonly type: "error";
449
- } | {
450
- readonly inputs: readonly [];
451
- readonly name: "MetadataProvider__RegistrantInvalid";
452
- readonly type: "error";
453
- } | {
454
- readonly inputs: readonly [];
455
- readonly name: "MetadataProvider__RegistrationDateInvalid";
456
- readonly type: "error";
457
- } | {
458
- readonly inputs: readonly [];
459
- readonly name: "MetadataProvider__URIInvalid";
460
- readonly type: "error";
461
- } | {
462
- readonly inputs: readonly [];
463
- readonly name: "MetadataProvider__Unauthorized";
464
- readonly type: "error";
465
- } | {
466
- readonly inputs: readonly [];
467
- readonly name: "MetadataProvider__UpgradeProviderInvalid";
468
- readonly type: "error";
469
- } | {
470
- readonly inputs: readonly [];
471
- readonly name: "MetadataProvider__UpgradeUnavailable";
472
- readonly type: "error";
473
- } | {
474
- readonly inputs: readonly [];
475
- readonly name: "ModuleRegistry__InterfaceIdZero";
476
- readonly type: "error";
477
- } | {
478
- readonly inputs: readonly [];
479
- readonly name: "ModuleRegistry__ModuleAddressNotContract";
480
- readonly type: "error";
481
- } | {
482
- readonly inputs: readonly [];
483
- readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
484
- readonly type: "error";
485
- } | {
486
- readonly inputs: readonly [];
487
- readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
488
- readonly type: "error";
489
- } | {
490
- readonly inputs: readonly [];
491
- readonly name: "ModuleRegistry__ModuleNotRegistered";
492
- readonly type: "error";
493
- } | {
494
- readonly inputs: readonly [];
495
- readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
496
- readonly type: "error";
497
- } | {
498
- readonly inputs: readonly [];
499
- readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
500
- readonly type: "error";
501
- } | {
502
- readonly inputs: readonly [];
503
- readonly name: "ModuleRegistry__ModuleTypeEmptyString";
504
- readonly type: "error";
505
- } | {
506
- readonly inputs: readonly [];
507
- readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
508
- readonly type: "error";
509
- } | {
510
- readonly inputs: readonly [];
511
- readonly name: "ModuleRegistry__NameAlreadyRegistered";
512
- readonly type: "error";
513
- } | {
514
- readonly inputs: readonly [];
515
- readonly name: "ModuleRegistry__NameDoesNotMatch";
516
- readonly type: "error";
517
- } | {
518
- readonly inputs: readonly [];
519
- readonly name: "ModuleRegistry__NameEmptyString";
520
- readonly type: "error";
521
- } | {
522
- readonly inputs: readonly [];
523
- readonly name: "Module_Unauthorized";
524
- readonly type: "error";
525
- } | {
526
- readonly inputs: readonly [{
527
- readonly internalType: "address";
528
- readonly name: "commercializer";
529
- readonly type: "address";
530
- }];
531
- readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
532
- readonly type: "error";
533
- } | {
534
- readonly inputs: readonly [];
535
- readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
536
- readonly type: "error";
537
- } | {
538
- readonly inputs: readonly [];
539
- readonly name: "RegistrationModule__InvalidOwner";
540
- readonly type: "error";
541
- } | {
542
- readonly inputs: readonly [];
543
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
544
- readonly type: "error";
545
- } | {
546
- readonly inputs: readonly [];
547
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
548
- readonly type: "error";
549
- } | {
550
- readonly inputs: readonly [];
551
- readonly name: "RoyaltyModule__NoParentsOnLinking";
552
- readonly type: "error";
553
- } | {
554
- readonly inputs: readonly [];
555
- readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
556
- readonly type: "error";
557
- } | {
558
- readonly inputs: readonly [];
559
- readonly name: "RoyaltyModule__NotAllowedCaller";
560
- readonly type: "error";
561
- } | {
562
- readonly inputs: readonly [];
563
- readonly name: "RoyaltyModule__NotRegisteredIpId";
564
- readonly type: "error";
565
- } | {
566
- readonly inputs: readonly [];
567
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
568
- readonly type: "error";
569
- } | {
570
- readonly inputs: readonly [];
571
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
572
- readonly type: "error";
573
- } | {
574
- readonly inputs: readonly [];
575
- readonly name: "RoyaltyModule__ZeroLicensingModule";
576
- readonly type: "error";
577
- } | {
578
- readonly inputs: readonly [];
579
- readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
580
- readonly type: "error";
581
- } | {
582
- readonly inputs: readonly [];
583
- readonly name: "RoyaltyModule__ZeroRoyaltyToken";
584
- readonly type: "error";
585
- } | {
586
- readonly inputs: readonly [];
587
- readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
588
- readonly type: "error";
589
- } | {
590
- readonly inputs: readonly [];
591
- readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
592
- readonly type: "error";
593
- } | {
594
- readonly inputs: readonly [];
595
- readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
596
- readonly type: "error";
597
- } | {
598
- readonly inputs: readonly [];
599
- readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
600
- readonly type: "error";
601
- } | {
602
- readonly inputs: readonly [];
603
- readonly name: "RoyaltyPolicyLAP__InvalidAncestors";
604
- readonly type: "error";
605
- } | {
606
- readonly inputs: readonly [];
607
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsHash";
608
- readonly type: "error";
609
- } | {
610
- readonly inputs: readonly [];
611
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsLength";
612
- readonly type: "error";
613
- } | {
614
- readonly inputs: readonly [];
615
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsRoyalty";
616
- readonly type: "error";
617
- } | {
618
- readonly inputs: readonly [];
619
- readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
620
- readonly type: "error";
621
- } | {
622
- readonly inputs: readonly [];
623
- readonly name: "RoyaltyPolicyLAP__InvalidRoyaltyAmountLength";
624
- readonly type: "error";
625
- } | {
626
- readonly inputs: readonly [];
627
- readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
628
- readonly type: "error";
629
- } | {
630
- readonly inputs: readonly [];
631
- readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
632
- readonly type: "error";
633
- } | {
634
- readonly inputs: readonly [];
635
- readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
636
- readonly type: "error";
637
- } | {
638
- readonly inputs: readonly [];
639
- readonly name: "RoyaltyPolicyLAP__TransferFailed";
640
- readonly type: "error";
641
- } | {
642
- readonly inputs: readonly [];
643
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
644
- readonly type: "error";
645
- } | {
646
- readonly inputs: readonly [];
647
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
648
- readonly type: "error";
649
- } | {
650
- readonly inputs: readonly [];
651
- readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
652
- readonly type: "error";
653
- } | {
654
- readonly inputs: readonly [];
655
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
656
- readonly type: "error";
657
- } | {
658
- readonly inputs: readonly [];
659
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
660
- readonly type: "error";
661
- } | {
662
- readonly inputs: readonly [];
663
- readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
664
- readonly type: "error";
665
- } | {
666
- readonly inputs: readonly [{
667
- readonly internalType: "address";
668
- readonly name: "to";
669
- readonly type: "address";
670
- }, {
671
- readonly internalType: "uint256";
672
- readonly name: "value";
673
- readonly type: "uint256";
674
- }, {
675
- readonly internalType: "bytes";
676
- readonly name: "data";
677
- readonly type: "bytes";
678
- }];
679
- readonly name: "execute";
680
- readonly outputs: readonly [{
681
- readonly internalType: "bytes";
682
- readonly name: "result";
683
- readonly type: "bytes";
684
- }];
685
- readonly stateMutability: "payable";
686
- readonly type: "function";
687
- } | {
688
- readonly inputs: readonly [{
689
- readonly internalType: "address";
690
- readonly name: "to";
691
- readonly type: "address";
692
- }, {
693
- readonly internalType: "uint256";
694
- readonly name: "value";
695
- readonly type: "uint256";
696
- }, {
697
- readonly internalType: "bytes";
698
- readonly name: "data";
699
- readonly type: "bytes";
700
- }, {
701
- readonly internalType: "address";
702
- readonly name: "signer";
703
- readonly type: "address";
704
- }, {
705
- readonly internalType: "uint256";
706
- readonly name: "deadline";
707
- readonly type: "uint256";
708
- }, {
709
- readonly internalType: "bytes";
710
- readonly name: "signature";
711
- readonly type: "bytes";
712
- }];
713
- readonly name: "executeWithSig";
714
- readonly outputs: readonly [{
715
- readonly internalType: "bytes";
716
- readonly name: "result";
717
- readonly type: "bytes";
718
- }];
719
- readonly stateMutability: "payable";
720
- readonly type: "function";
721
- })[];
722
- licensingModuleConfig: {
723
- abi: ({
724
- readonly inputs: readonly [{
725
- readonly internalType: "address";
726
- readonly name: "caller";
727
- readonly type: "address";
728
- }];
729
- readonly name: "AccessControlled__CallerIsNotIpAccount";
730
- readonly type: "error";
731
- } | {
732
- readonly inputs: readonly [{
733
- readonly internalType: "address";
734
- readonly name: "ipAccount";
735
- readonly type: "address";
736
- }];
737
- readonly name: "AccessControlled__NotIpAccount";
738
- readonly type: "error";
739
- } | {
740
- readonly inputs: readonly [];
741
- readonly name: "AccessControlled__ZeroAddress";
742
- readonly type: "error";
743
- } | {
744
- readonly inputs: readonly [];
745
- readonly name: "AccessController__CallerIsNotIPAccount";
746
- readonly type: "error";
747
- } | {
748
- readonly inputs: readonly [{
749
- readonly internalType: "address";
750
- readonly name: "ipAccount";
751
- readonly type: "address";
752
- }];
753
- readonly name: "AccessController__IPAccountIsNotValid";
754
- readonly type: "error";
755
- } | {
756
- readonly inputs: readonly [];
757
- readonly name: "AccessController__IPAccountIsZeroAddress";
758
- readonly type: "error";
759
- } | {
760
- readonly inputs: readonly [{
761
- readonly internalType: "address";
762
- readonly name: "ipAccount";
763
- readonly type: "address";
764
- }, {
765
- readonly internalType: "address";
766
- readonly name: "signer";
767
- readonly type: "address";
768
- }, {
769
- readonly internalType: "address";
770
- readonly name: "to";
771
- readonly type: "address";
772
- }, {
773
- readonly internalType: "bytes4";
774
- readonly name: "func";
775
- readonly type: "bytes4";
776
- }];
777
- readonly name: "AccessController__PermissionDenied";
778
- readonly type: "error";
779
- } | {
780
- readonly inputs: readonly [];
781
- readonly name: "AccessController__PermissionIsNotValid";
782
- readonly type: "error";
783
- } | {
784
- readonly inputs: readonly [{
785
- readonly internalType: "address";
786
- readonly name: "to";
787
- readonly type: "address";
788
- }];
789
- readonly name: "AccessController__RecipientIsNotRegisteredModule";
790
- readonly type: "error";
791
- } | {
792
- readonly inputs: readonly [];
793
- readonly name: "AccessController__SignerIsZeroAddress";
794
- readonly type: "error";
795
- } | {
796
- readonly inputs: readonly [];
797
- readonly name: "AncestorsVaultLAP__AlreadyClaimed";
798
- readonly type: "error";
799
- } | {
800
- readonly inputs: readonly [];
801
- readonly name: "AncestorsVaultLAP__ClaimerNotAnAncestor";
802
- readonly type: "error";
803
- } | {
804
- readonly inputs: readonly [];
805
- readonly name: "AncestorsVaultLAP__ERC20BalanceNotZero";
806
- readonly type: "error";
807
- } | {
808
- readonly inputs: readonly [];
809
- readonly name: "AncestorsVaultLAP__ETHBalanceNotZero";
810
- readonly type: "error";
811
- } | {
812
- readonly inputs: readonly [];
813
- readonly name: "AncestorsVaultLAP__InvalidAncestorsHash";
814
- readonly type: "error";
815
- } | {
816
- readonly inputs: readonly [];
817
- readonly name: "AncestorsVaultLAP__InvalidClaimer";
818
- readonly type: "error";
819
- } | {
820
- readonly inputs: readonly [];
821
- readonly name: "AncestorsVaultLAP__TransferFailed";
822
- readonly type: "error";
823
- } | {
824
- readonly inputs: readonly [];
825
- readonly name: "AncestorsVaultLAP__ZeroRoyaltyPolicyLAP";
826
- readonly type: "error";
827
- } | {
828
- readonly inputs: readonly [];
829
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
830
- readonly type: "error";
831
- } | {
832
- readonly inputs: readonly [];
833
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
834
- readonly type: "error";
835
- } | {
836
- readonly inputs: readonly [];
837
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
838
- readonly type: "error";
839
- } | {
840
- readonly inputs: readonly [];
841
- readonly name: "DisputeModule__NotAbleToResolve";
842
- readonly type: "error";
843
- } | {
844
- readonly inputs: readonly [];
845
- readonly name: "DisputeModule__NotDisputeInitiator";
846
- readonly type: "error";
847
- } | {
848
- readonly inputs: readonly [];
849
- readonly name: "DisputeModule__NotInDisputeState";
850
- readonly type: "error";
851
- } | {
852
- readonly inputs: readonly [];
853
- readonly name: "DisputeModule__NotRegisteredIpId";
854
- readonly type: "error";
855
- } | {
856
- readonly inputs: readonly [];
857
- readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
858
- readonly type: "error";
859
- } | {
860
- readonly inputs: readonly [];
861
- readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
862
- readonly type: "error";
863
- } | {
864
- readonly inputs: readonly [];
865
- readonly name: "DisputeModule__NotWhitelistedDisputeTag";
866
- readonly type: "error";
867
- } | {
868
- readonly inputs: readonly [];
869
- readonly name: "DisputeModule__UnauthorizedAccess";
870
- readonly type: "error";
871
- } | {
872
- readonly inputs: readonly [];
873
- readonly name: "DisputeModule__ZeroArbitrationPolicy";
874
- readonly type: "error";
875
- } | {
876
- readonly inputs: readonly [];
877
- readonly name: "DisputeModule__ZeroArbitrationRelayer";
878
- readonly type: "error";
879
- } | {
880
- readonly inputs: readonly [];
881
- readonly name: "DisputeModule__ZeroDisputeTag";
882
- readonly type: "error";
883
- } | {
884
- readonly inputs: readonly [];
885
- readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
886
- readonly type: "error";
887
- } | {
888
- readonly inputs: readonly [];
889
- readonly name: "Governance__InconsistentState";
890
- readonly type: "error";
891
- } | {
892
- readonly inputs: readonly [];
893
- readonly name: "Governance__NewStateIsTheSameWithOldState";
894
- readonly type: "error";
895
- } | {
896
- readonly inputs: readonly [];
897
- readonly name: "Governance__OnlyProtocolAdmin";
898
- readonly type: "error";
899
- } | {
900
- readonly inputs: readonly [];
901
- readonly name: "Governance__ProtocolPaused";
902
- readonly type: "error";
903
- } | {
904
- readonly inputs: readonly [{
905
- readonly internalType: "string";
906
- readonly name: "interfaceName";
907
- readonly type: "string";
908
- }];
909
- readonly name: "Governance__UnsupportedInterface";
910
- readonly type: "error";
911
- } | {
912
- readonly inputs: readonly [];
913
- readonly name: "Governance__ZeroAddress";
914
- readonly type: "error";
915
- } | {
916
- readonly inputs: readonly [];
917
- readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
918
- readonly type: "error";
919
- } | {
920
- readonly inputs: readonly [];
921
- readonly name: "IPAccount__ExpiredSignature";
922
- readonly type: "error";
923
- } | {
924
- readonly inputs: readonly [];
925
- readonly name: "IPAccount__InvalidAccessController";
926
- readonly type: "error";
927
- } | {
928
- readonly inputs: readonly [];
929
- readonly name: "IPAccount__InvalidCalldata";
930
- readonly type: "error";
931
- } | {
932
- readonly inputs: readonly [];
933
- readonly name: "IPAccount__InvalidSignature";
934
- readonly type: "error";
935
- } | {
936
- readonly inputs: readonly [];
937
- readonly name: "IPAccount__InvalidSigner";
938
- readonly type: "error";
939
- } | {
940
- readonly inputs: readonly [];
941
- readonly name: "IPAssetRegistry__AlreadyRegistered";
942
- readonly type: "error";
943
- } | {
944
- readonly inputs: readonly [];
945
- readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
946
- readonly type: "error";
947
- } | {
948
- readonly inputs: readonly [];
949
- readonly name: "IPAssetRegistry__InvalidAccount";
950
- readonly type: "error";
951
- } | {
952
- readonly inputs: readonly [];
953
- readonly name: "IPAssetRegistry__InvalidMetadataProvider";
954
- readonly type: "error";
955
- } | {
956
- readonly inputs: readonly [];
957
- readonly name: "IPAssetRegistry__NotYetRegistered";
958
- readonly type: "error";
959
- } | {
960
- readonly inputs: readonly [];
961
- readonly name: "IPAssetRegistry__RegistrantUnauthorized";
962
- readonly type: "error";
963
- } | {
964
- readonly inputs: readonly [];
965
- readonly name: "IPAssetRegistry__ResolverInvalid";
966
- readonly type: "error";
967
- } | {
968
- readonly inputs: readonly [];
969
- readonly name: "IPAssetRegistry__Unauthorized";
970
- readonly type: "error";
971
- } | {
972
- readonly inputs: readonly [];
973
- readonly name: "IPResolver_InvalidIP";
974
- readonly type: "error";
975
- } | {
976
- readonly inputs: readonly [];
977
- readonly name: "IPResolver_Unauthorized";
978
- readonly type: "error";
979
- } | {
980
- readonly inputs: readonly [];
981
- readonly name: "LicenseRegistry__CallerNotLicensingModule";
982
- readonly type: "error";
983
- } | {
984
- readonly inputs: readonly [];
985
- readonly name: "LicenseRegistry__NotTransferable";
986
- readonly type: "error";
987
- } | {
988
- readonly inputs: readonly [];
989
- readonly name: "LicenseRegistry__RevokedLicense";
990
- readonly type: "error";
991
- } | {
992
- readonly inputs: readonly [];
993
- readonly name: "LicenseRegistry__ZeroDisputeModule";
994
- readonly type: "error";
995
- } | {
996
- readonly inputs: readonly [];
997
- readonly name: "LicenseRegistry__ZeroLicensingModule";
998
- readonly type: "error";
999
- } | {
1000
- readonly inputs: readonly [];
1001
- readonly name: "LicensingModuleAware__CallerNotLicensingModule";
1002
- readonly type: "error";
1003
- } | {
1004
- readonly inputs: readonly [];
1005
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
1006
- readonly type: "error";
1007
- } | {
1008
- readonly inputs: readonly [];
1009
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
1010
- readonly type: "error";
1011
- } | {
1012
- readonly inputs: readonly [];
1013
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
1014
- readonly type: "error";
1015
- } | {
1016
- readonly inputs: readonly [];
1017
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
1018
- readonly type: "error";
1019
- } | {
1020
- readonly inputs: readonly [];
1021
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
1022
- readonly type: "error";
1023
- } | {
1024
- readonly inputs: readonly [];
1025
- readonly name: "LicensingModule__DisputedIpId";
1026
- readonly type: "error";
1027
- } | {
1028
- readonly inputs: readonly [];
1029
- readonly name: "LicensingModule__EmptyLicenseUrl";
1030
- readonly type: "error";
1031
- } | {
1032
- readonly inputs: readonly [];
1033
- readonly name: "LicensingModule__EmptyParamName";
1034
- readonly type: "error";
1035
- } | {
1036
- readonly inputs: readonly [];
1037
- readonly name: "LicensingModule__FrameworkNotFound";
1038
- readonly type: "error";
1039
- } | {
1040
- readonly inputs: readonly [];
1041
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
1042
- readonly type: "error";
1043
- } | {
1044
- readonly inputs: readonly [];
1045
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
1046
- readonly type: "error";
1047
- } | {
1048
- readonly inputs: readonly [];
1049
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
1050
- readonly type: "error";
1051
- } | {
1052
- readonly inputs: readonly [];
1053
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
1054
- readonly type: "error";
1055
- } | {
1056
- readonly inputs: readonly [];
1057
- readonly name: "LicensingModule__InvalidLicensor";
1058
- readonly type: "error";
1059
- } | {
1060
- readonly inputs: readonly [];
1061
- readonly name: "LicensingModule__InvalidPolicyFramework";
1062
- readonly type: "error";
1063
- } | {
1064
- readonly inputs: readonly [];
1065
- readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
1066
- readonly type: "error";
1067
- } | {
1068
- readonly inputs: readonly [];
1069
- readonly name: "LicensingModule__LicensorNotRegistered";
1070
- readonly type: "error";
1071
- } | {
1072
- readonly inputs: readonly [];
1073
- readonly name: "LicensingModule__LinkParentParamFailed";
1074
- readonly type: "error";
1075
- } | {
1076
- readonly inputs: readonly [];
1077
- readonly name: "LicensingModule__LinkingRevokedLicense";
1078
- readonly type: "error";
1079
- } | {
1080
- readonly inputs: readonly [];
1081
- readonly name: "LicensingModule__MintLicenseParamFailed";
1082
- readonly type: "error";
1083
- } | {
1084
- readonly inputs: readonly [];
1085
- readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
1086
- readonly type: "error";
1087
- } | {
1088
- readonly inputs: readonly [];
1089
- readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
1090
- readonly type: "error";
1091
- } | {
1092
- readonly inputs: readonly [];
1093
- readonly name: "LicensingModule__NotLicensee";
1094
- readonly type: "error";
1095
- } | {
1096
- readonly inputs: readonly [];
1097
- readonly name: "LicensingModule__ParamVerifierAlreadySet";
1098
- readonly type: "error";
1099
- } | {
1100
- readonly inputs: readonly [];
1101
- readonly name: "LicensingModule__ParamVerifierLengthMismatch";
1102
- readonly type: "error";
1103
- } | {
1104
- readonly inputs: readonly [];
1105
- readonly name: "LicensingModule__ParentIdEqualThanChild";
1106
- readonly type: "error";
1107
- } | {
1108
- readonly inputs: readonly [];
1109
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
1110
- readonly type: "error";
1111
- } | {
1112
- readonly inputs: readonly [];
1113
- readonly name: "LicensingModule__PolicyNotFound";
1114
- readonly type: "error";
1115
- } | {
1116
- readonly inputs: readonly [];
1117
- readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
1118
- readonly type: "error";
1119
- } | {
1120
- readonly inputs: readonly [];
1121
- readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
1122
- readonly type: "error";
1123
- } | {
1124
- readonly inputs: readonly [];
1125
- readonly name: "LicensingModule__TransferParamFailed";
1126
- readonly type: "error";
1127
- } | {
1128
- readonly inputs: readonly [];
1129
- readonly name: "LicensingModule__UnauthorizedAccess";
1130
- readonly type: "error";
1131
- } | {
1132
- readonly inputs: readonly [];
1133
- readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
1134
- readonly type: "error";
1135
- } | {
1136
- readonly inputs: readonly [];
1137
- readonly name: "LicensorApprovalChecker__Unauthorized";
1138
- readonly type: "error";
1139
- } | {
1140
- readonly inputs: readonly [];
1141
- readonly name: "MetadataProvider__HashInvalid";
1142
- readonly type: "error";
1143
- } | {
1144
- readonly inputs: readonly []; /**
1145
- * Convenient function to register a PIL social remix policy to the registry
1146
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
1147
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
1148
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
1149
- * @param mintingFee Fee to be paid when minting a license
1150
- * @param mintingFeeToken Token to be used to pay the minting fee
1151
- * @param request.territories List of territories where the license is valid. If empty, global.
1152
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
1153
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
1154
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
1155
- */
1156
- readonly name: "MetadataProvider__IPAssetOwnerInvalid";
1157
- readonly type: "error";
1158
- } | {
1159
- readonly inputs: readonly [];
1160
- readonly name: "MetadataProvider__MetadataNotCompatible";
1161
- readonly type: "error";
1162
- } | {
1163
- readonly inputs: readonly [];
1164
- readonly name: "MetadataProvider__NameInvalid";
1165
- readonly type: "error";
1166
- } | {
1167
- readonly inputs: readonly [];
1168
- readonly name: "MetadataProvider__RegistrantInvalid";
1169
- readonly type: "error";
1170
- } | {
1171
- readonly inputs: readonly [];
1172
- readonly name: "MetadataProvider__RegistrationDateInvalid";
1173
- readonly type: "error";
1174
- } | {
1175
- readonly inputs: readonly [];
1176
- readonly name: "MetadataProvider__URIInvalid";
1177
- readonly type: "error";
1178
- } | {
1179
- readonly inputs: readonly [];
1180
- readonly name: "MetadataProvider__Unauthorized";
1181
- readonly type: "error";
1182
- } | {
1183
- readonly inputs: readonly [];
1184
- readonly name: "MetadataProvider__UpgradeProviderInvalid";
1185
- readonly type: "error";
1186
- } | {
1187
- readonly inputs: readonly [];
1188
- readonly name: "MetadataProvider__UpgradeUnavailable";
1189
- readonly type: "error";
1190
- } | {
1191
- readonly inputs: readonly [];
1192
- readonly name: "ModuleRegistry__InterfaceIdZero";
1193
- readonly type: "error";
1194
- } | {
1195
- readonly inputs: readonly [];
1196
- readonly name: "ModuleRegistry__ModuleAddressNotContract";
1197
- readonly type: "error";
1198
- } | {
1199
- readonly inputs: readonly [];
1200
- readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
1201
- readonly type: "error";
1202
- } | {
1203
- readonly inputs: readonly [];
1204
- readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
1205
- readonly type: "error";
1206
- } | {
1207
- readonly inputs: readonly [];
1208
- readonly name: "ModuleRegistry__ModuleNotRegistered";
1209
- readonly type: "error";
1210
- } | {
1211
- readonly inputs: readonly [];
1212
- readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
1213
- readonly type: "error";
1214
- } | {
1215
- readonly inputs: readonly [];
1216
- readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
1217
- readonly type: "error";
1218
- } | {
1219
- readonly inputs: readonly [];
1220
- readonly name: "ModuleRegistry__ModuleTypeEmptyString";
1221
- readonly type: "error";
1222
- } | {
1223
- readonly inputs: readonly [];
1224
- readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
1225
- readonly type: "error";
1226
- } | {
1227
- readonly inputs: readonly [];
1228
- readonly name: "ModuleRegistry__NameAlreadyRegistered";
1229
- readonly type: "error";
1230
- } | {
1231
- readonly inputs: readonly [];
1232
- readonly name: "ModuleRegistry__NameDoesNotMatch";
1233
- readonly type: "error";
1234
- } | {
1235
- readonly inputs: readonly [];
1236
- readonly name: "ModuleRegistry__NameEmptyString";
1237
- readonly type: "error";
1238
- } | {
1239
- readonly inputs: readonly [];
1240
- readonly name: "Module_Unauthorized";
1241
- readonly type: "error";
1242
- } | {
1243
- readonly inputs: readonly [{
1244
- readonly internalType: "address";
1245
- readonly name: "commercializer";
1246
- readonly type: "address";
1247
- }];
1248
- readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
1249
- readonly type: "error";
1250
- } | {
1251
- readonly inputs: readonly [];
1252
- readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
1253
- readonly type: "error";
1254
- } | {
1255
- readonly inputs: readonly [];
1256
- readonly name: "RegistrationModule__InvalidOwner";
1257
- readonly type: "error";
1258
- } | {
1259
- readonly inputs: readonly [];
1260
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
1261
- readonly type: "error";
1262
- } | {
1263
- readonly inputs: readonly [];
1264
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
1265
- readonly type: "error";
1266
- } | {
1267
- readonly inputs: readonly [];
1268
- readonly name: "RoyaltyModule__NoParentsOnLinking";
1269
- readonly type: "error";
1270
- } | {
1271
- readonly inputs: readonly [];
1272
- readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
1273
- readonly type: "error";
1274
- } | {
1275
- readonly inputs: readonly [];
1276
- readonly name: "RoyaltyModule__NotAllowedCaller";
1277
- readonly type: "error";
1278
- } | {
1279
- readonly inputs: readonly [];
1280
- readonly name: "RoyaltyModule__NotRegisteredIpId";
1281
- readonly type: "error";
1282
- } | {
1283
- readonly inputs: readonly [];
1284
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
1285
- readonly type: "error";
1286
- } | {
1287
- readonly inputs: readonly [];
1288
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
1289
- readonly type: "error";
1290
- } | {
1291
- readonly inputs: readonly [];
1292
- readonly name: "RoyaltyModule__ZeroLicensingModule";
1293
- readonly type: "error";
1294
- } | {
1295
- readonly inputs: readonly [];
1296
- readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
1297
- readonly type: "error";
1298
- } | {
1299
- readonly inputs: readonly [];
1300
- readonly name: "RoyaltyModule__ZeroRoyaltyToken";
1301
- readonly type: "error";
1302
- } | {
1303
- readonly inputs: readonly [];
1304
- readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
1305
- readonly type: "error";
1306
- } | {
1307
- readonly inputs: readonly [];
1308
- readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
1309
- readonly type: "error";
1310
- } | {
1311
- readonly inputs: readonly [];
1312
- readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
1313
- readonly type: "error";
1314
- } | {
1315
- readonly inputs: readonly [];
1316
- readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
1317
- readonly type: "error";
1318
- } | {
1319
- readonly inputs: readonly [];
1320
- readonly name: "RoyaltyPolicyLAP__InvalidAncestors";
1321
- readonly type: "error";
1322
- } | {
1323
- readonly inputs: readonly [];
1324
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsHash";
1325
- readonly type: "error";
1326
- } | {
1327
- readonly inputs: readonly [];
1328
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsLength";
1329
- readonly type: "error";
1330
- } | {
1331
- readonly inputs: readonly [];
1332
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsRoyalty";
1333
- readonly type: "error";
1334
- } | {
1335
- readonly inputs: readonly [];
1336
- readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
1337
- readonly type: "error";
1338
- } | {
1339
- readonly inputs: readonly [];
1340
- readonly name: "RoyaltyPolicyLAP__InvalidRoyaltyAmountLength";
1341
- readonly type: "error";
1342
- } | {
1343
- readonly inputs: readonly [];
1344
- readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
1345
- readonly type: "error";
1346
- } | {
1347
- readonly inputs: readonly [];
1348
- readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
1349
- readonly type: "error";
1350
- } | {
1351
- readonly inputs: readonly [];
1352
- readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
1353
- readonly type: "error";
1354
- } | {
1355
- readonly inputs: readonly [];
1356
- readonly name: "RoyaltyPolicyLAP__TransferFailed";
1357
- readonly type: "error";
1358
- } | {
1359
- readonly inputs: readonly [];
1360
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
1361
- readonly type: "error";
1362
- } | {
1363
- readonly inputs: readonly [];
1364
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
1365
- readonly type: "error";
1366
- } | {
1367
- readonly inputs: readonly [];
1368
- readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
1369
- readonly type: "error";
1370
- } | {
1371
- readonly inputs: readonly [];
1372
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
1373
- readonly type: "error";
1374
- } | {
1375
- readonly inputs: readonly [];
1376
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
1377
- readonly type: "error";
1378
- } | {
1379
- readonly inputs: readonly [];
1380
- readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
1381
- readonly type: "error";
1382
- } | {
1383
- readonly anonymous: false;
1384
- readonly inputs: readonly [{
1385
- readonly indexed: true;
1386
- readonly internalType: "address";
1387
- readonly name: "caller";
1388
- readonly type: "address";
1389
- }, {
1390
- readonly indexed: true;
1391
- readonly internalType: "address";
1392
- readonly name: "ipId";
1393
- readonly type: "address";
1394
- }, {
1395
- readonly indexed: false;
1396
- readonly internalType: "address[]";
1397
- readonly name: "parentIpIds";
1398
- readonly type: "address[]";
1399
- }];
1400
- readonly name: "IpIdLinkedToParents";
1401
- readonly type: "event";
1402
- } | {
1403
- readonly anonymous: false;
1404
- readonly inputs: readonly [{
1405
- readonly indexed: true;
1406
- readonly internalType: "address";
1407
- readonly name: "caller";
1408
- readonly type: "address";
1409
- }, {
1410
- readonly indexed: true;
1411
- readonly internalType: "address";
1412
- readonly name: "ipId";
1413
- readonly type: "address";
1414
- }, {
1415
- readonly indexed: true;
1416
- readonly internalType: "uint256";
1417
- readonly name: "policyId";
1418
- readonly type: "uint256";
1419
- }, {
1420
- readonly indexed: false;
1421
- readonly internalType: "uint256";
1422
- readonly name: "index";
1423
- readonly type: "uint256";
1424
- }, {
1425
- readonly indexed: false;
1426
- readonly internalType: "bool";
1427
- readonly name: "isInherited";
1428
- readonly type: "bool";
1429
- }];
1430
- readonly name: "PolicyAddedToIpId";
1431
- readonly type: "event";
1432
- } | {
1433
- readonly anonymous: false;
1434
- readonly inputs: readonly [{
1435
- readonly indexed: true;
1436
- readonly internalType: "uint256";
1437
- readonly name: "policyId";
1438
- readonly type: "uint256";
1439
- }, {
1440
- readonly indexed: true;
1441
- readonly internalType: "address";
1442
- readonly name: "policyFrameworkManager";
1443
- readonly type: "address";
1444
- }, {
1445
- readonly indexed: false;
1446
- readonly internalType: "bytes";
1447
- readonly name: "frameworkData";
1448
- readonly type: "bytes";
1449
- }, {
1450
- readonly indexed: false;
1451
- readonly internalType: "address";
1452
- readonly name: "royaltyPolicy";
1453
- readonly type: "address";
1454
- }, {
1455
- readonly indexed: false;
1456
- readonly internalType: "bytes";
1457
- readonly name: "royaltyData";
1458
- readonly type: "bytes";
1459
- }, {
1460
- readonly indexed: false;
1461
- readonly internalType: "uint256";
1462
- readonly name: "mintingFee";
1463
- readonly type: "uint256";
1464
- }, {
1465
- readonly indexed: false;
1466
- readonly internalType: "address";
1467
- readonly name: "mintingFeeToken";
1468
- readonly type: "address";
1469
- }];
1470
- readonly name: "PolicyRegistered";
1471
- readonly type: "event";
1472
- } | {
1473
- readonly inputs: readonly [{
1474
- readonly internalType: "address";
1475
- readonly name: "ipId";
1476
- readonly type: "address";
1477
- }, {
1478
- readonly internalType: "uint256";
1479
- readonly name: "polId";
1480
- readonly type: "uint256";
1481
- }];
1482
- readonly name: "addPolicyToIp";
1483
- readonly outputs: readonly [{
1484
- readonly internalType: "uint256";
1485
- readonly name: "indexOnIpId";
1486
- readonly type: "uint256";
1487
- }];
1488
- readonly stateMutability: "nonpayable";
1489
- readonly type: "function";
1490
- } | {
1491
- readonly inputs: readonly [{
1492
- readonly components: readonly [{
1493
- readonly internalType: "bool";
1494
- readonly name: "isLicenseTransferable";
1495
- readonly type: "bool";
1496
- }, {
1497
- readonly internalType: "address";
1498
- readonly name: "policyFramework";
1499
- readonly type: "address";
1500
- }, {
1501
- readonly internalType: "bytes";
1502
- readonly name: "frameworkData";
1503
- readonly type: "bytes";
1504
- }, {
1505
- readonly internalType: "address";
1506
- readonly name: "royaltyPolicy";
1507
- readonly type: "address";
1508
- }, {
1509
- readonly internalType: "bytes";
1510
- readonly name: "royaltyData";
1511
- readonly type: "bytes";
1512
- }, {
1513
- readonly internalType: "uint256";
1514
- readonly name: "mintingFee";
1515
- readonly type: "uint256";
1516
- }, {
1517
- readonly internalType: "address";
1518
- readonly name: "mintingFeeToken";
1519
- readonly type: "address";
1520
- }];
1521
- readonly internalType: "struct Licensing.Policy";
1522
- readonly name: "pol";
1523
- readonly type: "tuple";
1524
- }];
1525
- readonly name: "getPolicyId";
1526
- readonly outputs: readonly [{
1527
- readonly internalType: "uint256";
1528
- readonly name: "policyId";
1529
- readonly type: "uint256";
1530
- }];
1531
- readonly stateMutability: "view";
1532
- readonly type: "function";
1533
- } | {
1534
- readonly inputs: readonly [{
1535
- readonly internalType: "uint256[]";
1536
- readonly name: "licenseIds";
1537
- readonly type: "uint256[]";
1538
- }, {
1539
- readonly internalType: "address";
1540
- readonly name: "childIpId";
1541
- readonly type: "address";
1542
- }, {
1543
- readonly internalType: "bytes";
1544
- readonly name: "royaltyContext";
1545
- readonly type: "bytes";
1546
- }];
1547
- readonly name: "linkIpToParents";
1548
- readonly outputs: readonly [];
1549
- readonly stateMutability: "nonpayable";
1550
- readonly type: "function";
1551
- } | {
1552
- readonly inputs: readonly [{
1553
- readonly internalType: "uint256";
1554
- readonly name: "policyId";
1555
- readonly type: "uint256";
1556
- }, {
1557
- readonly internalType: "address";
1558
- readonly name: "licensorIpId";
1559
- readonly type: "address";
1560
- }, {
1561
- readonly internalType: "uint256";
1562
- readonly name: "amount";
1563
- readonly type: "uint256";
1564
- }, {
1565
- readonly internalType: "address";
1566
- readonly name: "receiver";
1567
- readonly type: "address";
1568
- }, {
1569
- readonly internalType: "bytes";
1570
- readonly name: "royaltyContext";
1571
- readonly type: "bytes";
1572
- }];
1573
- readonly name: "mintLicense";
1574
- readonly outputs: readonly [{
1575
- readonly internalType: "uint256";
1576
- readonly name: "licenseId";
1577
- readonly type: "uint256";
1578
- }];
1579
- readonly stateMutability: "nonpayable";
1580
- readonly type: "function";
1581
- } | {
1582
- readonly inputs: readonly [{
1583
- readonly components: readonly [{
1584
- readonly internalType: "bool";
1585
- readonly name: "isLicenseTransferable";
1586
- readonly type: "bool";
1587
- }, {
1588
- readonly internalType: "address";
1589
- readonly name: "policyFramework";
1590
- readonly type: "address";
1591
- }, {
1592
- readonly internalType: "bytes";
1593
- readonly name: "frameworkData";
1594
- readonly type: "bytes";
1595
- }, {
1596
- readonly internalType: "address";
1597
- readonly name: "royaltyPolicy";
1598
- readonly type: "address";
1599
- }, {
1600
- readonly internalType: "bytes";
1601
- readonly name: "royaltyData";
1602
- readonly type: "bytes";
1603
- }, {
1604
- readonly internalType: "uint256";
1605
- readonly name: "mintingFee";
1606
- readonly type: "uint256";
1607
- }, {
1608
- readonly internalType: "address";
1609
- readonly name: "mintingFeeToken";
1610
- readonly type: "address";
1611
- }];
1612
- readonly internalType: "struct Licensing.Policy";
1613
- readonly name: "pol";
1614
- readonly type: "tuple";
1615
- }];
1616
- readonly name: "registerPolicy";
1617
- readonly outputs: readonly [{
1618
- readonly internalType: "uint256";
1619
- readonly name: "policyId";
1620
- readonly type: "uint256";
1621
- }];
1622
- readonly stateMutability: "nonpayable";
1623
- readonly type: "function";
1624
- })[];
1625
- address: `0x${string}`;
1626
- };
1627
- pilPolicyFrameworkManagerConfig: {
1628
- abi: ({
1629
- readonly inputs: readonly [{
1630
- readonly internalType: "address";
1631
- readonly name: "caller";
1632
- readonly type: "address";
1633
- }];
1634
- readonly name: "AccessControlled__CallerIsNotIpAccount";
1635
- readonly type: "error";
1636
- } | {
1637
- readonly inputs: readonly [{
1638
- readonly internalType: "address";
1639
- readonly name: "ipAccount";
1640
- readonly type: "address";
1641
- }];
1642
- readonly name: "AccessControlled__NotIpAccount";
1643
- readonly type: "error";
1644
- } | {
1645
- readonly inputs: readonly [];
1646
- readonly name: "AccessControlled__ZeroAddress";
1647
- readonly type: "error";
1648
- } | {
1649
- readonly inputs: readonly [];
1650
- readonly name: "AccessController__CallerIsNotIPAccount";
1651
- readonly type: "error";
1652
- } | {
1653
- readonly inputs: readonly [{
1654
- readonly internalType: "address";
1655
- readonly name: "ipAccount";
1656
- readonly type: "address";
1657
- }];
1658
- readonly name: "AccessController__IPAccountIsNotValid";
1659
- readonly type: "error";
1660
- } | {
1661
- readonly inputs: readonly [];
1662
- readonly name: "AccessController__IPAccountIsZeroAddress";
1663
- readonly type: "error";
1664
- } | {
1665
- readonly inputs: readonly [{
1666
- readonly internalType: "address";
1667
- readonly name: "ipAccount";
1668
- readonly type: "address";
1669
- }, {
1670
- readonly internalType: "address";
1671
- readonly name: "signer";
1672
- readonly type: "address";
1673
- }, {
1674
- readonly internalType: "address";
1675
- readonly name: "to";
1676
- readonly type: "address";
1677
- }, {
1678
- readonly internalType: "bytes4";
1679
- readonly name: "func";
1680
- readonly type: "bytes4";
1681
- }];
1682
- readonly name: "AccessController__PermissionDenied";
1683
- readonly type: "error";
1684
- } | {
1685
- readonly inputs: readonly [];
1686
- readonly name: "AccessController__PermissionIsNotValid";
1687
- readonly type: "error";
1688
- } | {
1689
- readonly inputs: readonly [{
1690
- readonly internalType: "address";
1691
- readonly name: "to";
1692
- readonly type: "address";
1693
- }];
1694
- readonly name: "AccessController__RecipientIsNotRegisteredModule";
1695
- readonly type: "error";
1696
- } | {
1697
- readonly inputs: readonly [];
1698
- readonly name: "AccessController__SignerIsZeroAddress";
1699
- readonly type: "error";
1700
- } | {
1701
- readonly inputs: readonly [];
1702
- readonly name: "AncestorsVaultLAP__AlreadyClaimed";
1703
- readonly type: "error";
1704
- } | {
1705
- readonly inputs: readonly [];
1706
- readonly name: "AncestorsVaultLAP__ClaimerNotAnAncestor";
1707
- readonly type: "error";
1708
- } | {
1709
- readonly inputs: readonly [];
1710
- readonly name: "AncestorsVaultLAP__ERC20BalanceNotZero";
1711
- readonly type: "error";
1712
- } | {
1713
- readonly inputs: readonly [];
1714
- readonly name: "AncestorsVaultLAP__ETHBalanceNotZero";
1715
- readonly type: "error";
1716
- } | {
1717
- readonly inputs: readonly [];
1718
- readonly name: "AncestorsVaultLAP__InvalidAncestorsHash";
1719
- readonly type: "error";
1720
- } | {
1721
- readonly inputs: readonly [];
1722
- readonly name: "AncestorsVaultLAP__InvalidClaimer";
1723
- readonly type: "error";
1724
- } | {
1725
- readonly inputs: readonly [];
1726
- readonly name: "AncestorsVaultLAP__TransferFailed";
1727
- readonly type: "error";
1728
- } | {
1729
- readonly inputs: readonly [];
1730
- readonly name: "AncestorsVaultLAP__ZeroRoyaltyPolicyLAP";
1731
- readonly type: "error";
1732
- } | {
1733
- readonly inputs: readonly [];
1734
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
1735
- readonly type: "error";
1736
- } | {
1737
- readonly inputs: readonly [];
1738
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
1739
- readonly type: "error";
1740
- } | {
1741
- readonly inputs: readonly [];
1742
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
1743
- readonly type: "error";
1744
- } | {
1745
- readonly inputs: readonly [];
1746
- readonly name: "DisputeModule__NotAbleToResolve";
1747
- readonly type: "error";
1748
- } | {
1749
- readonly inputs: readonly [];
1750
- readonly name: "DisputeModule__NotDisputeInitiator";
1751
- readonly type: "error";
1752
- } | {
1753
- readonly inputs: readonly [];
1754
- readonly name: "DisputeModule__NotInDisputeState";
1755
- readonly type: "error";
1756
- } | {
1757
- readonly inputs: readonly [];
1758
- readonly name: "DisputeModule__NotRegisteredIpId";
1759
- readonly type: "error";
1760
- } | {
1761
- readonly inputs: readonly [];
1762
- readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
1763
- readonly type: "error";
1764
- } | {
1765
- readonly inputs: readonly [];
1766
- readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
1767
- readonly type: "error";
1768
- } | {
1769
- readonly inputs: readonly [];
1770
- readonly name: "DisputeModule__NotWhitelistedDisputeTag";
1771
- readonly type: "error";
1772
- } | {
1773
- readonly inputs: readonly [];
1774
- readonly name: "DisputeModule__UnauthorizedAccess";
1775
- readonly type: "error";
1776
- } | {
1777
- readonly inputs: readonly [];
1778
- readonly name: "DisputeModule__ZeroArbitrationPolicy";
1779
- readonly type: "error";
1780
- } | {
1781
- readonly inputs: readonly [];
1782
- readonly name: "DisputeModule__ZeroArbitrationRelayer";
1783
- readonly type: "error";
1784
- } | {
1785
- readonly inputs: readonly [];
1786
- readonly name: "DisputeModule__ZeroDisputeTag";
1787
- readonly type: "error";
1788
- } | {
1789
- readonly inputs: readonly [];
1790
- readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
1791
- readonly type: "error";
1792
- } | {
1793
- readonly inputs: readonly [];
1794
- readonly name: "Governance__InconsistentState";
1795
- readonly type: "error";
1796
- } | {
1797
- readonly inputs: readonly [];
1798
- readonly name: "Governance__NewStateIsTheSameWithOldState";
1799
- readonly type: "error";
1800
- } | {
1801
- readonly inputs: readonly [];
1802
- readonly name: "Governance__OnlyProtocolAdmin";
1803
- readonly type: "error";
1804
- } | {
1805
- readonly inputs: readonly [];
1806
- readonly name: "Governance__ProtocolPaused";
1807
- readonly type: "error";
1808
- } | {
1809
- readonly inputs: readonly [{
1810
- readonly internalType: "string";
1811
- readonly name: "interfaceName";
1812
- readonly type: "string";
1813
- }];
1814
- readonly name: "Governance__UnsupportedInterface";
1815
- readonly type: "error";
1816
- } | {
1817
- readonly inputs: readonly [];
1818
- readonly name: "Governance__ZeroAddress";
1819
- readonly type: "error";
1820
- } | {
1821
- readonly inputs: readonly [];
1822
- readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
1823
- readonly type: "error";
1824
- } | {
1825
- readonly inputs: readonly [];
1826
- readonly name: "IPAccount__ExpiredSignature";
1827
- readonly type: "error";
1828
- } | {
1829
- readonly inputs: readonly [];
1830
- readonly name: "IPAccount__InvalidAccessController";
1831
- readonly type: "error";
1832
- } | {
1833
- readonly inputs: readonly [];
1834
- readonly name: "IPAccount__InvalidCalldata";
1835
- readonly type: "error";
1836
- } | {
1837
- readonly inputs: readonly [];
1838
- readonly name: "IPAccount__InvalidSignature";
1839
- readonly type: "error";
1840
- } | {
1841
- readonly inputs: readonly [];
1842
- readonly name: "IPAccount__InvalidSigner";
1843
- readonly type: "error";
1844
- } | {
1845
- readonly inputs: readonly [];
1846
- readonly name: "IPAssetRegistry__AlreadyRegistered";
1847
- readonly type: "error";
1848
- } | {
1849
- readonly inputs: readonly [];
1850
- readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
1851
- readonly type: "error";
1852
- } | {
1853
- readonly inputs: readonly [];
1854
- readonly name: "IPAssetRegistry__InvalidAccount";
1855
- readonly type: "error";
1856
- } | {
1857
- readonly inputs: readonly [];
1858
- readonly name: "IPAssetRegistry__InvalidMetadataProvider";
1859
- readonly type: "error";
1860
- } | {
1861
- readonly inputs: readonly [];
1862
- readonly name: "IPAssetRegistry__NotYetRegistered";
1863
- readonly type: "error";
1864
- } | {
1865
- readonly inputs: readonly [];
1866
- readonly name: "IPAssetRegistry__RegistrantUnauthorized";
1867
- readonly type: "error";
1868
- } | {
1869
- readonly inputs: readonly [];
1870
- readonly name: "IPAssetRegistry__ResolverInvalid";
1871
- readonly type: "error";
1872
- } | {
1873
- readonly inputs: readonly [];
1874
- readonly name: "IPAssetRegistry__Unauthorized";
1875
- readonly type: "error";
1876
- } | {
1877
- readonly inputs: readonly [];
1878
- readonly name: "IPResolver_InvalidIP";
1879
- readonly type: "error";
1880
- } | {
1881
- readonly inputs: readonly [];
1882
- readonly name: "IPResolver_Unauthorized";
1883
- readonly type: "error";
1884
- } | {
1885
- readonly inputs: readonly [];
1886
- readonly name: "LicenseRegistry__CallerNotLicensingModule";
1887
- readonly type: "error";
1888
- } | {
1889
- readonly inputs: readonly [];
1890
- readonly name: "LicenseRegistry__NotTransferable";
1891
- readonly type: "error";
1892
- } | {
1893
- readonly inputs: readonly [];
1894
- readonly name: "LicenseRegistry__RevokedLicense";
1895
- readonly type: "error";
1896
- } | {
1897
- readonly inputs: readonly [];
1898
- readonly name: "LicenseRegistry__ZeroDisputeModule";
1899
- readonly type: "error";
1900
- } | {
1901
- readonly inputs: readonly [];
1902
- readonly name: "LicenseRegistry__ZeroLicensingModule";
1903
- readonly type: "error";
1904
- } | {
1905
- readonly inputs: readonly [];
1906
- readonly name: "LicensingModuleAware__CallerNotLicensingModule";
1907
- readonly type: "error";
1908
- } | {
1909
- readonly inputs: readonly [];
1910
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
1911
- readonly type: "error";
1912
- } | {
1913
- readonly inputs: readonly [];
1914
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
1915
- readonly type: "error";
1916
- } | {
1917
- readonly inputs: readonly [];
1918
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
1919
- readonly type: "error";
1920
- } | {
1921
- readonly inputs: readonly [];
1922
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
1923
- readonly type: "error";
1924
- } | {
1925
- readonly inputs: readonly [];
1926
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
1927
- readonly type: "error";
1928
- } | {
1929
- readonly inputs: readonly [];
1930
- readonly name: "LicensingModule__DisputedIpId";
1931
- readonly type: "error";
1932
- } | {
1933
- readonly inputs: readonly [];
1934
- readonly name: "LicensingModule__EmptyLicenseUrl";
1935
- readonly type: "error";
1936
- } | {
1937
- readonly inputs: readonly [];
1938
- readonly name: "LicensingModule__EmptyParamName";
1939
- readonly type: "error";
1940
- } | {
1941
- readonly inputs: readonly [];
1942
- readonly name: "LicensingModule__FrameworkNotFound";
1943
- readonly type: "error";
1944
- } | {
1945
- readonly inputs: readonly [];
1946
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
1947
- readonly type: "error";
1948
- } | {
1949
- readonly inputs: readonly [];
1950
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
1951
- readonly type: "error";
1952
- } | {
1953
- readonly inputs: readonly [];
1954
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
1955
- readonly type: "error";
1956
- } | {
1957
- readonly inputs: readonly [];
1958
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
1959
- readonly type: "error";
1960
- } | {
1961
- readonly inputs: readonly [];
1962
- readonly name: "LicensingModule__InvalidLicensor";
1963
- readonly type: "error";
1964
- } | {
1965
- readonly inputs: readonly [];
1966
- readonly name: "LicensingModule__InvalidPolicyFramework";
1967
- readonly type: "error";
1968
- } | {
1969
- readonly inputs: readonly [];
1970
- readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
1971
- readonly type: "error";
1972
- } | {
1973
- readonly inputs: readonly [];
1974
- readonly name: "LicensingModule__LicensorNotRegistered";
1975
- readonly type: "error";
1976
- } | {
1977
- readonly inputs: readonly [];
1978
- readonly name: "LicensingModule__LinkParentParamFailed";
1979
- readonly type: "error";
1980
- } | {
1981
- readonly inputs: readonly [];
1982
- readonly name: "LicensingModule__LinkingRevokedLicense";
1983
- readonly type: "error";
1984
- } | {
1985
- readonly inputs: readonly [];
1986
- readonly name: "LicensingModule__MintLicenseParamFailed";
1987
- readonly type: "error";
1988
- } | {
1989
- readonly inputs: readonly [];
1990
- readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
1991
- readonly type: "error";
1992
- } | {
1993
- readonly inputs: readonly [];
1994
- readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
1995
- readonly type: "error";
1996
- } | {
1997
- readonly inputs: readonly [];
1998
- readonly name: "LicensingModule__NotLicensee";
1999
- readonly type: "error";
2000
- } | {
2001
- readonly inputs: readonly [];
2002
- readonly name: "LicensingModule__ParamVerifierAlreadySet";
2003
- readonly type: "error";
2004
- } | {
2005
- readonly inputs: readonly [];
2006
- readonly name: "LicensingModule__ParamVerifierLengthMismatch";
2007
- readonly type: "error";
2008
- } | {
2009
- readonly inputs: readonly [];
2010
- readonly name: "LicensingModule__ParentIdEqualThanChild";
2011
- readonly type: "error";
2012
- } | {
2013
- readonly inputs: readonly [];
2014
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
2015
- readonly type: "error";
2016
- } | {
2017
- readonly inputs: readonly [];
2018
- readonly name: "LicensingModule__PolicyNotFound";
2019
- readonly type: "error";
2020
- } | {
2021
- readonly inputs: readonly [];
2022
- readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
2023
- readonly type: "error";
2024
- } | {
2025
- readonly inputs: readonly [];
2026
- readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
2027
- readonly type: "error";
2028
- } | {
2029
- readonly inputs: readonly [];
2030
- readonly name: "LicensingModule__TransferParamFailed";
2031
- readonly type: "error";
2032
- } | {
2033
- readonly inputs: readonly [];
2034
- readonly name: "LicensingModule__UnauthorizedAccess";
2035
- readonly type: "error";
2036
- } | {
2037
- readonly inputs: readonly [];
2038
- readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
2039
- readonly type: "error";
2040
- } | {
2041
- readonly inputs: readonly [];
2042
- readonly name: "LicensorApprovalChecker__Unauthorized";
2043
- readonly type: "error";
2044
- } | {
2045
- readonly inputs: readonly [];
2046
- readonly name: "MetadataProvider__HashInvalid";
2047
- readonly type: "error";
2048
- } | {
2049
- readonly inputs: readonly []; /**
2050
- * Convenient function to register a PIL social remix policy to the registry
2051
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
2052
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
2053
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
2054
- * @param mintingFee Fee to be paid when minting a license
2055
- * @param mintingFeeToken Token to be used to pay the minting fee
2056
- * @param request.territories List of territories where the license is valid. If empty, global.
2057
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
2058
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
2059
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
2060
- */
2061
- readonly name: "MetadataProvider__IPAssetOwnerInvalid";
2062
- readonly type: "error";
2063
- } | {
2064
- readonly inputs: readonly [];
2065
- readonly name: "MetadataProvider__MetadataNotCompatible";
2066
- readonly type: "error";
2067
- } | {
2068
- readonly inputs: readonly [];
2069
- readonly name: "MetadataProvider__NameInvalid";
2070
- readonly type: "error";
2071
- } | {
2072
- readonly inputs: readonly [];
2073
- readonly name: "MetadataProvider__RegistrantInvalid";
2074
- readonly type: "error";
2075
- } | {
2076
- readonly inputs: readonly [];
2077
- readonly name: "MetadataProvider__RegistrationDateInvalid";
2078
- readonly type: "error";
2079
- } | {
2080
- readonly inputs: readonly [];
2081
- readonly name: "MetadataProvider__URIInvalid";
2082
- readonly type: "error";
2083
- } | {
2084
- readonly inputs: readonly [];
2085
- readonly name: "MetadataProvider__Unauthorized";
2086
- readonly type: "error";
2087
- } | {
2088
- readonly inputs: readonly [];
2089
- readonly name: "MetadataProvider__UpgradeProviderInvalid";
2090
- readonly type: "error";
2091
- } | {
2092
- readonly inputs: readonly [];
2093
- readonly name: "MetadataProvider__UpgradeUnavailable";
2094
- readonly type: "error";
2095
- } | {
2096
- readonly inputs: readonly [];
2097
- readonly name: "ModuleRegistry__InterfaceIdZero";
2098
- readonly type: "error";
2099
- } | {
2100
- readonly inputs: readonly [];
2101
- readonly name: "ModuleRegistry__ModuleAddressNotContract";
2102
- readonly type: "error";
2103
- } | {
2104
- readonly inputs: readonly [];
2105
- readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
2106
- readonly type: "error";
2107
- } | {
2108
- readonly inputs: readonly [];
2109
- readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
2110
- readonly type: "error";
2111
- } | {
2112
- readonly inputs: readonly [];
2113
- readonly name: "ModuleRegistry__ModuleNotRegistered";
2114
- readonly type: "error";
2115
- } | {
2116
- readonly inputs: readonly [];
2117
- readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
2118
- readonly type: "error";
2119
- } | {
2120
- readonly inputs: readonly [];
2121
- readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
2122
- readonly type: "error";
2123
- } | {
2124
- readonly inputs: readonly [];
2125
- readonly name: "ModuleRegistry__ModuleTypeEmptyString";
2126
- readonly type: "error";
2127
- } | {
2128
- readonly inputs: readonly [];
2129
- readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
2130
- readonly type: "error";
2131
- } | {
2132
- readonly inputs: readonly [];
2133
- readonly name: "ModuleRegistry__NameAlreadyRegistered";
2134
- readonly type: "error";
2135
- } | {
2136
- readonly inputs: readonly [];
2137
- readonly name: "ModuleRegistry__NameDoesNotMatch";
2138
- readonly type: "error";
2139
- } | {
2140
- readonly inputs: readonly [];
2141
- readonly name: "ModuleRegistry__NameEmptyString";
2142
- readonly type: "error";
2143
- } | {
2144
- readonly inputs: readonly [];
2145
- readonly name: "Module_Unauthorized";
2146
- readonly type: "error";
2147
- } | {
2148
- readonly inputs: readonly [{
2149
- readonly internalType: "address";
2150
- readonly name: "commercializer";
2151
- readonly type: "address";
2152
- }];
2153
- readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
2154
- readonly type: "error";
2155
- } | {
2156
- readonly inputs: readonly [];
2157
- readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
2158
- readonly type: "error";
2159
- } | {
2160
- readonly inputs: readonly [];
2161
- readonly name: "RegistrationModule__InvalidOwner";
2162
- readonly type: "error";
2163
- } | {
2164
- readonly inputs: readonly [];
2165
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
2166
- readonly type: "error";
2167
- } | {
2168
- readonly inputs: readonly [];
2169
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
2170
- readonly type: "error";
2171
- } | {
2172
- readonly inputs: readonly [];
2173
- readonly name: "RoyaltyModule__NoParentsOnLinking";
2174
- readonly type: "error";
2175
- } | {
2176
- readonly inputs: readonly [];
2177
- readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
2178
- readonly type: "error";
2179
- } | {
2180
- readonly inputs: readonly [];
2181
- readonly name: "RoyaltyModule__NotAllowedCaller";
2182
- readonly type: "error";
2183
- } | {
2184
- readonly inputs: readonly [];
2185
- readonly name: "RoyaltyModule__NotRegisteredIpId";
2186
- readonly type: "error";
2187
- } | {
2188
- readonly inputs: readonly [];
2189
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
2190
- readonly type: "error";
2191
- } | {
2192
- readonly inputs: readonly [];
2193
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
2194
- readonly type: "error";
2195
- } | {
2196
- readonly inputs: readonly [];
2197
- readonly name: "RoyaltyModule__ZeroLicensingModule";
2198
- readonly type: "error";
2199
- } | {
2200
- readonly inputs: readonly [];
2201
- readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
2202
- readonly type: "error";
2203
- } | {
2204
- readonly inputs: readonly [];
2205
- readonly name: "RoyaltyModule__ZeroRoyaltyToken";
2206
- readonly type: "error";
2207
- } | {
2208
- readonly inputs: readonly [];
2209
- readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
2210
- readonly type: "error";
2211
- } | {
2212
- readonly inputs: readonly [];
2213
- readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
2214
- readonly type: "error";
2215
- } | {
2216
- readonly inputs: readonly [];
2217
- readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
2218
- readonly type: "error";
2219
- } | {
2220
- readonly inputs: readonly [];
2221
- readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
2222
- readonly type: "error";
2223
- } | {
2224
- readonly inputs: readonly [];
2225
- readonly name: "RoyaltyPolicyLAP__InvalidAncestors";
2226
- readonly type: "error";
2227
- } | {
2228
- readonly inputs: readonly [];
2229
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsHash";
2230
- readonly type: "error";
2231
- } | {
2232
- readonly inputs: readonly [];
2233
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsLength";
2234
- readonly type: "error";
2235
- } | {
2236
- readonly inputs: readonly [];
2237
- readonly name: "RoyaltyPolicyLAP__InvalidAncestorsRoyalty";
2238
- readonly type: "error";
2239
- } | {
2240
- readonly inputs: readonly [];
2241
- readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
2242
- readonly type: "error";
2243
- } | {
2244
- readonly inputs: readonly [];
2245
- readonly name: "RoyaltyPolicyLAP__InvalidRoyaltyAmountLength";
2246
- readonly type: "error";
2247
- } | {
2248
- readonly inputs: readonly [];
2249
- readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
2250
- readonly type: "error";
2251
- } | {
2252
- readonly inputs: readonly [];
2253
- readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
2254
- readonly type: "error";
2255
- } | {
2256
- readonly inputs: readonly [];
2257
- readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
2258
- readonly type: "error";
2259
- } | {
2260
- readonly inputs: readonly [];
2261
- readonly name: "RoyaltyPolicyLAP__TransferFailed";
2262
- readonly type: "error";
2263
- } | {
2264
- readonly inputs: readonly [];
2265
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
2266
- readonly type: "error";
2267
- } | {
2268
- readonly inputs: readonly [];
2269
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
2270
- readonly type: "error";
2271
- } | {
2272
- readonly inputs: readonly [];
2273
- readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
2274
- readonly type: "error";
2275
- } | {
2276
- readonly inputs: readonly [];
2277
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
2278
- readonly type: "error";
2279
- } | {
2280
- readonly inputs: readonly [];
2281
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
2282
- readonly type: "error";
2283
- } | {
2284
- readonly inputs: readonly [];
2285
- readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
2286
- readonly type: "error";
2287
- } | {
2288
- readonly inputs: readonly [{
2289
- readonly components: readonly [{
2290
- readonly internalType: "bool";
2291
- readonly name: "transferable";
2292
- readonly type: "bool";
2293
- }, {
2294
- readonly internalType: "address";
2295
- readonly name: "royaltyPolicy";
2296
- readonly type: "address";
2297
- }, {
2298
- readonly internalType: "uint256";
2299
- readonly name: "mintingFee";
2300
- readonly type: "uint256";
2301
- }, {
2302
- readonly internalType: "address";
2303
- readonly name: "mintingFeeToken";
2304
- readonly type: "address";
2305
- }, {
2306
- readonly components: readonly [{
2307
- readonly internalType: "bool";
2308
- readonly name: "attribution";
2309
- readonly type: "bool";
2310
- }, {
2311
- readonly internalType: "bool";
2312
- readonly name: "commercialUse";
2313
- readonly type: "bool";
2314
- }, {
2315
- readonly internalType: "bool";
2316
- readonly name: "commercialAttribution";
2317
- readonly type: "bool";
2318
- }, {
2319
- readonly internalType: "address";
2320
- readonly name: "commercializerChecker";
2321
- readonly type: "address";
2322
- }, {
2323
- readonly internalType: "bytes";
2324
- readonly name: "commercializerCheckerData";
2325
- readonly type: "bytes";
2326
- }, {
2327
- readonly internalType: "uint32";
2328
- readonly name: "commercialRevShare";
2329
- readonly type: "uint32";
2330
- }, {
2331
- readonly internalType: "bool";
2332
- readonly name: "derivativesAllowed";
2333
- readonly type: "bool";
2334
- }, {
2335
- readonly internalType: "bool";
2336
- readonly name: "derivativesAttribution";
2337
- readonly type: "bool";
2338
- }, {
2339
- readonly internalType: "bool";
2340
- readonly name: "derivativesApproval";
2341
- readonly type: "bool";
2342
- }, {
2343
- readonly internalType: "bool";
2344
- readonly name: "derivativesReciprocal";
2345
- readonly type: "bool";
2346
- }, {
2347
- readonly internalType: "string[]";
2348
- readonly name: "territories";
2349
- readonly type: "string[]";
2350
- }, {
2351
- readonly internalType: "string[]";
2352
- readonly name: "distributionChannels";
2353
- readonly type: "string[]";
2354
- }, {
2355
- readonly internalType: "string[]";
2356
- readonly name: "contentRestrictions";
2357
- readonly type: "string[]";
2358
- }];
2359
- readonly internalType: "struct PILPolicy";
2360
- readonly name: "policy";
2361
- readonly type: "tuple";
2362
- }];
2363
- readonly internalType: "struct RegisterPILPolicyParams";
2364
- readonly name: "params";
2365
- readonly type: "tuple";
2366
- }];
2367
- readonly name: "registerPolicy";
2368
- readonly outputs: readonly [{
2369
- readonly internalType: "uint256";
2370
- readonly name: "policyId";
2371
- readonly type: "uint256";
2372
- }];
2373
- readonly stateMutability: "nonpayable";
2374
- readonly type: "function";
2375
- })[];
2376
- address: `0x${string}`;
2377
- };
2378
- royaltyPolicyLAPConfig: {
2379
- address: `0x${string}`;
2380
- };
2381
- constructor(rpcClient: PublicClient, wallet: WalletClient);
2382
- /**
2383
- * Registers a PIL policy to the registry
2384
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
2385
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
2386
- * @param request.transferable Whether or not the license is transferable
2387
- * @param request.attribution Whether or not attribution is required when reproducing the work
2388
- * @param request.commercialUse Whether or not the work can be used commercially
2389
- * @param request.commercialAttribution Whether or not attribution is required when reproducing the work commercially
2390
- * @param request.commercializerChecker commericializers that are allowed to commercially exploit the work. If zero address, then no restrictions is enforced.
2391
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
2392
- * @param request.derivativesAllowed Whether or not the licensee can create derivatives of his work
2393
- * @param request.derivativesAttribution Whether or not attribution is required for derivatives of the work
2394
- * @param request.derivativesApproval Whether or not the licensor must approve derivatives of the work before they can be linked to the licensor IP ID
2395
- * @param request.derivativesReciprocal Whether or not the licensee must license derivatives of the work under the same terms.
2396
- * @param request.territories List of territories where the license is valid. If empty, global.
2397
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
2398
- * @param request.royaltyPolicy Address of a royalty policy contract (e.g. RoyaltyPolicyLS) that will handle royalty payments
2399
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
2400
- */
2401
- registerPILPolicy(request: RegisterPILPolicyRequest): Promise<RegisterPILPolicyResponse>;
2402
- /**
2403
- * Convenient function to register a PIL social remix policy to the registry
2404
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
2405
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
2406
- * @param request.territories List of territories where the license is valid. If empty, global.
2407
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
2408
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
2409
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
2410
- */
2411
- registerPILSocialRemixPolicy(request: RegisterPILSocialRemixPolicyRequest): Promise<RegisterPILSocialRemixPolicyResponse>;
2412
- /**
2413
- * Convenient function to register a PIL social remix policy to the registry
2414
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
2415
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
2416
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
2417
- * @param mintingFee Fee to be paid when minting a license
2418
- * @param mintingFeeToken Token to be used to pay the minting fee
2419
- * @param request.territories List of territories where the license is valid. If empty, global.
2420
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
2421
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
2422
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
2423
- */
2424
- registerPILCommercialUsePolicy(request: RegisterPILCommercialUsePolicyRequest): Promise<RegisterPILCommercialUsePolicyResponse>;
2425
- private getPolicyId;
2426
- private encodeFrameworkData;
2427
- /**
2428
- * Adds a policy to the set of policies of an IP
2429
- * @param request The request object containing details to add a policy to an IP
2430
- * @param request.ipId The id of the IP
2431
- * @param request.polId The id of the policy
2432
- * @return the transaction hash and the index of the policy in the IP's policy set if the txOptions.waitForTransaction is set to true
2433
- */
2434
- addPolicyToIp(request: AddPolicyToIpRequest): Promise<AddPolicyToIpResponse>;
2435
- }
2436
- //# sourceMappingURL=policy.d.ts.map