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

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