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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/declarations/src/client.d.ts +0 -9
  2. package/dist/declarations/src/client.d.ts.map +1 -1
  3. package/dist/declarations/src/clients/storyAPI.d.ts +0 -2
  4. package/dist/declarations/src/clients/storyAPI.d.ts.map +1 -1
  5. package/dist/declarations/src/index.d.ts +1 -3
  6. package/dist/declarations/src/index.d.ts.map +1 -1
  7. package/dist/declarations/src/resources/dispute.d.ts +321 -5
  8. package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
  9. package/dist/declarations/src/resources/ipAccount.d.ts +321 -5
  10. package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
  11. package/dist/declarations/src/resources/license.d.ts +2955 -211
  12. package/dist/declarations/src/resources/license.d.ts.map +1 -1
  13. package/dist/declarations/src/resources/permission.d.ts +642 -10
  14. package/dist/declarations/src/resources/permission.d.ts.map +1 -1
  15. package/dist/declarations/src/resources/royalty.d.ts +963 -15
  16. package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
  17. package/dist/declarations/src/types/config.d.ts +2 -1
  18. package/dist/declarations/src/types/config.d.ts.map +1 -1
  19. package/dist/declarations/src/types/resources/ipAsset.d.ts +1 -1
  20. package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
  21. package/dist/declarations/src/types/resources/license.d.ts +54 -18
  22. package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
  23. package/dist/story-protocol-core-sdk.cjs.dev.js +863 -905
  24. package/dist/story-protocol-core-sdk.cjs.prod.js +863 -905
  25. package/dist/story-protocol-core-sdk.esm.js +865 -906
  26. package/package.json +5 -5
  27. package/dist/declarations/src/resources/policy.d.ts +0 -3253
  28. package/dist/declarations/src/resources/policy.d.ts.map +0 -1
  29. package/dist/declarations/src/types/resources/policy.d.ts +0 -83
  30. package/dist/declarations/src/types/resources/policy.d.ts.map +0 -1
