@story-protocol/core-sdk 0.1.0-rc.5 → 1.0.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/README.md +100 -52
  2. package/dist/declarations/src/client.d.ts +36 -28
  3. package/dist/declarations/src/client.d.ts.map +1 -1
  4. package/dist/declarations/src/clients/storyAPI.d.ts +9 -0
  5. package/dist/declarations/src/clients/storyAPI.d.ts.map +1 -0
  6. package/dist/declarations/src/constants/common.d.ts +4 -0
  7. package/dist/declarations/src/constants/common.d.ts.map +1 -0
  8. package/dist/declarations/src/index.d.ts +12 -9
  9. package/dist/declarations/src/index.d.ts.map +1 -1
  10. package/dist/declarations/src/resources/dispute.d.ts +1128 -0
  11. package/dist/declarations/src/resources/dispute.d.ts.map +1 -0
  12. package/dist/declarations/src/resources/ipAccount.d.ts +1028 -0
  13. package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -0
  14. package/dist/declarations/src/resources/ipAsset.d.ts +2357 -31
  15. package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
  16. package/dist/declarations/src/resources/license.d.ts +4351 -27
  17. package/dist/declarations/src/resources/license.d.ts.map +1 -1
  18. package/dist/declarations/src/resources/permission.d.ts +2077 -0
  19. package/dist/declarations/src/resources/permission.d.ts.map +1 -0
  20. package/dist/declarations/src/resources/royalty.d.ts +3019 -0
  21. package/dist/declarations/src/resources/royalty.d.ts.map +1 -0
  22. package/dist/declarations/src/types/common.d.ts +6 -0
  23. package/dist/declarations/src/types/common.d.ts.map +1 -0
  24. package/dist/declarations/src/types/config.d.ts +15 -5
  25. package/dist/declarations/src/types/config.d.ts.map +1 -1
  26. package/dist/declarations/src/types/options.d.ts +6 -0
  27. package/dist/declarations/src/types/options.d.ts.map +1 -0
  28. package/dist/declarations/src/types/resources/dispute.d.ts +50 -0
  29. package/dist/declarations/src/types/resources/dispute.d.ts.map +1 -0
  30. package/dist/declarations/src/types/resources/ipAccount.d.ts +25 -0
  31. package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -0
  32. package/dist/declarations/src/types/resources/ipAsset.d.ts +23 -63
  33. package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
  34. package/dist/declarations/src/types/resources/license.d.ts +56 -68
  35. package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
  36. package/dist/declarations/src/types/resources/permission.d.ts +14 -0
  37. package/dist/declarations/src/types/resources/permission.d.ts.map +1 -0
  38. package/dist/declarations/src/types/resources/royalty.d.ts +58 -0
  39. package/dist/declarations/src/types/resources/royalty.d.ts.map +1 -0
  40. package/dist/story-protocol-core-sdk.cjs.d.ts +1 -1
  41. package/dist/story-protocol-core-sdk.cjs.dev.js +3347 -1332
  42. package/dist/story-protocol-core-sdk.cjs.prod.js +3347 -1332
  43. package/dist/story-protocol-core-sdk.esm.js +3339 -1327
  44. package/package.json +16 -13
  45. package/dist/declarations/src/abi/generated/CollectModule.d.ts +0 -70
  46. package/dist/declarations/src/abi/generated/CollectModule.d.ts.map +0 -1
  47. package/dist/declarations/src/abi/generated/FranchiseRegistry.d.ts +0 -73
  48. package/dist/declarations/src/abi/generated/FranchiseRegistry.d.ts.map +0 -1
  49. package/dist/declarations/src/abi/generated/IpAssetRegistry.d.ts +0 -94
  50. package/dist/declarations/src/abi/generated/IpAssetRegistry.d.ts.map +0 -1
  51. package/dist/declarations/src/abi/generated/LicensingModule.d.ts +0 -97
  52. package/dist/declarations/src/abi/generated/LicensingModule.d.ts.map +0 -1
  53. package/dist/declarations/src/abi/generated/RelationshipModule.d.ts +0 -116
  54. package/dist/declarations/src/abi/generated/RelationshipModule.d.ts.map +0 -1
  55. package/dist/declarations/src/abi/generated/common.d.ts +0 -22
  56. package/dist/declarations/src/abi/generated/common.d.ts.map +0 -1
  57. package/dist/declarations/src/abi/generated/factories/CollectModule__factory.d.ts +0 -52
  58. package/dist/declarations/src/abi/generated/factories/CollectModule__factory.d.ts.map +0 -1
  59. package/dist/declarations/src/abi/generated/factories/FranchiseRegistry__factory.d.ts +0 -58
  60. package/dist/declarations/src/abi/generated/factories/FranchiseRegistry__factory.d.ts.map +0 -1
  61. package/dist/declarations/src/abi/generated/factories/IpAssetRegistry__factory.d.ts +0 -112
  62. package/dist/declarations/src/abi/generated/factories/IpAssetRegistry__factory.d.ts.map +0 -1
  63. package/dist/declarations/src/abi/generated/factories/LicensingModule__factory.d.ts +0 -88
  64. package/dist/declarations/src/abi/generated/factories/LicensingModule__factory.d.ts.map +0 -1
  65. package/dist/declarations/src/abi/generated/factories/RelationshipModule__factory.d.ts +0 -175
  66. package/dist/declarations/src/abi/generated/factories/RelationshipModule__factory.d.ts.map +0 -1
  67. package/dist/declarations/src/abi/generated/factories/index.d.ts +0 -6
  68. package/dist/declarations/src/abi/generated/factories/index.d.ts.map +0 -1
  69. package/dist/declarations/src/abi/generated/index.d.ts +0 -12
  70. package/dist/declarations/src/abi/generated/index.d.ts.map +0 -1
  71. package/dist/declarations/src/enums/Environment.d.ts +0 -8
  72. package/dist/declarations/src/enums/Environment.d.ts.map +0 -1
  73. package/dist/declarations/src/enums/IPAssetType.d.ts +0 -12
  74. package/dist/declarations/src/enums/IPAssetType.d.ts.map +0 -1
  75. package/dist/declarations/src/enums/ResourceType.d.ts +0 -11
  76. package/dist/declarations/src/enums/ResourceType.d.ts.map +0 -1
  77. package/dist/declarations/src/resources/collect.d.ts +0 -24
  78. package/dist/declarations/src/resources/collect.d.ts.map +0 -1
  79. package/dist/declarations/src/resources/franchise.d.ts +0 -41
  80. package/dist/declarations/src/resources/franchise.d.ts.map +0 -1
  81. package/dist/declarations/src/resources/relationship.d.ts +0 -48
  82. package/dist/declarations/src/resources/relationship.d.ts.map +0 -1
  83. package/dist/declarations/src/resources/transaction.d.ts +0 -25
  84. package/dist/declarations/src/resources/transaction.d.ts.map +0 -1
  85. package/dist/declarations/src/types/resources/collect.d.ts +0 -45
  86. package/dist/declarations/src/types/resources/collect.d.ts.map +0 -1
  87. package/dist/declarations/src/types/resources/franchise.d.ts +0 -71
  88. package/dist/declarations/src/types/resources/franchise.d.ts.map +0 -1
  89. package/dist/declarations/src/types/resources/relationship.d.ts +0 -83
  90. package/dist/declarations/src/types/resources/relationship.d.ts.map +0 -1
  91. package/dist/declarations/src/types/resources/transaction.d.ts +0 -40
  92. package/dist/declarations/src/types/resources/transaction.d.ts.map +0 -1
  93. package/dist/story-protocol-core-sdk.cjs.d.ts.map +0 -1
