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

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