@@ -1,3253 +0,0 @@
1
- import { PublicClient, WalletClient } from "viem";
2
- import { RegisterPILPolicyRequest, RegisterPILPolicyResponse, RegisterPILSocialRemixPolicyRequest, RegisterPILSocialRemixPolicyResponse, RegisterPILCommercialUsePolicyRequest, RegisterPILCommercialUsePolicyResponse, AddPolicyToIpRequest, AddPolicyToIpResponse } from "../types/resources/policy.js";
3
- import { SupportedChainIds } from "../types/config.js";
4
- export declare class PolicyClient {
5
- private readonly wallet;
6
- private readonly rpcClient;
7
- ipAccountABI: ({
8
- readonly inputs: readonly [{
9
- readonly internalType: "address";
10
- readonly name: "caller";
11
- readonly type: "address";
12
- }];
13
- readonly name: "AccessControlled__CallerIsNotIpAccount";
14
- readonly type: "error";
15
- } | {
16
- readonly inputs: readonly [{
17
- readonly internalType: "address";
18
- readonly name: "ipAccount";
19
- readonly type: "address";
20
- }];
21
- readonly name: "AccessControlled__NotIpAccount";
22
- readonly type: "error";
23
- } | {
24
- readonly inputs: readonly [];
25
- readonly name: "AccessControlled__ZeroAddress";
26
- readonly type: "error";
27
- } | {
28
- readonly inputs: readonly [{
29
- readonly internalType: "address";
30
- readonly name: "signer";
31
- readonly type: "address";
32
- }, {
33
- readonly internalType: "address";
34
- readonly name: "to";
35
- readonly type: "address";
36
- }];
37
- readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
38
- readonly type: "error";
39
- } | {
40
- readonly inputs: readonly [];
41
- readonly name: "AccessController__CallerIsNotIPAccount";
42
- readonly type: "error";
43
- } | {
44
- readonly inputs: readonly [{
45
- readonly internalType: "address";
46
- readonly name: "ipAccount";
47
- readonly type: "address";
48
- }];
49
- readonly name: "AccessController__IPAccountIsNotValid";
50
- readonly type: "error";
51
- } | {
52
- readonly inputs: readonly [];
53
- readonly name: "AccessController__IPAccountIsZeroAddress";
54
- readonly type: "error";
55
- } | {
56
- readonly inputs: readonly [{
57
- readonly internalType: "address";
58
- readonly name: "ipAccount";
59
- readonly type: "address";
60
- }, {
61
- readonly internalType: "address";
62
- readonly name: "signer"; /**
63
- * Registers a PIL policy to the registry
64
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
65
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
66
- * @param request.transferable Whether or not the license is transferable
67
- * @param request.attribution Whether or not attribution is required when reproducing the work
68
- * @param request.commercialUse Whether or not the work can be used commercially
69
- * @param request.commercialAttribution Whether or not attribution is required when reproducing the work commercially
70
- * @param request.commercializerChecker commericializers that are allowed to commercially exploit the work. If zero address, then no restrictions is enforced.
71
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
72
- * @param request.derivativesAllowed Whether or not the licensee can create derivatives of his work
73
- * @param request.derivativesAttribution Whether or not attribution is required for derivatives of the work
74
- * @param request.derivativesApproval Whether or not the licensor must approve derivatives of the work before they can be linked to the licensor IP ID
75
- * @param request.derivativesReciprocal Whether or not the licensee must license derivatives of the work under the same terms.
76
- * @param request.territories List of territories where the license is valid. If empty, global.
77
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
78
- * @param request.royaltyPolicy Address of a royalty policy contract (e.g. RoyaltyPolicyLS) that will handle royalty payments
79
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
80
- */
81
- readonly type: "address";
82
- }, {
83
- readonly internalType: "address";
84
- readonly name: "to";
85
- readonly type: "address";
86
- }, {
87
- readonly internalType: "bytes4";
88
- readonly name: "func";
89
- readonly type: "bytes4";
90
- }];
91
- readonly name: "AccessController__PermissionDenied";
92
- readonly type: "error";
93
- } | {
94
- readonly inputs: readonly [];
95
- readonly name: "AccessController__PermissionIsNotValid";
96
- readonly type: "error";
97
- } | {
98
- readonly inputs: readonly [];
99
- readonly name: "AccessController__SignerIsZeroAddress";
100
- readonly type: "error";
101
- } | {
102
- readonly inputs: readonly [];
103
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
104
- readonly type: "error";
105
- } | {
106
- readonly inputs: readonly [];
107
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
108
- readonly type: "error";
109
- } | {
110
- readonly inputs: readonly [];
111
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
112
- readonly type: "error";
113
- } | {
114
- readonly inputs: readonly [];
115
- readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
116
- readonly type: "error";
117
- } | {
118
- readonly inputs: readonly [];
119
- readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
120
- readonly type: "error";
121
- } | {
122
- readonly inputs: readonly [];
123
- readonly name: "DisputeModule__NotAbleToResolve";
124
- readonly type: "error";
125
- } | {
126
- readonly inputs: readonly [];
127
- readonly name: "DisputeModule__NotDisputeInitiator";
128
- readonly type: "error";
129
- } | {
130
- readonly inputs: readonly [];
131
- readonly name: "DisputeModule__NotInDisputeState";
132
- readonly type: "error";
133
- } | {
134
- readonly inputs: readonly [];
135
- readonly name: "DisputeModule__NotRegisteredIpId";
136
- readonly type: "error";
137
- } | {
138
- readonly inputs: readonly [];
139
- readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
140
- readonly type: "error";
141
- } | {
142
- readonly inputs: readonly [];
143
- readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
144
- readonly type: "error";
145
- } | {
146
- readonly inputs: readonly [];
147
- readonly name: "DisputeModule__NotWhitelistedDisputeTag";
148
- readonly type: "error";
149
- } | {
150
- readonly inputs: readonly [];
151
- readonly name: "DisputeModule__ZeroArbitrationPolicy";
152
- readonly type: "error";
153
- } | {
154
- readonly inputs: readonly [];
155
- readonly name: "DisputeModule__ZeroArbitrationRelayer";
156
- readonly type: "error";
157
- } | {
158
- readonly inputs: readonly [];
159
- readonly name: "DisputeModule__ZeroDisputeTag";
160
- readonly type: "error";
161
- } | {
162
- readonly inputs: readonly [];
163
- readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
164
- readonly type: "error";
165
- } | {
166
- readonly inputs: readonly [];
167
- readonly name: "Governance__InconsistentState";
168
- readonly type: "error";
169
- } | {
170
- readonly inputs: readonly [];
171
- readonly name: "Governance__NewStateIsTheSameWithOldState";
172
- readonly type: "error";
173
- } | {
174
- readonly inputs: readonly [];
175
- readonly name: "Governance__OnlyProtocolAdmin";
176
- readonly type: "error";
177
- } | {
178
- readonly inputs: readonly [];
179
- readonly name: "Governance__ProtocolPaused";
180
- readonly type: "error";
181
- } | {
182
- readonly inputs: readonly [{
183
- readonly internalType: "string";
184
- readonly name: "interfaceName";
185
- readonly type: "string";
186
- }];
187
- readonly name: "Governance__UnsupportedInterface";
188
- readonly type: "error";
189
- } | {
190
- readonly inputs: readonly [];
191
- readonly name: "Governance__ZeroAddress";
192
- readonly type: "error";
193
- } | {
194
- readonly inputs: readonly [];
195
- readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
196
- readonly type: "error";
197
- } | {
198
- readonly inputs: readonly [];
199
- readonly name: "IPAccount__ExpiredSignature";
200
- readonly type: "error";
201
- } | {
202
- readonly inputs: readonly [];
203
- readonly name: "IPAccount__InvalidAccessController";
204
- readonly type: "error";
205
- } | {
206
- readonly inputs: readonly [];
207
- readonly name: "IPAccount__InvalidCalldata";
208
- readonly type: "error";
209
- } | {
210
- readonly inputs: readonly [];
211
- readonly name: "IPAccount__InvalidSignature";
212
- readonly type: "error";
213
- } | {
214
- readonly inputs: readonly [];
215
- readonly name: "IPAccount__InvalidSigner";
216
- readonly type: "error";
217
- } | {
218
- readonly inputs: readonly [];
219
- readonly name: "IPAssetRegistry__AlreadyRegistered";
220
- readonly type: "error";
221
- } | {
222
- readonly inputs: readonly [];
223
- readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
224
- readonly type: "error";
225
- } | {
226
- readonly inputs: readonly [];
227
- readonly name: "IPAssetRegistry__InvalidAccount";
228
- readonly type: "error";
229
- } | {
230
- readonly inputs: readonly [];
231
- readonly name: "IPAssetRegistry__InvalidMetadataProvider";
232
- readonly type: "error";
233
- } | {
234
- readonly inputs: readonly [{
235
- readonly internalType: "address";
236
- readonly name: "contractAddress";
237
- readonly type: "address";
238
- }, {
239
- readonly internalType: "uint256";
240
- readonly name: "tokenId";
241
- readonly type: "uint256";
242
- }];
243
- readonly name: "IPAssetRegistry__InvalidToken";
244
- readonly type: "error";
245
- } | {
246
- readonly inputs: readonly [];
247
- readonly name: "IPAssetRegistry__NotYetRegistered";
248
- readonly type: "error";
249
- } | {
250
- readonly inputs: readonly [];
251
- readonly name: "IPAssetRegistry__RegistrantUnauthorized";
252
- readonly type: "error";
253
- } | {
254
- readonly inputs: readonly [];
255
- readonly name: "IPAssetRegistry__ResolverInvalid";
256
- readonly type: "error";
257
- } | {
258
- readonly inputs: readonly [];
259
- readonly name: "IPAssetRegistry__Unauthorized";
260
- readonly type: "error";
261
- } | {
262
- readonly inputs: readonly [{
263
- readonly internalType: "address";
264
- readonly name: "contractAddress";
265
- readonly type: "address";
266
- }];
267
- readonly name: "IPAssetRegistry__UnsupportedIERC721";
268
- readonly type: "error";
269
- } | {
270
- readonly inputs: readonly [{
271
- readonly internalType: "address";
272
- readonly name: "contractAddress";
273
- readonly type: "address";
274
- }];
275
- readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
276
- readonly type: "error";
277
- } | {
278
- readonly inputs: readonly [];
279
- readonly name: "IPResolver_InvalidIP";
280
- readonly type: "error";
281
- } | {
282
- readonly inputs: readonly [];
283
- readonly name: "IPResolver_Unauthorized";
284
- readonly type: "error";
285
- } | {
286
- readonly inputs: readonly [];
287
- readonly name: "IpRoyaltyVault__AlreadyClaimed";
288
- readonly type: "error";
289
- } | {
290
- readonly inputs: readonly [];
291
- readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
292
- readonly type: "error";
293
- } | {
294
- readonly inputs: readonly [];
295
- readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
296
- readonly type: "error";
297
- } | {
298
- readonly inputs: readonly [];
299
- readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
300
- readonly type: "error";
301
- } | {
302
- readonly inputs: readonly [];
303
- readonly name: "IpRoyaltyVault__ZeroIpId";
304
- readonly type: "error";
305
- } | {
306
- readonly inputs: readonly [];
307
- readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
308
- readonly type: "error";
309
- } | {
310
- readonly inputs: readonly [];
311
- readonly name: "LicenseRegistry__CallerNotLicensingModule";
312
- readonly type: "error";
313
- } | {
314
- readonly inputs: readonly [];
315
- readonly name: "LicenseRegistry__NotTransferable";
316
- readonly type: "error";
317
- } | {
318
- readonly inputs: readonly [];
319
- readonly name: "LicenseRegistry__RevokedLicense";
320
- readonly type: "error";
321
- } | {
322
- readonly inputs: readonly [];
323
- readonly name: "LicenseRegistry__ZeroDisputeModule";
324
- readonly type: "error";
325
- } | {
326
- readonly inputs: readonly [];
327
- readonly name: "LicenseRegistry__ZeroLicensingModule";
328
- readonly type: "error";
329
- } | {
330
- readonly inputs: readonly [];
331
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
332
- readonly type: "error";
333
- } | {
334
- readonly inputs: readonly [];
335
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
336
- readonly type: "error";
337
- } | {
338
- readonly inputs: readonly [];
339
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
340
- readonly type: "error";
341
- } | {
342
- readonly inputs: readonly [];
343
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
344
- readonly type: "error";
345
- } | {
346
- readonly inputs: readonly [];
347
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
348
- readonly type: "error";
349
- } | {
350
- readonly inputs: readonly [];
351
- readonly name: "LicensingModule__DisputedIpId";
352
- readonly type: "error";
353
- } | {
354
- readonly inputs: readonly [];
355
- readonly name: "LicensingModule__EmptyLicenseUrl";
356
- readonly type: "error";
357
- } | {
358
- readonly inputs: readonly [];
359
- readonly name: "LicensingModule__EmptyParamName";
360
- readonly type: "error";
361
- } | {
362
- readonly inputs: readonly [];
363
- readonly name: "LicensingModule__FrameworkNotFound";
364
- readonly type: "error";
365
- } | {
366
- readonly inputs: readonly [];
367
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
368
- readonly type: "error";
369
- } | {
370
- readonly inputs: readonly [];
371
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
372
- readonly type: "error";
373
- } | {
374
- readonly inputs: readonly [];
375
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
376
- readonly type: "error";
377
- } | {
378
- readonly inputs: readonly [];
379
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
380
- readonly type: "error";
381
- } | {
382
- readonly inputs: readonly [];
383
- readonly name: "LicensingModule__InvalidLicensor";
384
- readonly type: "error";
385
- } | {
386
- readonly inputs: readonly [];
387
- readonly name: "LicensingModule__InvalidPolicyFramework";
388
- readonly type: "error";
389
- } | {
390
- readonly inputs: readonly [];
391
- readonly name: "LicensingModule__IpAlreadyLinked";
392
- readonly type: "error";
393
- } | {
394
- readonly inputs: readonly [];
395
- readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
396
- readonly type: "error";
397
- } | {
398
- readonly inputs: readonly [];
399
- readonly name: "LicensingModule__LicensorNotRegistered";
400
- readonly type: "error";
401
- } | {
402
- readonly inputs: readonly [];
403
- readonly name: "LicensingModule__LinkParentParamFailed";
404
- readonly type: "error";
405
- } | {
406
- readonly inputs: readonly [];
407
- readonly name: "LicensingModule__LinkingRevokedLicense";
408
- readonly type: "error";
409
- } | {
410
- readonly inputs: readonly [];
411
- readonly name: "LicensingModule__MintAmountZero";
412
- readonly type: "error";
413
- } | {
414
- readonly inputs: readonly [];
415
- readonly name: "LicensingModule__MintLicenseParamFailed";
416
- readonly type: "error";
417
- } | {
418
- readonly inputs: readonly [];
419
- readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
420
- readonly type: "error";
421
- } | {
422
- readonly inputs: readonly [];
423
- readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
424
- readonly type: "error";
425
- } | {
426
- readonly inputs: readonly [];
427
- readonly name: "LicensingModule__NotLicensee";
428
- readonly type: "error";
429
- } | {
430
- readonly inputs: readonly [];
431
- readonly name: "LicensingModule__ParamVerifierAlreadySet";
432
- readonly type: "error";
433
- } | {
434
- readonly inputs: readonly [];
435
- readonly name: "LicensingModule__ParamVerifierLengthMismatch";
436
- readonly type: "error";
437
- } | {
438
- readonly inputs: readonly [];
439
- readonly name: "LicensingModule__ParentIdEqualThanChild";
440
- readonly type: "error";
441
- } | {
442
- readonly inputs: readonly [];
443
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
444
- readonly type: "error";
445
- } | {
446
- readonly inputs: readonly [];
447
- readonly name: "LicensingModule__PolicyNotFound";
448
- readonly type: "error";
449
- } | {
450
- readonly inputs: readonly [];
451
- readonly name: "LicensingModule__ReceiverZeroAddress";
452
- readonly type: "error";
453
- } | {
454
- readonly inputs: readonly []; /**
455
- * Convenient function to register a PIL social remix policy to the registry
456
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
457
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
458
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
459
- * @param mintingFee Fee to be paid when minting a license
460
- * @param mintingFeeToken Token to be used to pay the minting fee
461
- * @param request.territories List of territories where the license is valid. If empty, global.
462
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
463
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
464
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
465
- */
466
- readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
467
- readonly type: "error";
468
- } | {
469
- readonly inputs: readonly [];
470
- readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
471
- readonly type: "error";
472
- } | {
473
- readonly inputs: readonly [];
474
- readonly name: "LicensingModule__TransferParamFailed";
475
- readonly type: "error";
476
- } | {
477
- readonly inputs: readonly [];
478
- readonly name: "LicensingModule__UnauthorizedAccess";
479
- readonly type: "error";
480
- } | {
481
- readonly inputs: readonly [];
482
- readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
483
- readonly type: "error";
484
- } | {
485
- readonly inputs: readonly [];
486
- readonly name: "LicensorApprovalChecker__Unauthorized";
487
- readonly type: "error";
488
- } | {
489
- readonly inputs: readonly [];
490
- readonly name: "MetadataProvider__HashInvalid";
491
- readonly type: "error";
492
- } | {
493
- readonly inputs: readonly [];
494
- readonly name: "MetadataProvider__IPAssetOwnerInvalid";
495
- readonly type: "error";
496
- } | {
497
- readonly inputs: readonly [];
498
- readonly name: "MetadataProvider__MetadataNotCompatible";
499
- readonly type: "error";
500
- } | {
501
- readonly inputs: readonly [];
502
- readonly name: "MetadataProvider__NameInvalid";
503
- readonly type: "error";
504
- } | {
505
- readonly inputs: readonly [];
506
- readonly name: "MetadataProvider__RegistrantInvalid";
507
- readonly type: "error";
508
- } | {
509
- readonly inputs: readonly [];
510
- readonly name: "MetadataProvider__RegistrationDateInvalid";
511
- readonly type: "error";
512
- } | {
513
- readonly inputs: readonly [];
514
- readonly name: "MetadataProvider__URIInvalid";
515
- readonly type: "error";
516
- } | {
517
- readonly inputs: readonly [];
518
- readonly name: "MetadataProvider__Unauthorized";
519
- readonly type: "error";
520
- } | {
521
- readonly inputs: readonly [];
522
- readonly name: "MetadataProvider__UpgradeProviderInvalid";
523
- readonly type: "error";
524
- } | {
525
- readonly inputs: readonly [];
526
- readonly name: "MetadataProvider__UpgradeUnavailable";
527
- readonly type: "error";
528
- } | {
529
- readonly inputs: readonly [];
530
- readonly name: "ModuleRegistry__InterfaceIdZero";
531
- readonly type: "error";
532
- } | {
533
- readonly inputs: readonly [];
534
- readonly name: "ModuleRegistry__ModuleAddressNotContract";
535
- readonly type: "error";
536
- } | {
537
- readonly inputs: readonly [];
538
- readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
539
- readonly type: "error";
540
- } | {
541
- readonly inputs: readonly [];
542
- readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
543
- readonly type: "error";
544
- } | {
545
- readonly inputs: readonly [];
546
- readonly name: "ModuleRegistry__ModuleNotRegistered";
547
- readonly type: "error";
548
- } | {
549
- readonly inputs: readonly [];
550
- readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
551
- readonly type: "error";
552
- } | {
553
- readonly inputs: readonly [];
554
- readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
555
- readonly type: "error";
556
- } | {
557
- readonly inputs: readonly [];
558
- readonly name: "ModuleRegistry__ModuleTypeEmptyString";
559
- readonly type: "error";
560
- } | {
561
- readonly inputs: readonly [];
562
- readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
563
- readonly type: "error";
564
- } | {
565
- readonly inputs: readonly [];
566
- readonly name: "ModuleRegistry__NameAlreadyRegistered";
567
- readonly type: "error";
568
- } | {
569
- readonly inputs: readonly [];
570
- readonly name: "ModuleRegistry__NameDoesNotMatch";
571
- readonly type: "error";
572
- } | {
573
- readonly inputs: readonly [];
574
- readonly name: "ModuleRegistry__NameEmptyString";
575
- readonly type: "error";
576
- } | {
577
- readonly inputs: readonly [];
578
- readonly name: "Module_Unauthorized";
579
- readonly type: "error";
580
- } | {
581
- readonly inputs: readonly [{
582
- readonly internalType: "address";
583
- readonly name: "commercializer";
584
- readonly type: "address";
585
- }];
586
- readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
587
- readonly type: "error";
588
- } | {
589
- readonly inputs: readonly [];
590
- readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
591
- readonly type: "error";
592
- } | {
593
- readonly inputs: readonly [];
594
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
595
- readonly type: "error";
596
- } | {
597
- readonly inputs: readonly [];
598
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
599
- readonly type: "error";
600
- } | {
601
- readonly inputs: readonly [];
602
- readonly name: "RoyaltyModule__NoParentsOnLinking";
603
- readonly type: "error";
604
- } | {
605
- readonly inputs: readonly [];
606
- readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
607
- readonly type: "error";
608
- } | {
609
- readonly inputs: readonly [];
610
- readonly name: "RoyaltyModule__NotAllowedCaller";
611
- readonly type: "error";
612
- } | {
613
- readonly inputs: readonly [];
614
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
615
- readonly type: "error";
616
- } | {
617
- readonly inputs: readonly [];
618
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
619
- readonly type: "error";
620
- } | {
621
- readonly inputs: readonly [];
622
- readonly name: "RoyaltyModule__ZeroLicensingModule";
623
- readonly type: "error";
624
- } | {
625
- readonly inputs: readonly [];
626
- readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
627
- readonly type: "error";
628
- } | {
629
- readonly inputs: readonly [];
630
- readonly name: "RoyaltyModule__ZeroRoyaltyToken";
631
- readonly type: "error";
632
- } | {
633
- readonly inputs: readonly [];
634
- readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
635
- readonly type: "error";
636
- } | {
637
- readonly inputs: readonly [];
638
- readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
639
- readonly type: "error";
640
- } | {
641
- readonly inputs: readonly [];
642
- readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
643
- readonly type: "error";
644
- } | {
645
- readonly inputs: readonly [];
646
- readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
647
- readonly type: "error";
648
- } | {
649
- readonly inputs: readonly [];
650
- readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
651
- readonly type: "error";
652
- } | {
653
- readonly inputs: readonly [];
654
- readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
655
- readonly type: "error";
656
- } | {
657
- readonly inputs: readonly [];
658
- readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
659
- readonly type: "error";
660
- } | {
661
- readonly inputs: readonly [];
662
- readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
663
- readonly type: "error";
664
- } | {
665
- readonly inputs: readonly [];
666
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
667
- readonly type: "error";
668
- } | {
669
- readonly inputs: readonly [];
670
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
671
- readonly type: "error";
672
- } | {
673
- readonly inputs: readonly [];
674
- readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
675
- readonly type: "error";
676
- } | {
677
- readonly inputs: readonly [];
678
- readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
679
- readonly type: "error";
680
- } | {
681
- readonly inputs: readonly [];
682
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
683
- readonly type: "error";
684
- } | {
685
- readonly inputs: readonly [];
686
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
687
- readonly type: "error";
688
- } | {
689
- readonly inputs: readonly [];
690
- readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
691
- readonly type: "error";
692
- } | {
693
- readonly inputs: readonly [{
694
- readonly internalType: "address";
695
- readonly name: "to";
696
- readonly type: "address";
697
- }, {
698
- readonly internalType: "uint256";
699
- readonly name: "value";
700
- readonly type: "uint256";
701
- }, {
702
- readonly internalType: "bytes";
703
- readonly name: "data";
704
- readonly type: "bytes";
705
- }];
706
- readonly name: "execute";
707
- readonly outputs: readonly [{
708
- readonly internalType: "bytes";
709
- readonly name: "result";
710
- readonly type: "bytes";
711
- }];
712
- readonly stateMutability: "payable";
713
- readonly type: "function";
714
- } | {
715
- readonly inputs: readonly [{
716
- readonly internalType: "address";
717
- readonly name: "to";
718
- readonly type: "address";
719
- }, {
720
- readonly internalType: "uint256";
721
- readonly name: "value";
722
- readonly type: "uint256";
723
- }, {
724
- readonly internalType: "bytes";
725
- readonly name: "data";
726
- readonly type: "bytes";
727
- }, {
728
- readonly internalType: "address";
729
- readonly name: "signer";
730
- readonly type: "address";
731
- }, {
732
- readonly internalType: "uint256";
733
- readonly name: "deadline";
734
- readonly type: "uint256";
735
- }, {
736
- readonly internalType: "bytes";
737
- readonly name: "signature";
738
- readonly type: "bytes";
739
- }];
740
- readonly name: "executeWithSig";
741
- readonly outputs: readonly [{
742
- readonly internalType: "bytes";
743
- readonly name: "result";
744
- readonly type: "bytes";
745
- }];
746
- readonly stateMutability: "payable";
747
- readonly type: "function";
748
- })[];
749
- licensingModuleConfig: {
750
- abi: ({
751
- readonly inputs: readonly [{
752
- readonly internalType: "address";
753
- readonly name: "caller";
754
- readonly type: "address";
755
- }];
756
- readonly name: "AccessControlled__CallerIsNotIpAccount";
757
- readonly type: "error";
758
- } | {
759
- readonly inputs: readonly [{
760
- readonly internalType: "address";
761
- readonly name: "ipAccount";
762
- readonly type: "address";
763
- }];
764
- readonly name: "AccessControlled__NotIpAccount";
765
- readonly type: "error";
766
- } | {
767
- readonly inputs: readonly [];
768
- readonly name: "AccessControlled__ZeroAddress";
769
- readonly type: "error";
770
- } | {
771
- readonly inputs: readonly [{
772
- readonly internalType: "address";
773
- readonly name: "signer";
774
- readonly type: "address";
775
- }, {
776
- readonly internalType: "address";
777
- readonly name: "to";
778
- readonly type: "address";
779
- }];
780
- readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
781
- readonly type: "error";
782
- } | {
783
- readonly inputs: readonly [];
784
- readonly name: "AccessController__CallerIsNotIPAccount";
785
- readonly type: "error";
786
- } | {
787
- readonly inputs: readonly [{
788
- readonly internalType: "address";
789
- readonly name: "ipAccount";
790
- readonly type: "address";
791
- }];
792
- readonly name: "AccessController__IPAccountIsNotValid";
793
- readonly type: "error";
794
- } | {
795
- readonly inputs: readonly [];
796
- readonly name: "AccessController__IPAccountIsZeroAddress";
797
- readonly type: "error";
798
- } | {
799
- readonly inputs: readonly [{
800
- readonly internalType: "address";
801
- readonly name: "ipAccount";
802
- readonly type: "address";
803
- }, {
804
- readonly internalType: "address";
805
- readonly name: "signer"; /**
806
- * Registers a PIL policy to the registry
807
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
808
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
809
- * @param request.transferable Whether or not the license is transferable
810
- * @param request.attribution Whether or not attribution is required when reproducing the work
811
- * @param request.commercialUse Whether or not the work can be used commercially
812
- * @param request.commercialAttribution Whether or not attribution is required when reproducing the work commercially
813
- * @param request.commercializerChecker commericializers that are allowed to commercially exploit the work. If zero address, then no restrictions is enforced.
814
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
815
- * @param request.derivativesAllowed Whether or not the licensee can create derivatives of his work
816
- * @param request.derivativesAttribution Whether or not attribution is required for derivatives of the work
817
- * @param request.derivativesApproval Whether or not the licensor must approve derivatives of the work before they can be linked to the licensor IP ID
818
- * @param request.derivativesReciprocal Whether or not the licensee must license derivatives of the work under the same terms.
819
- * @param request.territories List of territories where the license is valid. If empty, global.
820
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
821
- * @param request.royaltyPolicy Address of a royalty policy contract (e.g. RoyaltyPolicyLS) that will handle royalty payments
822
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
823
- */
824
- readonly type: "address";
825
- }, {
826
- readonly internalType: "address";
827
- readonly name: "to";
828
- readonly type: "address";
829
- }, {
830
- readonly internalType: "bytes4";
831
- readonly name: "func";
832
- readonly type: "bytes4";
833
- }];
834
- readonly name: "AccessController__PermissionDenied";
835
- readonly type: "error";
836
- } | {
837
- readonly inputs: readonly [];
838
- readonly name: "AccessController__PermissionIsNotValid";
839
- readonly type: "error";
840
- } | {
841
- readonly inputs: readonly [];
842
- readonly name: "AccessController__SignerIsZeroAddress";
843
- readonly type: "error";
844
- } | {
845
- readonly inputs: readonly [];
846
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
847
- readonly type: "error";
848
- } | {
849
- readonly inputs: readonly [];
850
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
851
- readonly type: "error";
852
- } | {
853
- readonly inputs: readonly [];
854
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
855
- readonly type: "error";
856
- } | {
857
- readonly inputs: readonly [];
858
- readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
859
- readonly type: "error";
860
- } | {
861
- readonly inputs: readonly [];
862
- readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
863
- readonly type: "error";
864
- } | {
865
- readonly inputs: readonly [];
866
- readonly name: "DisputeModule__NotAbleToResolve";
867
- readonly type: "error";
868
- } | {
869
- readonly inputs: readonly [];
870
- readonly name: "DisputeModule__NotDisputeInitiator";
871
- readonly type: "error";
872
- } | {
873
- readonly inputs: readonly [];
874
- readonly name: "DisputeModule__NotInDisputeState";
875
- readonly type: "error";
876
- } | {
877
- readonly inputs: readonly [];
878
- readonly name: "DisputeModule__NotRegisteredIpId";
879
- readonly type: "error";
880
- } | {
881
- readonly inputs: readonly [];
882
- readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
883
- readonly type: "error";
884
- } | {
885
- readonly inputs: readonly [];
886
- readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
887
- readonly type: "error";
888
- } | {
889
- readonly inputs: readonly [];
890
- readonly name: "DisputeModule__NotWhitelistedDisputeTag";
891
- readonly type: "error";
892
- } | {
893
- readonly inputs: readonly [];
894
- readonly name: "DisputeModule__ZeroArbitrationPolicy";
895
- readonly type: "error";
896
- } | {
897
- readonly inputs: readonly [];
898
- readonly name: "DisputeModule__ZeroArbitrationRelayer";
899
- readonly type: "error";
900
- } | {
901
- readonly inputs: readonly [];
902
- readonly name: "DisputeModule__ZeroDisputeTag";
903
- readonly type: "error";
904
- } | {
905
- readonly inputs: readonly [];
906
- readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
907
- readonly type: "error";
908
- } | {
909
- readonly inputs: readonly [];
910
- readonly name: "Governance__InconsistentState";
911
- readonly type: "error";
912
- } | {
913
- readonly inputs: readonly [];
914
- readonly name: "Governance__NewStateIsTheSameWithOldState";
915
- readonly type: "error";
916
- } | {
917
- readonly inputs: readonly [];
918
- readonly name: "Governance__OnlyProtocolAdmin";
919
- readonly type: "error";
920
- } | {
921
- readonly inputs: readonly [];
922
- readonly name: "Governance__ProtocolPaused";
923
- readonly type: "error";
924
- } | {
925
- readonly inputs: readonly [{
926
- readonly internalType: "string";
927
- readonly name: "interfaceName";
928
- readonly type: "string";
929
- }];
930
- readonly name: "Governance__UnsupportedInterface";
931
- readonly type: "error";
932
- } | {
933
- readonly inputs: readonly [];
934
- readonly name: "Governance__ZeroAddress";
935
- readonly type: "error";
936
- } | {
937
- readonly inputs: readonly [];
938
- readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
939
- readonly type: "error";
940
- } | {
941
- readonly inputs: readonly [];
942
- readonly name: "IPAccount__ExpiredSignature";
943
- readonly type: "error";
944
- } | {
945
- readonly inputs: readonly [];
946
- readonly name: "IPAccount__InvalidAccessController";
947
- readonly type: "error";
948
- } | {
949
- readonly inputs: readonly [];
950
- readonly name: "IPAccount__InvalidCalldata";
951
- readonly type: "error";
952
- } | {
953
- readonly inputs: readonly [];
954
- readonly name: "IPAccount__InvalidSignature";
955
- readonly type: "error";
956
- } | {
957
- readonly inputs: readonly [];
958
- readonly name: "IPAccount__InvalidSigner";
959
- readonly type: "error";
960
- } | {
961
- readonly inputs: readonly [];
962
- readonly name: "IPAssetRegistry__AlreadyRegistered";
963
- readonly type: "error";
964
- } | {
965
- readonly inputs: readonly [];
966
- readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
967
- readonly type: "error";
968
- } | {
969
- readonly inputs: readonly [];
970
- readonly name: "IPAssetRegistry__InvalidAccount";
971
- readonly type: "error";
972
- } | {
973
- readonly inputs: readonly [];
974
- readonly name: "IPAssetRegistry__InvalidMetadataProvider";
975
- readonly type: "error";
976
- } | {
977
- readonly inputs: readonly [{
978
- readonly internalType: "address";
979
- readonly name: "contractAddress";
980
- readonly type: "address";
981
- }, {
982
- readonly internalType: "uint256";
983
- readonly name: "tokenId";
984
- readonly type: "uint256";
985
- }];
986
- readonly name: "IPAssetRegistry__InvalidToken";
987
- readonly type: "error";
988
- } | {
989
- readonly inputs: readonly [];
990
- readonly name: "IPAssetRegistry__NotYetRegistered";
991
- readonly type: "error";
992
- } | {
993
- readonly inputs: readonly [];
994
- readonly name: "IPAssetRegistry__RegistrantUnauthorized";
995
- readonly type: "error";
996
- } | {
997
- readonly inputs: readonly [];
998
- readonly name: "IPAssetRegistry__ResolverInvalid";
999
- readonly type: "error";
1000
- } | {
1001
- readonly inputs: readonly [];
1002
- readonly name: "IPAssetRegistry__Unauthorized";
1003
- readonly type: "error";
1004
- } | {
1005
- readonly inputs: readonly [{
1006
- readonly internalType: "address";
1007
- readonly name: "contractAddress";
1008
- readonly type: "address";
1009
- }];
1010
- readonly name: "IPAssetRegistry__UnsupportedIERC721";
1011
- readonly type: "error";
1012
- } | {
1013
- readonly inputs: readonly [{
1014
- readonly internalType: "address";
1015
- readonly name: "contractAddress";
1016
- readonly type: "address";
1017
- }];
1018
- readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
1019
- readonly type: "error";
1020
- } | {
1021
- readonly inputs: readonly [];
1022
- readonly name: "IPResolver_InvalidIP";
1023
- readonly type: "error";
1024
- } | {
1025
- readonly inputs: readonly [];
1026
- readonly name: "IPResolver_Unauthorized";
1027
- readonly type: "error";
1028
- } | {
1029
- readonly inputs: readonly [];
1030
- readonly name: "IpRoyaltyVault__AlreadyClaimed";
1031
- readonly type: "error";
1032
- } | {
1033
- readonly inputs: readonly [];
1034
- readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
1035
- readonly type: "error";
1036
- } | {
1037
- readonly inputs: readonly [];
1038
- readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
1039
- readonly type: "error";
1040
- } | {
1041
- readonly inputs: readonly [];
1042
- readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
1043
- readonly type: "error";
1044
- } | {
1045
- readonly inputs: readonly [];
1046
- readonly name: "IpRoyaltyVault__ZeroIpId";
1047
- readonly type: "error";
1048
- } | {
1049
- readonly inputs: readonly [];
1050
- readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
1051
- readonly type: "error";
1052
- } | {
1053
- readonly inputs: readonly [];
1054
- readonly name: "LicenseRegistry__CallerNotLicensingModule";
1055
- readonly type: "error";
1056
- } | {
1057
- readonly inputs: readonly [];
1058
- readonly name: "LicenseRegistry__NotTransferable";
1059
- readonly type: "error";
1060
- } | {
1061
- readonly inputs: readonly [];
1062
- readonly name: "LicenseRegistry__RevokedLicense";
1063
- readonly type: "error";
1064
- } | {
1065
- readonly inputs: readonly [];
1066
- readonly name: "LicenseRegistry__ZeroDisputeModule";
1067
- readonly type: "error";
1068
- } | {
1069
- readonly inputs: readonly [];
1070
- readonly name: "LicenseRegistry__ZeroLicensingModule";
1071
- readonly type: "error";
1072
- } | {
1073
- readonly inputs: readonly [];
1074
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
1075
- readonly type: "error";
1076
- } | {
1077
- readonly inputs: readonly [];
1078
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
1079
- readonly type: "error";
1080
- } | {
1081
- readonly inputs: readonly [];
1082
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
1083
- readonly type: "error";
1084
- } | {
1085
- readonly inputs: readonly [];
1086
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
1087
- readonly type: "error";
1088
- } | {
1089
- readonly inputs: readonly [];
1090
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
1091
- readonly type: "error";
1092
- } | {
1093
- readonly inputs: readonly [];
1094
- readonly name: "LicensingModule__DisputedIpId";
1095
- readonly type: "error";
1096
- } | {
1097
- readonly inputs: readonly [];
1098
- readonly name: "LicensingModule__EmptyLicenseUrl";
1099
- readonly type: "error";
1100
- } | {
1101
- readonly inputs: readonly [];
1102
- readonly name: "LicensingModule__EmptyParamName";
1103
- readonly type: "error";
1104
- } | {
1105
- readonly inputs: readonly [];
1106
- readonly name: "LicensingModule__FrameworkNotFound";
1107
- readonly type: "error";
1108
- } | {
1109
- readonly inputs: readonly [];
1110
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
1111
- readonly type: "error";
1112
- } | {
1113
- readonly inputs: readonly [];
1114
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
1115
- readonly type: "error";
1116
- } | {
1117
- readonly inputs: readonly [];
1118
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
1119
- readonly type: "error";
1120
- } | {
1121
- readonly inputs: readonly [];
1122
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
1123
- readonly type: "error";
1124
- } | {
1125
- readonly inputs: readonly [];
1126
- readonly name: "LicensingModule__InvalidLicensor";
1127
- readonly type: "error";
1128
- } | {
1129
- readonly inputs: readonly [];
1130
- readonly name: "LicensingModule__InvalidPolicyFramework";
1131
- readonly type: "error";
1132
- } | {
1133
- readonly inputs: readonly [];
1134
- readonly name: "LicensingModule__IpAlreadyLinked";
1135
- readonly type: "error";
1136
- } | {
1137
- readonly inputs: readonly [];
1138
- readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
1139
- readonly type: "error";
1140
- } | {
1141
- readonly inputs: readonly [];
1142
- readonly name: "LicensingModule__LicensorNotRegistered";
1143
- readonly type: "error";
1144
- } | {
1145
- readonly inputs: readonly [];
1146
- readonly name: "LicensingModule__LinkParentParamFailed";
1147
- readonly type: "error";
1148
- } | {
1149
- readonly inputs: readonly [];
1150
- readonly name: "LicensingModule__LinkingRevokedLicense";
1151
- readonly type: "error";
1152
- } | {
1153
- readonly inputs: readonly [];
1154
- readonly name: "LicensingModule__MintAmountZero";
1155
- readonly type: "error";
1156
- } | {
1157
- readonly inputs: readonly [];
1158
- readonly name: "LicensingModule__MintLicenseParamFailed";
1159
- readonly type: "error";
1160
- } | {
1161
- readonly inputs: readonly [];
1162
- readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
1163
- readonly type: "error";
1164
- } | {
1165
- readonly inputs: readonly [];
1166
- readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
1167
- readonly type: "error";
1168
- } | {
1169
- readonly inputs: readonly [];
1170
- readonly name: "LicensingModule__NotLicensee";
1171
- readonly type: "error";
1172
- } | {
1173
- readonly inputs: readonly [];
1174
- readonly name: "LicensingModule__ParamVerifierAlreadySet";
1175
- readonly type: "error";
1176
- } | {
1177
- readonly inputs: readonly [];
1178
- readonly name: "LicensingModule__ParamVerifierLengthMismatch";
1179
- readonly type: "error";
1180
- } | {
1181
- readonly inputs: readonly [];
1182
- readonly name: "LicensingModule__ParentIdEqualThanChild";
1183
- readonly type: "error";
1184
- } | {
1185
- readonly inputs: readonly [];
1186
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
1187
- readonly type: "error";
1188
- } | {
1189
- readonly inputs: readonly [];
1190
- readonly name: "LicensingModule__PolicyNotFound";
1191
- readonly type: "error";
1192
- } | {
1193
- readonly inputs: readonly [];
1194
- readonly name: "LicensingModule__ReceiverZeroAddress";
1195
- readonly type: "error";
1196
- } | {
1197
- readonly inputs: readonly []; /**
1198
- * Convenient function to register a PIL social remix policy to the registry
1199
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
1200
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
1201
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
1202
- * @param mintingFee Fee to be paid when minting a license
1203
- * @param mintingFeeToken Token to be used to pay the minting fee
1204
- * @param request.territories List of territories where the license is valid. If empty, global.
1205
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
1206
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
1207
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
1208
- */
1209
- readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
1210
- readonly type: "error";
1211
- } | {
1212
- readonly inputs: readonly [];
1213
- readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
1214
- readonly type: "error";
1215
- } | {
1216
- readonly inputs: readonly [];
1217
- readonly name: "LicensingModule__TransferParamFailed";
1218
- readonly type: "error";
1219
- } | {
1220
- readonly inputs: readonly [];
1221
- readonly name: "LicensingModule__UnauthorizedAccess";
1222
- readonly type: "error";
1223
- } | {
1224
- readonly inputs: readonly [];
1225
- readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
1226
- readonly type: "error";
1227
- } | {
1228
- readonly inputs: readonly [];
1229
- readonly name: "LicensorApprovalChecker__Unauthorized";
1230
- readonly type: "error";
1231
- } | {
1232
- readonly inputs: readonly [];
1233
- readonly name: "MetadataProvider__HashInvalid";
1234
- readonly type: "error";
1235
- } | {
1236
- readonly inputs: readonly [];
1237
- readonly name: "MetadataProvider__IPAssetOwnerInvalid";
1238
- readonly type: "error";
1239
- } | {
1240
- readonly inputs: readonly [];
1241
- readonly name: "MetadataProvider__MetadataNotCompatible";
1242
- readonly type: "error";
1243
- } | {
1244
- readonly inputs: readonly [];
1245
- readonly name: "MetadataProvider__NameInvalid";
1246
- readonly type: "error";
1247
- } | {
1248
- readonly inputs: readonly [];
1249
- readonly name: "MetadataProvider__RegistrantInvalid";
1250
- readonly type: "error";
1251
- } | {
1252
- readonly inputs: readonly [];
1253
- readonly name: "MetadataProvider__RegistrationDateInvalid";
1254
- readonly type: "error";
1255
- } | {
1256
- readonly inputs: readonly [];
1257
- readonly name: "MetadataProvider__URIInvalid";
1258
- readonly type: "error";
1259
- } | {
1260
- readonly inputs: readonly [];
1261
- readonly name: "MetadataProvider__Unauthorized";
1262
- readonly type: "error";
1263
- } | {
1264
- readonly inputs: readonly [];
1265
- readonly name: "MetadataProvider__UpgradeProviderInvalid";
1266
- readonly type: "error";
1267
- } | {
1268
- readonly inputs: readonly [];
1269
- readonly name: "MetadataProvider__UpgradeUnavailable";
1270
- readonly type: "error";
1271
- } | {
1272
- readonly inputs: readonly [];
1273
- readonly name: "ModuleRegistry__InterfaceIdZero";
1274
- readonly type: "error";
1275
- } | {
1276
- readonly inputs: readonly [];
1277
- readonly name: "ModuleRegistry__ModuleAddressNotContract";
1278
- readonly type: "error";
1279
- } | {
1280
- readonly inputs: readonly [];
1281
- readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
1282
- readonly type: "error";
1283
- } | {
1284
- readonly inputs: readonly [];
1285
- readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
1286
- readonly type: "error";
1287
- } | {
1288
- readonly inputs: readonly [];
1289
- readonly name: "ModuleRegistry__ModuleNotRegistered";
1290
- readonly type: "error";
1291
- } | {
1292
- readonly inputs: readonly [];
1293
- readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
1294
- readonly type: "error";
1295
- } | {
1296
- readonly inputs: readonly [];
1297
- readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
1298
- readonly type: "error";
1299
- } | {
1300
- readonly inputs: readonly [];
1301
- readonly name: "ModuleRegistry__ModuleTypeEmptyString";
1302
- readonly type: "error";
1303
- } | {
1304
- readonly inputs: readonly [];
1305
- readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
1306
- readonly type: "error";
1307
- } | {
1308
- readonly inputs: readonly [];
1309
- readonly name: "ModuleRegistry__NameAlreadyRegistered";
1310
- readonly type: "error";
1311
- } | {
1312
- readonly inputs: readonly [];
1313
- readonly name: "ModuleRegistry__NameDoesNotMatch";
1314
- readonly type: "error";
1315
- } | {
1316
- readonly inputs: readonly [];
1317
- readonly name: "ModuleRegistry__NameEmptyString";
1318
- readonly type: "error";
1319
- } | {
1320
- readonly inputs: readonly [];
1321
- readonly name: "Module_Unauthorized";
1322
- readonly type: "error";
1323
- } | {
1324
- readonly inputs: readonly [{
1325
- readonly internalType: "address";
1326
- readonly name: "commercializer";
1327
- readonly type: "address";
1328
- }];
1329
- readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
1330
- readonly type: "error";
1331
- } | {
1332
- readonly inputs: readonly [];
1333
- readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
1334
- readonly type: "error";
1335
- } | {
1336
- readonly inputs: readonly [];
1337
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
1338
- readonly type: "error";
1339
- } | {
1340
- readonly inputs: readonly [];
1341
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
1342
- readonly type: "error";
1343
- } | {
1344
- readonly inputs: readonly [];
1345
- readonly name: "RoyaltyModule__NoParentsOnLinking";
1346
- readonly type: "error";
1347
- } | {
1348
- readonly inputs: readonly [];
1349
- readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
1350
- readonly type: "error";
1351
- } | {
1352
- readonly inputs: readonly [];
1353
- readonly name: "RoyaltyModule__NotAllowedCaller";
1354
- readonly type: "error";
1355
- } | {
1356
- readonly inputs: readonly [];
1357
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
1358
- readonly type: "error";
1359
- } | {
1360
- readonly inputs: readonly [];
1361
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
1362
- readonly type: "error";
1363
- } | {
1364
- readonly inputs: readonly [];
1365
- readonly name: "RoyaltyModule__ZeroLicensingModule";
1366
- readonly type: "error";
1367
- } | {
1368
- readonly inputs: readonly [];
1369
- readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
1370
- readonly type: "error";
1371
- } | {
1372
- readonly inputs: readonly [];
1373
- readonly name: "RoyaltyModule__ZeroRoyaltyToken";
1374
- readonly type: "error";
1375
- } | {
1376
- readonly inputs: readonly [];
1377
- readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
1378
- readonly type: "error";
1379
- } | {
1380
- readonly inputs: readonly [];
1381
- readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
1382
- readonly type: "error";
1383
- } | {
1384
- readonly inputs: readonly [];
1385
- readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
1386
- readonly type: "error";
1387
- } | {
1388
- readonly inputs: readonly [];
1389
- readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
1390
- readonly type: "error";
1391
- } | {
1392
- readonly inputs: readonly [];
1393
- readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
1394
- readonly type: "error";
1395
- } | {
1396
- readonly inputs: readonly [];
1397
- readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
1398
- readonly type: "error";
1399
- } | {
1400
- readonly inputs: readonly [];
1401
- readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
1402
- readonly type: "error";
1403
- } | {
1404
- readonly inputs: readonly [];
1405
- readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
1406
- readonly type: "error";
1407
- } | {
1408
- readonly inputs: readonly [];
1409
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
1410
- readonly type: "error";
1411
- } | {
1412
- readonly inputs: readonly [];
1413
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
1414
- readonly type: "error";
1415
- } | {
1416
- readonly inputs: readonly [];
1417
- readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
1418
- readonly type: "error";
1419
- } | {
1420
- readonly inputs: readonly [];
1421
- readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
1422
- readonly type: "error";
1423
- } | {
1424
- readonly inputs: readonly [];
1425
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
1426
- readonly type: "error";
1427
- } | {
1428
- readonly inputs: readonly [];
1429
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
1430
- readonly type: "error";
1431
- } | {
1432
- readonly inputs: readonly [];
1433
- readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
1434
- readonly type: "error";
1435
- } | {
1436
- readonly anonymous: false;
1437
- readonly inputs: readonly [{
1438
- readonly indexed: true;
1439
- readonly internalType: "address";
1440
- readonly name: "caller";
1441
- readonly type: "address";
1442
- }, {
1443
- readonly indexed: true;
1444
- readonly internalType: "address";
1445
- readonly name: "ipId";
1446
- readonly type: "address";
1447
- }, {
1448
- readonly indexed: false;
1449
- readonly internalType: "address[]";
1450
- readonly name: "parentIpIds";
1451
- readonly type: "address[]";
1452
- }];
1453
- readonly name: "IpIdLinkedToParents";
1454
- readonly type: "event";
1455
- } | {
1456
- readonly anonymous: false;
1457
- readonly inputs: readonly [{
1458
- readonly indexed: true;
1459
- readonly internalType: "address";
1460
- readonly name: "caller";
1461
- readonly type: "address";
1462
- }, {
1463
- readonly indexed: true;
1464
- readonly internalType: "address";
1465
- readonly name: "ipId";
1466
- readonly type: "address";
1467
- }, {
1468
- readonly indexed: true;
1469
- readonly internalType: "uint256";
1470
- readonly name: "policyId";
1471
- readonly type: "uint256";
1472
- }, {
1473
- readonly indexed: false;
1474
- readonly internalType: "uint256";
1475
- readonly name: "index";
1476
- readonly type: "uint256";
1477
- }, {
1478
- readonly indexed: false;
1479
- readonly internalType: "bool";
1480
- readonly name: "isInherited";
1481
- readonly type: "bool";
1482
- }];
1483
- readonly name: "PolicyAddedToIpId";
1484
- readonly type: "event";
1485
- } | {
1486
- readonly anonymous: false;
1487
- readonly inputs: readonly [{
1488
- readonly indexed: true;
1489
- readonly internalType: "uint256";
1490
- readonly name: "policyId";
1491
- readonly type: "uint256";
1492
- }, {
1493
- readonly indexed: true;
1494
- readonly internalType: "address";
1495
- readonly name: "policyFrameworkManager";
1496
- readonly type: "address";
1497
- }, {
1498
- readonly indexed: false;
1499
- readonly internalType: "bytes";
1500
- readonly name: "frameworkData";
1501
- readonly type: "bytes";
1502
- }, {
1503
- readonly indexed: false;
1504
- readonly internalType: "address";
1505
- readonly name: "royaltyPolicy";
1506
- readonly type: "address";
1507
- }, {
1508
- readonly indexed: false;
1509
- readonly internalType: "bytes";
1510
- readonly name: "royaltyData";
1511
- readonly type: "bytes";
1512
- }, {
1513
- readonly indexed: false;
1514
- readonly internalType: "uint256";
1515
- readonly name: "mintingFee";
1516
- readonly type: "uint256";
1517
- }, {
1518
- readonly indexed: false;
1519
- readonly internalType: "address";
1520
- readonly name: "mintingFeeToken";
1521
- readonly type: "address";
1522
- }];
1523
- readonly name: "PolicyRegistered";
1524
- readonly type: "event";
1525
- } | {
1526
- readonly inputs: readonly [{
1527
- readonly internalType: "address";
1528
- readonly name: "ipId";
1529
- readonly type: "address";
1530
- }, {
1531
- readonly internalType: "uint256";
1532
- readonly name: "polId";
1533
- readonly type: "uint256";
1534
- }];
1535
- readonly name: "addPolicyToIp";
1536
- readonly outputs: readonly [{
1537
- readonly internalType: "uint256";
1538
- readonly name: "indexOnIpId";
1539
- readonly type: "uint256";
1540
- }];
1541
- readonly stateMutability: "nonpayable";
1542
- readonly type: "function";
1543
- } | {
1544
- readonly inputs: readonly [{
1545
- readonly components: readonly [{
1546
- readonly internalType: "bool";
1547
- readonly name: "isLicenseTransferable";
1548
- readonly type: "bool";
1549
- }, {
1550
- readonly internalType: "address";
1551
- readonly name: "policyFramework";
1552
- readonly type: "address";
1553
- }, {
1554
- readonly internalType: "bytes";
1555
- readonly name: "frameworkData";
1556
- readonly type: "bytes";
1557
- }, {
1558
- readonly internalType: "address";
1559
- readonly name: "royaltyPolicy";
1560
- readonly type: "address";
1561
- }, {
1562
- readonly internalType: "bytes";
1563
- readonly name: "royaltyData";
1564
- readonly type: "bytes";
1565
- }, {
1566
- readonly internalType: "uint256";
1567
- readonly name: "mintingFee";
1568
- readonly type: "uint256";
1569
- }, {
1570
- readonly internalType: "address";
1571
- readonly name: "mintingFeeToken";
1572
- readonly type: "address";
1573
- }];
1574
- readonly internalType: "struct Licensing.Policy";
1575
- readonly name: "pol";
1576
- readonly type: "tuple";
1577
- }];
1578
- readonly name: "getPolicyId";
1579
- readonly outputs: readonly [{
1580
- readonly internalType: "uint256";
1581
- readonly name: "policyId";
1582
- readonly type: "uint256";
1583
- }];
1584
- readonly stateMutability: "view";
1585
- readonly type: "function";
1586
- } | {
1587
- readonly inputs: readonly [{
1588
- readonly internalType: "uint256[]";
1589
- readonly name: "licenseIds";
1590
- readonly type: "uint256[]";
1591
- }, {
1592
- readonly internalType: "address";
1593
- readonly name: "childIpId";
1594
- readonly type: "address";
1595
- }, {
1596
- readonly internalType: "bytes";
1597
- readonly name: "royaltyContext";
1598
- readonly type: "bytes";
1599
- }];
1600
- readonly name: "linkIpToParents";
1601
- readonly outputs: readonly [];
1602
- readonly stateMutability: "nonpayable";
1603
- readonly type: "function";
1604
- } | {
1605
- readonly inputs: readonly [{
1606
- readonly internalType: "uint256";
1607
- readonly name: "policyId";
1608
- readonly type: "uint256";
1609
- }, {
1610
- readonly internalType: "address";
1611
- readonly name: "licensorIpId";
1612
- readonly type: "address";
1613
- }, {
1614
- readonly internalType: "uint256";
1615
- readonly name: "amount";
1616
- readonly type: "uint256";
1617
- }, {
1618
- readonly internalType: "address";
1619
- readonly name: "receiver";
1620
- readonly type: "address";
1621
- }, {
1622
- readonly internalType: "bytes";
1623
- readonly name: "royaltyContext";
1624
- readonly type: "bytes";
1625
- }];
1626
- readonly name: "mintLicense";
1627
- readonly outputs: readonly [{
1628
- readonly internalType: "uint256";
1629
- readonly name: "licenseId";
1630
- readonly type: "uint256";
1631
- }];
1632
- readonly stateMutability: "nonpayable";
1633
- readonly type: "function";
1634
- } | {
1635
- readonly inputs: readonly [{
1636
- readonly components: readonly [{
1637
- readonly internalType: "bool";
1638
- readonly name: "isLicenseTransferable";
1639
- readonly type: "bool";
1640
- }, {
1641
- readonly internalType: "address";
1642
- readonly name: "policyFramework";
1643
- readonly type: "address";
1644
- }, {
1645
- readonly internalType: "bytes";
1646
- readonly name: "frameworkData";
1647
- readonly type: "bytes";
1648
- }, {
1649
- readonly internalType: "address";
1650
- readonly name: "royaltyPolicy";
1651
- readonly type: "address";
1652
- }, {
1653
- readonly internalType: "bytes";
1654
- readonly name: "royaltyData";
1655
- readonly type: "bytes";
1656
- }, {
1657
- readonly internalType: "uint256";
1658
- readonly name: "mintingFee";
1659
- readonly type: "uint256";
1660
- }, {
1661
- readonly internalType: "address";
1662
- readonly name: "mintingFeeToken";
1663
- readonly type: "address";
1664
- }];
1665
- readonly internalType: "struct Licensing.Policy";
1666
- readonly name: "pol";
1667
- readonly type: "tuple";
1668
- }];
1669
- readonly name: "registerPolicy";
1670
- readonly outputs: readonly [{
1671
- readonly internalType: "uint256";
1672
- readonly name: "policyId";
1673
- readonly type: "uint256";
1674
- }];
1675
- readonly stateMutability: "nonpayable";
1676
- readonly type: "function";
1677
- })[];
1678
- address: `0x${string}`;
1679
- };
1680
- pilPolicyFrameworkManagerConfig: {
1681
- abi: ({
1682
- readonly inputs: readonly [{
1683
- readonly internalType: "address";
1684
- readonly name: "caller";
1685
- readonly type: "address";
1686
- }];
1687
- readonly name: "AccessControlled__CallerIsNotIpAccount";
1688
- readonly type: "error";
1689
- } | {
1690
- readonly inputs: readonly [{
1691
- readonly internalType: "address";
1692
- readonly name: "ipAccount";
1693
- readonly type: "address";
1694
- }];
1695
- readonly name: "AccessControlled__NotIpAccount";
1696
- readonly type: "error";
1697
- } | {
1698
- readonly inputs: readonly [];
1699
- readonly name: "AccessControlled__ZeroAddress";
1700
- readonly type: "error";
1701
- } | {
1702
- readonly inputs: readonly [{
1703
- readonly internalType: "address";
1704
- readonly name: "signer";
1705
- readonly type: "address";
1706
- }, {
1707
- readonly internalType: "address";
1708
- readonly name: "to";
1709
- readonly type: "address";
1710
- }];
1711
- readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
1712
- readonly type: "error";
1713
- } | {
1714
- readonly inputs: readonly [];
1715
- readonly name: "AccessController__CallerIsNotIPAccount";
1716
- readonly type: "error";
1717
- } | {
1718
- readonly inputs: readonly [{
1719
- readonly internalType: "address";
1720
- readonly name: "ipAccount";
1721
- readonly type: "address";
1722
- }];
1723
- readonly name: "AccessController__IPAccountIsNotValid";
1724
- readonly type: "error";
1725
- } | {
1726
- readonly inputs: readonly [];
1727
- readonly name: "AccessController__IPAccountIsZeroAddress";
1728
- readonly type: "error";
1729
- } | {
1730
- readonly inputs: readonly [{
1731
- readonly internalType: "address";
1732
- readonly name: "ipAccount";
1733
- readonly type: "address";
1734
- }, {
1735
- readonly internalType: "address";
1736
- readonly name: "signer"; /**
1737
- * Registers a PIL policy to the registry
1738
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
1739
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
1740
- * @param request.transferable Whether or not the license is transferable
1741
- * @param request.attribution Whether or not attribution is required when reproducing the work
1742
- * @param request.commercialUse Whether or not the work can be used commercially
1743
- * @param request.commercialAttribution Whether or not attribution is required when reproducing the work commercially
1744
- * @param request.commercializerChecker commericializers that are allowed to commercially exploit the work. If zero address, then no restrictions is enforced.
1745
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
1746
- * @param request.derivativesAllowed Whether or not the licensee can create derivatives of his work
1747
- * @param request.derivativesAttribution Whether or not attribution is required for derivatives of the work
1748
- * @param request.derivativesApproval Whether or not the licensor must approve derivatives of the work before they can be linked to the licensor IP ID
1749
- * @param request.derivativesReciprocal Whether or not the licensee must license derivatives of the work under the same terms.
1750
- * @param request.territories List of territories where the license is valid. If empty, global.
1751
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
1752
- * @param request.royaltyPolicy Address of a royalty policy contract (e.g. RoyaltyPolicyLS) that will handle royalty payments
1753
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
1754
- */
1755
- readonly type: "address";
1756
- }, {
1757
- readonly internalType: "address";
1758
- readonly name: "to";
1759
- readonly type: "address";
1760
- }, {
1761
- readonly internalType: "bytes4";
1762
- readonly name: "func";
1763
- readonly type: "bytes4";
1764
- }];
1765
- readonly name: "AccessController__PermissionDenied";
1766
- readonly type: "error";
1767
- } | {
1768
- readonly inputs: readonly [];
1769
- readonly name: "AccessController__PermissionIsNotValid";
1770
- readonly type: "error";
1771
- } | {
1772
- readonly inputs: readonly [];
1773
- readonly name: "AccessController__SignerIsZeroAddress";
1774
- readonly type: "error";
1775
- } | {
1776
- readonly inputs: readonly [];
1777
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
1778
- readonly type: "error";
1779
- } | {
1780
- readonly inputs: readonly [];
1781
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
1782
- readonly type: "error";
1783
- } | {
1784
- readonly inputs: readonly [];
1785
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
1786
- readonly type: "error";
1787
- } | {
1788
- readonly inputs: readonly [];
1789
- readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
1790
- readonly type: "error";
1791
- } | {
1792
- readonly inputs: readonly [];
1793
- readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
1794
- readonly type: "error";
1795
- } | {
1796
- readonly inputs: readonly [];
1797
- readonly name: "DisputeModule__NotAbleToResolve";
1798
- readonly type: "error";
1799
- } | {
1800
- readonly inputs: readonly [];
1801
- readonly name: "DisputeModule__NotDisputeInitiator";
1802
- readonly type: "error";
1803
- } | {
1804
- readonly inputs: readonly [];
1805
- readonly name: "DisputeModule__NotInDisputeState";
1806
- readonly type: "error";
1807
- } | {
1808
- readonly inputs: readonly [];
1809
- readonly name: "DisputeModule__NotRegisteredIpId";
1810
- readonly type: "error";
1811
- } | {
1812
- readonly inputs: readonly [];
1813
- readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
1814
- readonly type: "error";
1815
- } | {
1816
- readonly inputs: readonly [];
1817
- readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
1818
- readonly type: "error";
1819
- } | {
1820
- readonly inputs: readonly [];
1821
- readonly name: "DisputeModule__NotWhitelistedDisputeTag";
1822
- readonly type: "error";
1823
- } | {
1824
- readonly inputs: readonly [];
1825
- readonly name: "DisputeModule__ZeroArbitrationPolicy";
1826
- readonly type: "error";
1827
- } | {
1828
- readonly inputs: readonly [];
1829
- readonly name: "DisputeModule__ZeroArbitrationRelayer";
1830
- readonly type: "error";
1831
- } | {
1832
- readonly inputs: readonly [];
1833
- readonly name: "DisputeModule__ZeroDisputeTag";
1834
- readonly type: "error";
1835
- } | {
1836
- readonly inputs: readonly [];
1837
- readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
1838
- readonly type: "error";
1839
- } | {
1840
- readonly inputs: readonly [];
1841
- readonly name: "Governance__InconsistentState";
1842
- readonly type: "error";
1843
- } | {
1844
- readonly inputs: readonly [];
1845
- readonly name: "Governance__NewStateIsTheSameWithOldState";
1846
- readonly type: "error";
1847
- } | {
1848
- readonly inputs: readonly [];
1849
- readonly name: "Governance__OnlyProtocolAdmin";
1850
- readonly type: "error";
1851
- } | {
1852
- readonly inputs: readonly [];
1853
- readonly name: "Governance__ProtocolPaused";
1854
- readonly type: "error";
1855
- } | {
1856
- readonly inputs: readonly [{
1857
- readonly internalType: "string";
1858
- readonly name: "interfaceName";
1859
- readonly type: "string";
1860
- }];
1861
- readonly name: "Governance__UnsupportedInterface";
1862
- readonly type: "error";
1863
- } | {
1864
- readonly inputs: readonly [];
1865
- readonly name: "Governance__ZeroAddress";
1866
- readonly type: "error";
1867
- } | {
1868
- readonly inputs: readonly [];
1869
- readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
1870
- readonly type: "error";
1871
- } | {
1872
- readonly inputs: readonly [];
1873
- readonly name: "IPAccount__ExpiredSignature";
1874
- readonly type: "error";
1875
- } | {
1876
- readonly inputs: readonly [];
1877
- readonly name: "IPAccount__InvalidAccessController";
1878
- readonly type: "error";
1879
- } | {
1880
- readonly inputs: readonly [];
1881
- readonly name: "IPAccount__InvalidCalldata";
1882
- readonly type: "error";
1883
- } | {
1884
- readonly inputs: readonly [];
1885
- readonly name: "IPAccount__InvalidSignature";
1886
- readonly type: "error";
1887
- } | {
1888
- readonly inputs: readonly [];
1889
- readonly name: "IPAccount__InvalidSigner";
1890
- readonly type: "error";
1891
- } | {
1892
- readonly inputs: readonly [];
1893
- readonly name: "IPAssetRegistry__AlreadyRegistered";
1894
- readonly type: "error";
1895
- } | {
1896
- readonly inputs: readonly [];
1897
- readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
1898
- readonly type: "error";
1899
- } | {
1900
- readonly inputs: readonly [];
1901
- readonly name: "IPAssetRegistry__InvalidAccount";
1902
- readonly type: "error";
1903
- } | {
1904
- readonly inputs: readonly [];
1905
- readonly name: "IPAssetRegistry__InvalidMetadataProvider";
1906
- readonly type: "error";
1907
- } | {
1908
- readonly inputs: readonly [{
1909
- readonly internalType: "address";
1910
- readonly name: "contractAddress";
1911
- readonly type: "address";
1912
- }, {
1913
- readonly internalType: "uint256";
1914
- readonly name: "tokenId";
1915
- readonly type: "uint256";
1916
- }];
1917
- readonly name: "IPAssetRegistry__InvalidToken";
1918
- readonly type: "error";
1919
- } | {
1920
- readonly inputs: readonly [];
1921
- readonly name: "IPAssetRegistry__NotYetRegistered";
1922
- readonly type: "error";
1923
- } | {
1924
- readonly inputs: readonly [];
1925
- readonly name: "IPAssetRegistry__RegistrantUnauthorized";
1926
- readonly type: "error";
1927
- } | {
1928
- readonly inputs: readonly [];
1929
- readonly name: "IPAssetRegistry__ResolverInvalid";
1930
- readonly type: "error";
1931
- } | {
1932
- readonly inputs: readonly [];
1933
- readonly name: "IPAssetRegistry__Unauthorized";
1934
- readonly type: "error";
1935
- } | {
1936
- readonly inputs: readonly [{
1937
- readonly internalType: "address";
1938
- readonly name: "contractAddress";
1939
- readonly type: "address";
1940
- }];
1941
- readonly name: "IPAssetRegistry__UnsupportedIERC721";
1942
- readonly type: "error";
1943
- } | {
1944
- readonly inputs: readonly [{
1945
- readonly internalType: "address";
1946
- readonly name: "contractAddress";
1947
- readonly type: "address";
1948
- }];
1949
- readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
1950
- readonly type: "error";
1951
- } | {
1952
- readonly inputs: readonly [];
1953
- readonly name: "IPResolver_InvalidIP";
1954
- readonly type: "error";
1955
- } | {
1956
- readonly inputs: readonly [];
1957
- readonly name: "IPResolver_Unauthorized";
1958
- readonly type: "error";
1959
- } | {
1960
- readonly inputs: readonly [];
1961
- readonly name: "IpRoyaltyVault__AlreadyClaimed";
1962
- readonly type: "error";
1963
- } | {
1964
- readonly inputs: readonly [];
1965
- readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
1966
- readonly type: "error";
1967
- } | {
1968
- readonly inputs: readonly [];
1969
- readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
1970
- readonly type: "error";
1971
- } | {
1972
- readonly inputs: readonly [];
1973
- readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
1974
- readonly type: "error";
1975
- } | {
1976
- readonly inputs: readonly [];
1977
- readonly name: "IpRoyaltyVault__ZeroIpId";
1978
- readonly type: "error";
1979
- } | {
1980
- readonly inputs: readonly [];
1981
- readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
1982
- readonly type: "error";
1983
- } | {
1984
- readonly inputs: readonly [];
1985
- readonly name: "LicenseRegistry__CallerNotLicensingModule";
1986
- readonly type: "error";
1987
- } | {
1988
- readonly inputs: readonly [];
1989
- readonly name: "LicenseRegistry__NotTransferable";
1990
- readonly type: "error";
1991
- } | {
1992
- readonly inputs: readonly [];
1993
- readonly name: "LicenseRegistry__RevokedLicense";
1994
- readonly type: "error";
1995
- } | {
1996
- readonly inputs: readonly [];
1997
- readonly name: "LicenseRegistry__ZeroDisputeModule";
1998
- readonly type: "error";
1999
- } | {
2000
- readonly inputs: readonly [];
2001
- readonly name: "LicenseRegistry__ZeroLicensingModule";
2002
- readonly type: "error";
2003
- } | {
2004
- readonly inputs: readonly [];
2005
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
2006
- readonly type: "error";
2007
- } | {
2008
- readonly inputs: readonly [];
2009
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
2010
- readonly type: "error";
2011
- } | {
2012
- readonly inputs: readonly [];
2013
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
2014
- readonly type: "error";
2015
- } | {
2016
- readonly inputs: readonly [];
2017
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
2018
- readonly type: "error";
2019
- } | {
2020
- readonly inputs: readonly [];
2021
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
2022
- readonly type: "error";
2023
- } | {
2024
- readonly inputs: readonly [];
2025
- readonly name: "LicensingModule__DisputedIpId";
2026
- readonly type: "error";
2027
- } | {
2028
- readonly inputs: readonly [];
2029
- readonly name: "LicensingModule__EmptyLicenseUrl";
2030
- readonly type: "error";
2031
- } | {
2032
- readonly inputs: readonly [];
2033
- readonly name: "LicensingModule__EmptyParamName";
2034
- readonly type: "error";
2035
- } | {
2036
- readonly inputs: readonly [];
2037
- readonly name: "LicensingModule__FrameworkNotFound";
2038
- readonly type: "error";
2039
- } | {
2040
- readonly inputs: readonly [];
2041
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
2042
- readonly type: "error";
2043
- } | {
2044
- readonly inputs: readonly [];
2045
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
2046
- readonly type: "error";
2047
- } | {
2048
- readonly inputs: readonly [];
2049
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
2050
- readonly type: "error";
2051
- } | {
2052
- readonly inputs: readonly [];
2053
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
2054
- readonly type: "error";
2055
- } | {
2056
- readonly inputs: readonly [];
2057
- readonly name: "LicensingModule__InvalidLicensor";
2058
- readonly type: "error";
2059
- } | {
2060
- readonly inputs: readonly [];
2061
- readonly name: "LicensingModule__InvalidPolicyFramework";
2062
- readonly type: "error";
2063
- } | {
2064
- readonly inputs: readonly [];
2065
- readonly name: "LicensingModule__IpAlreadyLinked";
2066
- readonly type: "error";
2067
- } | {
2068
- readonly inputs: readonly [];
2069
- readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
2070
- readonly type: "error";
2071
- } | {
2072
- readonly inputs: readonly [];
2073
- readonly name: "LicensingModule__LicensorNotRegistered";
2074
- readonly type: "error";
2075
- } | {
2076
- readonly inputs: readonly [];
2077
- readonly name: "LicensingModule__LinkParentParamFailed";
2078
- readonly type: "error";
2079
- } | {
2080
- readonly inputs: readonly [];
2081
- readonly name: "LicensingModule__LinkingRevokedLicense";
2082
- readonly type: "error";
2083
- } | {
2084
- readonly inputs: readonly [];
2085
- readonly name: "LicensingModule__MintAmountZero";
2086
- readonly type: "error";
2087
- } | {
2088
- readonly inputs: readonly [];
2089
- readonly name: "LicensingModule__MintLicenseParamFailed";
2090
- readonly type: "error";
2091
- } | {
2092
- readonly inputs: readonly [];
2093
- readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
2094
- readonly type: "error";
2095
- } | {
2096
- readonly inputs: readonly [];
2097
- readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
2098
- readonly type: "error";
2099
- } | {
2100
- readonly inputs: readonly [];
2101
- readonly name: "LicensingModule__NotLicensee";
2102
- readonly type: "error";
2103
- } | {
2104
- readonly inputs: readonly [];
2105
- readonly name: "LicensingModule__ParamVerifierAlreadySet";
2106
- readonly type: "error";
2107
- } | {
2108
- readonly inputs: readonly [];
2109
- readonly name: "LicensingModule__ParamVerifierLengthMismatch";
2110
- readonly type: "error";
2111
- } | {
2112
- readonly inputs: readonly [];
2113
- readonly name: "LicensingModule__ParentIdEqualThanChild";
2114
- readonly type: "error";
2115
- } | {
2116
- readonly inputs: readonly [];
2117
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
2118
- readonly type: "error";
2119
- } | {
2120
- readonly inputs: readonly [];
2121
- readonly name: "LicensingModule__PolicyNotFound";
2122
- readonly type: "error";
2123
- } | {
2124
- readonly inputs: readonly [];
2125
- readonly name: "LicensingModule__ReceiverZeroAddress";
2126
- readonly type: "error";
2127
- } | {
2128
- readonly inputs: readonly []; /**
2129
- * Convenient function to register a PIL social remix policy to the registry
2130
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
2131
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
2132
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
2133
- * @param mintingFee Fee to be paid when minting a license
2134
- * @param mintingFeeToken Token to be used to pay the minting fee
2135
- * @param request.territories List of territories where the license is valid. If empty, global.
2136
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
2137
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
2138
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
2139
- */
2140
- readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
2141
- readonly type: "error";
2142
- } | {
2143
- readonly inputs: readonly [];
2144
- readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
2145
- readonly type: "error";
2146
- } | {
2147
- readonly inputs: readonly [];
2148
- readonly name: "LicensingModule__TransferParamFailed";
2149
- readonly type: "error";
2150
- } | {
2151
- readonly inputs: readonly [];
2152
- readonly name: "LicensingModule__UnauthorizedAccess";
2153
- readonly type: "error";
2154
- } | {
2155
- readonly inputs: readonly [];
2156
- readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
2157
- readonly type: "error";
2158
- } | {
2159
- readonly inputs: readonly [];
2160
- readonly name: "LicensorApprovalChecker__Unauthorized";
2161
- readonly type: "error";
2162
- } | {
2163
- readonly inputs: readonly [];
2164
- readonly name: "MetadataProvider__HashInvalid";
2165
- readonly type: "error";
2166
- } | {
2167
- readonly inputs: readonly [];
2168
- readonly name: "MetadataProvider__IPAssetOwnerInvalid";
2169
- readonly type: "error";
2170
- } | {
2171
- readonly inputs: readonly [];
2172
- readonly name: "MetadataProvider__MetadataNotCompatible";
2173
- readonly type: "error";
2174
- } | {
2175
- readonly inputs: readonly [];
2176
- readonly name: "MetadataProvider__NameInvalid";
2177
- readonly type: "error";
2178
- } | {
2179
- readonly inputs: readonly [];
2180
- readonly name: "MetadataProvider__RegistrantInvalid";
2181
- readonly type: "error";
2182
- } | {
2183
- readonly inputs: readonly [];
2184
- readonly name: "MetadataProvider__RegistrationDateInvalid";
2185
- readonly type: "error";
2186
- } | {
2187
- readonly inputs: readonly [];
2188
- readonly name: "MetadataProvider__URIInvalid";
2189
- readonly type: "error";
2190
- } | {
2191
- readonly inputs: readonly [];
2192
- readonly name: "MetadataProvider__Unauthorized";
2193
- readonly type: "error";
2194
- } | {
2195
- readonly inputs: readonly [];
2196
- readonly name: "MetadataProvider__UpgradeProviderInvalid";
2197
- readonly type: "error";
2198
- } | {
2199
- readonly inputs: readonly [];
2200
- readonly name: "MetadataProvider__UpgradeUnavailable";
2201
- readonly type: "error";
2202
- } | {
2203
- readonly inputs: readonly [];
2204
- readonly name: "ModuleRegistry__InterfaceIdZero";
2205
- readonly type: "error";
2206
- } | {
2207
- readonly inputs: readonly [];
2208
- readonly name: "ModuleRegistry__ModuleAddressNotContract";
2209
- readonly type: "error";
2210
- } | {
2211
- readonly inputs: readonly [];
2212
- readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
2213
- readonly type: "error";
2214
- } | {
2215
- readonly inputs: readonly [];
2216
- readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
2217
- readonly type: "error";
2218
- } | {
2219
- readonly inputs: readonly [];
2220
- readonly name: "ModuleRegistry__ModuleNotRegistered";
2221
- readonly type: "error";
2222
- } | {
2223
- readonly inputs: readonly [];
2224
- readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
2225
- readonly type: "error";
2226
- } | {
2227
- readonly inputs: readonly [];
2228
- readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
2229
- readonly type: "error";
2230
- } | {
2231
- readonly inputs: readonly [];
2232
- readonly name: "ModuleRegistry__ModuleTypeEmptyString";
2233
- readonly type: "error";
2234
- } | {
2235
- readonly inputs: readonly [];
2236
- readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
2237
- readonly type: "error";
2238
- } | {
2239
- readonly inputs: readonly [];
2240
- readonly name: "ModuleRegistry__NameAlreadyRegistered";
2241
- readonly type: "error";
2242
- } | {
2243
- readonly inputs: readonly [];
2244
- readonly name: "ModuleRegistry__NameDoesNotMatch";
2245
- readonly type: "error";
2246
- } | {
2247
- readonly inputs: readonly [];
2248
- readonly name: "ModuleRegistry__NameEmptyString";
2249
- readonly type: "error";
2250
- } | {
2251
- readonly inputs: readonly [];
2252
- readonly name: "Module_Unauthorized";
2253
- readonly type: "error";
2254
- } | {
2255
- readonly inputs: readonly [{
2256
- readonly internalType: "address";
2257
- readonly name: "commercializer";
2258
- readonly type: "address";
2259
- }];
2260
- readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
2261
- readonly type: "error";
2262
- } | {
2263
- readonly inputs: readonly [];
2264
- readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
2265
- readonly type: "error";
2266
- } | {
2267
- readonly inputs: readonly [];
2268
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
2269
- readonly type: "error";
2270
- } | {
2271
- readonly inputs: readonly [];
2272
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
2273
- readonly type: "error";
2274
- } | {
2275
- readonly inputs: readonly [];
2276
- readonly name: "RoyaltyModule__NoParentsOnLinking";
2277
- readonly type: "error";
2278
- } | {
2279
- readonly inputs: readonly [];
2280
- readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
2281
- readonly type: "error";
2282
- } | {
2283
- readonly inputs: readonly [];
2284
- readonly name: "RoyaltyModule__NotAllowedCaller";
2285
- readonly type: "error";
2286
- } | {
2287
- readonly inputs: readonly [];
2288
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
2289
- readonly type: "error";
2290
- } | {
2291
- readonly inputs: readonly [];
2292
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
2293
- readonly type: "error";
2294
- } | {
2295
- readonly inputs: readonly [];
2296
- readonly name: "RoyaltyModule__ZeroLicensingModule";
2297
- readonly type: "error";
2298
- } | {
2299
- readonly inputs: readonly [];
2300
- readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
2301
- readonly type: "error";
2302
- } | {
2303
- readonly inputs: readonly [];
2304
- readonly name: "RoyaltyModule__ZeroRoyaltyToken";
2305
- readonly type: "error";
2306
- } | {
2307
- readonly inputs: readonly [];
2308
- readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
2309
- readonly type: "error";
2310
- } | {
2311
- readonly inputs: readonly [];
2312
- readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
2313
- readonly type: "error";
2314
- } | {
2315
- readonly inputs: readonly [];
2316
- readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
2317
- readonly type: "error";
2318
- } | {
2319
- readonly inputs: readonly [];
2320
- readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
2321
- readonly type: "error";
2322
- } | {
2323
- readonly inputs: readonly [];
2324
- readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
2325
- readonly type: "error";
2326
- } | {
2327
- readonly inputs: readonly [];
2328
- readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
2329
- readonly type: "error";
2330
- } | {
2331
- readonly inputs: readonly [];
2332
- readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
2333
- readonly type: "error";
2334
- } | {
2335
- readonly inputs: readonly [];
2336
- readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
2337
- readonly type: "error";
2338
- } | {
2339
- readonly inputs: readonly [];
2340
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
2341
- readonly type: "error";
2342
- } | {
2343
- readonly inputs: readonly [];
2344
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
2345
- readonly type: "error";
2346
- } | {
2347
- readonly inputs: readonly [];
2348
- readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
2349
- readonly type: "error";
2350
- } | {
2351
- readonly inputs: readonly [];
2352
- readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
2353
- readonly type: "error";
2354
- } | {
2355
- readonly inputs: readonly [];
2356
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
2357
- readonly type: "error";
2358
- } | {
2359
- readonly inputs: readonly [];
2360
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
2361
- readonly type: "error";
2362
- } | {
2363
- readonly inputs: readonly [];
2364
- readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
2365
- readonly type: "error";
2366
- } | {
2367
- readonly inputs: readonly [{
2368
- readonly components: readonly [{
2369
- readonly internalType: "bool";
2370
- readonly name: "transferable";
2371
- readonly type: "bool";
2372
- }, {
2373
- readonly internalType: "address";
2374
- readonly name: "royaltyPolicy";
2375
- readonly type: "address";
2376
- }, {
2377
- readonly internalType: "uint256";
2378
- readonly name: "mintingFee";
2379
- readonly type: "uint256";
2380
- }, {
2381
- readonly internalType: "address";
2382
- readonly name: "mintingFeeToken";
2383
- readonly type: "address";
2384
- }, {
2385
- readonly components: readonly [{
2386
- readonly internalType: "bool";
2387
- readonly name: "attribution";
2388
- readonly type: "bool";
2389
- }, {
2390
- readonly internalType: "bool";
2391
- readonly name: "commercialUse";
2392
- readonly type: "bool";
2393
- }, {
2394
- readonly internalType: "bool";
2395
- readonly name: "commercialAttribution";
2396
- readonly type: "bool";
2397
- }, {
2398
- readonly internalType: "address";
2399
- readonly name: "commercializerChecker";
2400
- readonly type: "address";
2401
- }, {
2402
- readonly internalType: "bytes";
2403
- readonly name: "commercializerCheckerData";
2404
- readonly type: "bytes";
2405
- }, {
2406
- readonly internalType: "uint32";
2407
- readonly name: "commercialRevShare";
2408
- readonly type: "uint32";
2409
- }, {
2410
- readonly internalType: "bool";
2411
- readonly name: "derivativesAllowed";
2412
- readonly type: "bool";
2413
- }, {
2414
- readonly internalType: "bool";
2415
- readonly name: "derivativesAttribution";
2416
- readonly type: "bool";
2417
- }, {
2418
- readonly internalType: "bool";
2419
- readonly name: "derivativesApproval";
2420
- readonly type: "bool";
2421
- }, {
2422
- readonly internalType: "bool";
2423
- readonly name: "derivativesReciprocal";
2424
- readonly type: "bool";
2425
- }, {
2426
- readonly internalType: "string[]";
2427
- readonly name: "territories";
2428
- readonly type: "string[]";
2429
- }, {
2430
- readonly internalType: "string[]";
2431
- readonly name: "distributionChannels";
2432
- readonly type: "string[]";
2433
- }, {
2434
- readonly internalType: "string[]";
2435
- readonly name: "contentRestrictions";
2436
- readonly type: "string[]";
2437
- }];
2438
- readonly internalType: "struct PILPolicy";
2439
- readonly name: "policy";
2440
- readonly type: "tuple";
2441
- }];
2442
- readonly internalType: "struct RegisterPILPolicyParams";
2443
- readonly name: "params";
2444
- readonly type: "tuple";
2445
- }];
2446
- readonly name: "registerPolicy";
2447
- readonly outputs: readonly [{
2448
- readonly internalType: "uint256";
2449
- readonly name: "policyId";
2450
- readonly type: "uint256";
2451
- }];
2452
- readonly stateMutability: "nonpayable";
2453
- readonly type: "function";
2454
- })[];
2455
- address: `0x${string}`;
2456
- };
2457
- royaltyPolicyLAPConfig: {
2458
- abi: ({
2459
- readonly inputs: readonly [{
2460
- readonly internalType: "address";
2461
- readonly name: "caller";
2462
- readonly type: "address";
2463
- }];
2464
- readonly name: "AccessControlled__CallerIsNotIpAccount";
2465
- readonly type: "error";
2466
- } | {
2467
- readonly inputs: readonly [{
2468
- readonly internalType: "address";
2469
- readonly name: "ipAccount";
2470
- readonly type: "address";
2471
- }];
2472
- readonly name: "AccessControlled__NotIpAccount";
2473
- readonly type: "error";
2474
- } | {
2475
- readonly inputs: readonly [];
2476
- readonly name: "AccessControlled__ZeroAddress";
2477
- readonly type: "error";
2478
- } | {
2479
- readonly inputs: readonly [{
2480
- readonly internalType: "address";
2481
- readonly name: "signer";
2482
- readonly type: "address";
2483
- }, {
2484
- readonly internalType: "address";
2485
- readonly name: "to";
2486
- readonly type: "address";
2487
- }];
2488
- readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
2489
- readonly type: "error";
2490
- } | {
2491
- readonly inputs: readonly [];
2492
- readonly name: "AccessController__CallerIsNotIPAccount";
2493
- readonly type: "error";
2494
- } | {
2495
- readonly inputs: readonly [{
2496
- readonly internalType: "address";
2497
- readonly name: "ipAccount";
2498
- readonly type: "address";
2499
- }];
2500
- readonly name: "AccessController__IPAccountIsNotValid";
2501
- readonly type: "error";
2502
- } | {
2503
- readonly inputs: readonly [];
2504
- readonly name: "AccessController__IPAccountIsZeroAddress";
2505
- readonly type: "error";
2506
- } | {
2507
- readonly inputs: readonly [{
2508
- readonly internalType: "address";
2509
- readonly name: "ipAccount";
2510
- readonly type: "address";
2511
- }, {
2512
- readonly internalType: "address";
2513
- readonly name: "signer"; /**
2514
- * Registers a PIL policy to the registry
2515
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
2516
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
2517
- * @param request.transferable Whether or not the license is transferable
2518
- * @param request.attribution Whether or not attribution is required when reproducing the work
2519
- * @param request.commercialUse Whether or not the work can be used commercially
2520
- * @param request.commercialAttribution Whether or not attribution is required when reproducing the work commercially
2521
- * @param request.commercializerChecker commericializers that are allowed to commercially exploit the work. If zero address, then no restrictions is enforced.
2522
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
2523
- * @param request.derivativesAllowed Whether or not the licensee can create derivatives of his work
2524
- * @param request.derivativesAttribution Whether or not attribution is required for derivatives of the work
2525
- * @param request.derivativesApproval Whether or not the licensor must approve derivatives of the work before they can be linked to the licensor IP ID
2526
- * @param request.derivativesReciprocal Whether or not the licensee must license derivatives of the work under the same terms.
2527
- * @param request.territories List of territories where the license is valid. If empty, global.
2528
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
2529
- * @param request.royaltyPolicy Address of a royalty policy contract (e.g. RoyaltyPolicyLS) that will handle royalty payments
2530
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
2531
- */
2532
- readonly type: "address";
2533
- }, {
2534
- readonly internalType: "address";
2535
- readonly name: "to";
2536
- readonly type: "address";
2537
- }, {
2538
- readonly internalType: "bytes4";
2539
- readonly name: "func";
2540
- readonly type: "bytes4";
2541
- }];
2542
- readonly name: "AccessController__PermissionDenied";
2543
- readonly type: "error";
2544
- } | {
2545
- readonly inputs: readonly [];
2546
- readonly name: "AccessController__PermissionIsNotValid";
2547
- readonly type: "error";
2548
- } | {
2549
- readonly inputs: readonly [];
2550
- readonly name: "AccessController__SignerIsZeroAddress";
2551
- readonly type: "error";
2552
- } | {
2553
- readonly inputs: readonly [];
2554
- readonly name: "ArbitrationPolicySP__NotDisputeModule";
2555
- readonly type: "error";
2556
- } | {
2557
- readonly inputs: readonly [];
2558
- readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
2559
- readonly type: "error";
2560
- } | {
2561
- readonly inputs: readonly [];
2562
- readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
2563
- readonly type: "error";
2564
- } | {
2565
- readonly inputs: readonly [];
2566
- readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
2567
- readonly type: "error";
2568
- } | {
2569
- readonly inputs: readonly [];
2570
- readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
2571
- readonly type: "error";
2572
- } | {
2573
- readonly inputs: readonly [];
2574
- readonly name: "DisputeModule__NotAbleToResolve";
2575
- readonly type: "error";
2576
- } | {
2577
- readonly inputs: readonly [];
2578
- readonly name: "DisputeModule__NotDisputeInitiator";
2579
- readonly type: "error";
2580
- } | {
2581
- readonly inputs: readonly [];
2582
- readonly name: "DisputeModule__NotInDisputeState";
2583
- readonly type: "error";
2584
- } | {
2585
- readonly inputs: readonly [];
2586
- readonly name: "DisputeModule__NotRegisteredIpId";
2587
- readonly type: "error";
2588
- } | {
2589
- readonly inputs: readonly [];
2590
- readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
2591
- readonly type: "error";
2592
- } | {
2593
- readonly inputs: readonly [];
2594
- readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
2595
- readonly type: "error";
2596
- } | {
2597
- readonly inputs: readonly [];
2598
- readonly name: "DisputeModule__NotWhitelistedDisputeTag";
2599
- readonly type: "error";
2600
- } | {
2601
- readonly inputs: readonly [];
2602
- readonly name: "DisputeModule__ZeroArbitrationPolicy";
2603
- readonly type: "error";
2604
- } | {
2605
- readonly inputs: readonly [];
2606
- readonly name: "DisputeModule__ZeroArbitrationRelayer";
2607
- readonly type: "error";
2608
- } | {
2609
- readonly inputs: readonly [];
2610
- readonly name: "DisputeModule__ZeroDisputeTag";
2611
- readonly type: "error";
2612
- } | {
2613
- readonly inputs: readonly [];
2614
- readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
2615
- readonly type: "error";
2616
- } | {
2617
- readonly inputs: readonly [];
2618
- readonly name: "Governance__InconsistentState";
2619
- readonly type: "error";
2620
- } | {
2621
- readonly inputs: readonly [];
2622
- readonly name: "Governance__NewStateIsTheSameWithOldState";
2623
- readonly type: "error";
2624
- } | {
2625
- readonly inputs: readonly [];
2626
- readonly name: "Governance__OnlyProtocolAdmin";
2627
- readonly type: "error";
2628
- } | {
2629
- readonly inputs: readonly [];
2630
- readonly name: "Governance__ProtocolPaused";
2631
- readonly type: "error";
2632
- } | {
2633
- readonly inputs: readonly [{
2634
- readonly internalType: "string";
2635
- readonly name: "interfaceName";
2636
- readonly type: "string";
2637
- }];
2638
- readonly name: "Governance__UnsupportedInterface";
2639
- readonly type: "error";
2640
- } | {
2641
- readonly inputs: readonly [];
2642
- readonly name: "Governance__ZeroAddress";
2643
- readonly type: "error";
2644
- } | {
2645
- readonly inputs: readonly [];
2646
- readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
2647
- readonly type: "error";
2648
- } | {
2649
- readonly inputs: readonly [];
2650
- readonly name: "IPAccount__ExpiredSignature";
2651
- readonly type: "error";
2652
- } | {
2653
- readonly inputs: readonly [];
2654
- readonly name: "IPAccount__InvalidAccessController";
2655
- readonly type: "error";
2656
- } | {
2657
- readonly inputs: readonly [];
2658
- readonly name: "IPAccount__InvalidCalldata";
2659
- readonly type: "error";
2660
- } | {
2661
- readonly inputs: readonly [];
2662
- readonly name: "IPAccount__InvalidSignature";
2663
- readonly type: "error";
2664
- } | {
2665
- readonly inputs: readonly [];
2666
- readonly name: "IPAccount__InvalidSigner";
2667
- readonly type: "error";
2668
- } | {
2669
- readonly inputs: readonly [];
2670
- readonly name: "IPAssetRegistry__AlreadyRegistered";
2671
- readonly type: "error";
2672
- } | {
2673
- readonly inputs: readonly [];
2674
- readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
2675
- readonly type: "error";
2676
- } | {
2677
- readonly inputs: readonly [];
2678
- readonly name: "IPAssetRegistry__InvalidAccount";
2679
- readonly type: "error";
2680
- } | {
2681
- readonly inputs: readonly [];
2682
- readonly name: "IPAssetRegistry__InvalidMetadataProvider";
2683
- readonly type: "error";
2684
- } | {
2685
- readonly inputs: readonly [{
2686
- readonly internalType: "address";
2687
- readonly name: "contractAddress";
2688
- readonly type: "address";
2689
- }, {
2690
- readonly internalType: "uint256";
2691
- readonly name: "tokenId";
2692
- readonly type: "uint256";
2693
- }];
2694
- readonly name: "IPAssetRegistry__InvalidToken";
2695
- readonly type: "error";
2696
- } | {
2697
- readonly inputs: readonly [];
2698
- readonly name: "IPAssetRegistry__NotYetRegistered";
2699
- readonly type: "error";
2700
- } | {
2701
- readonly inputs: readonly [];
2702
- readonly name: "IPAssetRegistry__RegistrantUnauthorized";
2703
- readonly type: "error";
2704
- } | {
2705
- readonly inputs: readonly [];
2706
- readonly name: "IPAssetRegistry__ResolverInvalid";
2707
- readonly type: "error";
2708
- } | {
2709
- readonly inputs: readonly [];
2710
- readonly name: "IPAssetRegistry__Unauthorized";
2711
- readonly type: "error";
2712
- } | {
2713
- readonly inputs: readonly [{
2714
- readonly internalType: "address";
2715
- readonly name: "contractAddress";
2716
- readonly type: "address";
2717
- }];
2718
- readonly name: "IPAssetRegistry__UnsupportedIERC721";
2719
- readonly type: "error";
2720
- } | {
2721
- readonly inputs: readonly [{
2722
- readonly internalType: "address";
2723
- readonly name: "contractAddress";
2724
- readonly type: "address";
2725
- }];
2726
- readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
2727
- readonly type: "error";
2728
- } | {
2729
- readonly inputs: readonly [];
2730
- readonly name: "IPResolver_InvalidIP";
2731
- readonly type: "error";
2732
- } | {
2733
- readonly inputs: readonly [];
2734
- readonly name: "IPResolver_Unauthorized";
2735
- readonly type: "error";
2736
- } | {
2737
- readonly inputs: readonly [];
2738
- readonly name: "IpRoyaltyVault__AlreadyClaimed";
2739
- readonly type: "error";
2740
- } | {
2741
- readonly inputs: readonly [];
2742
- readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
2743
- readonly type: "error";
2744
- } | {
2745
- readonly inputs: readonly [];
2746
- readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
2747
- readonly type: "error";
2748
- } | {
2749
- readonly inputs: readonly [];
2750
- readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
2751
- readonly type: "error";
2752
- } | {
2753
- readonly inputs: readonly [];
2754
- readonly name: "IpRoyaltyVault__ZeroIpId";
2755
- readonly type: "error";
2756
- } | {
2757
- readonly inputs: readonly [];
2758
- readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
2759
- readonly type: "error";
2760
- } | {
2761
- readonly inputs: readonly [];
2762
- readonly name: "LicenseRegistry__CallerNotLicensingModule";
2763
- readonly type: "error";
2764
- } | {
2765
- readonly inputs: readonly [];
2766
- readonly name: "LicenseRegistry__NotTransferable";
2767
- readonly type: "error";
2768
- } | {
2769
- readonly inputs: readonly [];
2770
- readonly name: "LicenseRegistry__RevokedLicense";
2771
- readonly type: "error";
2772
- } | {
2773
- readonly inputs: readonly [];
2774
- readonly name: "LicenseRegistry__ZeroDisputeModule";
2775
- readonly type: "error";
2776
- } | {
2777
- readonly inputs: readonly [];
2778
- readonly name: "LicenseRegistry__ZeroLicensingModule";
2779
- readonly type: "error";
2780
- } | {
2781
- readonly inputs: readonly [];
2782
- readonly name: "LicensingModule__CallerNotLicenseRegistry";
2783
- readonly type: "error";
2784
- } | {
2785
- readonly inputs: readonly [];
2786
- readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
2787
- readonly type: "error";
2788
- } | {
2789
- readonly inputs: readonly [];
2790
- readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
2791
- readonly type: "error";
2792
- } | {
2793
- readonly inputs: readonly [];
2794
- readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
2795
- readonly type: "error";
2796
- } | {
2797
- readonly inputs: readonly [];
2798
- readonly name: "LicensingModule__DerivativesCannotAddPolicy";
2799
- readonly type: "error";
2800
- } | {
2801
- readonly inputs: readonly [];
2802
- readonly name: "LicensingModule__DisputedIpId";
2803
- readonly type: "error";
2804
- } | {
2805
- readonly inputs: readonly [];
2806
- readonly name: "LicensingModule__EmptyLicenseUrl";
2807
- readonly type: "error";
2808
- } | {
2809
- readonly inputs: readonly [];
2810
- readonly name: "LicensingModule__EmptyParamName";
2811
- readonly type: "error";
2812
- } | {
2813
- readonly inputs: readonly [];
2814
- readonly name: "LicensingModule__FrameworkNotFound";
2815
- readonly type: "error";
2816
- } | {
2817
- readonly inputs: readonly [];
2818
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
2819
- readonly type: "error";
2820
- } | {
2821
- readonly inputs: readonly [];
2822
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
2823
- readonly type: "error";
2824
- } | {
2825
- readonly inputs: readonly [];
2826
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
2827
- readonly type: "error";
2828
- } | {
2829
- readonly inputs: readonly [];
2830
- readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
2831
- readonly type: "error";
2832
- } | {
2833
- readonly inputs: readonly [];
2834
- readonly name: "LicensingModule__InvalidLicensor";
2835
- readonly type: "error";
2836
- } | {
2837
- readonly inputs: readonly [];
2838
- readonly name: "LicensingModule__InvalidPolicyFramework";
2839
- readonly type: "error";
2840
- } | {
2841
- readonly inputs: readonly [];
2842
- readonly name: "LicensingModule__IpAlreadyLinked";
2843
- readonly type: "error";
2844
- } | {
2845
- readonly inputs: readonly [];
2846
- readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
2847
- readonly type: "error";
2848
- } | {
2849
- readonly inputs: readonly [];
2850
- readonly name: "LicensingModule__LicensorNotRegistered";
2851
- readonly type: "error";
2852
- } | {
2853
- readonly inputs: readonly [];
2854
- readonly name: "LicensingModule__LinkParentParamFailed";
2855
- readonly type: "error";
2856
- } | {
2857
- readonly inputs: readonly [];
2858
- readonly name: "LicensingModule__LinkingRevokedLicense";
2859
- readonly type: "error";
2860
- } | {
2861
- readonly inputs: readonly [];
2862
- readonly name: "LicensingModule__MintAmountZero";
2863
- readonly type: "error";
2864
- } | {
2865
- readonly inputs: readonly [];
2866
- readonly name: "LicensingModule__MintLicenseParamFailed";
2867
- readonly type: "error";
2868
- } | {
2869
- readonly inputs: readonly [];
2870
- readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
2871
- readonly type: "error";
2872
- } | {
2873
- readonly inputs: readonly [];
2874
- readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
2875
- readonly type: "error";
2876
- } | {
2877
- readonly inputs: readonly [];
2878
- readonly name: "LicensingModule__NotLicensee";
2879
- readonly type: "error";
2880
- } | {
2881
- readonly inputs: readonly [];
2882
- readonly name: "LicensingModule__ParamVerifierAlreadySet";
2883
- readonly type: "error";
2884
- } | {
2885
- readonly inputs: readonly [];
2886
- readonly name: "LicensingModule__ParamVerifierLengthMismatch";
2887
- readonly type: "error";
2888
- } | {
2889
- readonly inputs: readonly [];
2890
- readonly name: "LicensingModule__ParentIdEqualThanChild";
2891
- readonly type: "error";
2892
- } | {
2893
- readonly inputs: readonly [];
2894
- readonly name: "LicensingModule__PolicyAlreadySetForIpId";
2895
- readonly type: "error";
2896
- } | {
2897
- readonly inputs: readonly [];
2898
- readonly name: "LicensingModule__PolicyNotFound";
2899
- readonly type: "error";
2900
- } | {
2901
- readonly inputs: readonly [];
2902
- readonly name: "LicensingModule__ReceiverZeroAddress";
2903
- readonly type: "error";
2904
- } | {
2905
- readonly inputs: readonly []; /**
2906
- * Convenient function to register a PIL social remix policy to the registry
2907
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
2908
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
2909
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
2910
- * @param mintingFee Fee to be paid when minting a license
2911
- * @param mintingFeeToken Token to be used to pay the minting fee
2912
- * @param request.territories List of territories where the license is valid. If empty, global.
2913
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
2914
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
2915
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
2916
- */
2917
- readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
2918
- readonly type: "error";
2919
- } | {
2920
- readonly inputs: readonly [];
2921
- readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
2922
- readonly type: "error";
2923
- } | {
2924
- readonly inputs: readonly [];
2925
- readonly name: "LicensingModule__TransferParamFailed";
2926
- readonly type: "error";
2927
- } | {
2928
- readonly inputs: readonly [];
2929
- readonly name: "LicensingModule__UnauthorizedAccess";
2930
- readonly type: "error";
2931
- } | {
2932
- readonly inputs: readonly [];
2933
- readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
2934
- readonly type: "error";
2935
- } | {
2936
- readonly inputs: readonly [];
2937
- readonly name: "LicensorApprovalChecker__Unauthorized";
2938
- readonly type: "error";
2939
- } | {
2940
- readonly inputs: readonly [];
2941
- readonly name: "MetadataProvider__HashInvalid";
2942
- readonly type: "error";
2943
- } | {
2944
- readonly inputs: readonly [];
2945
- readonly name: "MetadataProvider__IPAssetOwnerInvalid";
2946
- readonly type: "error";
2947
- } | {
2948
- readonly inputs: readonly [];
2949
- readonly name: "MetadataProvider__MetadataNotCompatible";
2950
- readonly type: "error";
2951
- } | {
2952
- readonly inputs: readonly [];
2953
- readonly name: "MetadataProvider__NameInvalid";
2954
- readonly type: "error";
2955
- } | {
2956
- readonly inputs: readonly [];
2957
- readonly name: "MetadataProvider__RegistrantInvalid";
2958
- readonly type: "error";
2959
- } | {
2960
- readonly inputs: readonly [];
2961
- readonly name: "MetadataProvider__RegistrationDateInvalid";
2962
- readonly type: "error";
2963
- } | {
2964
- readonly inputs: readonly [];
2965
- readonly name: "MetadataProvider__URIInvalid";
2966
- readonly type: "error";
2967
- } | {
2968
- readonly inputs: readonly [];
2969
- readonly name: "MetadataProvider__Unauthorized";
2970
- readonly type: "error";
2971
- } | {
2972
- readonly inputs: readonly [];
2973
- readonly name: "MetadataProvider__UpgradeProviderInvalid";
2974
- readonly type: "error";
2975
- } | {
2976
- readonly inputs: readonly [];
2977
- readonly name: "MetadataProvider__UpgradeUnavailable";
2978
- readonly type: "error";
2979
- } | {
2980
- readonly inputs: readonly [];
2981
- readonly name: "ModuleRegistry__InterfaceIdZero";
2982
- readonly type: "error";
2983
- } | {
2984
- readonly inputs: readonly [];
2985
- readonly name: "ModuleRegistry__ModuleAddressNotContract";
2986
- readonly type: "error";
2987
- } | {
2988
- readonly inputs: readonly [];
2989
- readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
2990
- readonly type: "error";
2991
- } | {
2992
- readonly inputs: readonly [];
2993
- readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
2994
- readonly type: "error";
2995
- } | {
2996
- readonly inputs: readonly [];
2997
- readonly name: "ModuleRegistry__ModuleNotRegistered";
2998
- readonly type: "error";
2999
- } | {
3000
- readonly inputs: readonly [];
3001
- readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
3002
- readonly type: "error";
3003
- } | {
3004
- readonly inputs: readonly [];
3005
- readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
3006
- readonly type: "error";
3007
- } | {
3008
- readonly inputs: readonly [];
3009
- readonly name: "ModuleRegistry__ModuleTypeEmptyString";
3010
- readonly type: "error";
3011
- } | {
3012
- readonly inputs: readonly [];
3013
- readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
3014
- readonly type: "error";
3015
- } | {
3016
- readonly inputs: readonly [];
3017
- readonly name: "ModuleRegistry__NameAlreadyRegistered";
3018
- readonly type: "error";
3019
- } | {
3020
- readonly inputs: readonly [];
3021
- readonly name: "ModuleRegistry__NameDoesNotMatch";
3022
- readonly type: "error";
3023
- } | {
3024
- readonly inputs: readonly [];
3025
- readonly name: "ModuleRegistry__NameEmptyString";
3026
- readonly type: "error";
3027
- } | {
3028
- readonly inputs: readonly [];
3029
- readonly name: "Module_Unauthorized";
3030
- readonly type: "error";
3031
- } | {
3032
- readonly inputs: readonly [{
3033
- readonly internalType: "address";
3034
- readonly name: "commercializer";
3035
- readonly type: "address";
3036
- }];
3037
- readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
3038
- readonly type: "error";
3039
- } | {
3040
- readonly inputs: readonly [];
3041
- readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
3042
- readonly type: "error";
3043
- } | {
3044
- readonly inputs: readonly [];
3045
- readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
3046
- readonly type: "error";
3047
- } | {
3048
- readonly inputs: readonly [];
3049
- readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
3050
- readonly type: "error";
3051
- } | {
3052
- readonly inputs: readonly [];
3053
- readonly name: "RoyaltyModule__NoParentsOnLinking";
3054
- readonly type: "error";
3055
- } | {
3056
- readonly inputs: readonly [];
3057
- readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
3058
- readonly type: "error";
3059
- } | {
3060
- readonly inputs: readonly [];
3061
- readonly name: "RoyaltyModule__NotAllowedCaller";
3062
- readonly type: "error";
3063
- } | {
3064
- readonly inputs: readonly [];
3065
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
3066
- readonly type: "error";
3067
- } | {
3068
- readonly inputs: readonly [];
3069
- readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
3070
- readonly type: "error";
3071
- } | {
3072
- readonly inputs: readonly [];
3073
- readonly name: "RoyaltyModule__ZeroLicensingModule";
3074
- readonly type: "error";
3075
- } | {
3076
- readonly inputs: readonly [];
3077
- readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
3078
- readonly type: "error";
3079
- } | {
3080
- readonly inputs: readonly [];
3081
- readonly name: "RoyaltyModule__ZeroRoyaltyToken";
3082
- readonly type: "error";
3083
- } | {
3084
- readonly inputs: readonly [];
3085
- readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
3086
- readonly type: "error";
3087
- } | {
3088
- readonly inputs: readonly [];
3089
- readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
3090
- readonly type: "error";
3091
- } | {
3092
- readonly inputs: readonly [];
3093
- readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
3094
- readonly type: "error";
3095
- } | {
3096
- readonly inputs: readonly [];
3097
- readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
3098
- readonly type: "error";
3099
- } | {
3100
- readonly inputs: readonly [];
3101
- readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
3102
- readonly type: "error";
3103
- } | {
3104
- readonly inputs: readonly [];
3105
- readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
3106
- readonly type: "error";
3107
- } | {
3108
- readonly inputs: readonly [];
3109
- readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
3110
- readonly type: "error";
3111
- } | {
3112
- readonly inputs: readonly [];
3113
- readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
3114
- readonly type: "error";
3115
- } | {
3116
- readonly inputs: readonly [];
3117
- readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
3118
- readonly type: "error";
3119
- } | {
3120
- readonly inputs: readonly [];
3121
- readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
3122
- readonly type: "error";
3123
- } | {
3124
- readonly inputs: readonly [];
3125
- readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
3126
- readonly type: "error";
3127
- } | {
3128
- readonly inputs: readonly [];
3129
- readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
3130
- readonly type: "error";
3131
- } | {
3132
- readonly inputs: readonly [];
3133
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
3134
- readonly type: "error";
3135
- } | {
3136
- readonly inputs: readonly [];
3137
- readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
3138
- readonly type: "error";
3139
- } | {
3140
- readonly inputs: readonly [];
3141
- readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
3142
- readonly type: "error";
3143
- } | {
3144
- readonly inputs: readonly [{
3145
- readonly internalType: "address";
3146
- readonly name: "ipId";
3147
- readonly type: "address";
3148
- }];
3149
- readonly name: "getRoyaltyData";
3150
- readonly outputs: readonly [{
3151
- readonly internalType: "bool";
3152
- readonly name: "";
3153
- readonly type: "bool";
3154
- }, {
3155
- readonly internalType: "address";
3156
- readonly name: "";
3157
- readonly type: "address";
3158
- }, {
3159
- readonly internalType: "uint32";
3160
- readonly name: "";
3161
- readonly type: "uint32";
3162
- }, {
3163
- readonly internalType: "address[]";
3164
- readonly name: "";
3165
- readonly type: "address[]";
3166
- }, {
3167
- readonly internalType: "uint32[]";
3168
- readonly name: "";
3169
- readonly type: "uint32[]";
3170
- }];
3171
- readonly stateMutability: "view";
3172
- readonly type: "function";
3173
- } | {
3174
- readonly inputs: readonly [{
3175
- readonly internalType: "address";
3176
- readonly name: "caller";
3177
- readonly type: "address";
3178
- }, {
3179
- readonly internalType: "address";
3180
- readonly name: "ipId";
3181
- readonly type: "address";
3182
- }, {
3183
- readonly internalType: "address";
3184
- readonly name: "token";
3185
- readonly type: "address";
3186
- }, {
3187
- readonly internalType: "uint256";
3188
- readonly name: "amount";
3189
- readonly type: "uint256";
3190
- }];
3191
- readonly name: "onRoyaltyPayment";
3192
- readonly outputs: readonly [];
3193
- readonly stateMutability: "nonpayable";
3194
- readonly type: "function";
3195
- })[];
3196
- address: `0x${string}`;
3197
- };
3198
- constructor(rpcClient: PublicClient, wallet: WalletClient, chainId: SupportedChainIds);
3199
- /**
3200
- * Registers a PIL policy to the registry
3201
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
3202
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
3203
- * @param request.transferable Whether or not the license is transferable
3204
- * @param request.attribution Whether or not attribution is required when reproducing the work
3205
- * @param request.commercialUse Whether or not the work can be used commercially
3206
- * @param request.commercialAttribution Whether or not attribution is required when reproducing the work commercially
3207
- * @param request.commercializerChecker commericializers that are allowed to commercially exploit the work. If zero address, then no restrictions is enforced.
3208
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
3209
- * @param request.derivativesAllowed Whether or not the licensee can create derivatives of his work
3210
- * @param request.derivativesAttribution Whether or not attribution is required for derivatives of the work
3211
- * @param request.derivativesApproval Whether or not the licensor must approve derivatives of the work before they can be linked to the licensor IP ID
3212
- * @param request.derivativesReciprocal Whether or not the licensee must license derivatives of the work under the same terms.
3213
- * @param request.territories List of territories where the license is valid. If empty, global.
3214
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
3215
- * @param request.royaltyPolicy Address of a royalty policy contract (e.g. RoyaltyPolicyLS) that will handle royalty payments
3216
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
3217
- */
3218
- registerPILPolicy(request: RegisterPILPolicyRequest): Promise<RegisterPILPolicyResponse>;
3219
- /**
3220
- * Convenient function to register a PIL social remix policy to the registry
3221
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
3222
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
3223
- * @param request.territories List of territories where the license is valid. If empty, global.
3224
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
3225
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
3226
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
3227
- */
3228
- registerPILSocialRemixPolicy(request: RegisterPILSocialRemixPolicyRequest): Promise<RegisterPILSocialRemixPolicyResponse>;
3229
- /**
3230
- * Convenient function to register a PIL social remix policy to the registry
3231
- * Internally, this function must generate a Licensing.Policy struct and call registerPolicy.
3232
- * @param request - the licensing parameters for the Programmable IP License v1 (PIL) standard.
3233
- * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor
3234
- * @param mintingFee Fee to be paid when minting a license
3235
- * @param mintingFeeToken Token to be used to pay the minting fee
3236
- * @param request.territories List of territories where the license is valid. If empty, global.
3237
- * @param request.distributionChannels List of distribution channels where the license is valid. Empty if no restrictions.
3238
- * @param request.contentRestrictions List of content restrictions where the license is valid. Empty if no restrictions.
3239
- * @returns the transaction hash and the policy ID if the txOptions.waitForTransaction is set to true
3240
- */
3241
- registerPILCommercialUsePolicy(request: RegisterPILCommercialUsePolicyRequest): Promise<RegisterPILCommercialUsePolicyResponse>;
3242
- private getPolicyId;
3243
- private encodeFrameworkData;
3244
- /**
3245
- * Adds a policy to the set of policies of an IP
3246
- * @param request The request object containing details to add a policy to an IP
3247
- * @param request.ipId The id of the IP
3248
- * @param request.polId The id of the policy
3249
- * @return the transaction hash and the index of the policy in the IP's policy set if the txOptions.waitForTransaction is set to true
3250
- */
3251
- addPolicyToIp(request: AddPolicyToIpRequest): Promise<AddPolicyToIpResponse>;
3252
- }
3253
- //# sourceMappingURL=policy.d.ts.map