@@ -1,36 +1,4360 @@
1
- import { AxiosInstance } from "axios";
2
- import { Signer } from "ethers";
3
- import { GetLicenseRequest, GetLicenseResponse, ListLicenseResponse, CreateLicenseRequest, CreateLicenseResponse, ListLicenseRequest } from "../types/resources/license.js";
4
- import { FranchiseRegistry } from "../abi/generated/index.js";
5
- /**
6
- * A class representing License operations.
7
- *
8
- * @public
9
- */
1
+ import { PublicClient, WalletClient } from "viem";
2
+ import { StoryAPIClient } from "../clients/storyAPI.js";
3
+ import { RegisterLicenseTermsRequest, RegisterLicenseTermsResponse as RegisterPILResponse, RegisterCommercialUsePILRequest, RegisterCommercialRemixPILRequest, AttachLicenseTermsRequest, MintLicenseTokensRequest, MintLicenseTokensResponse } from "../types/resources/license.js";
4
+ import { SupportedChainIds } from "../types/config.js";
10
5
  export declare class LicenseClient {
11
- private readonly httpClient;
12
- private readonly signer;
13
- private readonly franchiseRegistry;
14
- constructor(httpClient: AxiosInstance, signer: Signer, franchiseRegistry: FranchiseRegistry);
6
+ private readonly wallet;
7
+ private readonly rpcClient;
8
+ private readonly storyClient;
9
+ licenseRegistryConfig: {
10
+ abi: readonly [{
11
+ readonly anonymous: false;
12
+ readonly inputs: readonly [{
13
+ readonly indexed: true;
14
+ readonly internalType: "address";
15
+ readonly name: "operator";
16
+ readonly type: "address";
17
+ }, {
18
+ readonly indexed: true;
19
+ readonly internalType: "address";
20
+ readonly name: "from";
21
+ readonly type: "address";
22
+ }, {
23
+ readonly indexed: true;
24
+ readonly internalType: "address";
25
+ readonly name: "to";
26
+ readonly type: "address";
27
+ }, {
28
+ readonly indexed: false;
29
+ readonly internalType: "uint256[]";
30
+ readonly name: "ids";
31
+ readonly type: "uint256[]";
32
+ }, {
33
+ readonly indexed: false;
34
+ readonly internalType: "uint256[]";
35
+ readonly name: "values";
36
+ readonly type: "uint256[]";
37
+ }];
38
+ readonly name: "TransferBatch";
39
+ readonly type: "event";
40
+ }, {
41
+ readonly anonymous: false;
42
+ readonly inputs: readonly [{
43
+ readonly indexed: true;
44
+ readonly internalType: "address";
45
+ readonly name: "operator";
46
+ readonly type: "address";
47
+ }, {
48
+ readonly indexed: true;
49
+ readonly internalType: "address";
50
+ readonly name: "from";
51
+ readonly type: "address";
52
+ }, {
53
+ readonly indexed: true;
54
+ readonly internalType: "address";
55
+ readonly name: "to";
56
+ readonly type: "address";
57
+ }, {
58
+ readonly indexed: false;
59
+ readonly internalType: "uint256";
60
+ readonly name: "id";
61
+ readonly type: "uint256";
62
+ }, {
63
+ readonly indexed: false;
64
+ readonly internalType: "uint256";
65
+ readonly name: "value";
66
+ readonly type: "uint256";
67
+ }];
68
+ readonly name: "TransferSingle";
69
+ readonly type: "event";
70
+ }];
71
+ address: `0x${string}`;
72
+ };
73
+ licensingModuleConfig: {
74
+ abi: ({
75
+ readonly anonymous: false;
76
+ readonly inputs: readonly [{
77
+ readonly indexed: true;
78
+ readonly internalType: "address";
79
+ readonly name: "caller";
80
+ readonly type: "address";
81
+ }, {
82
+ readonly indexed: true;
83
+ readonly internalType: "address";
84
+ readonly name: "licensorIpId";
85
+ readonly type: "address";
86
+ }, {
87
+ readonly indexed: false;
88
+ readonly internalType: "address";
89
+ readonly name: "licenseTemplate";
90
+ readonly type: "address";
91
+ }, {
92
+ readonly indexed: true;
93
+ readonly internalType: "uint256";
94
+ readonly name: "licenseTermsId";
95
+ readonly type: "uint256";
96
+ }, {
97
+ readonly indexed: false;
98
+ readonly internalType: "uint256";
99
+ readonly name: "amount";
100
+ readonly type: "uint256";
101
+ }, {
102
+ readonly indexed: false;
103
+ readonly internalType: "address";
104
+ readonly name: "receiver";
105
+ readonly type: "address";
106
+ }, {
107
+ readonly indexed: false;
108
+ readonly internalType: "uint256";
109
+ readonly name: "startLicenseTokenId";
110
+ readonly type: "uint256";
111
+ }];
112
+ readonly name: "LicenseTokensMinted";
113
+ readonly type: "event";
114
+ } | {
115
+ readonly inputs: readonly [{
116
+ readonly internalType: "address";
117
+ readonly name: "ipId";
118
+ readonly type: "address";
119
+ }, {
120
+ readonly internalType: "address";
121
+ readonly name: "licenseTemplate";
122
+ readonly type: "address";
123
+ }, {
124
+ readonly internalType: "uint256";
125
+ readonly name: "licenseTermsId";
126
+ readonly type: "uint256";
127
+ }];
128
+ readonly name: "attachLicenseTerms";
129
+ readonly outputs: readonly [];
130
+ readonly stateMutability: "nonpayable";
131
+ readonly type: "function";
132
+ } | {
133
+ readonly inputs: readonly [{
134
+ readonly internalType: "address";
135
+ readonly name: "licensorIpId";
136
+ readonly type: "address";
137
+ }, {
138
+ readonly internalType: "address";
139
+ readonly name: "licenseTemplate";
140
+ readonly type: "address";
141
+ }, {
142
+ readonly internalType: "uint256";
143
+ readonly name: "licenseTermsId";
144
+ readonly type: "uint256";
145
+ }, {
146
+ readonly internalType: "uint256";
147
+ readonly name: "amount";
148
+ readonly type: "uint256";
149
+ }, {
150
+ readonly internalType: "address"; /**
151
+ * Convenient function to register a PIL non commercial social remix license to the registry
152
+ * @param request The request object that contains all data needed to register a PIL non commercial social remix license.
153
+ * @param request.txOptions [Optional] The transaction options.
154
+ * @returns A Promise that resolves to an object containing the optional transaction hash and optional license ID.
155
+ * @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
156
+ */
157
+ readonly name: "receiver";
158
+ readonly type: "address";
159
+ }, {
160
+ readonly internalType: "bytes";
161
+ readonly name: "royaltyContext";
162
+ readonly type: "bytes";
163
+ }];
164
+ readonly name: "mintLicenseTokens";
165
+ readonly outputs: readonly [{
166
+ readonly internalType: "uint256";
167
+ readonly name: "startLicenseTokenId";
168
+ readonly type: "uint256";
169
+ }];
170
+ readonly stateMutability: "nonpayable";
171
+ readonly type: "function";
172
+ } | {
173
+ readonly inputs: readonly [{
174
+ readonly internalType: "address";
175
+ readonly name: "childIpId";
176
+ readonly type: "address";
177
+ }, {
178
+ readonly internalType: "address[]";
179
+ readonly name: "parentIpIds";
180
+ readonly type: "address[]";
181
+ }, {
182
+ readonly internalType: "uint256[]";
183
+ readonly name: "licenseTermsIds";
184
+ readonly type: "uint256[]";
185
+ }, {
186
+ readonly internalType: "address";
187
+ readonly name: "licenseTemplate";
188
+ readonly type: "address";
189
+ }, {
190
+ readonly internalType: "bytes";
191
+ readonly name: "royaltyContext";
192
+ readonly type: "bytes";
193
+ }];
194
+ readonly name: "registerDerivative";
195
+ readonly outputs: readonly [];
196
+ readonly stateMutability: "nonpayable";
197
+ readonly type: "function";
198
+ } | {
199
+ readonly inputs: readonly [{
200
+ readonly internalType: "address";
201
+ readonly name: "childIpId";
202
+ readonly type: "address";
203
+ }, {
204
+ readonly internalType: "uint256[]";
205
+ readonly name: "licenseTokenIds";
206
+ readonly type: "uint256[]";
207
+ }, {
208
+ readonly internalType: "bytes";
209
+ readonly name: "royaltyContext";
210
+ readonly type: "bytes";
211
+ }];
212
+ readonly name: "registerDerivativeWithLicenseTokens";
213
+ readonly outputs: readonly [];
214
+ readonly stateMutability: "nonpayable";
215
+ readonly type: "function";
216
+ } | {
217
+ readonly inputs: readonly [{
218
+ readonly internalType: "address";
219
+ readonly name: "caller";
220
+ readonly type: "address";
221
+ }];
222
+ readonly name: "AccessControlled__CallerIsNotIpAccount";
223
+ readonly type: "error";
224
+ } | {
225
+ readonly inputs: readonly [{
226
+ readonly internalType: "address";
227
+ readonly name: "ipAccount";
228
+ readonly type: "address";
229
+ }];
230
+ readonly name: "AccessControlled__NotIpAccount";
231
+ readonly type: "error";
232
+ } | {
233
+ readonly inputs: readonly [];
234
+ readonly name: "AccessControlled__ZeroAddress";
235
+ readonly type: "error";
236
+ } | {
237
+ readonly inputs: readonly [{
238
+ readonly internalType: "address";
239
+ readonly name: "signer";
240
+ readonly type: "address";
241
+ }, {
242
+ readonly internalType: "address";
243
+ readonly name: "to";
244
+ readonly type: "address";
245
+ }];
246
+ readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
247
+ readonly type: "error";
248
+ } | {
249
+ readonly inputs: readonly [];
250
+ readonly name: "AccessController__CallerIsNotIPAccount";
251
+ readonly type: "error";
252
+ } | {
253
+ readonly inputs: readonly [{
254
+ readonly internalType: "address";
255
+ readonly name: "ipAccount";
256
+ readonly type: "address";
257
+ }];
258
+ readonly name: "AccessController__IPAccountIsNotValid";
259
+ readonly type: "error";
260
+ } | {
261
+ readonly inputs: readonly [];
262
+ readonly name: "AccessController__IPAccountIsZeroAddress";
263
+ readonly type: "error";
264
+ } | {
265
+ readonly inputs: readonly [{
266
+ readonly internalType: "address";
267
+ readonly name: "ipAccount";
268
+ readonly type: "address";
269
+ }, {
270
+ readonly internalType: "address";
271
+ readonly name: "signer";
272
+ readonly type: "address";
273
+ }, {
274
+ readonly internalType: "address";
275
+ readonly name: "to";
276
+ readonly type: "address";
277
+ }, {
278
+ readonly internalType: "bytes4";
279
+ readonly name: "func";
280
+ readonly type: "bytes4";
281
+ }];
282
+ readonly name: "AccessController__PermissionDenied";
283
+ readonly type: "error";
284
+ } | {
285
+ readonly inputs: readonly [];
286
+ readonly name: "AccessController__PermissionIsNotValid";
287
+ readonly type: "error";
288
+ } | {
289
+ readonly inputs: readonly [];
290
+ readonly name: "AccessController__SignerIsZeroAddress";
291
+ readonly type: "error";
292
+ } | {
293
+ readonly inputs: readonly [];
294
+ readonly name: "ArbitrationPolicySP__NotDisputeModule";
295
+ readonly type: "error";
296
+ } | {
297
+ readonly inputs: readonly [];
298
+ readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
299
+ readonly type: "error";
300
+ } | {
301
+ readonly inputs: readonly [];
302
+ readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
303
+ readonly type: "error";
304
+ } | {
305
+ readonly inputs: readonly [];
306
+ readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
307
+ readonly type: "error";
308
+ } | {
309
+ readonly inputs: readonly [];
310
+ readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
311
+ readonly type: "error";
312
+ } | {
313
+ readonly inputs: readonly [];
314
+ readonly name: "DisputeModule__NotAbleToResolve";
315
+ readonly type: "error";
316
+ } | {
317
+ readonly inputs: readonly [];
318
+ readonly name: "DisputeModule__NotDisputeInitiator";
319
+ readonly type: "error";
320
+ } | {
321
+ readonly inputs: readonly [];
322
+ readonly name: "DisputeModule__NotInDisputeState";
323
+ readonly type: "error";
324
+ } | {
325
+ readonly inputs: readonly [];
326
+ readonly name: "DisputeModule__NotRegisteredIpId";
327
+ readonly type: "error";
328
+ } | {
329
+ readonly inputs: readonly [];
330
+ readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
331
+ readonly type: "error";
332
+ } | {
333
+ readonly inputs: readonly [];
334
+ readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
335
+ readonly type: "error";
336
+ } | {
337
+ readonly inputs: readonly [];
338
+ readonly name: "DisputeModule__NotWhitelistedDisputeTag";
339
+ readonly type: "error";
340
+ } | {
341
+ readonly inputs: readonly [];
342
+ readonly name: "DisputeModule__ZeroArbitrationPolicy";
343
+ readonly type: "error";
344
+ } | {
345
+ readonly inputs: readonly [];
346
+ readonly name: "DisputeModule__ZeroArbitrationRelayer";
347
+ readonly type: "error";
348
+ } | {
349
+ readonly inputs: readonly [];
350
+ readonly name: "DisputeModule__ZeroDisputeTag";
351
+ readonly type: "error";
352
+ } | {
353
+ readonly inputs: readonly [];
354
+ readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
355
+ readonly type: "error";
356
+ } | {
357
+ readonly inputs: readonly [];
358
+ readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
359
+ readonly type: "error";
360
+ } | {
361
+ readonly inputs: readonly [];
362
+ readonly name: "IPAccount__ExpiredSignature";
363
+ readonly type: "error";
364
+ } | {
365
+ readonly inputs: readonly [];
366
+ readonly name: "IPAccount__InvalidAccessController";
367
+ readonly type: "error";
368
+ } | {
369
+ readonly inputs: readonly [];
370
+ readonly name: "IPAccount__InvalidCalldata";
371
+ readonly type: "error";
372
+ } | {
373
+ readonly inputs: readonly [];
374
+ readonly name: "IPAccount__InvalidSignature";
375
+ readonly type: "error";
376
+ } | {
377
+ readonly inputs: readonly [];
378
+ readonly name: "IPAccount__InvalidSigner";
379
+ readonly type: "error";
380
+ } | {
381
+ readonly inputs: readonly [];
382
+ readonly name: "IPAssetRegistry__AlreadyRegistered";
383
+ readonly type: "error";
384
+ } | {
385
+ readonly inputs: readonly [];
386
+ readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
387
+ readonly type: "error";
388
+ } | {
389
+ readonly inputs: readonly [];
390
+ readonly name: "IPAssetRegistry__InvalidAccount";
391
+ readonly type: "error";
392
+ } | {
393
+ readonly inputs: readonly [];
394
+ readonly name: "IPAssetRegistry__InvalidMetadataProvider";
395
+ readonly type: "error";
396
+ } | {
397
+ readonly inputs: readonly [{
398
+ readonly internalType: "address";
399
+ readonly name: "contractAddress";
400
+ readonly type: "address";
401
+ }, {
402
+ readonly internalType: "uint256";
403
+ readonly name: "tokenId";
404
+ readonly type: "uint256";
405
+ }];
406
+ readonly name: "IPAssetRegistry__InvalidToken";
407
+ readonly type: "error";
408
+ } | {
409
+ readonly inputs: readonly [];
410
+ readonly name: "IPAssetRegistry__NotYetRegistered";
411
+ readonly type: "error";
412
+ } | {
413
+ readonly inputs: readonly [];
414
+ readonly name: "IPAssetRegistry__RegistrantUnauthorized";
415
+ readonly type: "error";
416
+ } | {
417
+ readonly inputs: readonly [];
418
+ readonly name: "IPAssetRegistry__ResolverInvalid";
419
+ readonly type: "error";
420
+ } | {
421
+ readonly inputs: readonly [];
422
+ readonly name: "IPAssetRegistry__Unauthorized";
423
+ readonly type: "error";
424
+ } | {
425
+ readonly inputs: readonly [{
426
+ readonly internalType: "address";
427
+ readonly name: "contractAddress";
428
+ readonly type: "address";
429
+ }];
430
+ readonly name: "IPAssetRegistry__UnsupportedIERC721";
431
+ readonly type: "error";
432
+ } | {
433
+ readonly inputs: readonly [{
434
+ readonly internalType: "address";
435
+ readonly name: "contractAddress";
436
+ readonly type: "address";
437
+ }];
438
+ readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
439
+ readonly type: "error";
440
+ } | {
441
+ readonly inputs: readonly [];
442
+ readonly name: "IPResolver_InvalidIP";
443
+ readonly type: "error";
444
+ } | {
445
+ readonly inputs: readonly [];
446
+ readonly name: "IPResolver_Unauthorized";
447
+ readonly type: "error";
448
+ } | {
449
+ readonly inputs: readonly [];
450
+ readonly name: "IpRoyaltyVault__AlreadyClaimed";
451
+ readonly type: "error";
452
+ } | {
453
+ readonly inputs: readonly [];
454
+ readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
455
+ readonly type: "error";
456
+ } | {
457
+ readonly inputs: readonly [];
458
+ readonly name: "IpRoyaltyVault__IpTagged";
459
+ readonly type: "error";
460
+ } | {
461
+ readonly inputs: readonly [];
462
+ readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
463
+ readonly type: "error";
464
+ } | {
465
+ readonly inputs: readonly [];
466
+ readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
467
+ readonly type: "error";
468
+ } | {
469
+ readonly inputs: readonly [];
470
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
471
+ readonly type: "error";
472
+ } | {
473
+ readonly inputs: readonly [];
474
+ readonly name: "IpRoyaltyVault__ZeroIpId";
475
+ readonly type: "error";
476
+ } | {
477
+ readonly inputs: readonly [];
478
+ readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
479
+ readonly type: "error";
480
+ } | {
481
+ readonly inputs: readonly [];
482
+ readonly name: "LicenseRegistry__CallerNotLicensingModule";
483
+ readonly type: "error";
484
+ } | {
485
+ readonly inputs: readonly [{
486
+ readonly internalType: "address";
487
+ readonly name: "childIpId";
488
+ readonly type: "address";
489
+ }];
490
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
491
+ readonly type: "error";
492
+ } | {
493
+ readonly inputs: readonly [{
494
+ readonly internalType: "address";
495
+ readonly name: "childIpId";
496
+ readonly type: "address";
497
+ }];
498
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
499
+ readonly type: "error";
500
+ } | {
501
+ readonly inputs: readonly [{
502
+ readonly internalType: "address";
503
+ readonly name: "ipId";
504
+ readonly type: "address";
505
+ }];
506
+ readonly name: "LicenseRegistry__DerivativeIsParent";
507
+ readonly type: "error";
508
+ } | {
509
+ readonly inputs: readonly [{
510
+ readonly internalType: "address";
511
+ readonly name: "ipId";
512
+ readonly type: "address";
513
+ }, {
514
+ readonly internalType: "uint256";
515
+ readonly name: "index";
516
+ readonly type: "uint256";
517
+ }, {
518
+ readonly internalType: "uint256";
519
+ readonly name: "length";
520
+ readonly type: "uint256";
521
+ }];
522
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
523
+ readonly type: "error";
524
+ } | {
525
+ readonly inputs: readonly [{
526
+ readonly internalType: "address";
527
+ readonly name: "ipId";
528
+ readonly type: "address";
529
+ }];
530
+ readonly name: "LicenseRegistry__IpExpired";
531
+ readonly type: "error";
532
+ } | {
533
+ readonly inputs: readonly [{
534
+ readonly internalType: "address";
535
+ readonly name: "licenseTemplate";
536
+ readonly type: "address";
537
+ }, {
538
+ readonly internalType: "uint256";
539
+ readonly name: "licenseTermsId";
540
+ readonly type: "uint256";
541
+ }];
542
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
543
+ readonly type: "error";
544
+ } | {
545
+ readonly inputs: readonly [];
546
+ readonly name: "LicenseRegistry__NoParentIp";
547
+ readonly type: "error";
548
+ } | {
549
+ readonly inputs: readonly [{
550
+ readonly internalType: "address";
551
+ readonly name: "licenseTemplate";
552
+ readonly type: "address";
553
+ }];
554
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
555
+ readonly type: "error";
556
+ } | {
557
+ readonly inputs: readonly [];
558
+ readonly name: "LicenseRegistry__NotTransferable";
559
+ readonly type: "error";
560
+ } | {
561
+ readonly inputs: readonly [{
562
+ readonly internalType: "address";
563
+ readonly name: "ipId";
564
+ readonly type: "address";
565
+ }];
566
+ readonly name: "LicenseRegistry__ParentIpExpired";
567
+ readonly type: "error";
568
+ } | {
569
+ readonly inputs: readonly [{
570
+ readonly internalType: "address";
571
+ readonly name: "ipId";
572
+ readonly type: "address";
573
+ }, {
574
+ readonly internalType: "uint256";
575
+ readonly name: "licenseTermsId";
576
+ readonly type: "uint256";
577
+ }];
578
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
579
+ readonly type: "error";
580
+ } | {
581
+ readonly inputs: readonly [{
582
+ readonly internalType: "address";
583
+ readonly name: "ipId";
584
+ readonly type: "address";
585
+ }];
586
+ readonly name: "LicenseRegistry__ParentIpTagged";
587
+ readonly type: "error";
588
+ } | {
589
+ readonly inputs: readonly [{
590
+ readonly internalType: "address";
591
+ readonly name: "ipId";
592
+ readonly type: "address";
593
+ }, {
594
+ readonly internalType: "address";
595
+ readonly name: "licenseTemplate";
596
+ readonly type: "address";
597
+ }];
598
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
599
+ readonly type: "error";
600
+ } | {
601
+ readonly inputs: readonly [{
602
+ readonly internalType: "address";
603
+ readonly name: "licenseTemplate";
604
+ readonly type: "address";
605
+ }];
606
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
607
+ readonly type: "error";
608
+ } | {
609
+ readonly inputs: readonly [];
610
+ readonly name: "LicenseRegistry__ZeroDisputeModule";
611
+ readonly type: "error";
612
+ } | {
613
+ readonly inputs: readonly [];
614
+ readonly name: "LicenseRegistry__ZeroLicensingModule";
615
+ readonly type: "error";
616
+ } | {
617
+ readonly inputs: readonly [{
618
+ readonly internalType: "address";
619
+ readonly name: "licenseTemplate";
620
+ readonly type: "address";
621
+ }, {
622
+ readonly internalType: "address";
623
+ readonly name: "anotherLicenseTemplate";
624
+ readonly type: "address";
625
+ }];
626
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
627
+ readonly type: "error";
628
+ } | {
629
+ readonly inputs: readonly [];
630
+ readonly name: "LicenseToken__CallerNotLicensingModule";
631
+ readonly type: "error";
632
+ } | {
633
+ readonly inputs: readonly [{
634
+ readonly internalType: "uint256";
635
+ readonly name: "tokenId";
636
+ readonly type: "uint256";
637
+ }, {
638
+ readonly internalType: "uint256";
639
+ readonly name: "expiredAt";
640
+ readonly type: "uint256";
641
+ }, {
642
+ readonly internalType: "uint256";
643
+ readonly name: "currentTimestamp";
644
+ readonly type: "uint256";
645
+ }];
646
+ readonly name: "LicenseToken__LicenseTokenExpired";
647
+ readonly type: "error";
648
+ } | {
649
+ readonly inputs: readonly [{
650
+ readonly internalType: "uint256";
651
+ readonly name: "tokenId";
652
+ readonly type: "uint256";
653
+ }, {
654
+ readonly internalType: "address";
655
+ readonly name: "iPowner";
656
+ readonly type: "address";
657
+ }, {
658
+ readonly internalType: "address";
659
+ readonly name: "tokenOwner";
660
+ readonly type: "address";
661
+ }];
662
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
663
+ readonly type: "error";
664
+ } | {
665
+ readonly inputs: readonly [];
666
+ readonly name: "LicenseToken__NotTransferable";
667
+ readonly type: "error";
668
+ } | {
669
+ readonly inputs: readonly [{
670
+ readonly internalType: "uint256";
671
+ readonly name: "tokenId";
672
+ readonly type: "uint256";
673
+ }];
674
+ readonly name: "LicenseToken__RevokedLicense";
675
+ readonly type: "error";
676
+ } | {
677
+ readonly inputs: readonly [];
678
+ readonly name: "LicenseToken__ZeroDisputeModule";
679
+ readonly type: "error";
680
+ } | {
681
+ readonly inputs: readonly [];
682
+ readonly name: "LicenseToken__ZeroLicensingModule";
683
+ readonly type: "error";
684
+ } | {
685
+ readonly inputs: readonly [];
686
+ readonly name: "LicensingModule__CallerNotLicenseRegistry";
687
+ readonly type: "error";
688
+ } | {
689
+ readonly inputs: readonly [{
690
+ readonly internalType: "address";
691
+ readonly name: "caller";
692
+ readonly type: "address";
693
+ }, {
694
+ readonly internalType: "address";
695
+ readonly name: "licensorIpId";
696
+ readonly type: "address";
697
+ }, {
698
+ readonly internalType: "address";
699
+ readonly name: "licenseTemplate";
700
+ readonly type: "address";
701
+ }, {
702
+ readonly internalType: "uint256";
703
+ readonly name: "licenseTermsId";
704
+ readonly type: "uint256";
705
+ }];
706
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
707
+ readonly type: "error";
708
+ } | {
709
+ readonly inputs: readonly [];
710
+ readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
711
+ readonly type: "error";
712
+ } | {
713
+ readonly inputs: readonly [];
714
+ readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
715
+ readonly type: "error";
716
+ } | {
717
+ readonly inputs: readonly [{
718
+ readonly internalType: "address";
719
+ readonly name: "ipId";
720
+ readonly type: "address";
721
+ }];
722
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
723
+ readonly type: "error";
724
+ } | {
725
+ readonly inputs: readonly [];
726
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
727
+ readonly type: "error";
728
+ } | {
729
+ readonly inputs: readonly [];
730
+ readonly name: "LicensingModule__DerivativeIsParent";
731
+ readonly type: "error";
732
+ } | {
733
+ readonly inputs: readonly [];
734
+ readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
735
+ readonly type: "error";
736
+ } | {
737
+ readonly inputs: readonly [];
738
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
739
+ readonly type: "error";
740
+ } | {
741
+ readonly inputs: readonly [];
742
+ readonly name: "LicensingModule__DerivativesCannotAddPolicy";
743
+ readonly type: "error";
744
+ } | {
745
+ readonly inputs: readonly [];
746
+ readonly name: "LicensingModule__DisputedIpId";
747
+ readonly type: "error";
748
+ } | {
749
+ readonly inputs: readonly [];
750
+ readonly name: "LicensingModule__EmptyLicenseUrl";
751
+ readonly type: "error";
752
+ } | {
753
+ readonly inputs: readonly [];
754
+ readonly name: "LicensingModule__EmptyParamName";
755
+ readonly type: "error";
756
+ } | {
757
+ readonly inputs: readonly [];
758
+ readonly name: "LicensingModule__FrameworkNotFound";
759
+ readonly type: "error";
760
+ } | {
761
+ readonly inputs: readonly [];
762
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
763
+ readonly type: "error";
764
+ } | {
765
+ readonly inputs: readonly [{
766
+ readonly internalType: "address";
767
+ readonly name: "royaltyPolicy";
768
+ readonly type: "address";
769
+ }, {
770
+ readonly internalType: "address";
771
+ readonly name: "anotherRoyaltyPolicy";
772
+ readonly type: "address";
773
+ }];
774
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
775
+ readonly type: "error";
776
+ } | {
777
+ readonly inputs: readonly [];
778
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
779
+ readonly type: "error";
780
+ } | {
781
+ readonly inputs: readonly [];
782
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
783
+ readonly type: "error";
784
+ } | {
785
+ readonly inputs: readonly [];
786
+ readonly name: "LicensingModule__InvalidLicensor";
787
+ readonly type: "error";
788
+ } | {
789
+ readonly inputs: readonly [];
790
+ readonly name: "LicensingModule__InvalidPolicyFramework";
791
+ readonly type: "error";
792
+ } | {
793
+ readonly inputs: readonly [];
794
+ readonly name: "LicensingModule__IpAlreadyLinked";
795
+ readonly type: "error";
796
+ } | {
797
+ readonly inputs: readonly [{
798
+ readonly internalType: "address";
799
+ readonly name: "childIpId";
800
+ readonly type: "address";
801
+ }];
802
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
803
+ readonly type: "error";
804
+ } | {
805
+ readonly inputs: readonly [{
806
+ readonly internalType: "uint256";
807
+ readonly name: "ipLength";
808
+ readonly type: "uint256";
809
+ }, {
810
+ readonly internalType: "uint256";
811
+ readonly name: "licenseTermsLength";
812
+ readonly type: "uint256";
813
+ }];
814
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
815
+ readonly type: "error";
816
+ } | {
817
+ readonly inputs: readonly [{
818
+ readonly internalType: "address";
819
+ readonly name: "licenseTemplate";
820
+ readonly type: "address";
821
+ }, {
822
+ readonly internalType: "uint256";
823
+ readonly name: "licenseTermsId";
824
+ readonly type: "uint256";
825
+ }];
826
+ readonly name: "LicensingModule__LicenseTermsNotFound";
827
+ readonly type: "error";
828
+ } | {
829
+ readonly inputs: readonly [{
830
+ readonly internalType: "address";
831
+ readonly name: "childIpId";
832
+ readonly type: "address";
833
+ }, {
834
+ readonly internalType: "uint256[]";
835
+ readonly name: "licenseTokenIds";
836
+ readonly type: "uint256[]";
837
+ }];
838
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
839
+ readonly type: "error";
840
+ } | {
841
+ readonly inputs: readonly [];
842
+ readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
843
+ readonly type: "error";
844
+ } | {
845
+ readonly inputs: readonly [];
846
+ readonly name: "LicensingModule__LicensorNotRegistered";
847
+ readonly type: "error";
848
+ } | {
849
+ readonly inputs: readonly [];
850
+ readonly name: "LicensingModule__LinkParentParamFailed";
851
+ readonly type: "error";
852
+ } | {
853
+ readonly inputs: readonly [];
854
+ readonly name: "LicensingModule__LinkingRevokedLicense";
855
+ readonly type: "error";
856
+ } | {
857
+ readonly inputs: readonly [];
858
+ readonly name: "LicensingModule__MintAmountZero";
859
+ readonly type: "error";
860
+ } | {
861
+ readonly inputs: readonly [];
862
+ readonly name: "LicensingModule__MintLicenseParamFailed";
863
+ readonly type: "error";
864
+ } | {
865
+ readonly inputs: readonly [];
866
+ readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
867
+ readonly type: "error";
868
+ } | {
869
+ readonly inputs: readonly [];
870
+ readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
871
+ readonly type: "error";
872
+ } | {
873
+ readonly inputs: readonly [];
874
+ readonly name: "LicensingModule__NoLicenseToken";
875
+ readonly type: "error";
876
+ } | {
877
+ readonly inputs: readonly [];
878
+ readonly name: "LicensingModule__NoParentIp";
879
+ readonly type: "error";
880
+ } | {
881
+ readonly inputs: readonly [];
882
+ readonly name: "LicensingModule__NotLicensee";
883
+ readonly type: "error";
884
+ } | {
885
+ readonly inputs: readonly [];
886
+ readonly name: "LicensingModule__ParamVerifierAlreadySet";
887
+ readonly type: "error";
888
+ } | {
889
+ readonly inputs: readonly [];
890
+ readonly name: "LicensingModule__ParamVerifierLengthMismatch";
891
+ readonly type: "error";
892
+ } | {
893
+ readonly inputs: readonly [];
894
+ readonly name: "LicensingModule__ParentIdEqualThanChild";
895
+ readonly type: "error";
896
+ } | {
897
+ readonly inputs: readonly [{
898
+ readonly internalType: "address";
899
+ readonly name: "ipId";
900
+ readonly type: "address";
901
+ }];
902
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
903
+ readonly type: "error";
904
+ } | {
905
+ readonly inputs: readonly [];
906
+ readonly name: "LicensingModule__PolicyAlreadySetForIpId";
907
+ readonly type: "error";
908
+ } | {
909
+ readonly inputs: readonly [];
910
+ readonly name: "LicensingModule__PolicyNotFound";
911
+ readonly type: "error";
912
+ } | {
913
+ readonly inputs: readonly [{
914
+ readonly internalType: "address";
915
+ readonly name: "receiver";
916
+ readonly type: "address";
917
+ }];
918
+ readonly name: "LicensingModule__ReceiverCheckFailed";
919
+ readonly type: "error";
920
+ } | {
921
+ readonly inputs: readonly [];
922
+ readonly name: "LicensingModule__ReceiverZeroAddress";
923
+ readonly type: "error";
924
+ } | {
925
+ readonly inputs: readonly [];
926
+ readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
927
+ readonly type: "error";
928
+ } | {
929
+ readonly inputs: readonly [];
930
+ readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
931
+ readonly type: "error";
932
+ } | {
933
+ readonly inputs: readonly [];
934
+ readonly name: "LicensingModule__TransferParamFailed";
935
+ readonly type: "error";
936
+ } | {
937
+ readonly inputs: readonly [];
938
+ readonly name: "LicensingModule__UnauthorizedAccess";
939
+ readonly type: "error";
940
+ } | {
941
+ readonly inputs: readonly [];
942
+ readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
943
+ readonly type: "error";
944
+ } | {
945
+ readonly inputs: readonly [];
946
+ readonly name: "LicensorApprovalChecker__Unauthorized";
947
+ readonly type: "error";
948
+ } | {
949
+ readonly inputs: readonly [];
950
+ readonly name: "MetadataProvider__HashInvalid";
951
+ readonly type: "error";
952
+ } | {
953
+ readonly inputs: readonly [];
954
+ readonly name: "MetadataProvider__IPAssetOwnerInvalid";
955
+ readonly type: "error";
956
+ } | {
957
+ readonly inputs: readonly [];
958
+ readonly name: "MetadataProvider__MetadataNotCompatible";
959
+ readonly type: "error";
960
+ } | {
961
+ readonly inputs: readonly [];
962
+ readonly name: "MetadataProvider__NameInvalid";
963
+ readonly type: "error";
964
+ } | {
965
+ readonly inputs: readonly [];
966
+ readonly name: "MetadataProvider__RegistrantInvalid";
967
+ readonly type: "error";
968
+ } | {
969
+ readonly inputs: readonly [];
970
+ readonly name: "MetadataProvider__RegistrationDateInvalid";
971
+ readonly type: "error";
972
+ } | {
973
+ readonly inputs: readonly [];
974
+ readonly name: "MetadataProvider__URIInvalid";
975
+ readonly type: "error";
976
+ } | {
977
+ readonly inputs: readonly [];
978
+ readonly name: "MetadataProvider__Unauthorized";
979
+ readonly type: "error";
980
+ } | {
981
+ readonly inputs: readonly [];
982
+ readonly name: "MetadataProvider__UpgradeProviderInvalid";
983
+ readonly type: "error";
984
+ } | {
985
+ readonly inputs: readonly [];
986
+ readonly name: "MetadataProvider__UpgradeUnavailable";
987
+ readonly type: "error";
988
+ } | {
989
+ readonly inputs: readonly [];
990
+ readonly name: "ModuleRegistry__InterfaceIdZero";
991
+ readonly type: "error";
992
+ } | {
993
+ readonly inputs: readonly [];
994
+ readonly name: "ModuleRegistry__ModuleAddressNotContract";
995
+ readonly type: "error";
996
+ } | {
997
+ readonly inputs: readonly [];
998
+ readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
999
+ readonly type: "error";
1000
+ } | {
1001
+ readonly inputs: readonly [];
1002
+ readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
1003
+ readonly type: "error";
1004
+ } | {
1005
+ readonly inputs: readonly [];
1006
+ readonly name: "ModuleRegistry__ModuleNotRegistered";
1007
+ readonly type: "error";
1008
+ } | {
1009
+ readonly inputs: readonly [];
1010
+ readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
1011
+ readonly type: "error";
1012
+ } | {
1013
+ readonly inputs: readonly [];
1014
+ readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
1015
+ readonly type: "error";
1016
+ } | {
1017
+ readonly inputs: readonly [];
1018
+ readonly name: "ModuleRegistry__ModuleTypeEmptyString";
1019
+ readonly type: "error";
1020
+ } | {
1021
+ readonly inputs: readonly [];
1022
+ readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
1023
+ readonly type: "error";
1024
+ } | {
1025
+ readonly inputs: readonly [];
1026
+ readonly name: "ModuleRegistry__NameAlreadyRegistered";
1027
+ readonly type: "error";
1028
+ } | {
1029
+ readonly inputs: readonly [];
1030
+ readonly name: "ModuleRegistry__NameDoesNotMatch";
1031
+ readonly type: "error";
1032
+ } | {
1033
+ readonly inputs: readonly [];
1034
+ readonly name: "ModuleRegistry__NameEmptyString";
1035
+ readonly type: "error";
1036
+ } | {
1037
+ readonly inputs: readonly [];
1038
+ readonly name: "Module_Unauthorized";
1039
+ readonly type: "error";
1040
+ } | {
1041
+ readonly inputs: readonly [{
1042
+ readonly internalType: "address";
1043
+ readonly name: "commercializer";
1044
+ readonly type: "address";
1045
+ }];
1046
+ readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
1047
+ readonly type: "error";
1048
+ } | {
1049
+ readonly inputs: readonly [];
1050
+ readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
1051
+ readonly type: "error";
1052
+ } | {
1053
+ readonly inputs: readonly [];
1054
+ readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
1055
+ readonly type: "error";
1056
+ } | {
1057
+ readonly inputs: readonly [];
1058
+ readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
1059
+ readonly type: "error";
1060
+ } | {
1061
+ readonly inputs: readonly [];
1062
+ readonly name: "RoyaltyModule__IpIsTagged";
1063
+ readonly type: "error";
1064
+ } | {
1065
+ readonly inputs: readonly [];
1066
+ readonly name: "RoyaltyModule__NoParentsOnLinking";
1067
+ readonly type: "error";
1068
+ } | {
1069
+ readonly inputs: readonly [];
1070
+ readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
1071
+ readonly type: "error";
1072
+ } | {
1073
+ readonly inputs: readonly [];
1074
+ readonly name: "RoyaltyModule__NotAllowedCaller";
1075
+ readonly type: "error";
1076
+ } | {
1077
+ readonly inputs: readonly [];
1078
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
1079
+ readonly type: "error";
1080
+ } | {
1081
+ readonly inputs: readonly [];
1082
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
1083
+ readonly type: "error";
1084
+ } | {
1085
+ readonly inputs: readonly [];
1086
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
1087
+ readonly type: "error";
1088
+ } | {
1089
+ readonly inputs: readonly [];
1090
+ readonly name: "RoyaltyModule__ZeroLicensingModule";
1091
+ readonly type: "error";
1092
+ } | {
1093
+ readonly inputs: readonly [];
1094
+ readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
1095
+ readonly type: "error";
1096
+ } | {
1097
+ readonly inputs: readonly [];
1098
+ readonly name: "RoyaltyModule__ZeroRoyaltyToken";
1099
+ readonly type: "error";
1100
+ } | {
1101
+ readonly inputs: readonly [];
1102
+ readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
1103
+ readonly type: "error";
1104
+ } | {
1105
+ readonly inputs: readonly [];
1106
+ readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
1107
+ readonly type: "error";
1108
+ } | {
1109
+ readonly inputs: readonly [];
1110
+ readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
1111
+ readonly type: "error";
1112
+ } | {
1113
+ readonly inputs: readonly [];
1114
+ readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
1115
+ readonly type: "error";
1116
+ } | {
1117
+ readonly inputs: readonly [];
1118
+ readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
1119
+ readonly type: "error";
1120
+ } | {
1121
+ readonly inputs: readonly [];
1122
+ readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
1123
+ readonly type: "error";
1124
+ } | {
1125
+ readonly inputs: readonly [];
1126
+ readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
1127
+ readonly type: "error";
1128
+ } | {
1129
+ readonly inputs: readonly [];
1130
+ readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
1131
+ readonly type: "error";
1132
+ } | {
1133
+ readonly inputs: readonly [];
1134
+ readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
1135
+ readonly type: "error";
1136
+ } | {
1137
+ readonly inputs: readonly [];
1138
+ readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
1139
+ readonly type: "error";
1140
+ } | {
1141
+ readonly inputs: readonly [];
1142
+ readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
1143
+ readonly type: "error";
1144
+ } | {
1145
+ readonly inputs: readonly [];
1146
+ readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
1147
+ readonly type: "error";
1148
+ } | {
1149
+ readonly inputs: readonly [];
1150
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
1151
+ readonly type: "error";
1152
+ } | {
1153
+ readonly inputs: readonly [];
1154
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
1155
+ readonly type: "error";
1156
+ } | {
1157
+ readonly inputs: readonly [];
1158
+ readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
1159
+ readonly type: "error";
1160
+ })[];
1161
+ address: `0x${string}`;
1162
+ };
1163
+ ipAccountABI: ({
1164
+ readonly inputs: readonly [{
1165
+ readonly internalType: "address";
1166
+ readonly name: "caller";
1167
+ readonly type: "address";
1168
+ }];
1169
+ readonly name: "AccessControlled__CallerIsNotIpAccount";
1170
+ readonly type: "error";
1171
+ } | {
1172
+ readonly inputs: readonly [{
1173
+ readonly internalType: "address";
1174
+ readonly name: "ipAccount";
1175
+ readonly type: "address";
1176
+ }];
1177
+ readonly name: "AccessControlled__NotIpAccount";
1178
+ readonly type: "error";
1179
+ } | {
1180
+ readonly inputs: readonly [];
1181
+ readonly name: "AccessControlled__ZeroAddress";
1182
+ readonly type: "error";
1183
+ } | {
1184
+ readonly inputs: readonly [{
1185
+ readonly internalType: "address";
1186
+ readonly name: "signer";
1187
+ readonly type: "address";
1188
+ }, {
1189
+ readonly internalType: "address";
1190
+ readonly name: "to";
1191
+ readonly type: "address";
1192
+ }];
1193
+ readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
1194
+ readonly type: "error";
1195
+ } | {
1196
+ readonly inputs: readonly [];
1197
+ readonly name: "AccessController__CallerIsNotIPAccount";
1198
+ readonly type: "error";
1199
+ } | {
1200
+ readonly inputs: readonly [{
1201
+ readonly internalType: "address";
1202
+ readonly name: "ipAccount";
1203
+ readonly type: "address";
1204
+ }];
1205
+ readonly name: "AccessController__IPAccountIsNotValid";
1206
+ readonly type: "error";
1207
+ } | {
1208
+ readonly inputs: readonly [];
1209
+ readonly name: "AccessController__IPAccountIsZeroAddress";
1210
+ readonly type: "error";
1211
+ } | {
1212
+ readonly inputs: readonly [{
1213
+ readonly internalType: "address";
1214
+ readonly name: "ipAccount";
1215
+ readonly type: "address";
1216
+ }, {
1217
+ readonly internalType: "address";
1218
+ readonly name: "signer";
1219
+ readonly type: "address";
1220
+ }, {
1221
+ readonly internalType: "address";
1222
+ readonly name: "to";
1223
+ readonly type: "address";
1224
+ }, {
1225
+ readonly internalType: "bytes4";
1226
+ readonly name: "func";
1227
+ readonly type: "bytes4";
1228
+ }];
1229
+ readonly name: "AccessController__PermissionDenied";
1230
+ readonly type: "error";
1231
+ } | {
1232
+ readonly inputs: readonly [];
1233
+ readonly name: "AccessController__PermissionIsNotValid";
1234
+ readonly type: "error";
1235
+ } | {
1236
+ readonly inputs: readonly [];
1237
+ readonly name: "AccessController__SignerIsZeroAddress";
1238
+ readonly type: "error";
1239
+ } | {
1240
+ readonly inputs: readonly [];
1241
+ readonly name: "ArbitrationPolicySP__NotDisputeModule";
1242
+ readonly type: "error";
1243
+ } | {
1244
+ readonly inputs: readonly [];
1245
+ readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
1246
+ readonly type: "error";
1247
+ } | {
1248
+ readonly inputs: readonly [];
1249
+ readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
1250
+ readonly type: "error";
1251
+ } | {
1252
+ readonly inputs: readonly [];
1253
+ readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
1254
+ readonly type: "error";
1255
+ } | {
1256
+ readonly inputs: readonly [];
1257
+ readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
1258
+ readonly type: "error";
1259
+ } | {
1260
+ readonly inputs: readonly [];
1261
+ readonly name: "DisputeModule__NotAbleToResolve";
1262
+ readonly type: "error";
1263
+ } | {
1264
+ readonly inputs: readonly [];
1265
+ readonly name: "DisputeModule__NotDisputeInitiator";
1266
+ readonly type: "error";
1267
+ } | {
1268
+ readonly inputs: readonly [];
1269
+ readonly name: "DisputeModule__NotInDisputeState";
1270
+ readonly type: "error";
1271
+ } | {
1272
+ readonly inputs: readonly [];
1273
+ readonly name: "DisputeModule__NotRegisteredIpId";
1274
+ readonly type: "error";
1275
+ } | {
1276
+ readonly inputs: readonly [];
1277
+ readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
1278
+ readonly type: "error";
1279
+ } | {
1280
+ readonly inputs: readonly [];
1281
+ readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
1282
+ readonly type: "error";
1283
+ } | {
1284
+ readonly inputs: readonly [];
1285
+ readonly name: "DisputeModule__NotWhitelistedDisputeTag";
1286
+ readonly type: "error";
1287
+ } | {
1288
+ readonly inputs: readonly [];
1289
+ readonly name: "DisputeModule__ZeroArbitrationPolicy";
1290
+ readonly type: "error";
1291
+ } | {
1292
+ readonly inputs: readonly [];
1293
+ readonly name: "DisputeModule__ZeroArbitrationRelayer";
1294
+ readonly type: "error";
1295
+ } | {
1296
+ readonly inputs: readonly [];
1297
+ readonly name: "DisputeModule__ZeroDisputeTag";
1298
+ readonly type: "error";
1299
+ } | {
1300
+ readonly inputs: readonly [];
1301
+ readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
1302
+ readonly type: "error";
1303
+ } | {
1304
+ readonly inputs: readonly [];
1305
+ readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
1306
+ readonly type: "error";
1307
+ } | {
1308
+ readonly inputs: readonly [];
1309
+ readonly name: "IPAccount__ExpiredSignature";
1310
+ readonly type: "error";
1311
+ } | {
1312
+ readonly inputs: readonly [];
1313
+ readonly name: "IPAccount__InvalidAccessController";
1314
+ readonly type: "error";
1315
+ } | {
1316
+ readonly inputs: readonly [];
1317
+ readonly name: "IPAccount__InvalidCalldata";
1318
+ readonly type: "error";
1319
+ } | {
1320
+ readonly inputs: readonly [];
1321
+ readonly name: "IPAccount__InvalidSignature";
1322
+ readonly type: "error";
1323
+ } | {
1324
+ readonly inputs: readonly [];
1325
+ readonly name: "IPAccount__InvalidSigner";
1326
+ readonly type: "error";
1327
+ } | {
1328
+ readonly inputs: readonly [];
1329
+ readonly name: "IPAssetRegistry__AlreadyRegistered";
1330
+ readonly type: "error";
1331
+ } | {
1332
+ readonly inputs: readonly [];
1333
+ readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
1334
+ readonly type: "error";
1335
+ } | {
1336
+ readonly inputs: readonly [];
1337
+ readonly name: "IPAssetRegistry__InvalidAccount";
1338
+ readonly type: "error";
1339
+ } | {
1340
+ readonly inputs: readonly [];
1341
+ readonly name: "IPAssetRegistry__InvalidMetadataProvider";
1342
+ readonly type: "error";
1343
+ } | {
1344
+ readonly inputs: readonly [{
1345
+ readonly internalType: "address";
1346
+ readonly name: "contractAddress";
1347
+ readonly type: "address";
1348
+ }, {
1349
+ readonly internalType: "uint256";
1350
+ readonly name: "tokenId";
1351
+ readonly type: "uint256";
1352
+ }];
1353
+ readonly name: "IPAssetRegistry__InvalidToken";
1354
+ readonly type: "error";
1355
+ } | {
1356
+ readonly inputs: readonly [];
1357
+ readonly name: "IPAssetRegistry__NotYetRegistered";
1358
+ readonly type: "error";
1359
+ } | {
1360
+ readonly inputs: readonly [];
1361
+ readonly name: "IPAssetRegistry__RegistrantUnauthorized";
1362
+ readonly type: "error";
1363
+ } | {
1364
+ readonly inputs: readonly [];
1365
+ readonly name: "IPAssetRegistry__ResolverInvalid";
1366
+ readonly type: "error";
1367
+ } | {
1368
+ readonly inputs: readonly [];
1369
+ readonly name: "IPAssetRegistry__Unauthorized";
1370
+ readonly type: "error";
1371
+ } | {
1372
+ readonly inputs: readonly [{
1373
+ readonly internalType: "address";
1374
+ readonly name: "contractAddress";
1375
+ readonly type: "address";
1376
+ }];
1377
+ readonly name: "IPAssetRegistry__UnsupportedIERC721";
1378
+ readonly type: "error";
1379
+ } | {
1380
+ readonly inputs: readonly [{
1381
+ readonly internalType: "address";
1382
+ readonly name: "contractAddress";
1383
+ readonly type: "address";
1384
+ }];
1385
+ readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
1386
+ readonly type: "error";
1387
+ } | {
1388
+ readonly inputs: readonly [];
1389
+ readonly name: "IPResolver_InvalidIP";
1390
+ readonly type: "error";
1391
+ } | {
1392
+ readonly inputs: readonly [];
1393
+ readonly name: "IPResolver_Unauthorized";
1394
+ readonly type: "error";
1395
+ } | {
1396
+ readonly inputs: readonly [];
1397
+ readonly name: "IpRoyaltyVault__AlreadyClaimed";
1398
+ readonly type: "error";
1399
+ } | {
1400
+ readonly inputs: readonly [];
1401
+ readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
1402
+ readonly type: "error";
1403
+ } | {
1404
+ readonly inputs: readonly [];
1405
+ readonly name: "IpRoyaltyVault__IpTagged";
1406
+ readonly type: "error";
1407
+ } | {
1408
+ readonly inputs: readonly [];
1409
+ readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
1410
+ readonly type: "error";
1411
+ } | {
1412
+ readonly inputs: readonly [];
1413
+ readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
1414
+ readonly type: "error";
1415
+ } | {
1416
+ readonly inputs: readonly [];
1417
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
1418
+ readonly type: "error";
1419
+ } | {
1420
+ readonly inputs: readonly [];
1421
+ readonly name: "IpRoyaltyVault__ZeroIpId";
1422
+ readonly type: "error";
1423
+ } | {
1424
+ readonly inputs: readonly [];
1425
+ readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
1426
+ readonly type: "error";
1427
+ } | {
1428
+ readonly inputs: readonly [];
1429
+ readonly name: "LicenseRegistry__CallerNotLicensingModule";
1430
+ readonly type: "error";
1431
+ } | {
1432
+ readonly inputs: readonly [{
1433
+ readonly internalType: "address";
1434
+ readonly name: "childIpId";
1435
+ readonly type: "address";
1436
+ }];
1437
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
1438
+ readonly type: "error";
1439
+ } | {
1440
+ readonly inputs: readonly [{
1441
+ readonly internalType: "address";
1442
+ readonly name: "childIpId";
1443
+ readonly type: "address";
1444
+ }];
1445
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
1446
+ readonly type: "error";
1447
+ } | {
1448
+ readonly inputs: readonly [{
1449
+ readonly internalType: "address";
1450
+ readonly name: "ipId";
1451
+ readonly type: "address";
1452
+ }];
1453
+ readonly name: "LicenseRegistry__DerivativeIsParent";
1454
+ readonly type: "error";
1455
+ } | {
1456
+ readonly inputs: readonly [{
1457
+ readonly internalType: "address";
1458
+ readonly name: "ipId";
1459
+ readonly type: "address";
1460
+ }, {
1461
+ readonly internalType: "uint256";
1462
+ readonly name: "index";
1463
+ readonly type: "uint256";
1464
+ }, {
1465
+ readonly internalType: "uint256";
1466
+ readonly name: "length";
1467
+ readonly type: "uint256";
1468
+ }];
1469
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
1470
+ readonly type: "error";
1471
+ } | {
1472
+ readonly inputs: readonly [{
1473
+ readonly internalType: "address";
1474
+ readonly name: "ipId";
1475
+ readonly type: "address";
1476
+ }];
1477
+ readonly name: "LicenseRegistry__IpExpired";
1478
+ readonly type: "error";
1479
+ } | {
1480
+ readonly inputs: readonly [{
1481
+ readonly internalType: "address";
1482
+ readonly name: "licenseTemplate";
1483
+ readonly type: "address";
1484
+ }, {
1485
+ readonly internalType: "uint256";
1486
+ readonly name: "licenseTermsId";
1487
+ readonly type: "uint256";
1488
+ }];
1489
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
1490
+ readonly type: "error";
1491
+ } | {
1492
+ readonly inputs: readonly [];
1493
+ readonly name: "LicenseRegistry__NoParentIp";
1494
+ readonly type: "error";
1495
+ } | {
1496
+ readonly inputs: readonly [{
1497
+ readonly internalType: "address";
1498
+ readonly name: "licenseTemplate";
1499
+ readonly type: "address";
1500
+ }];
1501
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
1502
+ readonly type: "error";
1503
+ } | {
1504
+ readonly inputs: readonly [];
1505
+ readonly name: "LicenseRegistry__NotTransferable";
1506
+ readonly type: "error";
1507
+ } | {
1508
+ readonly inputs: readonly [{
1509
+ readonly internalType: "address";
1510
+ readonly name: "ipId";
1511
+ readonly type: "address";
1512
+ }];
1513
+ readonly name: "LicenseRegistry__ParentIpExpired";
1514
+ readonly type: "error";
1515
+ } | {
1516
+ readonly inputs: readonly [{
1517
+ readonly internalType: "address";
1518
+ readonly name: "ipId";
1519
+ readonly type: "address";
1520
+ }, {
1521
+ readonly internalType: "uint256";
1522
+ readonly name: "licenseTermsId";
1523
+ readonly type: "uint256";
1524
+ }];
1525
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
1526
+ readonly type: "error";
1527
+ } | {
1528
+ readonly inputs: readonly [{
1529
+ readonly internalType: "address";
1530
+ readonly name: "ipId";
1531
+ readonly type: "address";
1532
+ }];
1533
+ readonly name: "LicenseRegistry__ParentIpTagged";
1534
+ readonly type: "error";
1535
+ } | {
1536
+ readonly inputs: readonly [{
1537
+ readonly internalType: "address";
1538
+ readonly name: "ipId";
1539
+ readonly type: "address";
1540
+ }, {
1541
+ readonly internalType: "address";
1542
+ readonly name: "licenseTemplate";
1543
+ readonly type: "address";
1544
+ }];
1545
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
1546
+ readonly type: "error";
1547
+ } | {
1548
+ readonly inputs: readonly [{
1549
+ readonly internalType: "address";
1550
+ readonly name: "licenseTemplate";
1551
+ readonly type: "address";
1552
+ }];
1553
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
1554
+ readonly type: "error";
1555
+ } | {
1556
+ readonly inputs: readonly [];
1557
+ readonly name: "LicenseRegistry__ZeroDisputeModule";
1558
+ readonly type: "error";
1559
+ } | {
1560
+ readonly inputs: readonly [];
1561
+ readonly name: "LicenseRegistry__ZeroLicensingModule";
1562
+ readonly type: "error";
1563
+ } | {
1564
+ readonly inputs: readonly [{
1565
+ readonly internalType: "address";
1566
+ readonly name: "licenseTemplate";
1567
+ readonly type: "address";
1568
+ }, {
1569
+ readonly internalType: "address";
1570
+ readonly name: "anotherLicenseTemplate";
1571
+ readonly type: "address";
1572
+ }];
1573
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
1574
+ readonly type: "error";
1575
+ } | {
1576
+ readonly inputs: readonly [];
1577
+ readonly name: "LicenseToken__CallerNotLicensingModule";
1578
+ readonly type: "error";
1579
+ } | {
1580
+ readonly inputs: readonly [{
1581
+ readonly internalType: "uint256";
1582
+ readonly name: "tokenId";
1583
+ readonly type: "uint256";
1584
+ }, {
1585
+ readonly internalType: "uint256";
1586
+ readonly name: "expiredAt";
1587
+ readonly type: "uint256";
1588
+ }, {
1589
+ readonly internalType: "uint256";
1590
+ readonly name: "currentTimestamp";
1591
+ readonly type: "uint256";
1592
+ }];
1593
+ readonly name: "LicenseToken__LicenseTokenExpired";
1594
+ readonly type: "error";
1595
+ } | {
1596
+ readonly inputs: readonly [{
1597
+ readonly internalType: "uint256";
1598
+ readonly name: "tokenId";
1599
+ readonly type: "uint256";
1600
+ }, {
1601
+ readonly internalType: "address";
1602
+ readonly name: "iPowner";
1603
+ readonly type: "address";
1604
+ }, {
1605
+ readonly internalType: "address";
1606
+ readonly name: "tokenOwner";
1607
+ readonly type: "address";
1608
+ }];
1609
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
1610
+ readonly type: "error";
1611
+ } | {
1612
+ readonly inputs: readonly [];
1613
+ readonly name: "LicenseToken__NotTransferable";
1614
+ readonly type: "error";
1615
+ } | {
1616
+ readonly inputs: readonly [{
1617
+ readonly internalType: "uint256";
1618
+ readonly name: "tokenId";
1619
+ readonly type: "uint256";
1620
+ }];
1621
+ readonly name: "LicenseToken__RevokedLicense";
1622
+ readonly type: "error";
1623
+ } | {
1624
+ readonly inputs: readonly [];
1625
+ readonly name: "LicenseToken__ZeroDisputeModule";
1626
+ readonly type: "error";
1627
+ } | {
1628
+ readonly inputs: readonly [];
1629
+ readonly name: "LicenseToken__ZeroLicensingModule";
1630
+ readonly type: "error";
1631
+ } | {
1632
+ readonly inputs: readonly [];
1633
+ readonly name: "LicensingModule__CallerNotLicenseRegistry";
1634
+ readonly type: "error";
1635
+ } | {
1636
+ readonly inputs: readonly [{
1637
+ readonly internalType: "address";
1638
+ readonly name: "caller";
1639
+ readonly type: "address";
1640
+ }, {
1641
+ readonly internalType: "address";
1642
+ readonly name: "licensorIpId";
1643
+ readonly type: "address";
1644
+ }, {
1645
+ readonly internalType: "address";
1646
+ readonly name: "licenseTemplate";
1647
+ readonly type: "address";
1648
+ }, {
1649
+ readonly internalType: "uint256";
1650
+ readonly name: "licenseTermsId";
1651
+ readonly type: "uint256";
1652
+ }];
1653
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
1654
+ readonly type: "error";
1655
+ } | {
1656
+ readonly inputs: readonly [];
1657
+ readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
1658
+ readonly type: "error";
1659
+ } | {
1660
+ readonly inputs: readonly [];
1661
+ readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
1662
+ readonly type: "error";
1663
+ } | {
1664
+ readonly inputs: readonly [{
1665
+ readonly internalType: "address";
1666
+ readonly name: "ipId";
1667
+ readonly type: "address";
1668
+ }];
1669
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
1670
+ readonly type: "error";
1671
+ } | {
1672
+ readonly inputs: readonly [];
1673
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
1674
+ readonly type: "error";
1675
+ } | {
1676
+ readonly inputs: readonly [];
1677
+ readonly name: "LicensingModule__DerivativeIsParent";
1678
+ readonly type: "error";
1679
+ } | {
1680
+ readonly inputs: readonly [];
1681
+ readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
1682
+ readonly type: "error";
1683
+ } | {
1684
+ readonly inputs: readonly [];
1685
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
1686
+ readonly type: "error";
1687
+ } | {
1688
+ readonly inputs: readonly [];
1689
+ readonly name: "LicensingModule__DerivativesCannotAddPolicy";
1690
+ readonly type: "error";
1691
+ } | {
1692
+ readonly inputs: readonly [];
1693
+ readonly name: "LicensingModule__DisputedIpId";
1694
+ readonly type: "error";
1695
+ } | {
1696
+ readonly inputs: readonly [];
1697
+ readonly name: "LicensingModule__EmptyLicenseUrl";
1698
+ readonly type: "error";
1699
+ } | {
1700
+ readonly inputs: readonly [];
1701
+ readonly name: "LicensingModule__EmptyParamName";
1702
+ readonly type: "error";
1703
+ } | {
1704
+ readonly inputs: readonly [];
1705
+ readonly name: "LicensingModule__FrameworkNotFound";
1706
+ readonly type: "error";
1707
+ } | {
1708
+ readonly inputs: readonly [];
1709
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
1710
+ readonly type: "error";
1711
+ } | {
1712
+ readonly inputs: readonly [{
1713
+ readonly internalType: "address";
1714
+ readonly name: "royaltyPolicy";
1715
+ readonly type: "address";
1716
+ }, {
1717
+ readonly internalType: "address";
1718
+ readonly name: "anotherRoyaltyPolicy";
1719
+ readonly type: "address";
1720
+ }];
1721
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
1722
+ readonly type: "error";
1723
+ } | {
1724
+ readonly inputs: readonly [];
1725
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
1726
+ readonly type: "error";
1727
+ } | {
1728
+ readonly inputs: readonly [];
1729
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
1730
+ readonly type: "error";
1731
+ } | {
1732
+ readonly inputs: readonly [];
1733
+ readonly name: "LicensingModule__InvalidLicensor";
1734
+ readonly type: "error";
1735
+ } | {
1736
+ readonly inputs: readonly [];
1737
+ readonly name: "LicensingModule__InvalidPolicyFramework";
1738
+ readonly type: "error";
1739
+ } | {
1740
+ readonly inputs: readonly [];
1741
+ readonly name: "LicensingModule__IpAlreadyLinked";
1742
+ readonly type: "error";
1743
+ } | {
1744
+ readonly inputs: readonly [{
1745
+ readonly internalType: "address";
1746
+ readonly name: "childIpId";
1747
+ readonly type: "address";
1748
+ }];
1749
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
1750
+ readonly type: "error";
1751
+ } | {
1752
+ readonly inputs: readonly [{
1753
+ readonly internalType: "uint256";
1754
+ readonly name: "ipLength";
1755
+ readonly type: "uint256";
1756
+ }, {
1757
+ readonly internalType: "uint256";
1758
+ readonly name: "licenseTermsLength";
1759
+ readonly type: "uint256";
1760
+ }];
1761
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
1762
+ readonly type: "error";
1763
+ } | {
1764
+ readonly inputs: readonly [{
1765
+ readonly internalType: "address";
1766
+ readonly name: "licenseTemplate";
1767
+ readonly type: "address";
1768
+ }, {
1769
+ readonly internalType: "uint256";
1770
+ readonly name: "licenseTermsId";
1771
+ readonly type: "uint256";
1772
+ }];
1773
+ readonly name: "LicensingModule__LicenseTermsNotFound";
1774
+ readonly type: "error";
1775
+ } | {
1776
+ readonly inputs: readonly [{
1777
+ readonly internalType: "address";
1778
+ readonly name: "childIpId";
1779
+ readonly type: "address";
1780
+ }, {
1781
+ readonly internalType: "uint256[]";
1782
+ readonly name: "licenseTokenIds";
1783
+ readonly type: "uint256[]";
1784
+ }];
1785
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
1786
+ readonly type: "error";
1787
+ } | {
1788
+ readonly inputs: readonly [];
1789
+ readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
1790
+ readonly type: "error";
1791
+ } | {
1792
+ readonly inputs: readonly [];
1793
+ readonly name: "LicensingModule__LicensorNotRegistered";
1794
+ readonly type: "error";
1795
+ } | {
1796
+ readonly inputs: readonly [];
1797
+ readonly name: "LicensingModule__LinkParentParamFailed";
1798
+ readonly type: "error";
1799
+ } | {
1800
+ readonly inputs: readonly [];
1801
+ readonly name: "LicensingModule__LinkingRevokedLicense";
1802
+ readonly type: "error";
1803
+ } | {
1804
+ readonly inputs: readonly [];
1805
+ readonly name: "LicensingModule__MintAmountZero";
1806
+ readonly type: "error";
1807
+ } | {
1808
+ readonly inputs: readonly [];
1809
+ readonly name: "LicensingModule__MintLicenseParamFailed";
1810
+ readonly type: "error";
1811
+ } | {
1812
+ readonly inputs: readonly [];
1813
+ readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
1814
+ readonly type: "error";
1815
+ } | {
1816
+ readonly inputs: readonly [];
1817
+ readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
1818
+ readonly type: "error";
1819
+ } | {
1820
+ readonly inputs: readonly [];
1821
+ readonly name: "LicensingModule__NoLicenseToken";
1822
+ readonly type: "error";
1823
+ } | {
1824
+ readonly inputs: readonly [];
1825
+ readonly name: "LicensingModule__NoParentIp";
1826
+ readonly type: "error";
1827
+ } | {
1828
+ readonly inputs: readonly [];
1829
+ readonly name: "LicensingModule__NotLicensee";
1830
+ readonly type: "error";
1831
+ } | {
1832
+ readonly inputs: readonly [];
1833
+ readonly name: "LicensingModule__ParamVerifierAlreadySet";
1834
+ readonly type: "error";
1835
+ } | {
1836
+ readonly inputs: readonly [];
1837
+ readonly name: "LicensingModule__ParamVerifierLengthMismatch";
1838
+ readonly type: "error";
1839
+ } | {
1840
+ readonly inputs: readonly [];
1841
+ readonly name: "LicensingModule__ParentIdEqualThanChild";
1842
+ readonly type: "error";
1843
+ } | {
1844
+ readonly inputs: readonly [{
1845
+ readonly internalType: "address";
1846
+ readonly name: "ipId";
1847
+ readonly type: "address";
1848
+ }];
1849
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
1850
+ readonly type: "error";
1851
+ } | {
1852
+ readonly inputs: readonly [];
1853
+ readonly name: "LicensingModule__PolicyAlreadySetForIpId";
1854
+ readonly type: "error";
1855
+ } | {
1856
+ readonly inputs: readonly [];
1857
+ readonly name: "LicensingModule__PolicyNotFound";
1858
+ readonly type: "error";
1859
+ } | {
1860
+ readonly inputs: readonly [{
1861
+ readonly internalType: "address";
1862
+ readonly name: "receiver";
1863
+ readonly type: "address";
1864
+ }];
1865
+ readonly name: "LicensingModule__ReceiverCheckFailed";
1866
+ readonly type: "error";
1867
+ } | {
1868
+ readonly inputs: readonly [];
1869
+ readonly name: "LicensingModule__ReceiverZeroAddress";
1870
+ readonly type: "error";
1871
+ } | {
1872
+ readonly inputs: readonly [];
1873
+ readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
1874
+ readonly type: "error";
1875
+ } | {
1876
+ readonly inputs: readonly [];
1877
+ readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
1878
+ readonly type: "error";
1879
+ } | {
1880
+ readonly inputs: readonly [];
1881
+ readonly name: "LicensingModule__TransferParamFailed";
1882
+ readonly type: "error";
1883
+ } | {
1884
+ readonly inputs: readonly [];
1885
+ readonly name: "LicensingModule__UnauthorizedAccess";
1886
+ readonly type: "error";
1887
+ } | {
1888
+ readonly inputs: readonly [];
1889
+ readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
1890
+ readonly type: "error";
1891
+ } | {
1892
+ readonly inputs: readonly [];
1893
+ readonly name: "LicensorApprovalChecker__Unauthorized";
1894
+ readonly type: "error";
1895
+ } | {
1896
+ readonly inputs: readonly [];
1897
+ readonly name: "MetadataProvider__HashInvalid";
1898
+ readonly type: "error";
1899
+ } | {
1900
+ readonly inputs: readonly [];
1901
+ readonly name: "MetadataProvider__IPAssetOwnerInvalid";
1902
+ readonly type: "error";
1903
+ } | {
1904
+ readonly inputs: readonly [];
1905
+ readonly name: "MetadataProvider__MetadataNotCompatible";
1906
+ readonly type: "error";
1907
+ } | {
1908
+ readonly inputs: readonly [];
1909
+ readonly name: "MetadataProvider__NameInvalid";
1910
+ readonly type: "error";
1911
+ } | {
1912
+ readonly inputs: readonly [];
1913
+ readonly name: "MetadataProvider__RegistrantInvalid";
1914
+ readonly type: "error";
1915
+ } | {
1916
+ readonly inputs: readonly [];
1917
+ readonly name: "MetadataProvider__RegistrationDateInvalid";
1918
+ readonly type: "error";
1919
+ } | {
1920
+ readonly inputs: readonly [];
1921
+ readonly name: "MetadataProvider__URIInvalid";
1922
+ readonly type: "error";
1923
+ } | {
1924
+ readonly inputs: readonly [];
1925
+ readonly name: "MetadataProvider__Unauthorized";
1926
+ readonly type: "error";
1927
+ } | {
1928
+ readonly inputs: readonly [];
1929
+ readonly name: "MetadataProvider__UpgradeProviderInvalid";
1930
+ readonly type: "error";
1931
+ } | {
1932
+ readonly inputs: readonly [];
1933
+ readonly name: "MetadataProvider__UpgradeUnavailable";
1934
+ readonly type: "error";
1935
+ } | {
1936
+ readonly inputs: readonly [];
1937
+ readonly name: "ModuleRegistry__InterfaceIdZero";
1938
+ readonly type: "error";
1939
+ } | {
1940
+ readonly inputs: readonly [];
1941
+ readonly name: "ModuleRegistry__ModuleAddressNotContract";
1942
+ readonly type: "error";
1943
+ } | {
1944
+ readonly inputs: readonly [];
1945
+ readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
1946
+ readonly type: "error";
1947
+ } | {
1948
+ readonly inputs: readonly [];
1949
+ readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
1950
+ readonly type: "error";
1951
+ } | {
1952
+ readonly inputs: readonly [];
1953
+ readonly name: "ModuleRegistry__ModuleNotRegistered";
1954
+ readonly type: "error";
1955
+ } | {
1956
+ readonly inputs: readonly [];
1957
+ readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
1958
+ readonly type: "error";
1959
+ } | {
1960
+ readonly inputs: readonly [];
1961
+ readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
1962
+ readonly type: "error";
1963
+ } | {
1964
+ readonly inputs: readonly [];
1965
+ readonly name: "ModuleRegistry__ModuleTypeEmptyString";
1966
+ readonly type: "error";
1967
+ } | {
1968
+ readonly inputs: readonly [];
1969
+ readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
1970
+ readonly type: "error";
1971
+ } | {
1972
+ readonly inputs: readonly [];
1973
+ readonly name: "ModuleRegistry__NameAlreadyRegistered";
1974
+ readonly type: "error";
1975
+ } | {
1976
+ readonly inputs: readonly [];
1977
+ readonly name: "ModuleRegistry__NameDoesNotMatch";
1978
+ readonly type: "error";
1979
+ } | {
1980
+ readonly inputs: readonly [];
1981
+ readonly name: "ModuleRegistry__NameEmptyString";
1982
+ readonly type: "error";
1983
+ } | {
1984
+ readonly inputs: readonly [];
1985
+ readonly name: "Module_Unauthorized";
1986
+ readonly type: "error";
1987
+ } | {
1988
+ readonly inputs: readonly [{
1989
+ readonly internalType: "address";
1990
+ readonly name: "commercializer";
1991
+ readonly type: "address";
1992
+ }];
1993
+ readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
1994
+ readonly type: "error";
1995
+ } | {
1996
+ readonly inputs: readonly [];
1997
+ readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
1998
+ readonly type: "error";
1999
+ } | {
2000
+ readonly inputs: readonly [];
2001
+ readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
2002
+ readonly type: "error";
2003
+ } | {
2004
+ readonly inputs: readonly [];
2005
+ readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
2006
+ readonly type: "error";
2007
+ } | {
2008
+ readonly inputs: readonly [];
2009
+ readonly name: "RoyaltyModule__IpIsTagged";
2010
+ readonly type: "error";
2011
+ } | {
2012
+ readonly inputs: readonly [];
2013
+ readonly name: "RoyaltyModule__NoParentsOnLinking";
2014
+ readonly type: "error";
2015
+ } | {
2016
+ readonly inputs: readonly [];
2017
+ readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
2018
+ readonly type: "error";
2019
+ } | {
2020
+ readonly inputs: readonly [];
2021
+ readonly name: "RoyaltyModule__NotAllowedCaller";
2022
+ readonly type: "error";
2023
+ } | {
2024
+ readonly inputs: readonly [];
2025
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
2026
+ readonly type: "error";
2027
+ } | {
2028
+ readonly inputs: readonly [];
2029
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
2030
+ readonly type: "error";
2031
+ } | {
2032
+ readonly inputs: readonly [];
2033
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
2034
+ readonly type: "error";
2035
+ } | {
2036
+ readonly inputs: readonly [];
2037
+ readonly name: "RoyaltyModule__ZeroLicensingModule";
2038
+ readonly type: "error";
2039
+ } | {
2040
+ readonly inputs: readonly [];
2041
+ readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
2042
+ readonly type: "error";
2043
+ } | {
2044
+ readonly inputs: readonly [];
2045
+ readonly name: "RoyaltyModule__ZeroRoyaltyToken";
2046
+ readonly type: "error";
2047
+ } | {
2048
+ readonly inputs: readonly [];
2049
+ readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
2050
+ readonly type: "error";
2051
+ } | {
2052
+ readonly inputs: readonly [];
2053
+ readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
2054
+ readonly type: "error";
2055
+ } | {
2056
+ readonly inputs: readonly [];
2057
+ readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
2058
+ readonly type: "error";
2059
+ } | {
2060
+ readonly inputs: readonly [];
2061
+ readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
2062
+ readonly type: "error";
2063
+ } | {
2064
+ readonly inputs: readonly [];
2065
+ readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
2066
+ readonly type: "error";
2067
+ } | {
2068
+ readonly inputs: readonly [];
2069
+ readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
2070
+ readonly type: "error";
2071
+ } | {
2072
+ readonly inputs: readonly [];
2073
+ readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
2074
+ readonly type: "error";
2075
+ } | {
2076
+ readonly inputs: readonly [];
2077
+ readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
2078
+ readonly type: "error";
2079
+ } | {
2080
+ readonly inputs: readonly [];
2081
+ readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
2082
+ readonly type: "error";
2083
+ } | {
2084
+ readonly inputs: readonly [];
2085
+ readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
2086
+ readonly type: "error";
2087
+ } | {
2088
+ readonly inputs: readonly [];
2089
+ readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
2090
+ readonly type: "error";
2091
+ } | {
2092
+ readonly inputs: readonly [];
2093
+ readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
2094
+ readonly type: "error";
2095
+ } | {
2096
+ readonly inputs: readonly [];
2097
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
2098
+ readonly type: "error";
2099
+ } | {
2100
+ readonly inputs: readonly [];
2101
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
2102
+ readonly type: "error";
2103
+ } | {
2104
+ readonly inputs: readonly [];
2105
+ readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
2106
+ readonly type: "error";
2107
+ } | {
2108
+ readonly inputs: readonly [{
2109
+ readonly internalType: "address";
2110
+ readonly name: "to";
2111
+ readonly type: "address";
2112
+ }, {
2113
+ readonly internalType: "uint256";
2114
+ readonly name: "value";
2115
+ readonly type: "uint256";
2116
+ }, {
2117
+ readonly internalType: "bytes";
2118
+ readonly name: "data";
2119
+ readonly type: "bytes";
2120
+ }];
2121
+ readonly name: "execute";
2122
+ readonly outputs: readonly [{
2123
+ readonly internalType: "bytes";
2124
+ readonly name: "result";
2125
+ readonly type: "bytes";
2126
+ }];
2127
+ readonly stateMutability: "payable";
2128
+ readonly type: "function";
2129
+ } | {
2130
+ readonly inputs: readonly [{
2131
+ readonly internalType: "address";
2132
+ readonly name: "to";
2133
+ readonly type: "address";
2134
+ }, {
2135
+ readonly internalType: "uint256";
2136
+ readonly name: "value";
2137
+ readonly type: "uint256";
2138
+ }, {
2139
+ readonly internalType: "bytes";
2140
+ readonly name: "data";
2141
+ readonly type: "bytes";
2142
+ }, {
2143
+ readonly internalType: "address";
2144
+ readonly name: "signer";
2145
+ readonly type: "address";
2146
+ }, {
2147
+ readonly internalType: "uint256";
2148
+ readonly name: "deadline";
2149
+ readonly type: "uint256";
2150
+ }, {
2151
+ readonly internalType: "bytes";
2152
+ readonly name: "signature";
2153
+ readonly type: "bytes";
2154
+ }];
2155
+ readonly name: "executeWithSig";
2156
+ readonly outputs: readonly [{
2157
+ readonly internalType: "bytes";
2158
+ readonly name: "result";
2159
+ readonly type: "bytes";
2160
+ }];
2161
+ readonly stateMutability: "payable";
2162
+ readonly type: "function";
2163
+ })[];
2164
+ licenseTemplateConfig: {
2165
+ abi: ({
2166
+ readonly inputs: readonly [{
2167
+ readonly internalType: "address";
2168
+ readonly name: "caller";
2169
+ readonly type: "address";
2170
+ }];
2171
+ readonly name: "AccessControlled__CallerIsNotIpAccount";
2172
+ readonly type: "error";
2173
+ } | {
2174
+ readonly inputs: readonly [{
2175
+ readonly internalType: "address";
2176
+ readonly name: "ipAccount";
2177
+ readonly type: "address";
2178
+ }];
2179
+ readonly name: "AccessControlled__NotIpAccount";
2180
+ readonly type: "error";
2181
+ } | {
2182
+ readonly inputs: readonly [];
2183
+ readonly name: "AccessControlled__ZeroAddress";
2184
+ readonly type: "error";
2185
+ } | {
2186
+ readonly inputs: readonly [{
2187
+ readonly internalType: "address";
2188
+ readonly name: "signer";
2189
+ readonly type: "address";
2190
+ }, {
2191
+ readonly internalType: "address";
2192
+ readonly name: "to";
2193
+ readonly type: "address";
2194
+ }];
2195
+ readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
2196
+ readonly type: "error";
2197
+ } | {
2198
+ readonly inputs: readonly [];
2199
+ readonly name: "AccessController__CallerIsNotIPAccount";
2200
+ readonly type: "error";
2201
+ } | {
2202
+ readonly inputs: readonly [{
2203
+ readonly internalType: "address";
2204
+ readonly name: "ipAccount";
2205
+ readonly type: "address";
2206
+ }];
2207
+ readonly name: "AccessController__IPAccountIsNotValid";
2208
+ readonly type: "error";
2209
+ } | {
2210
+ readonly inputs: readonly [];
2211
+ readonly name: "AccessController__IPAccountIsZeroAddress";
2212
+ readonly type: "error";
2213
+ } | {
2214
+ readonly inputs: readonly [{
2215
+ readonly internalType: "address";
2216
+ readonly name: "ipAccount";
2217
+ readonly type: "address";
2218
+ }, {
2219
+ readonly internalType: "address";
2220
+ readonly name: "signer";
2221
+ readonly type: "address";
2222
+ }, {
2223
+ readonly internalType: "address";
2224
+ readonly name: "to";
2225
+ readonly type: "address";
2226
+ }, {
2227
+ readonly internalType: "bytes4";
2228
+ readonly name: "func";
2229
+ readonly type: "bytes4";
2230
+ }];
2231
+ readonly name: "AccessController__PermissionDenied";
2232
+ readonly type: "error";
2233
+ } | {
2234
+ readonly inputs: readonly [];
2235
+ readonly name: "AccessController__PermissionIsNotValid";
2236
+ readonly type: "error";
2237
+ } | {
2238
+ readonly inputs: readonly [];
2239
+ readonly name: "AccessController__SignerIsZeroAddress";
2240
+ readonly type: "error";
2241
+ } | {
2242
+ readonly inputs: readonly [];
2243
+ readonly name: "ArbitrationPolicySP__NotDisputeModule";
2244
+ readonly type: "error";
2245
+ } | {
2246
+ readonly inputs: readonly [];
2247
+ readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
2248
+ readonly type: "error";
2249
+ } | {
2250
+ readonly inputs: readonly [];
2251
+ readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
2252
+ readonly type: "error";
2253
+ } | {
2254
+ readonly inputs: readonly [];
2255
+ readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
2256
+ readonly type: "error";
2257
+ } | {
2258
+ readonly inputs: readonly [];
2259
+ readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
2260
+ readonly type: "error";
2261
+ } | {
2262
+ readonly inputs: readonly [];
2263
+ readonly name: "DisputeModule__NotAbleToResolve";
2264
+ readonly type: "error";
2265
+ } | {
2266
+ readonly inputs: readonly [];
2267
+ readonly name: "DisputeModule__NotDisputeInitiator";
2268
+ readonly type: "error";
2269
+ } | {
2270
+ readonly inputs: readonly [];
2271
+ readonly name: "DisputeModule__NotInDisputeState";
2272
+ readonly type: "error";
2273
+ } | {
2274
+ readonly inputs: readonly [];
2275
+ readonly name: "DisputeModule__NotRegisteredIpId";
2276
+ readonly type: "error";
2277
+ } | {
2278
+ readonly inputs: readonly [];
2279
+ readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
2280
+ readonly type: "error";
2281
+ } | {
2282
+ readonly inputs: readonly [];
2283
+ readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
2284
+ readonly type: "error";
2285
+ } | {
2286
+ readonly inputs: readonly [];
2287
+ readonly name: "DisputeModule__NotWhitelistedDisputeTag";
2288
+ readonly type: "error";
2289
+ } | {
2290
+ readonly inputs: readonly [];
2291
+ readonly name: "DisputeModule__ZeroArbitrationPolicy";
2292
+ readonly type: "error";
2293
+ } | {
2294
+ readonly inputs: readonly [];
2295
+ readonly name: "DisputeModule__ZeroArbitrationRelayer";
2296
+ readonly type: "error";
2297
+ } | {
2298
+ readonly inputs: readonly [];
2299
+ readonly name: "DisputeModule__ZeroDisputeTag";
2300
+ readonly type: "error";
2301
+ } | {
2302
+ readonly inputs: readonly [];
2303
+ readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
2304
+ readonly type: "error";
2305
+ } | {
2306
+ readonly inputs: readonly [];
2307
+ readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
2308
+ readonly type: "error";
2309
+ } | {
2310
+ readonly inputs: readonly [];
2311
+ readonly name: "IPAccount__ExpiredSignature";
2312
+ readonly type: "error";
2313
+ } | {
2314
+ readonly inputs: readonly [];
2315
+ readonly name: "IPAccount__InvalidAccessController";
2316
+ readonly type: "error";
2317
+ } | {
2318
+ readonly inputs: readonly [];
2319
+ readonly name: "IPAccount__InvalidCalldata";
2320
+ readonly type: "error";
2321
+ } | {
2322
+ readonly inputs: readonly [];
2323
+ readonly name: "IPAccount__InvalidSignature";
2324
+ readonly type: "error";
2325
+ } | {
2326
+ readonly inputs: readonly [];
2327
+ readonly name: "IPAccount__InvalidSigner";
2328
+ readonly type: "error";
2329
+ } | {
2330
+ readonly inputs: readonly [];
2331
+ readonly name: "IPAssetRegistry__AlreadyRegistered";
2332
+ readonly type: "error";
2333
+ } | {
2334
+ readonly inputs: readonly [];
2335
+ readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
2336
+ readonly type: "error";
2337
+ } | {
2338
+ readonly inputs: readonly [];
2339
+ readonly name: "IPAssetRegistry__InvalidAccount";
2340
+ readonly type: "error";
2341
+ } | {
2342
+ readonly inputs: readonly [];
2343
+ readonly name: "IPAssetRegistry__InvalidMetadataProvider";
2344
+ readonly type: "error";
2345
+ } | {
2346
+ readonly inputs: readonly [{
2347
+ readonly internalType: "address";
2348
+ readonly name: "contractAddress";
2349
+ readonly type: "address";
2350
+ }, {
2351
+ readonly internalType: "uint256";
2352
+ readonly name: "tokenId";
2353
+ readonly type: "uint256";
2354
+ }];
2355
+ readonly name: "IPAssetRegistry__InvalidToken";
2356
+ readonly type: "error";
2357
+ } | {
2358
+ readonly inputs: readonly [];
2359
+ readonly name: "IPAssetRegistry__NotYetRegistered";
2360
+ readonly type: "error";
2361
+ } | {
2362
+ readonly inputs: readonly [];
2363
+ readonly name: "IPAssetRegistry__RegistrantUnauthorized";
2364
+ readonly type: "error";
2365
+ } | {
2366
+ readonly inputs: readonly [];
2367
+ readonly name: "IPAssetRegistry__ResolverInvalid";
2368
+ readonly type: "error";
2369
+ } | {
2370
+ readonly inputs: readonly [];
2371
+ readonly name: "IPAssetRegistry__Unauthorized";
2372
+ readonly type: "error";
2373
+ } | {
2374
+ readonly inputs: readonly [{
2375
+ readonly internalType: "address";
2376
+ readonly name: "contractAddress";
2377
+ readonly type: "address";
2378
+ }];
2379
+ readonly name: "IPAssetRegistry__UnsupportedIERC721";
2380
+ readonly type: "error";
2381
+ } | {
2382
+ readonly inputs: readonly [{
2383
+ readonly internalType: "address";
2384
+ readonly name: "contractAddress";
2385
+ readonly type: "address";
2386
+ }];
2387
+ readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
2388
+ readonly type: "error";
2389
+ } | {
2390
+ readonly inputs: readonly [];
2391
+ readonly name: "IPResolver_InvalidIP";
2392
+ readonly type: "error";
2393
+ } | {
2394
+ readonly inputs: readonly [];
2395
+ readonly name: "IPResolver_Unauthorized";
2396
+ readonly type: "error";
2397
+ } | {
2398
+ readonly inputs: readonly [];
2399
+ readonly name: "IpRoyaltyVault__AlreadyClaimed";
2400
+ readonly type: "error";
2401
+ } | {
2402
+ readonly inputs: readonly [];
2403
+ readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
2404
+ readonly type: "error";
2405
+ } | {
2406
+ readonly inputs: readonly [];
2407
+ readonly name: "IpRoyaltyVault__IpTagged";
2408
+ readonly type: "error";
2409
+ } | {
2410
+ readonly inputs: readonly [];
2411
+ readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
2412
+ readonly type: "error";
2413
+ } | {
2414
+ readonly inputs: readonly [];
2415
+ readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
2416
+ readonly type: "error";
2417
+ } | {
2418
+ readonly inputs: readonly [];
2419
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
2420
+ readonly type: "error";
2421
+ } | {
2422
+ readonly inputs: readonly [];
2423
+ readonly name: "IpRoyaltyVault__ZeroIpId";
2424
+ readonly type: "error";
2425
+ } | {
2426
+ readonly inputs: readonly [];
2427
+ readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
2428
+ readonly type: "error";
2429
+ } | {
2430
+ readonly inputs: readonly [];
2431
+ readonly name: "LicenseRegistry__CallerNotLicensingModule";
2432
+ readonly type: "error";
2433
+ } | {
2434
+ readonly inputs: readonly [{
2435
+ readonly internalType: "address";
2436
+ readonly name: "childIpId";
2437
+ readonly type: "address";
2438
+ }];
2439
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
2440
+ readonly type: "error";
2441
+ } | {
2442
+ readonly inputs: readonly [{
2443
+ readonly internalType: "address";
2444
+ readonly name: "childIpId";
2445
+ readonly type: "address";
2446
+ }];
2447
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
2448
+ readonly type: "error";
2449
+ } | {
2450
+ readonly inputs: readonly [{
2451
+ readonly internalType: "address";
2452
+ readonly name: "ipId";
2453
+ readonly type: "address";
2454
+ }];
2455
+ readonly name: "LicenseRegistry__DerivativeIsParent";
2456
+ readonly type: "error";
2457
+ } | {
2458
+ readonly inputs: readonly [{
2459
+ readonly internalType: "address";
2460
+ readonly name: "ipId";
2461
+ readonly type: "address";
2462
+ }, {
2463
+ readonly internalType: "uint256";
2464
+ readonly name: "index";
2465
+ readonly type: "uint256";
2466
+ }, {
2467
+ readonly internalType: "uint256";
2468
+ readonly name: "length";
2469
+ readonly type: "uint256";
2470
+ }];
2471
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
2472
+ readonly type: "error";
2473
+ } | {
2474
+ readonly inputs: readonly [{
2475
+ readonly internalType: "address";
2476
+ readonly name: "ipId";
2477
+ readonly type: "address";
2478
+ }];
2479
+ readonly name: "LicenseRegistry__IpExpired";
2480
+ readonly type: "error";
2481
+ } | {
2482
+ readonly inputs: readonly [{
2483
+ readonly internalType: "address";
2484
+ readonly name: "licenseTemplate";
2485
+ readonly type: "address";
2486
+ }, {
2487
+ readonly internalType: "uint256";
2488
+ readonly name: "licenseTermsId";
2489
+ readonly type: "uint256";
2490
+ }];
2491
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
2492
+ readonly type: "error";
2493
+ } | {
2494
+ readonly inputs: readonly [];
2495
+ readonly name: "LicenseRegistry__NoParentIp";
2496
+ readonly type: "error";
2497
+ } | {
2498
+ readonly inputs: readonly [{
2499
+ readonly internalType: "address";
2500
+ readonly name: "licenseTemplate";
2501
+ readonly type: "address";
2502
+ }];
2503
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
2504
+ readonly type: "error";
2505
+ } | {
2506
+ readonly inputs: readonly [];
2507
+ readonly name: "LicenseRegistry__NotTransferable";
2508
+ readonly type: "error";
2509
+ } | {
2510
+ readonly inputs: readonly [{
2511
+ readonly internalType: "address";
2512
+ readonly name: "ipId";
2513
+ readonly type: "address";
2514
+ }];
2515
+ readonly name: "LicenseRegistry__ParentIpExpired";
2516
+ readonly type: "error";
2517
+ } | {
2518
+ readonly inputs: readonly [{
2519
+ readonly internalType: "address";
2520
+ readonly name: "ipId";
2521
+ readonly type: "address";
2522
+ }, {
2523
+ readonly internalType: "uint256";
2524
+ readonly name: "licenseTermsId";
2525
+ readonly type: "uint256";
2526
+ }];
2527
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
2528
+ readonly type: "error";
2529
+ } | {
2530
+ readonly inputs: readonly [{
2531
+ readonly internalType: "address";
2532
+ readonly name: "ipId";
2533
+ readonly type: "address";
2534
+ }];
2535
+ readonly name: "LicenseRegistry__ParentIpTagged";
2536
+ readonly type: "error";
2537
+ } | {
2538
+ readonly inputs: readonly [{
2539
+ readonly internalType: "address";
2540
+ readonly name: "ipId";
2541
+ readonly type: "address";
2542
+ }, {
2543
+ readonly internalType: "address";
2544
+ readonly name: "licenseTemplate";
2545
+ readonly type: "address";
2546
+ }];
2547
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
2548
+ readonly type: "error";
2549
+ } | {
2550
+ readonly inputs: readonly [{
2551
+ readonly internalType: "address";
2552
+ readonly name: "licenseTemplate";
2553
+ readonly type: "address";
2554
+ }];
2555
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
2556
+ readonly type: "error";
2557
+ } | {
2558
+ readonly inputs: readonly [];
2559
+ readonly name: "LicenseRegistry__ZeroDisputeModule";
2560
+ readonly type: "error";
2561
+ } | {
2562
+ readonly inputs: readonly [];
2563
+ readonly name: "LicenseRegistry__ZeroLicensingModule";
2564
+ readonly type: "error";
2565
+ } | {
2566
+ readonly inputs: readonly [{
2567
+ readonly internalType: "address";
2568
+ readonly name: "licenseTemplate";
2569
+ readonly type: "address";
2570
+ }, {
2571
+ readonly internalType: "address";
2572
+ readonly name: "anotherLicenseTemplate";
2573
+ readonly type: "address";
2574
+ }];
2575
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
2576
+ readonly type: "error";
2577
+ } | {
2578
+ readonly inputs: readonly [];
2579
+ readonly name: "LicenseToken__CallerNotLicensingModule";
2580
+ readonly type: "error";
2581
+ } | {
2582
+ readonly inputs: readonly [{
2583
+ readonly internalType: "uint256";
2584
+ readonly name: "tokenId";
2585
+ readonly type: "uint256";
2586
+ }, {
2587
+ readonly internalType: "uint256";
2588
+ readonly name: "expiredAt";
2589
+ readonly type: "uint256";
2590
+ }, {
2591
+ readonly internalType: "uint256";
2592
+ readonly name: "currentTimestamp";
2593
+ readonly type: "uint256";
2594
+ }];
2595
+ readonly name: "LicenseToken__LicenseTokenExpired";
2596
+ readonly type: "error";
2597
+ } | {
2598
+ readonly inputs: readonly [{
2599
+ readonly internalType: "uint256";
2600
+ readonly name: "tokenId";
2601
+ readonly type: "uint256";
2602
+ }, {
2603
+ readonly internalType: "address";
2604
+ readonly name: "iPowner";
2605
+ readonly type: "address";
2606
+ }, {
2607
+ readonly internalType: "address";
2608
+ readonly name: "tokenOwner";
2609
+ readonly type: "address";
2610
+ }];
2611
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
2612
+ readonly type: "error";
2613
+ } | {
2614
+ readonly inputs: readonly [];
2615
+ readonly name: "LicenseToken__NotTransferable";
2616
+ readonly type: "error";
2617
+ } | {
2618
+ readonly inputs: readonly [{
2619
+ readonly internalType: "uint256";
2620
+ readonly name: "tokenId";
2621
+ readonly type: "uint256";
2622
+ }];
2623
+ readonly name: "LicenseToken__RevokedLicense";
2624
+ readonly type: "error";
2625
+ } | {
2626
+ readonly inputs: readonly [];
2627
+ readonly name: "LicenseToken__ZeroDisputeModule";
2628
+ readonly type: "error";
2629
+ } | {
2630
+ readonly inputs: readonly [];
2631
+ readonly name: "LicenseToken__ZeroLicensingModule";
2632
+ readonly type: "error";
2633
+ } | {
2634
+ readonly inputs: readonly [];
2635
+ readonly name: "LicensingModule__CallerNotLicenseRegistry";
2636
+ readonly type: "error";
2637
+ } | {
2638
+ readonly inputs: readonly [{
2639
+ readonly internalType: "address";
2640
+ readonly name: "caller";
2641
+ readonly type: "address";
2642
+ }, {
2643
+ readonly internalType: "address";
2644
+ readonly name: "licensorIpId";
2645
+ readonly type: "address";
2646
+ }, {
2647
+ readonly internalType: "address";
2648
+ readonly name: "licenseTemplate";
2649
+ readonly type: "address";
2650
+ }, {
2651
+ readonly internalType: "uint256";
2652
+ readonly name: "licenseTermsId";
2653
+ readonly type: "uint256";
2654
+ }];
2655
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
2656
+ readonly type: "error";
2657
+ } | {
2658
+ readonly inputs: readonly [];
2659
+ readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
2660
+ readonly type: "error";
2661
+ } | {
2662
+ readonly inputs: readonly [];
2663
+ readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
2664
+ readonly type: "error";
2665
+ } | {
2666
+ readonly inputs: readonly [{
2667
+ readonly internalType: "address";
2668
+ readonly name: "ipId";
2669
+ readonly type: "address";
2670
+ }];
2671
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
2672
+ readonly type: "error";
2673
+ } | {
2674
+ readonly inputs: readonly [];
2675
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
2676
+ readonly type: "error";
2677
+ } | {
2678
+ readonly inputs: readonly [];
2679
+ readonly name: "LicensingModule__DerivativeIsParent";
2680
+ readonly type: "error";
2681
+ } | {
2682
+ readonly inputs: readonly [];
2683
+ readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
2684
+ readonly type: "error";
2685
+ } | {
2686
+ readonly inputs: readonly [];
2687
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
2688
+ readonly type: "error";
2689
+ } | {
2690
+ readonly inputs: readonly [];
2691
+ readonly name: "LicensingModule__DerivativesCannotAddPolicy";
2692
+ readonly type: "error";
2693
+ } | {
2694
+ readonly inputs: readonly [];
2695
+ readonly name: "LicensingModule__DisputedIpId";
2696
+ readonly type: "error";
2697
+ } | {
2698
+ readonly inputs: readonly [];
2699
+ readonly name: "LicensingModule__EmptyLicenseUrl";
2700
+ readonly type: "error";
2701
+ } | {
2702
+ readonly inputs: readonly [];
2703
+ readonly name: "LicensingModule__EmptyParamName";
2704
+ readonly type: "error";
2705
+ } | {
2706
+ readonly inputs: readonly [];
2707
+ readonly name: "LicensingModule__FrameworkNotFound";
2708
+ readonly type: "error";
2709
+ } | {
2710
+ readonly inputs: readonly [];
2711
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
2712
+ readonly type: "error";
2713
+ } | {
2714
+ readonly inputs: readonly [{
2715
+ readonly internalType: "address";
2716
+ readonly name: "royaltyPolicy";
2717
+ readonly type: "address";
2718
+ }, {
2719
+ readonly internalType: "address";
2720
+ readonly name: "anotherRoyaltyPolicy";
2721
+ readonly type: "address";
2722
+ }];
2723
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
2724
+ readonly type: "error";
2725
+ } | {
2726
+ readonly inputs: readonly [];
2727
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
2728
+ readonly type: "error";
2729
+ } | {
2730
+ readonly inputs: readonly [];
2731
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
2732
+ readonly type: "error";
2733
+ } | {
2734
+ readonly inputs: readonly [];
2735
+ readonly name: "LicensingModule__InvalidLicensor";
2736
+ readonly type: "error";
2737
+ } | {
2738
+ readonly inputs: readonly [];
2739
+ readonly name: "LicensingModule__InvalidPolicyFramework";
2740
+ readonly type: "error";
2741
+ } | {
2742
+ readonly inputs: readonly [];
2743
+ readonly name: "LicensingModule__IpAlreadyLinked";
2744
+ readonly type: "error";
2745
+ } | {
2746
+ readonly inputs: readonly [{
2747
+ readonly internalType: "address";
2748
+ readonly name: "childIpId";
2749
+ readonly type: "address";
2750
+ }];
2751
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
2752
+ readonly type: "error";
2753
+ } | {
2754
+ readonly inputs: readonly [{
2755
+ readonly internalType: "uint256";
2756
+ readonly name: "ipLength";
2757
+ readonly type: "uint256";
2758
+ }, {
2759
+ readonly internalType: "uint256";
2760
+ readonly name: "licenseTermsLength";
2761
+ readonly type: "uint256";
2762
+ }];
2763
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
2764
+ readonly type: "error";
2765
+ } | {
2766
+ readonly inputs: readonly [{
2767
+ readonly internalType: "address";
2768
+ readonly name: "licenseTemplate";
2769
+ readonly type: "address";
2770
+ }, {
2771
+ readonly internalType: "uint256";
2772
+ readonly name: "licenseTermsId";
2773
+ readonly type: "uint256";
2774
+ }];
2775
+ readonly name: "LicensingModule__LicenseTermsNotFound";
2776
+ readonly type: "error";
2777
+ } | {
2778
+ readonly inputs: readonly [{
2779
+ readonly internalType: "address";
2780
+ readonly name: "childIpId";
2781
+ readonly type: "address";
2782
+ }, {
2783
+ readonly internalType: "uint256[]";
2784
+ readonly name: "licenseTokenIds";
2785
+ readonly type: "uint256[]";
2786
+ }];
2787
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
2788
+ readonly type: "error";
2789
+ } | {
2790
+ readonly inputs: readonly [];
2791
+ readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
2792
+ readonly type: "error";
2793
+ } | {
2794
+ readonly inputs: readonly [];
2795
+ readonly name: "LicensingModule__LicensorNotRegistered";
2796
+ readonly type: "error";
2797
+ } | {
2798
+ readonly inputs: readonly [];
2799
+ readonly name: "LicensingModule__LinkParentParamFailed";
2800
+ readonly type: "error";
2801
+ } | {
2802
+ readonly inputs: readonly [];
2803
+ readonly name: "LicensingModule__LinkingRevokedLicense";
2804
+ readonly type: "error";
2805
+ } | {
2806
+ readonly inputs: readonly [];
2807
+ readonly name: "LicensingModule__MintAmountZero";
2808
+ readonly type: "error";
2809
+ } | {
2810
+ readonly inputs: readonly [];
2811
+ readonly name: "LicensingModule__MintLicenseParamFailed";
2812
+ readonly type: "error";
2813
+ } | {
2814
+ readonly inputs: readonly [];
2815
+ readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
2816
+ readonly type: "error";
2817
+ } | {
2818
+ readonly inputs: readonly [];
2819
+ readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
2820
+ readonly type: "error";
2821
+ } | {
2822
+ readonly inputs: readonly [];
2823
+ readonly name: "LicensingModule__NoLicenseToken";
2824
+ readonly type: "error";
2825
+ } | {
2826
+ readonly inputs: readonly [];
2827
+ readonly name: "LicensingModule__NoParentIp";
2828
+ readonly type: "error";
2829
+ } | {
2830
+ readonly inputs: readonly [];
2831
+ readonly name: "LicensingModule__NotLicensee";
2832
+ readonly type: "error";
2833
+ } | {
2834
+ readonly inputs: readonly [];
2835
+ readonly name: "LicensingModule__ParamVerifierAlreadySet";
2836
+ readonly type: "error";
2837
+ } | {
2838
+ readonly inputs: readonly [];
2839
+ readonly name: "LicensingModule__ParamVerifierLengthMismatch";
2840
+ readonly type: "error";
2841
+ } | {
2842
+ readonly inputs: readonly [];
2843
+ readonly name: "LicensingModule__ParentIdEqualThanChild";
2844
+ readonly type: "error";
2845
+ } | {
2846
+ readonly inputs: readonly [{
2847
+ readonly internalType: "address";
2848
+ readonly name: "ipId";
2849
+ readonly type: "address";
2850
+ }];
2851
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
2852
+ readonly type: "error";
2853
+ } | {
2854
+ readonly inputs: readonly [];
2855
+ readonly name: "LicensingModule__PolicyAlreadySetForIpId";
2856
+ readonly type: "error";
2857
+ } | {
2858
+ readonly inputs: readonly [];
2859
+ readonly name: "LicensingModule__PolicyNotFound";
2860
+ readonly type: "error";
2861
+ } | {
2862
+ readonly inputs: readonly [{
2863
+ readonly internalType: "address";
2864
+ readonly name: "receiver";
2865
+ readonly type: "address";
2866
+ }];
2867
+ readonly name: "LicensingModule__ReceiverCheckFailed";
2868
+ readonly type: "error";
2869
+ } | {
2870
+ readonly inputs: readonly [];
2871
+ readonly name: "LicensingModule__ReceiverZeroAddress";
2872
+ readonly type: "error";
2873
+ } | {
2874
+ readonly inputs: readonly [];
2875
+ readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
2876
+ readonly type: "error";
2877
+ } | {
2878
+ readonly inputs: readonly [];
2879
+ readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
2880
+ readonly type: "error";
2881
+ } | {
2882
+ readonly inputs: readonly [];
2883
+ readonly name: "LicensingModule__TransferParamFailed";
2884
+ readonly type: "error";
2885
+ } | {
2886
+ readonly inputs: readonly [];
2887
+ readonly name: "LicensingModule__UnauthorizedAccess";
2888
+ readonly type: "error";
2889
+ } | {
2890
+ readonly inputs: readonly [];
2891
+ readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
2892
+ readonly type: "error";
2893
+ } | {
2894
+ readonly inputs: readonly [];
2895
+ readonly name: "LicensorApprovalChecker__Unauthorized";
2896
+ readonly type: "error";
2897
+ } | {
2898
+ readonly inputs: readonly [];
2899
+ readonly name: "MetadataProvider__HashInvalid";
2900
+ readonly type: "error";
2901
+ } | {
2902
+ readonly inputs: readonly [];
2903
+ readonly name: "MetadataProvider__IPAssetOwnerInvalid";
2904
+ readonly type: "error";
2905
+ } | {
2906
+ readonly inputs: readonly [];
2907
+ readonly name: "MetadataProvider__MetadataNotCompatible";
2908
+ readonly type: "error";
2909
+ } | {
2910
+ readonly inputs: readonly [];
2911
+ readonly name: "MetadataProvider__NameInvalid";
2912
+ readonly type: "error";
2913
+ } | {
2914
+ readonly inputs: readonly [];
2915
+ readonly name: "MetadataProvider__RegistrantInvalid";
2916
+ readonly type: "error";
2917
+ } | {
2918
+ readonly inputs: readonly [];
2919
+ readonly name: "MetadataProvider__RegistrationDateInvalid";
2920
+ readonly type: "error";
2921
+ } | {
2922
+ readonly inputs: readonly [];
2923
+ readonly name: "MetadataProvider__URIInvalid";
2924
+ readonly type: "error";
2925
+ } | {
2926
+ readonly inputs: readonly [];
2927
+ readonly name: "MetadataProvider__Unauthorized";
2928
+ readonly type: "error";
2929
+ } | {
2930
+ readonly inputs: readonly [];
2931
+ readonly name: "MetadataProvider__UpgradeProviderInvalid";
2932
+ readonly type: "error";
2933
+ } | {
2934
+ readonly inputs: readonly [];
2935
+ readonly name: "MetadataProvider__UpgradeUnavailable";
2936
+ readonly type: "error";
2937
+ } | {
2938
+ readonly inputs: readonly [];
2939
+ readonly name: "ModuleRegistry__InterfaceIdZero";
2940
+ readonly type: "error";
2941
+ } | {
2942
+ readonly inputs: readonly [];
2943
+ readonly name: "ModuleRegistry__ModuleAddressNotContract";
2944
+ readonly type: "error";
2945
+ } | {
2946
+ readonly inputs: readonly [];
2947
+ readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
2948
+ readonly type: "error";
2949
+ } | {
2950
+ readonly inputs: readonly [];
2951
+ readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
2952
+ readonly type: "error";
2953
+ } | {
2954
+ readonly inputs: readonly [];
2955
+ readonly name: "ModuleRegistry__ModuleNotRegistered";
2956
+ readonly type: "error";
2957
+ } | {
2958
+ readonly inputs: readonly [];
2959
+ readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
2960
+ readonly type: "error";
2961
+ } | {
2962
+ readonly inputs: readonly [];
2963
+ readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
2964
+ readonly type: "error";
2965
+ } | {
2966
+ readonly inputs: readonly [];
2967
+ readonly name: "ModuleRegistry__ModuleTypeEmptyString";
2968
+ readonly type: "error";
2969
+ } | {
2970
+ readonly inputs: readonly [];
2971
+ readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
2972
+ readonly type: "error";
2973
+ } | {
2974
+ readonly inputs: readonly [];
2975
+ readonly name: "ModuleRegistry__NameAlreadyRegistered";
2976
+ readonly type: "error";
2977
+ } | {
2978
+ readonly inputs: readonly [];
2979
+ readonly name: "ModuleRegistry__NameDoesNotMatch";
2980
+ readonly type: "error";
2981
+ } | {
2982
+ readonly inputs: readonly [];
2983
+ readonly name: "ModuleRegistry__NameEmptyString";
2984
+ readonly type: "error";
2985
+ } | {
2986
+ readonly inputs: readonly [];
2987
+ readonly name: "Module_Unauthorized";
2988
+ readonly type: "error";
2989
+ } | {
2990
+ readonly inputs: readonly [{
2991
+ readonly internalType: "address";
2992
+ readonly name: "commercializer";
2993
+ readonly type: "address";
2994
+ }];
2995
+ readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
2996
+ readonly type: "error";
2997
+ } | {
2998
+ readonly inputs: readonly [];
2999
+ readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
3000
+ readonly type: "error";
3001
+ } | {
3002
+ readonly inputs: readonly [];
3003
+ readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
3004
+ readonly type: "error";
3005
+ } | {
3006
+ readonly inputs: readonly [];
3007
+ readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
3008
+ readonly type: "error";
3009
+ } | {
3010
+ readonly inputs: readonly [];
3011
+ readonly name: "RoyaltyModule__IpIsTagged";
3012
+ readonly type: "error";
3013
+ } | {
3014
+ readonly inputs: readonly [];
3015
+ readonly name: "RoyaltyModule__NoParentsOnLinking";
3016
+ readonly type: "error";
3017
+ } | {
3018
+ readonly inputs: readonly [];
3019
+ readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
3020
+ readonly type: "error";
3021
+ } | {
3022
+ readonly inputs: readonly [];
3023
+ readonly name: "RoyaltyModule__NotAllowedCaller";
3024
+ readonly type: "error";
3025
+ } | {
3026
+ readonly inputs: readonly [];
3027
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
3028
+ readonly type: "error";
3029
+ } | {
3030
+ readonly inputs: readonly [];
3031
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
3032
+ readonly type: "error";
3033
+ } | {
3034
+ readonly inputs: readonly [];
3035
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
3036
+ readonly type: "error";
3037
+ } | {
3038
+ readonly inputs: readonly [];
3039
+ readonly name: "RoyaltyModule__ZeroLicensingModule";
3040
+ readonly type: "error";
3041
+ } | {
3042
+ readonly inputs: readonly [];
3043
+ readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
3044
+ readonly type: "error";
3045
+ } | {
3046
+ readonly inputs: readonly [];
3047
+ readonly name: "RoyaltyModule__ZeroRoyaltyToken";
3048
+ readonly type: "error";
3049
+ } | {
3050
+ readonly inputs: readonly [];
3051
+ readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
3052
+ readonly type: "error";
3053
+ } | {
3054
+ readonly inputs: readonly [];
3055
+ readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
3056
+ readonly type: "error";
3057
+ } | {
3058
+ readonly inputs: readonly [];
3059
+ readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
3060
+ readonly type: "error";
3061
+ } | {
3062
+ readonly inputs: readonly [];
3063
+ readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
3064
+ readonly type: "error";
3065
+ } | {
3066
+ readonly inputs: readonly [];
3067
+ readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
3068
+ readonly type: "error";
3069
+ } | {
3070
+ readonly inputs: readonly [];
3071
+ readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
3072
+ readonly type: "error";
3073
+ } | {
3074
+ readonly inputs: readonly [];
3075
+ readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
3076
+ readonly type: "error";
3077
+ } | {
3078
+ readonly inputs: readonly [];
3079
+ readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
3080
+ readonly type: "error";
3081
+ } | {
3082
+ readonly inputs: readonly [];
3083
+ readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
3084
+ readonly type: "error";
3085
+ } | {
3086
+ readonly inputs: readonly [];
3087
+ readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
3088
+ readonly type: "error";
3089
+ } | {
3090
+ readonly inputs: readonly [];
3091
+ readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
3092
+ readonly type: "error";
3093
+ } | {
3094
+ readonly inputs: readonly [];
3095
+ readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
3096
+ readonly type: "error";
3097
+ } | {
3098
+ readonly inputs: readonly [];
3099
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
3100
+ readonly type: "error";
3101
+ } | {
3102
+ readonly inputs: readonly [];
3103
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
3104
+ readonly type: "error";
3105
+ } | {
3106
+ readonly inputs: readonly [];
3107
+ readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
3108
+ readonly type: "error";
3109
+ } | {
3110
+ readonly anonymous: false;
3111
+ readonly inputs: readonly [{
3112
+ readonly indexed: true;
3113
+ readonly internalType: "uint256";
3114
+ readonly name: "licenseTermsId";
3115
+ readonly type: "uint256";
3116
+ }, {
3117
+ readonly indexed: true;
3118
+ readonly internalType: "address";
3119
+ readonly name: "licenseTemplate";
3120
+ readonly type: "address";
3121
+ }, {
3122
+ readonly indexed: false;
3123
+ readonly internalType: "bytes";
3124
+ readonly name: "licenseTerms";
3125
+ readonly type: "bytes";
3126
+ }];
3127
+ readonly name: "LicenseTermsRegistered";
3128
+ readonly type: "event";
3129
+ } | {
3130
+ readonly inputs: readonly [{
3131
+ readonly components: readonly [{
3132
+ readonly internalType: "bool";
3133
+ readonly name: "transferable";
3134
+ readonly type: "bool";
3135
+ }, {
3136
+ readonly internalType: "address";
3137
+ readonly name: "royaltyPolicy";
3138
+ readonly type: "address";
3139
+ }, {
3140
+ readonly internalType: "uint256";
3141
+ readonly name: "mintingFee";
3142
+ readonly type: "uint256";
3143
+ }, {
3144
+ readonly internalType: "uint256";
3145
+ readonly name: "expiration";
3146
+ readonly type: "uint256";
3147
+ }, {
3148
+ readonly internalType: "bool";
3149
+ readonly name: "commercialUse";
3150
+ readonly type: "bool";
3151
+ }, {
3152
+ readonly internalType: "bool";
3153
+ readonly name: "commercialAttribution";
3154
+ readonly type: "bool";
3155
+ }, {
3156
+ readonly internalType: "address";
3157
+ readonly name: "commercializerChecker";
3158
+ readonly type: "address";
3159
+ }, {
3160
+ readonly internalType: "bytes";
3161
+ readonly name: "commercializerCheckerData";
3162
+ readonly type: "bytes";
3163
+ }, {
3164
+ readonly internalType: "uint32";
3165
+ readonly name: "commercialRevShare";
3166
+ readonly type: "uint32";
3167
+ }, {
3168
+ readonly internalType: "uint256";
3169
+ readonly name: "commercialRevCelling";
3170
+ readonly type: "uint256";
3171
+ }, {
3172
+ readonly internalType: "bool";
3173
+ readonly name: "derivativesAllowed";
3174
+ readonly type: "bool";
3175
+ }, {
3176
+ readonly internalType: "bool";
3177
+ readonly name: "derivativesAttribution";
3178
+ readonly type: "bool";
3179
+ }, {
3180
+ readonly internalType: "bool";
3181
+ readonly name: "derivativesApproval";
3182
+ readonly type: "bool";
3183
+ }, {
3184
+ readonly internalType: "bool";
3185
+ readonly name: "derivativesReciprocal";
3186
+ readonly type: "bool";
3187
+ }, {
3188
+ readonly internalType: "uint256";
3189
+ readonly name: "derivativeRevCelling";
3190
+ readonly type: "uint256";
3191
+ }, {
3192
+ readonly internalType: "address";
3193
+ readonly name: "currency";
3194
+ readonly type: "address";
3195
+ }];
3196
+ readonly internalType: "struct PILTerms";
3197
+ readonly name: "terms";
3198
+ readonly type: "tuple";
3199
+ }];
3200
+ readonly name: "getLicenseTermsId";
3201
+ readonly outputs: readonly [{
3202
+ readonly internalType: "uint256";
3203
+ readonly name: "selectedLicenseTermsId";
3204
+ readonly type: "uint256";
3205
+ }];
3206
+ readonly stateMutability: "view";
3207
+ readonly type: "function";
3208
+ } | {
3209
+ readonly inputs: readonly [{
3210
+ readonly components: readonly [{
3211
+ readonly internalType: "bool";
3212
+ readonly name: "transferable";
3213
+ readonly type: "bool";
3214
+ }, {
3215
+ readonly internalType: "address";
3216
+ readonly name: "royaltyPolicy";
3217
+ readonly type: "address";
3218
+ }, {
3219
+ readonly internalType: "uint256";
3220
+ readonly name: "mintingFee";
3221
+ readonly type: "uint256";
3222
+ }, {
3223
+ readonly internalType: "uint256";
3224
+ readonly name: "expiration";
3225
+ readonly type: "uint256";
3226
+ }, {
3227
+ readonly internalType: "bool";
3228
+ readonly name: "commercialUse";
3229
+ readonly type: "bool";
3230
+ }, {
3231
+ readonly internalType: "bool";
3232
+ readonly name: "commercialAttribution";
3233
+ readonly type: "bool";
3234
+ }, {
3235
+ readonly internalType: "address";
3236
+ readonly name: "commercializerChecker";
3237
+ readonly type: "address";
3238
+ }, {
3239
+ readonly internalType: "bytes";
3240
+ readonly name: "commercializerCheckerData";
3241
+ readonly type: "bytes";
3242
+ }, {
3243
+ readonly internalType: "uint32";
3244
+ readonly name: "commercialRevShare";
3245
+ readonly type: "uint32";
3246
+ }, {
3247
+ readonly internalType: "uint256";
3248
+ readonly name: "commercialRevCelling";
3249
+ readonly type: "uint256";
3250
+ }, {
3251
+ readonly internalType: "bool";
3252
+ readonly name: "derivativesAllowed";
3253
+ readonly type: "bool";
3254
+ }, {
3255
+ readonly internalType: "bool";
3256
+ readonly name: "derivativesAttribution";
3257
+ readonly type: "bool";
3258
+ }, {
3259
+ readonly internalType: "bool";
3260
+ readonly name: "derivativesApproval";
3261
+ readonly type: "bool";
3262
+ }, {
3263
+ readonly internalType: "bool";
3264
+ readonly name: "derivativesReciprocal";
3265
+ readonly type: "bool";
3266
+ }, {
3267
+ readonly internalType: "uint256";
3268
+ readonly name: "derivativeRevCelling";
3269
+ readonly type: "uint256";
3270
+ }, {
3271
+ readonly internalType: "address";
3272
+ readonly name: "currency";
3273
+ readonly type: "address";
3274
+ }];
3275
+ readonly internalType: "struct PILTerms";
3276
+ readonly name: "terms";
3277
+ readonly type: "tuple";
3278
+ }];
3279
+ readonly name: "registerLicenseTerms";
3280
+ readonly outputs: readonly [{
3281
+ readonly internalType: "uint256";
3282
+ readonly name: "selectedLicenseTermsId";
3283
+ readonly type: "uint256";
3284
+ }];
3285
+ readonly stateMutability: "nonpayable";
3286
+ readonly type: "function";
3287
+ })[];
3288
+ address: `0x${string}`;
3289
+ };
3290
+ royaltyPolicyLAPConfig: {
3291
+ abi: ({
3292
+ readonly inputs: readonly [{
3293
+ readonly internalType: "address";
3294
+ readonly name: "caller";
3295
+ readonly type: "address";
3296
+ }];
3297
+ readonly name: "AccessControlled__CallerIsNotIpAccount";
3298
+ readonly type: "error";
3299
+ } | {
3300
+ readonly inputs: readonly [{
3301
+ readonly internalType: "address";
3302
+ readonly name: "ipAccount";
3303
+ readonly type: "address";
3304
+ }];
3305
+ readonly name: "AccessControlled__NotIpAccount";
3306
+ readonly type: "error";
3307
+ } | {
3308
+ readonly inputs: readonly [];
3309
+ readonly name: "AccessControlled__ZeroAddress";
3310
+ readonly type: "error";
3311
+ } | {
3312
+ readonly inputs: readonly [{
3313
+ readonly internalType: "address";
3314
+ readonly name: "signer";
3315
+ readonly type: "address";
3316
+ }, {
3317
+ readonly internalType: "address";
3318
+ readonly name: "to";
3319
+ readonly type: "address";
3320
+ }];
3321
+ readonly name: "AccessController__BothCallerAndRecipientAreNotRegisteredModule";
3322
+ readonly type: "error";
3323
+ } | {
3324
+ readonly inputs: readonly [];
3325
+ readonly name: "AccessController__CallerIsNotIPAccount";
3326
+ readonly type: "error";
3327
+ } | {
3328
+ readonly inputs: readonly [{
3329
+ readonly internalType: "address";
3330
+ readonly name: "ipAccount";
3331
+ readonly type: "address";
3332
+ }];
3333
+ readonly name: "AccessController__IPAccountIsNotValid";
3334
+ readonly type: "error";
3335
+ } | {
3336
+ readonly inputs: readonly [];
3337
+ readonly name: "AccessController__IPAccountIsZeroAddress";
3338
+ readonly type: "error";
3339
+ } | {
3340
+ readonly inputs: readonly [{
3341
+ readonly internalType: "address";
3342
+ readonly name: "ipAccount";
3343
+ readonly type: "address";
3344
+ }, {
3345
+ readonly internalType: "address";
3346
+ readonly name: "signer";
3347
+ readonly type: "address";
3348
+ }, {
3349
+ readonly internalType: "address";
3350
+ readonly name: "to";
3351
+ readonly type: "address";
3352
+ }, {
3353
+ readonly internalType: "bytes4";
3354
+ readonly name: "func";
3355
+ readonly type: "bytes4";
3356
+ }];
3357
+ readonly name: "AccessController__PermissionDenied";
3358
+ readonly type: "error";
3359
+ } | {
3360
+ readonly inputs: readonly [];
3361
+ readonly name: "AccessController__PermissionIsNotValid";
3362
+ readonly type: "error";
3363
+ } | {
3364
+ readonly inputs: readonly [];
3365
+ readonly name: "AccessController__SignerIsZeroAddress";
3366
+ readonly type: "error";
3367
+ } | {
3368
+ readonly inputs: readonly [];
3369
+ readonly name: "ArbitrationPolicySP__NotDisputeModule";
3370
+ readonly type: "error";
3371
+ } | {
3372
+ readonly inputs: readonly [];
3373
+ readonly name: "ArbitrationPolicySP__ZeroDisputeModule";
3374
+ readonly type: "error";
3375
+ } | {
3376
+ readonly inputs: readonly [];
3377
+ readonly name: "ArbitrationPolicySP__ZeroPaymentToken";
3378
+ readonly type: "error";
3379
+ } | {
3380
+ readonly inputs: readonly [];
3381
+ readonly name: "BasePolicyFrameworkManager__CallerNotLicensingModule";
3382
+ readonly type: "error";
3383
+ } | {
3384
+ readonly inputs: readonly [];
3385
+ readonly name: "CoreMetadataModule__MetadataAlreadyFrozen";
3386
+ readonly type: "error";
3387
+ } | {
3388
+ readonly inputs: readonly [];
3389
+ readonly name: "DisputeModule__NotAbleToResolve";
3390
+ readonly type: "error";
3391
+ } | {
3392
+ readonly inputs: readonly [];
3393
+ readonly name: "DisputeModule__NotDisputeInitiator";
3394
+ readonly type: "error";
3395
+ } | {
3396
+ readonly inputs: readonly [];
3397
+ readonly name: "DisputeModule__NotInDisputeState";
3398
+ readonly type: "error";
3399
+ } | {
3400
+ readonly inputs: readonly [];
3401
+ readonly name: "DisputeModule__NotRegisteredIpId";
3402
+ readonly type: "error";
3403
+ } | {
3404
+ readonly inputs: readonly [];
3405
+ readonly name: "DisputeModule__NotWhitelistedArbitrationPolicy";
3406
+ readonly type: "error";
3407
+ } | {
3408
+ readonly inputs: readonly [];
3409
+ readonly name: "DisputeModule__NotWhitelistedArbitrationRelayer";
3410
+ readonly type: "error";
3411
+ } | {
3412
+ readonly inputs: readonly [];
3413
+ readonly name: "DisputeModule__NotWhitelistedDisputeTag";
3414
+ readonly type: "error";
3415
+ } | {
3416
+ readonly inputs: readonly [];
3417
+ readonly name: "DisputeModule__ZeroArbitrationPolicy";
3418
+ readonly type: "error";
3419
+ } | {
3420
+ readonly inputs: readonly [];
3421
+ readonly name: "DisputeModule__ZeroArbitrationRelayer";
3422
+ readonly type: "error";
3423
+ } | {
3424
+ readonly inputs: readonly [];
3425
+ readonly name: "DisputeModule__ZeroDisputeTag";
3426
+ readonly type: "error";
3427
+ } | {
3428
+ readonly inputs: readonly [];
3429
+ readonly name: "DisputeModule__ZeroLinkToDisputeEvidence";
3430
+ readonly type: "error";
3431
+ } | {
3432
+ readonly inputs: readonly [];
3433
+ readonly name: "IPAccountRegistry_InvalidIpAccountImpl";
3434
+ readonly type: "error";
3435
+ } | {
3436
+ readonly inputs: readonly [];
3437
+ readonly name: "IPAccount__ExpiredSignature";
3438
+ readonly type: "error";
3439
+ } | {
3440
+ readonly inputs: readonly [];
3441
+ readonly name: "IPAccount__InvalidAccessController";
3442
+ readonly type: "error";
3443
+ } | {
3444
+ readonly inputs: readonly [];
3445
+ readonly name: "IPAccount__InvalidCalldata";
3446
+ readonly type: "error";
3447
+ } | {
3448
+ readonly inputs: readonly [];
3449
+ readonly name: "IPAccount__InvalidSignature";
3450
+ readonly type: "error";
3451
+ } | {
3452
+ readonly inputs: readonly [];
3453
+ readonly name: "IPAccount__InvalidSigner";
3454
+ readonly type: "error";
3455
+ } | {
3456
+ readonly inputs: readonly [];
3457
+ readonly name: "IPAssetRegistry__AlreadyRegistered";
3458
+ readonly type: "error";
3459
+ } | {
3460
+ readonly inputs: readonly [];
3461
+ readonly name: "IPAssetRegistry__IPAccountAlreadyCreated";
3462
+ readonly type: "error";
3463
+ } | {
3464
+ readonly inputs: readonly [];
3465
+ readonly name: "IPAssetRegistry__InvalidAccount";
3466
+ readonly type: "error";
3467
+ } | {
3468
+ readonly inputs: readonly [];
3469
+ readonly name: "IPAssetRegistry__InvalidMetadataProvider";
3470
+ readonly type: "error";
3471
+ } | {
3472
+ readonly inputs: readonly [{
3473
+ readonly internalType: "address";
3474
+ readonly name: "contractAddress";
3475
+ readonly type: "address";
3476
+ }, {
3477
+ readonly internalType: "uint256";
3478
+ readonly name: "tokenId";
3479
+ readonly type: "uint256";
3480
+ }];
3481
+ readonly name: "IPAssetRegistry__InvalidToken";
3482
+ readonly type: "error";
3483
+ } | {
3484
+ readonly inputs: readonly [];
3485
+ readonly name: "IPAssetRegistry__NotYetRegistered";
3486
+ readonly type: "error";
3487
+ } | {
3488
+ readonly inputs: readonly [];
3489
+ readonly name: "IPAssetRegistry__RegistrantUnauthorized";
3490
+ readonly type: "error";
3491
+ } | {
3492
+ readonly inputs: readonly [];
3493
+ readonly name: "IPAssetRegistry__ResolverInvalid";
3494
+ readonly type: "error";
3495
+ } | {
3496
+ readonly inputs: readonly [];
3497
+ readonly name: "IPAssetRegistry__Unauthorized";
3498
+ readonly type: "error";
3499
+ } | {
3500
+ readonly inputs: readonly [{
3501
+ readonly internalType: "address";
3502
+ readonly name: "contractAddress";
3503
+ readonly type: "address";
3504
+ }];
3505
+ readonly name: "IPAssetRegistry__UnsupportedIERC721";
3506
+ readonly type: "error";
3507
+ } | {
3508
+ readonly inputs: readonly [{
3509
+ readonly internalType: "address";
3510
+ readonly name: "contractAddress";
3511
+ readonly type: "address";
3512
+ }];
3513
+ readonly name: "IPAssetRegistry__UnsupportedIERC721Metadata";
3514
+ readonly type: "error";
3515
+ } | {
3516
+ readonly inputs: readonly [];
3517
+ readonly name: "IPResolver_InvalidIP";
3518
+ readonly type: "error";
3519
+ } | {
3520
+ readonly inputs: readonly [];
3521
+ readonly name: "IPResolver_Unauthorized";
3522
+ readonly type: "error";
3523
+ } | {
3524
+ readonly inputs: readonly [];
3525
+ readonly name: "IpRoyaltyVault__AlreadyClaimed";
3526
+ readonly type: "error";
3527
+ } | {
3528
+ readonly inputs: readonly [];
3529
+ readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
3530
+ readonly type: "error";
3531
+ } | {
3532
+ readonly inputs: readonly [];
3533
+ readonly name: "IpRoyaltyVault__IpTagged";
3534
+ readonly type: "error";
3535
+ } | {
3536
+ readonly inputs: readonly [];
3537
+ readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
3538
+ readonly type: "error";
3539
+ } | {
3540
+ readonly inputs: readonly [];
3541
+ readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
3542
+ readonly type: "error";
3543
+ } | {
3544
+ readonly inputs: readonly [];
3545
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
3546
+ readonly type: "error";
3547
+ } | {
3548
+ readonly inputs: readonly [];
3549
+ readonly name: "IpRoyaltyVault__ZeroIpId";
3550
+ readonly type: "error";
3551
+ } | {
3552
+ readonly inputs: readonly [];
3553
+ readonly name: "IpRoyaltyVault__ZeroRoyaltyPolicyLAP";
3554
+ readonly type: "error";
3555
+ } | {
3556
+ readonly inputs: readonly [];
3557
+ readonly name: "LicenseRegistry__CallerNotLicensingModule";
3558
+ readonly type: "error";
3559
+ } | {
3560
+ readonly inputs: readonly [{
3561
+ readonly internalType: "address";
3562
+ readonly name: "childIpId";
3563
+ readonly type: "address";
3564
+ }];
3565
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
3566
+ readonly type: "error";
3567
+ } | {
3568
+ readonly inputs: readonly [{
3569
+ readonly internalType: "address";
3570
+ readonly name: "childIpId";
3571
+ readonly type: "address";
3572
+ }];
3573
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
3574
+ readonly type: "error";
3575
+ } | {
3576
+ readonly inputs: readonly [{
3577
+ readonly internalType: "address";
3578
+ readonly name: "ipId";
3579
+ readonly type: "address";
3580
+ }];
3581
+ readonly name: "LicenseRegistry__DerivativeIsParent";
3582
+ readonly type: "error";
3583
+ } | {
3584
+ readonly inputs: readonly [{
3585
+ readonly internalType: "address";
3586
+ readonly name: "ipId";
3587
+ readonly type: "address";
3588
+ }, {
3589
+ readonly internalType: "uint256";
3590
+ readonly name: "index";
3591
+ readonly type: "uint256";
3592
+ }, {
3593
+ readonly internalType: "uint256";
3594
+ readonly name: "length";
3595
+ readonly type: "uint256";
3596
+ }];
3597
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
3598
+ readonly type: "error";
3599
+ } | {
3600
+ readonly inputs: readonly [{
3601
+ readonly internalType: "address";
3602
+ readonly name: "ipId";
3603
+ readonly type: "address";
3604
+ }];
3605
+ readonly name: "LicenseRegistry__IpExpired";
3606
+ readonly type: "error";
3607
+ } | {
3608
+ readonly inputs: readonly [{
3609
+ readonly internalType: "address";
3610
+ readonly name: "licenseTemplate";
3611
+ readonly type: "address";
3612
+ }, {
3613
+ readonly internalType: "uint256";
3614
+ readonly name: "licenseTermsId";
3615
+ readonly type: "uint256";
3616
+ }];
3617
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
3618
+ readonly type: "error";
3619
+ } | {
3620
+ readonly inputs: readonly [];
3621
+ readonly name: "LicenseRegistry__NoParentIp";
3622
+ readonly type: "error";
3623
+ } | {
3624
+ readonly inputs: readonly [{
3625
+ readonly internalType: "address";
3626
+ readonly name: "licenseTemplate";
3627
+ readonly type: "address";
3628
+ }];
3629
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
3630
+ readonly type: "error";
3631
+ } | {
3632
+ readonly inputs: readonly [];
3633
+ readonly name: "LicenseRegistry__NotTransferable";
3634
+ readonly type: "error";
3635
+ } | {
3636
+ readonly inputs: readonly [{
3637
+ readonly internalType: "address";
3638
+ readonly name: "ipId";
3639
+ readonly type: "address";
3640
+ }];
3641
+ readonly name: "LicenseRegistry__ParentIpExpired";
3642
+ readonly type: "error";
3643
+ } | {
3644
+ readonly inputs: readonly [{
3645
+ readonly internalType: "address";
3646
+ readonly name: "ipId";
3647
+ readonly type: "address";
3648
+ }, {
3649
+ readonly internalType: "uint256";
3650
+ readonly name: "licenseTermsId";
3651
+ readonly type: "uint256";
3652
+ }];
3653
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
3654
+ readonly type: "error";
3655
+ } | {
3656
+ readonly inputs: readonly [{
3657
+ readonly internalType: "address";
3658
+ readonly name: "ipId";
3659
+ readonly type: "address";
3660
+ }];
3661
+ readonly name: "LicenseRegistry__ParentIpTagged";
3662
+ readonly type: "error";
3663
+ } | {
3664
+ readonly inputs: readonly [{
3665
+ readonly internalType: "address";
3666
+ readonly name: "ipId";
3667
+ readonly type: "address";
3668
+ }, {
3669
+ readonly internalType: "address";
3670
+ readonly name: "licenseTemplate";
3671
+ readonly type: "address";
3672
+ }];
3673
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
3674
+ readonly type: "error";
3675
+ } | {
3676
+ readonly inputs: readonly [{
3677
+ readonly internalType: "address";
3678
+ readonly name: "licenseTemplate";
3679
+ readonly type: "address";
3680
+ }];
3681
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
3682
+ readonly type: "error";
3683
+ } | {
3684
+ readonly inputs: readonly [];
3685
+ readonly name: "LicenseRegistry__ZeroDisputeModule";
3686
+ readonly type: "error";
3687
+ } | {
3688
+ readonly inputs: readonly [];
3689
+ readonly name: "LicenseRegistry__ZeroLicensingModule";
3690
+ readonly type: "error";
3691
+ } | {
3692
+ readonly inputs: readonly [{
3693
+ readonly internalType: "address";
3694
+ readonly name: "licenseTemplate";
3695
+ readonly type: "address";
3696
+ }, {
3697
+ readonly internalType: "address";
3698
+ readonly name: "anotherLicenseTemplate";
3699
+ readonly type: "address";
3700
+ }];
3701
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
3702
+ readonly type: "error";
3703
+ } | {
3704
+ readonly inputs: readonly [];
3705
+ readonly name: "LicenseToken__CallerNotLicensingModule";
3706
+ readonly type: "error";
3707
+ } | {
3708
+ readonly inputs: readonly [{
3709
+ readonly internalType: "uint256";
3710
+ readonly name: "tokenId";
3711
+ readonly type: "uint256";
3712
+ }, {
3713
+ readonly internalType: "uint256";
3714
+ readonly name: "expiredAt";
3715
+ readonly type: "uint256";
3716
+ }, {
3717
+ readonly internalType: "uint256";
3718
+ readonly name: "currentTimestamp";
3719
+ readonly type: "uint256";
3720
+ }];
3721
+ readonly name: "LicenseToken__LicenseTokenExpired";
3722
+ readonly type: "error";
3723
+ } | {
3724
+ readonly inputs: readonly [{
3725
+ readonly internalType: "uint256";
3726
+ readonly name: "tokenId";
3727
+ readonly type: "uint256";
3728
+ }, {
3729
+ readonly internalType: "address";
3730
+ readonly name: "iPowner";
3731
+ readonly type: "address";
3732
+ }, {
3733
+ readonly internalType: "address";
3734
+ readonly name: "tokenOwner";
3735
+ readonly type: "address";
3736
+ }];
3737
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
3738
+ readonly type: "error";
3739
+ } | {
3740
+ readonly inputs: readonly [];
3741
+ readonly name: "LicenseToken__NotTransferable";
3742
+ readonly type: "error";
3743
+ } | {
3744
+ readonly inputs: readonly [{
3745
+ readonly internalType: "uint256";
3746
+ readonly name: "tokenId";
3747
+ readonly type: "uint256";
3748
+ }];
3749
+ readonly name: "LicenseToken__RevokedLicense";
3750
+ readonly type: "error";
3751
+ } | {
3752
+ readonly inputs: readonly [];
3753
+ readonly name: "LicenseToken__ZeroDisputeModule";
3754
+ readonly type: "error";
3755
+ } | {
3756
+ readonly inputs: readonly [];
3757
+ readonly name: "LicenseToken__ZeroLicensingModule";
3758
+ readonly type: "error";
3759
+ } | {
3760
+ readonly inputs: readonly [];
3761
+ readonly name: "LicensingModule__CallerNotLicenseRegistry";
3762
+ readonly type: "error";
3763
+ } | {
3764
+ readonly inputs: readonly [{
3765
+ readonly internalType: "address";
3766
+ readonly name: "caller";
3767
+ readonly type: "address";
3768
+ }, {
3769
+ readonly internalType: "address";
3770
+ readonly name: "licensorIpId";
3771
+ readonly type: "address";
3772
+ }, {
3773
+ readonly internalType: "address";
3774
+ readonly name: "licenseTemplate";
3775
+ readonly type: "address";
3776
+ }, {
3777
+ readonly internalType: "uint256";
3778
+ readonly name: "licenseTermsId";
3779
+ readonly type: "uint256";
3780
+ }];
3781
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
3782
+ readonly type: "error";
3783
+ } | {
3784
+ readonly inputs: readonly [];
3785
+ readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
3786
+ readonly type: "error";
3787
+ } | {
3788
+ readonly inputs: readonly [];
3789
+ readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
3790
+ readonly type: "error";
3791
+ } | {
3792
+ readonly inputs: readonly [{
3793
+ readonly internalType: "address";
3794
+ readonly name: "ipId";
3795
+ readonly type: "address";
3796
+ }];
3797
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
3798
+ readonly type: "error";
3799
+ } | {
3800
+ readonly inputs: readonly [];
3801
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
3802
+ readonly type: "error";
3803
+ } | {
3804
+ readonly inputs: readonly [];
3805
+ readonly name: "LicensingModule__DerivativeIsParent";
3806
+ readonly type: "error";
3807
+ } | {
3808
+ readonly inputs: readonly [];
3809
+ readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
3810
+ readonly type: "error";
3811
+ } | {
3812
+ readonly inputs: readonly [];
3813
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
3814
+ readonly type: "error";
3815
+ } | {
3816
+ readonly inputs: readonly [];
3817
+ readonly name: "LicensingModule__DerivativesCannotAddPolicy";
3818
+ readonly type: "error";
3819
+ } | {
3820
+ readonly inputs: readonly [];
3821
+ readonly name: "LicensingModule__DisputedIpId";
3822
+ readonly type: "error";
3823
+ } | {
3824
+ readonly inputs: readonly [];
3825
+ readonly name: "LicensingModule__EmptyLicenseUrl";
3826
+ readonly type: "error";
3827
+ } | {
3828
+ readonly inputs: readonly [];
3829
+ readonly name: "LicensingModule__EmptyParamName";
3830
+ readonly type: "error";
3831
+ } | {
3832
+ readonly inputs: readonly [];
3833
+ readonly name: "LicensingModule__FrameworkNotFound";
3834
+ readonly type: "error";
3835
+ } | {
3836
+ readonly inputs: readonly [];
3837
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
3838
+ readonly type: "error";
3839
+ } | {
3840
+ readonly inputs: readonly [{
3841
+ readonly internalType: "address";
3842
+ readonly name: "royaltyPolicy";
3843
+ readonly type: "address";
3844
+ }, {
3845
+ readonly internalType: "address";
3846
+ readonly name: "anotherRoyaltyPolicy";
3847
+ readonly type: "address";
3848
+ }];
3849
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
3850
+ readonly type: "error";
3851
+ } | {
3852
+ readonly inputs: readonly [];
3853
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyAddress";
3854
+ readonly type: "error";
3855
+ } | {
3856
+ readonly inputs: readonly [];
3857
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicyDerivativeRevShare";
3858
+ readonly type: "error";
3859
+ } | {
3860
+ readonly inputs: readonly [];
3861
+ readonly name: "LicensingModule__InvalidLicensor";
3862
+ readonly type: "error";
3863
+ } | {
3864
+ readonly inputs: readonly [];
3865
+ readonly name: "LicensingModule__InvalidPolicyFramework";
3866
+ readonly type: "error";
3867
+ } | {
3868
+ readonly inputs: readonly [];
3869
+ readonly name: "LicensingModule__IpAlreadyLinked";
3870
+ readonly type: "error";
3871
+ } | {
3872
+ readonly inputs: readonly [{
3873
+ readonly internalType: "address";
3874
+ readonly name: "childIpId";
3875
+ readonly type: "address";
3876
+ }];
3877
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
3878
+ readonly type: "error";
3879
+ } | {
3880
+ readonly inputs: readonly [{
3881
+ readonly internalType: "uint256";
3882
+ readonly name: "ipLength";
3883
+ readonly type: "uint256";
3884
+ }, {
3885
+ readonly internalType: "uint256";
3886
+ readonly name: "licenseTermsLength";
3887
+ readonly type: "uint256";
3888
+ }];
3889
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
3890
+ readonly type: "error";
3891
+ } | {
3892
+ readonly inputs: readonly [{
3893
+ readonly internalType: "address";
3894
+ readonly name: "licenseTemplate";
3895
+ readonly type: "address";
3896
+ }, {
3897
+ readonly internalType: "uint256";
3898
+ readonly name: "licenseTermsId";
3899
+ readonly type: "uint256";
3900
+ }];
3901
+ readonly name: "LicensingModule__LicenseTermsNotFound";
3902
+ readonly type: "error";
3903
+ } | {
3904
+ readonly inputs: readonly [{
3905
+ readonly internalType: "address";
3906
+ readonly name: "childIpId";
3907
+ readonly type: "address";
3908
+ }, {
3909
+ readonly internalType: "uint256[]";
3910
+ readonly name: "licenseTokenIds";
3911
+ readonly type: "uint256[]";
3912
+ }];
3913
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
3914
+ readonly type: "error";
3915
+ } | {
3916
+ readonly inputs: readonly [];
3917
+ readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
3918
+ readonly type: "error";
3919
+ } | {
3920
+ readonly inputs: readonly [];
3921
+ readonly name: "LicensingModule__LicensorNotRegistered";
3922
+ readonly type: "error";
3923
+ } | {
3924
+ readonly inputs: readonly [];
3925
+ readonly name: "LicensingModule__LinkParentParamFailed";
3926
+ readonly type: "error";
3927
+ } | {
3928
+ readonly inputs: readonly [];
3929
+ readonly name: "LicensingModule__LinkingRevokedLicense";
3930
+ readonly type: "error";
3931
+ } | {
3932
+ readonly inputs: readonly [];
3933
+ readonly name: "LicensingModule__MintAmountZero";
3934
+ readonly type: "error";
3935
+ } | {
3936
+ readonly inputs: readonly [];
3937
+ readonly name: "LicensingModule__MintLicenseParamFailed";
3938
+ readonly type: "error";
3939
+ } | {
3940
+ readonly inputs: readonly [];
3941
+ readonly name: "LicensingModule__MintingFeeTokenNotWhitelisted";
3942
+ readonly type: "error";
3943
+ } | {
3944
+ readonly inputs: readonly [];
3945
+ readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
3946
+ readonly type: "error";
3947
+ } | {
3948
+ readonly inputs: readonly [];
3949
+ readonly name: "LicensingModule__NoLicenseToken";
3950
+ readonly type: "error";
3951
+ } | {
3952
+ readonly inputs: readonly [];
3953
+ readonly name: "LicensingModule__NoParentIp";
3954
+ readonly type: "error";
3955
+ } | {
3956
+ readonly inputs: readonly [];
3957
+ readonly name: "LicensingModule__NotLicensee";
3958
+ readonly type: "error";
3959
+ } | {
3960
+ readonly inputs: readonly [];
3961
+ readonly name: "LicensingModule__ParamVerifierAlreadySet";
3962
+ readonly type: "error";
3963
+ } | {
3964
+ readonly inputs: readonly [];
3965
+ readonly name: "LicensingModule__ParamVerifierLengthMismatch";
3966
+ readonly type: "error";
3967
+ } | {
3968
+ readonly inputs: readonly [];
3969
+ readonly name: "LicensingModule__ParentIdEqualThanChild";
3970
+ readonly type: "error";
3971
+ } | {
3972
+ readonly inputs: readonly [{
3973
+ readonly internalType: "address";
3974
+ readonly name: "ipId";
3975
+ readonly type: "address";
3976
+ }];
3977
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
3978
+ readonly type: "error";
3979
+ } | {
3980
+ readonly inputs: readonly [];
3981
+ readonly name: "LicensingModule__PolicyAlreadySetForIpId";
3982
+ readonly type: "error";
3983
+ } | {
3984
+ readonly inputs: readonly [];
3985
+ readonly name: "LicensingModule__PolicyNotFound";
3986
+ readonly type: "error";
3987
+ } | {
3988
+ readonly inputs: readonly [{
3989
+ readonly internalType: "address";
3990
+ readonly name: "receiver";
3991
+ readonly type: "address";
3992
+ }];
3993
+ readonly name: "LicensingModule__ReceiverCheckFailed";
3994
+ readonly type: "error";
3995
+ } | {
3996
+ readonly inputs: readonly [];
3997
+ readonly name: "LicensingModule__ReceiverZeroAddress";
3998
+ readonly type: "error";
3999
+ } | {
4000
+ readonly inputs: readonly [];
4001
+ readonly name: "LicensingModule__RegisterPolicyFrameworkMismatch";
4002
+ readonly type: "error";
4003
+ } | {
4004
+ readonly inputs: readonly [];
4005
+ readonly name: "LicensingModule__RoyaltyPolicyNotWhitelisted";
4006
+ readonly type: "error";
4007
+ } | {
4008
+ readonly inputs: readonly [];
4009
+ readonly name: "LicensingModule__TransferParamFailed";
4010
+ readonly type: "error";
4011
+ } | {
4012
+ readonly inputs: readonly [];
4013
+ readonly name: "LicensingModule__UnauthorizedAccess";
4014
+ readonly type: "error";
4015
+ } | {
4016
+ readonly inputs: readonly [];
4017
+ readonly name: "LicensingModule__UnregisteredFrameworkAddingPolicy";
4018
+ readonly type: "error";
4019
+ } | {
4020
+ readonly inputs: readonly [];
4021
+ readonly name: "LicensorApprovalChecker__Unauthorized";
4022
+ readonly type: "error";
4023
+ } | {
4024
+ readonly inputs: readonly [];
4025
+ readonly name: "MetadataProvider__HashInvalid";
4026
+ readonly type: "error";
4027
+ } | {
4028
+ readonly inputs: readonly [];
4029
+ readonly name: "MetadataProvider__IPAssetOwnerInvalid";
4030
+ readonly type: "error";
4031
+ } | {
4032
+ readonly inputs: readonly [];
4033
+ readonly name: "MetadataProvider__MetadataNotCompatible";
4034
+ readonly type: "error";
4035
+ } | {
4036
+ readonly inputs: readonly [];
4037
+ readonly name: "MetadataProvider__NameInvalid";
4038
+ readonly type: "error";
4039
+ } | {
4040
+ readonly inputs: readonly [];
4041
+ readonly name: "MetadataProvider__RegistrantInvalid";
4042
+ readonly type: "error";
4043
+ } | {
4044
+ readonly inputs: readonly [];
4045
+ readonly name: "MetadataProvider__RegistrationDateInvalid";
4046
+ readonly type: "error";
4047
+ } | {
4048
+ readonly inputs: readonly [];
4049
+ readonly name: "MetadataProvider__URIInvalid";
4050
+ readonly type: "error";
4051
+ } | {
4052
+ readonly inputs: readonly [];
4053
+ readonly name: "MetadataProvider__Unauthorized";
4054
+ readonly type: "error";
4055
+ } | {
4056
+ readonly inputs: readonly [];
4057
+ readonly name: "MetadataProvider__UpgradeProviderInvalid";
4058
+ readonly type: "error";
4059
+ } | {
4060
+ readonly inputs: readonly [];
4061
+ readonly name: "MetadataProvider__UpgradeUnavailable";
4062
+ readonly type: "error";
4063
+ } | {
4064
+ readonly inputs: readonly [];
4065
+ readonly name: "ModuleRegistry__InterfaceIdZero";
4066
+ readonly type: "error";
4067
+ } | {
4068
+ readonly inputs: readonly [];
4069
+ readonly name: "ModuleRegistry__ModuleAddressNotContract";
4070
+ readonly type: "error";
4071
+ } | {
4072
+ readonly inputs: readonly [];
4073
+ readonly name: "ModuleRegistry__ModuleAddressZeroAddress";
4074
+ readonly type: "error";
4075
+ } | {
4076
+ readonly inputs: readonly [];
4077
+ readonly name: "ModuleRegistry__ModuleAlreadyRegistered";
4078
+ readonly type: "error";
4079
+ } | {
4080
+ readonly inputs: readonly [];
4081
+ readonly name: "ModuleRegistry__ModuleNotRegistered";
4082
+ readonly type: "error";
4083
+ } | {
4084
+ readonly inputs: readonly [];
4085
+ readonly name: "ModuleRegistry__ModuleNotSupportExpectedModuleTypeInterfaceId";
4086
+ readonly type: "error";
4087
+ } | {
4088
+ readonly inputs: readonly [];
4089
+ readonly name: "ModuleRegistry__ModuleTypeAlreadyRegistered";
4090
+ readonly type: "error";
4091
+ } | {
4092
+ readonly inputs: readonly [];
4093
+ readonly name: "ModuleRegistry__ModuleTypeEmptyString";
4094
+ readonly type: "error";
4095
+ } | {
4096
+ readonly inputs: readonly [];
4097
+ readonly name: "ModuleRegistry__ModuleTypeNotRegistered";
4098
+ readonly type: "error";
4099
+ } | {
4100
+ readonly inputs: readonly [];
4101
+ readonly name: "ModuleRegistry__NameAlreadyRegistered";
4102
+ readonly type: "error";
4103
+ } | {
4104
+ readonly inputs: readonly [];
4105
+ readonly name: "ModuleRegistry__NameDoesNotMatch";
4106
+ readonly type: "error";
4107
+ } | {
4108
+ readonly inputs: readonly [];
4109
+ readonly name: "ModuleRegistry__NameEmptyString";
4110
+ readonly type: "error";
4111
+ } | {
4112
+ readonly inputs: readonly [];
4113
+ readonly name: "Module_Unauthorized";
4114
+ readonly type: "error";
4115
+ } | {
4116
+ readonly inputs: readonly [{
4117
+ readonly internalType: "address";
4118
+ readonly name: "commercializer";
4119
+ readonly type: "address";
4120
+ }];
4121
+ readonly name: "PolicyFrameworkManager__CommercializerCheckerDoesNotSupportHook";
4122
+ readonly type: "error";
4123
+ } | {
4124
+ readonly inputs: readonly [];
4125
+ readonly name: "PolicyFrameworkManager__GettingPolicyWrongFramework";
4126
+ readonly type: "error";
4127
+ } | {
4128
+ readonly inputs: readonly [];
4129
+ readonly name: "RoyaltyModule__CanOnlyMintSelectedPolicy";
4130
+ readonly type: "error";
4131
+ } | {
4132
+ readonly inputs: readonly [];
4133
+ readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
4134
+ readonly type: "error";
4135
+ } | {
4136
+ readonly inputs: readonly [];
4137
+ readonly name: "RoyaltyModule__IpIsTagged";
4138
+ readonly type: "error";
4139
+ } | {
4140
+ readonly inputs: readonly [];
4141
+ readonly name: "RoyaltyModule__NoParentsOnLinking";
4142
+ readonly type: "error";
4143
+ } | {
4144
+ readonly inputs: readonly [];
4145
+ readonly name: "RoyaltyModule__NoRoyaltyPolicySet";
4146
+ readonly type: "error";
4147
+ } | {
4148
+ readonly inputs: readonly [];
4149
+ readonly name: "RoyaltyModule__NotAllowedCaller";
4150
+ readonly type: "error";
4151
+ } | {
4152
+ readonly inputs: readonly [];
4153
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyPolicy";
4154
+ readonly type: "error";
4155
+ } | {
4156
+ readonly inputs: readonly [];
4157
+ readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
4158
+ readonly type: "error";
4159
+ } | {
4160
+ readonly inputs: readonly [];
4161
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
4162
+ readonly type: "error";
4163
+ } | {
4164
+ readonly inputs: readonly [];
4165
+ readonly name: "RoyaltyModule__ZeroLicensingModule";
4166
+ readonly type: "error";
4167
+ } | {
4168
+ readonly inputs: readonly [];
4169
+ readonly name: "RoyaltyModule__ZeroRoyaltyPolicy";
4170
+ readonly type: "error";
4171
+ } | {
4172
+ readonly inputs: readonly [];
4173
+ readonly name: "RoyaltyModule__ZeroRoyaltyToken";
4174
+ readonly type: "error";
4175
+ } | {
4176
+ readonly inputs: readonly [];
4177
+ readonly name: "RoyaltyPolicyLAP__AboveAncestorsLimit";
4178
+ readonly type: "error";
4179
+ } | {
4180
+ readonly inputs: readonly [];
4181
+ readonly name: "RoyaltyPolicyLAP__AboveParentLimit";
4182
+ readonly type: "error";
4183
+ } | {
4184
+ readonly inputs: readonly [];
4185
+ readonly name: "RoyaltyPolicyLAP__AboveRoyaltyStackLimit";
4186
+ readonly type: "error";
4187
+ } | {
4188
+ readonly inputs: readonly [];
4189
+ readonly name: "RoyaltyPolicyLAP__ImplementationAlreadySet";
4190
+ readonly type: "error";
4191
+ } | {
4192
+ readonly inputs: readonly [];
4193
+ readonly name: "RoyaltyPolicyLAP__InvalidParentRoyaltiesLength";
4194
+ readonly type: "error";
4195
+ } | {
4196
+ readonly inputs: readonly [];
4197
+ readonly name: "RoyaltyPolicyLAP__LastPositionNotAbleToMintLicense";
4198
+ readonly type: "error";
4199
+ } | {
4200
+ readonly inputs: readonly [];
4201
+ readonly name: "RoyaltyPolicyLAP__NotFullOwnership";
4202
+ readonly type: "error";
4203
+ } | {
4204
+ readonly inputs: readonly [];
4205
+ readonly name: "RoyaltyPolicyLAP__NotRoyaltyModule";
4206
+ readonly type: "error";
4207
+ } | {
4208
+ readonly inputs: readonly [];
4209
+ readonly name: "RoyaltyPolicyLAP__UnlinkableToParents";
4210
+ readonly type: "error";
4211
+ } | {
4212
+ readonly inputs: readonly [];
4213
+ readonly name: "RoyaltyPolicyLAP__ZeroAncestorsVaultImpl";
4214
+ readonly type: "error";
4215
+ } | {
4216
+ readonly inputs: readonly [];
4217
+ readonly name: "RoyaltyPolicyLAP__ZeroIpRoyaltyVaultBeacon";
4218
+ readonly type: "error";
4219
+ } | {
4220
+ readonly inputs: readonly [];
4221
+ readonly name: "RoyaltyPolicyLAP__ZeroLicensingModule";
4222
+ readonly type: "error";
4223
+ } | {
4224
+ readonly inputs: readonly [];
4225
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitFactory";
4226
+ readonly type: "error";
4227
+ } | {
4228
+ readonly inputs: readonly [];
4229
+ readonly name: "RoyaltyPolicyLAP__ZeroLiquidSplitMain";
4230
+ readonly type: "error";
4231
+ } | {
4232
+ readonly inputs: readonly [];
4233
+ readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
4234
+ readonly type: "error";
4235
+ } | {
4236
+ readonly inputs: readonly [{
4237
+ readonly internalType: "address";
4238
+ readonly name: "ipId";
4239
+ readonly type: "address";
4240
+ }];
4241
+ readonly name: "getRoyaltyData";
4242
+ readonly outputs: readonly [{
4243
+ readonly internalType: "bool";
4244
+ readonly name: "";
4245
+ readonly type: "bool";
4246
+ }, {
4247
+ readonly internalType: "address";
4248
+ readonly name: "";
4249
+ readonly type: "address";
4250
+ }, {
4251
+ readonly internalType: "uint32";
4252
+ readonly name: "";
4253
+ readonly type: "uint32";
4254
+ }, {
4255
+ readonly internalType: "address[]";
4256
+ readonly name: "";
4257
+ readonly type: "address[]";
4258
+ }, {
4259
+ readonly internalType: "uint32[]";
4260
+ readonly name: "";
4261
+ readonly type: "uint32[]";
4262
+ }];
4263
+ readonly stateMutability: "view";
4264
+ readonly type: "function";
4265
+ } | {
4266
+ readonly inputs: readonly [{
4267
+ readonly internalType: "address";
4268
+ readonly name: "caller";
4269
+ readonly type: "address";
4270
+ }, {
4271
+ readonly internalType: "address";
4272
+ readonly name: "ipId";
4273
+ readonly type: "address";
4274
+ }, {
4275
+ readonly internalType: "address";
4276
+ readonly name: "token";
4277
+ readonly type: "address";
4278
+ }, {
4279
+ readonly internalType: "uint256";
4280
+ readonly name: "amount";
4281
+ readonly type: "uint256";
4282
+ }];
4283
+ readonly name: "onRoyaltyPayment";
4284
+ readonly outputs: readonly [];
4285
+ readonly stateMutability: "nonpayable";
4286
+ readonly type: "function";
4287
+ })[];
4288
+ address: `0x${string}`;
4289
+ };
4290
+ constructor(rpcClient: PublicClient, wallet: WalletClient, storyClient: StoryAPIClient, chainId: SupportedChainIds);
4291
+ private getLicenseTermsId;
15
4292
  /**
16
- * Get a license by its ID.
17
- *
18
- * @param licenseId - The ID of the license to retrieve.
19
- * @returns A Promise that resolves to the GetLicenseResponse.
4293
+ * Convenient function to register a PIL non commercial social remix license to the registry
4294
+ * @param request The request object that contains all data needed to register a PIL non commercial social remix license.
4295
+ * @param request.txOptions [Optional] The transaction options.
4296
+ * @returns A Promise that resolves to an object containing the optional transaction hash and optional license ID.
4297
+ * @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
20
4298
  */
21
- get(request: GetLicenseRequest): Promise<GetLicenseResponse>;
4299
+ registerNonComSocialRemixingPIL(request: RegisterLicenseTermsRequest): Promise<RegisterPILResponse>;
22
4300
  /**
23
- * List all licenses.
24
- *
25
- * @returns A Promise that resolves to the ListLicenseResponse.
4301
+ * Convenient function to register a PIL commercial use license to the registry.
4302
+ * @param request The request object that contains all data needed to register a PIL commercial use license.
4303
+ * @param request.mintingFee The fee to be paid when minting a license.
4304
+ * @param request.currency The ERC20 token to be used to pay the minting fee.
4305
+ * the token must be registered in story protocol.
4306
+ * @param request.royaltyPolicy The address of the royalty policy contract which required to StoryProtocol in advance.
4307
+ * @param request.txOptions [Optional] The transaction options.
4308
+ * @returns A Promise that resolves to an object containing the optional transaction hash and optional license ID.
4309
+ * @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
26
4310
  */
27
- list(request: ListLicenseRequest): Promise<ListLicenseResponse>;
4311
+ registerCommercialUsePIL(request: RegisterCommercialUsePILRequest): Promise<RegisterPILResponse>;
28
4312
  /**
29
- * Create a license within the Story Protocol based on the specified input data.
30
- *
31
- * @param request - An object containing the necessary data to create a license.
32
- * @returns A response object containing the result of the create license action, including the transaction hash.
4313
+ * Convenient function to register a PIL commercial Remix license to the registry.
4314
+ * @param request The request object that contains all data needed to register license.
4315
+ * @param request.mintingFee The fee to be paid when minting a license.
4316
+ * @param request.commercialRevShare Percentage of revenue that must be shared with the licensor.
4317
+ * @param request.currency The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
4318
+ * @param request.royaltyPolicy The address of the royalty policy contract which required to StoryProtocol in advance.
4319
+ * @param request.txOptions [Optional] The transaction options.
4320
+ * @returns A Promise that resolves to an object containing the optional transaction hash and optional license ID.
4321
+ * @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
33
4322
  */
34
- create(request: CreateLicenseRequest): Promise<CreateLicenseResponse>;
4323
+ registerCommercialRemixPIL(request: RegisterCommercialRemixPILRequest): Promise<RegisterPILResponse>;
4324
+ /**
4325
+ * Attaches license terms to an IP.
4326
+ * @param request The request object that contains all data needed to attach license terms.
4327
+ @param request.ipId The address of the IP to which the license terms are attached.
4328
+ @param request.licenseTemplate The address of the license template.
4329
+ @param request.licenseTermsId The ID of the license terms.
4330
+ * @param request.txOptions [Optional] The transaction options.
4331
+ * @returns A Promise that resolves to an object containing the transaction hash.
4332
+ */
4333
+ attachLicenseTerms(request: AttachLicenseTermsRequest): Promise<{
4334
+ txHash: `0x${string}`;
4335
+ }>;
4336
+ /**
4337
+ * Mints license tokens for the license terms attached to an IP.
4338
+ * The license tokens are minted to the receiver.
4339
+ * The license terms must be attached to the IP before calling this function.
4340
+ * But it can mint license token of default license terms without attaching the default license terms,
4341
+ * since it is attached to all IPs by default.
4342
+ * IP owners can mint license tokens for their IPs for arbitrary license terms
4343
+ * without attaching the license terms to IP.
4344
+ * It might require the caller pay the minting fee, depending on the license terms or configured by the iP owner.
4345
+ * The minting fee is paid in the minting fee token specified in the license terms or configured by the IP owner.
4346
+ * IP owners can configure the minting fee of their IPs or
4347
+ * configure the minting fee module to determine the minting fee.
4348
+ * @param request The request object that contains all data needed to mint license tokens.
4349
+ * @param request.licensorIpId The licensor IP ID.
4350
+ * @param request.licenseTemplate The address of the license template.
4351
+ * @param request.licenseTermsId The ID of the license terms within the license template.
4352
+ * @param request.amount The amount of license tokens to mint.
4353
+ * @param request.receiver The address of the receiver.
4354
+ * @param request.txOptions [Optional] The transaction options.
4355
+ * @returns A Promise that resolves to an object containing the transaction hash and optional license token ID if waitForTxn is set to true.
4356
+ * @emits LicenseTokensMinted (msg.sender, licensorIpId, licenseTemplate, licenseTermsId, amount, receiver, startLicenseTokenId);
4357
+ */
4358
+ mintLicenseTokens(request: MintLicenseTokensRequest): Promise<MintLicenseTokensResponse>;
35
4359
  }
36
4360
  //# sourceMappingURL=license.d.ts.map