@story-protocol/core-sdk 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/declarations/src/abi/generated.d.ts +31 -0
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +298 -8
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/group.d.ts +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +63 -26
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/license.d.ts +53 -10
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/types/utils/{wip.d.ts → token.d.ts} +16 -10
- package/dist/declarations/src/types/utils/token.d.ts.map +1 -0
- package/dist/declarations/src/utils/chain.d.ts +18 -0
- package/dist/declarations/src/utils/chain.d.ts.map +1 -1
- package/dist/declarations/src/utils/token.d.ts +3 -0
- package/dist/declarations/src/utils/token.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +2322 -1185
- package/dist/story-protocol-core-sdk.cjs.prod.js +2322 -1185
- package/dist/story-protocol-core-sdk.esm.js +2323 -1186
- package/package.json +1 -2
- package/dist/declarations/src/types/utils/wip.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispute.d.ts","sourceRoot":"../../../../src/resources","sources":["dispute.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,GAAG,EAAc,YAAY,EAAe,MAAM,MAAM,CAAC;AAE7F,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EAGnB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EAChB,4BAAyB;AAE1B,OAAO,EAA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,EAAE,gBAAgB,CAAC;IACnC,eAAe,EAAE,eAAe,CAAC;IACxC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAW;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;gBAEhC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,EAAE,QAAQ;IAUlF;;;;OAIG;IACU,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAoFtF;;;;OAIG;IACU,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAqBzF;;;;OAIG;IACU,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAsB5F;;;;;OAKG;IACU,uBAAuB,CAClC,OAAO,EAAE,8BAA8B,GACtC,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAwCjC;;;;;;;;;;;OAWG;IACU,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAyGhF,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;CAM9E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Hex, PublicClient } from "viem";
|
|
2
|
-
import { AccessControllerClient, CoreMetadataModuleClient, DerivativeWorkflowsClient, IpAssetRegistryClient, LicenseAttachmentWorkflowsClient, LicenseRegistryReadOnlyClient, LicenseTokenReadOnlyClient, LicensingModuleClient, Multicall3Client, PiLicenseTemplateClient, RegistrationWorkflowsClient, RoyaltyModuleEventClient, RoyaltyTokenDistributionWorkflowsClient, SimpleWalletClient, SpgnftImplReadOnlyClient, TotalLicenseTokenLimitHookClient, WrappedIpClient } from "../abi/generated.js";
|
|
1
|
+
import { Hash, Hex, PublicClient } from "viem";
|
|
2
|
+
import { AccessControllerClient, CoreMetadataModuleClient, DerivativeWorkflowsClient, Erc20Client, IpAssetRegistryClient, LicenseAttachmentWorkflowsClient, LicenseRegistryReadOnlyClient, LicenseTokenClient, LicenseTokenReadOnlyClient, LicensingModuleClient, Multicall3Client, PiLicenseTemplateClient, RegistrationWorkflowsClient, RoyaltyModuleEventClient, RoyaltyTokenDistributionWorkflowsClient, SimpleWalletClient, SpgnftImplReadOnlyClient, TotalLicenseTokenLimitHookClient, WrappedIpClient } from "../abi/generated.js";
|
|
3
3
|
import { ChainIds } from "../types/config.js";
|
|
4
|
-
import { BatchMintAndRegisterIpAndMakeDerivativeRequest, BatchMintAndRegisterIpAndMakeDerivativeResponse, BatchMintAndRegisterIpAssetWithPilTermsRequest, BatchMintAndRegisterIpAssetWithPilTermsResponse, BatchMintAndRegisterIpRequest, BatchMintAndRegisterIpResponse, BatchRegisterDerivativeRequest, BatchRegisterDerivativeResponse, BatchRegisterIpAssetsWithOptimizedWorkflowsRequest, BatchRegisterIpAssetsWithOptimizedWorkflowsResponse, BatchRegisterRequest, BatchRegisterResponse, LinkDerivativeResponse, MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensRequest, MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensResponse, MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensRequest, MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensResponse, MintAndRegisterIpAndMakeDerivativeRequest, MintAndRegisterIpAndMakeDerivativeResponse, MintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest, MintAndRegisterIpAssetWithPilTermsRequest, MintAndRegisterIpAssetWithPilTermsResponse, MintAndRegisterIpRequest, MintedNFT, MintNFT, RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest, RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensResponse, RegisterDerivativeIpAssetRequest, RegisterDerivativeIpAssetResponse, RegisterDerivativeRequest, RegisterDerivativeWithLicenseTokensRequest, RegisterIPAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest, RegisterIPAndAttachLicenseTermsAndDistributeRoyaltyTokensResponse, RegisterIpAndAttachPilTermsRequest, RegisterIpAndAttachPilTermsResponse, RegisterIpAndMakeDerivativeRequest, RegisterIpAndMakeDerivativeResponse, RegisterIpAndMakeDerivativeWithLicenseTokensRequest, RegisterIpAssetRequest, RegisterIpAssetResponse, RegisterIpResponse, RegisterRequest } from "../types/resources/ipAsset.js";
|
|
4
|
+
import { BatchMintAndRegisterIpAndMakeDerivativeRequest, BatchMintAndRegisterIpAndMakeDerivativeResponse, BatchMintAndRegisterIpAssetWithPilTermsRequest, BatchMintAndRegisterIpAssetWithPilTermsResponse, BatchMintAndRegisterIpRequest, BatchMintAndRegisterIpResponse, BatchRegisterDerivativeRequest, BatchRegisterDerivativeResponse, BatchRegisterDerivativesRequest, BatchRegisterIpAssetsWithOptimizedWorkflowsRequest, BatchRegisterIpAssetsWithOptimizedWorkflowsResponse, BatchRegisterRequest, BatchRegisterResponse, LinkDerivativeResponse, MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensRequest, MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensResponse, MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensRequest, MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensResponse, MintAndRegisterIpAndMakeDerivativeRequest, MintAndRegisterIpAndMakeDerivativeResponse, MintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest, MintAndRegisterIpAssetWithPilTermsRequest, MintAndRegisterIpAssetWithPilTermsResponse, MintAndRegisterIpRequest, MintedNFT, MintNFT, RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest, RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensResponse, RegisterDerivativeIpAssetRequest, RegisterDerivativeIpAssetResponse, RegisterDerivativeRequest, RegisterDerivativeWithLicenseTokensRequest, RegisterIPAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest, RegisterIPAndAttachLicenseTermsAndDistributeRoyaltyTokensResponse, RegisterIpAndAttachPilTermsRequest, RegisterIpAndAttachPilTermsResponse, RegisterIpAndMakeDerivativeRequest, RegisterIpAndMakeDerivativeResponse, RegisterIpAndMakeDerivativeWithLicenseTokensRequest, RegisterIpAssetRequest, RegisterIpAssetResponse, RegisterIpResponse, RegisterRequest } from "../types/resources/ipAsset.js";
|
|
5
5
|
import { IpCreator, IpMetadata } from "../types/resources/ipMetadata.js";
|
|
6
6
|
export declare class IPAssetClient {
|
|
7
7
|
licensingModuleClient: LicensingModuleClient;
|
|
@@ -20,6 +20,8 @@ export declare class IPAssetClient {
|
|
|
20
20
|
wipClient: WrappedIpClient;
|
|
21
21
|
spgNftClient: SpgnftImplReadOnlyClient;
|
|
22
22
|
totalLicenseTokenLimitHookClient: TotalLicenseTokenLimitHookClient;
|
|
23
|
+
licenseTokenClient: LicenseTokenClient;
|
|
24
|
+
erc20Client: Erc20Client;
|
|
23
25
|
private readonly rpcClient;
|
|
24
26
|
private readonly wallet;
|
|
25
27
|
private readonly chainId;
|
|
@@ -46,57 +48,223 @@ export declare class IPAssetClient {
|
|
|
46
48
|
* The license terms must be attached to the parent IP before calling this function.
|
|
47
49
|
* All IPs attached default license terms by default.
|
|
48
50
|
* The derivative IP owner must be the caller or an authorized operator.
|
|
51
|
+
*
|
|
52
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link linkDerivative} instead.
|
|
53
|
+
* This method will become internal soon.
|
|
54
|
+
*
|
|
55
|
+
* @example Migration Example
|
|
56
|
+
* ```typescript
|
|
57
|
+
* // Before (deprecated):
|
|
58
|
+
* await client.ipAsset.registerDerivative({
|
|
59
|
+
* childIpId: '0x...',
|
|
60
|
+
* parentIpIds: ['0x...'],
|
|
61
|
+
* licenseTermsIds: [1n]
|
|
62
|
+
* });
|
|
63
|
+
*
|
|
64
|
+
* // After (recommended):
|
|
65
|
+
* await client.ipAsset.linkDerivative({
|
|
66
|
+
* childIpId: '0x...',
|
|
67
|
+
* parentIpIds: ['0x...'],
|
|
68
|
+
* licenseTermsIds: [1n]
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
49
71
|
*/
|
|
50
72
|
registerDerivative(request: RegisterDerivativeRequest): Promise<LinkDerivativeResponse>;
|
|
51
73
|
/**
|
|
74
|
+
* Batch registers a derivative directly with parent IP's license terms, without needing license tokens,
|
|
75
|
+
* and attaches the license terms of the parent IPs to the derivative IP.
|
|
76
|
+
* The license terms must be attached to the parent IP before calling this function.
|
|
77
|
+
* All IPs attached default license terms by default.
|
|
78
|
+
* The derivative IP owner must be the caller or an authorized operator.
|
|
79
|
+
*
|
|
80
|
+
* @remarks
|
|
81
|
+
* This method supports automatic fee handling for both ERC20 and WIP tokens.
|
|
82
|
+
* The fees are paid from the wallet address.
|
|
83
|
+
* The transaction will be executed in the same order as the input arguments.
|
|
84
|
+
* If a request fails, previous transactions will not be reverted.
|
|
85
|
+
*/
|
|
86
|
+
batchRegisterDerivatives({ requests, options, txOptions, }: BatchRegisterDerivativesRequest): Promise<Hash[]>;
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated This method is deprecated. Please use the {@link batchRegisterDerivatives} instead.
|
|
89
|
+
* This method will be removed soon.
|
|
52
90
|
* Batch registers a derivative directly with parent IP's license terms.
|
|
91
|
+
*
|
|
92
|
+
* @example Migration Example
|
|
93
|
+
* ```typescript
|
|
94
|
+
* // Before (deprecated):
|
|
95
|
+
* await client.ipAsset.batchRegisterDerivative({
|
|
96
|
+
* args: [{ childIpId: '0x...', parentIpIds: ['0x...'], licenseTermsIds: [1n] }],
|
|
97
|
+
* });
|
|
98
|
+
*
|
|
99
|
+
* // After (recommended):
|
|
100
|
+
* await client.ipAsset.batchRegisterDerivatives({
|
|
101
|
+
* requests: [{ childIpId: '0x...', parentIpIds: ['0x...'], licenseTermsIds: [1n] }],
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @remarks This method does not support automatic fee handling for both ERC20 and WIP tokens.
|
|
53
106
|
*/
|
|
54
107
|
batchRegisterDerivative(request: BatchRegisterDerivativeRequest): Promise<BatchRegisterDerivativeResponse>;
|
|
55
108
|
/**
|
|
56
109
|
* Registers a derivative with license tokens. The derivative IP is registered with license tokens minted from the parent IP's license terms.
|
|
57
110
|
* The license terms of the parent IPs issued with license tokens are attached to the derivative IP.
|
|
58
111
|
* The caller must be the derivative IP owner or an authorized operator.
|
|
112
|
+
*
|
|
113
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link linkDerivative} instead.
|
|
114
|
+
* This method will become internal soon.
|
|
115
|
+
*
|
|
116
|
+
* @example Migration Example
|
|
117
|
+
* ```typescript
|
|
118
|
+
* // Before (deprecated):
|
|
119
|
+
* await client.ipAsset.registerDerivativeWithLicenseTokens({
|
|
120
|
+
* childIpId: '0x...',
|
|
121
|
+
* licenseTokenIds: [1n, 2n, 3n]
|
|
122
|
+
* });
|
|
123
|
+
*
|
|
124
|
+
* // After (recommended):
|
|
125
|
+
* await client.ipAsset.linkDerivative({
|
|
126
|
+
* childIpId: '0x...',
|
|
127
|
+
* licenseTokenIds: [1n, 2n, 3n]
|
|
128
|
+
* });
|
|
129
|
+
* ```
|
|
59
130
|
*/
|
|
60
131
|
registerDerivativeWithLicenseTokens(request: RegisterDerivativeWithLicenseTokensRequest): Promise<LinkDerivativeResponse>;
|
|
61
132
|
/**
|
|
62
133
|
* Mint an NFT from a collection and register it as an IP.
|
|
63
134
|
*
|
|
135
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerIpAsset} instead.
|
|
136
|
+
* This method will become internal soon.
|
|
137
|
+
*
|
|
138
|
+
* @example Migration Example
|
|
139
|
+
* ```typescript
|
|
140
|
+
* // Before (deprecated):
|
|
141
|
+
* await client.ipAsset.mintAndRegisterIpAssetWithPilTerms({
|
|
142
|
+
* spgNftContract: '0x...',
|
|
143
|
+
* licenseTermsData: [{ terms: PILFlavor.commercialRemix({...}) }]
|
|
144
|
+
* });
|
|
145
|
+
*
|
|
146
|
+
* // After (recommended):
|
|
147
|
+
* await client.ipAsset.registerIpAsset({
|
|
148
|
+
* nft: { type: 'mint', spgNftContract: '0x...' },
|
|
149
|
+
* licenseTermsData: [{ terms: PILFlavor.commercialRemix({...}) }]
|
|
150
|
+
* });
|
|
151
|
+
* ```
|
|
152
|
+
*
|
|
64
153
|
* Emits on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} and {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/modules/licensing/ILicensingModule.sol#L19 | `LicenseTermsAttached`} events.
|
|
65
154
|
*/
|
|
66
155
|
mintAndRegisterIpAssetWithPilTerms(request: MintAndRegisterIpAssetWithPilTermsRequest): Promise<MintAndRegisterIpAssetWithPilTermsResponse>;
|
|
67
156
|
/**
|
|
68
157
|
* Batch mint an NFT from a collection and register it as an IP.
|
|
69
158
|
*
|
|
159
|
+
* @remark For better gas efficiency, consider using {@link batchRegisterIpAssetsWithOptimizedWorkflows} instead.
|
|
160
|
+
* The optimized workflows method provides intelligent transaction batching, automatic token handling.
|
|
161
|
+
*
|
|
70
162
|
* Emits on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} and {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/modules/licensing/ILicensingModule.sol#L19 | `LicenseTermsAttached`} events.
|
|
71
163
|
*/
|
|
72
164
|
batchMintAndRegisterIpAssetWithPilTerms(request: BatchMintAndRegisterIpAssetWithPilTermsRequest): Promise<BatchMintAndRegisterIpAssetWithPilTermsResponse>;
|
|
73
165
|
/**
|
|
74
166
|
* Register a given NFT as an IP and attach Programmable IP License Terms.
|
|
75
167
|
*
|
|
168
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerIpAsset} instead.
|
|
169
|
+
* This method will become internal soon.
|
|
170
|
+
*
|
|
171
|
+
* @example Migration Example
|
|
172
|
+
* ```typescript
|
|
173
|
+
* // Before (deprecated):
|
|
174
|
+
* await client.ipAsset.registerIpAndAttachPilTerms({
|
|
175
|
+
* nftContract: '0x...',
|
|
176
|
+
* tokenId: 123n,
|
|
177
|
+
* licenseTermsData: [{ terms: PILFlavor.nonCommercialSocialRemixing() }]
|
|
178
|
+
* });
|
|
179
|
+
*
|
|
180
|
+
* // After (recommended):
|
|
181
|
+
* await client.ipAsset.registerIpAsset({
|
|
182
|
+
* nft: { type: 'minted', nftContract: '0x...', tokenId: 123n },
|
|
183
|
+
* licenseTermsData: [{ terms: PILFlavor.nonCommercialSocialRemixing() }]
|
|
184
|
+
* });
|
|
185
|
+
* ```
|
|
186
|
+
*
|
|
76
187
|
* Emits on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} and {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/modules/licensing/ILicensingModule.sol#L19 | `LicenseTermsAttached`} events.
|
|
77
188
|
*/
|
|
78
189
|
registerIpAndAttachPilTerms(request: RegisterIpAndAttachPilTermsRequest): Promise<RegisterIpAndAttachPilTermsResponse>;
|
|
79
190
|
/**
|
|
80
191
|
* Register the given NFT as a derivative IP with metadata without using license tokens.
|
|
81
192
|
*
|
|
193
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerDerivativeIpAsset} instead.
|
|
194
|
+
* This method will become internal soon.
|
|
195
|
+
*
|
|
196
|
+
* @example Migration Example
|
|
197
|
+
* ```typescript
|
|
198
|
+
* // Before (deprecated):
|
|
199
|
+
* await client.ipAsset.registerDerivativeIp({
|
|
200
|
+
* nftContract: '0x...',
|
|
201
|
+
* tokenId: 123n,
|
|
202
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] }
|
|
203
|
+
* });
|
|
204
|
+
*
|
|
205
|
+
* // After (recommended):
|
|
206
|
+
* await client.ipAsset.registerDerivativeIpAsset({
|
|
207
|
+
* nft: { type: 'minted', nftContract: '0x...', tokenId: 123n },
|
|
208
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] }
|
|
209
|
+
* });
|
|
210
|
+
* ```
|
|
211
|
+
*
|
|
82
212
|
* Emits an on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} event.
|
|
83
213
|
*/
|
|
84
214
|
registerDerivativeIp(request: RegisterIpAndMakeDerivativeRequest): Promise<RegisterIpAndMakeDerivativeResponse>;
|
|
85
215
|
/**
|
|
86
216
|
* Mint an NFT from a collection and register it as a derivative IP without license tokens.
|
|
87
217
|
*
|
|
218
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerDerivativeIpAsset} instead.
|
|
219
|
+
* This method will become internal soon.
|
|
220
|
+
*
|
|
221
|
+
* @example Migration Example
|
|
222
|
+
* ```typescript
|
|
223
|
+
* // Before (deprecated):
|
|
224
|
+
* await client.ipAsset.mintAndRegisterIpAndMakeDerivative({
|
|
225
|
+
* spgNftContract: '0x...',
|
|
226
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] }
|
|
227
|
+
* });
|
|
228
|
+
*
|
|
229
|
+
* // After (recommended):
|
|
230
|
+
* await client.ipAsset.registerDerivativeIpAsset({
|
|
231
|
+
* nft: { type: 'mint', spgNftContract: '0x...' },
|
|
232
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] }
|
|
233
|
+
* });
|
|
234
|
+
* ```
|
|
235
|
+
*
|
|
88
236
|
* Emits an on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} event.
|
|
89
237
|
*/
|
|
90
238
|
mintAndRegisterIpAndMakeDerivative(request: MintAndRegisterIpAndMakeDerivativeRequest): Promise<MintAndRegisterIpAndMakeDerivativeResponse>;
|
|
91
239
|
/**
|
|
92
240
|
* Batch mint an NFT from a collection and register it as a derivative IP without license tokens.
|
|
93
241
|
*
|
|
242
|
+
* @remark For better gas efficiency, consider using {@link batchRegisterIpAssetsWithOptimizedWorkflows} instead.
|
|
243
|
+
* The optimized workflows method provides intelligent transaction batching, automatic token handling.
|
|
244
|
+
*
|
|
94
245
|
* Emits an on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} event.
|
|
95
246
|
*/
|
|
96
247
|
batchMintAndRegisterIpAndMakeDerivative(request: BatchMintAndRegisterIpAndMakeDerivativeRequest): Promise<BatchMintAndRegisterIpAndMakeDerivativeResponse>;
|
|
97
248
|
/**
|
|
98
249
|
* Mint an NFT from a SPGNFT collection and register it with metadata as an IP.
|
|
99
250
|
*
|
|
251
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerIpAsset} instead.
|
|
252
|
+
* This method will become internal soon.
|
|
253
|
+
*
|
|
254
|
+
* @example Migration Example
|
|
255
|
+
* ```typescript
|
|
256
|
+
* // Before (deprecated):
|
|
257
|
+
* await client.ipAsset.mintAndRegisterIp({
|
|
258
|
+
* spgNftContract: '0x...',
|
|
259
|
+
* recipient: '0x...'
|
|
260
|
+
* });
|
|
261
|
+
*
|
|
262
|
+
* // After (recommended):
|
|
263
|
+
* await client.ipAsset.registerIpAsset({
|
|
264
|
+
* nft: { type: 'mint', spgNftContract: '0x...', recipient: '0x...' }
|
|
265
|
+
* });
|
|
266
|
+
* ```
|
|
267
|
+
*
|
|
100
268
|
* Emits an on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} event.
|
|
101
269
|
*/
|
|
102
270
|
mintAndRegisterIp(request: MintAndRegisterIpRequest): Promise<RegisterIpResponse>;
|
|
@@ -120,12 +288,49 @@ export declare class IPAssetClient {
|
|
|
120
288
|
* Mint an NFT from a collection and register it as a derivative IP using license tokens.
|
|
121
289
|
* Requires caller to have the minter role or the SPG NFT to allow public minting. Caller must own the license tokens and have approved DerivativeWorkflows to transfer them.
|
|
122
290
|
*
|
|
291
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerDerivativeIpAsset} instead.
|
|
292
|
+
* This method will become internal soon.
|
|
293
|
+
*
|
|
294
|
+
* @example Migration Example
|
|
295
|
+
* ```typescript
|
|
296
|
+
* // Before (deprecated):
|
|
297
|
+
* await client.ipAsset.mintAndRegisterIpAndMakeDerivativeWithLicenseTokens({
|
|
298
|
+
* spgNftContract: '0x...',
|
|
299
|
+
* licenseTokenIds: [1n, 2n, 3n]
|
|
300
|
+
* });
|
|
301
|
+
*
|
|
302
|
+
* // After (recommended):
|
|
303
|
+
* await client.ipAsset.registerDerivativeIpAsset({
|
|
304
|
+
* nft: { type: 'mint', spgNftContract: '0x...' },
|
|
305
|
+
* licenseTokenIds: [1n, 2n, 3n]
|
|
306
|
+
* });
|
|
307
|
+
* ```
|
|
308
|
+
*
|
|
123
309
|
* Emits an on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} event.
|
|
124
310
|
*/
|
|
125
311
|
mintAndRegisterIpAndMakeDerivativeWithLicenseTokens(request: MintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest): Promise<RegisterIpResponse>;
|
|
126
312
|
/**
|
|
127
313
|
* Register the given NFT as a derivative IP using license tokens.
|
|
128
314
|
*
|
|
315
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerDerivativeIpAsset} instead.
|
|
316
|
+
* This method will become internal soon.
|
|
317
|
+
*
|
|
318
|
+
* @example Migration Example
|
|
319
|
+
* ```typescript
|
|
320
|
+
* // Before (deprecated):
|
|
321
|
+
* await client.ipAsset.registerIpAndMakeDerivativeWithLicenseTokens({
|
|
322
|
+
* nftContract: '0x...',
|
|
323
|
+
* tokenId: 123n,
|
|
324
|
+
* licenseTokenIds: [1n, 2n, 3n]
|
|
325
|
+
* });
|
|
326
|
+
*
|
|
327
|
+
* // After (recommended):
|
|
328
|
+
* await client.ipAsset.registerDerivativeIpAsset({
|
|
329
|
+
* nft: { type: 'minted', nftContract: '0x...', tokenId: 123n },
|
|
330
|
+
* licenseTokenIds: [1n, 2n, 3n]
|
|
331
|
+
* });
|
|
332
|
+
* ```
|
|
333
|
+
*
|
|
129
334
|
* Emits an on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} event.
|
|
130
335
|
*/
|
|
131
336
|
registerIpAndMakeDerivativeWithLicenseTokens(request: RegisterIpAndMakeDerivativeWithLicenseTokensRequest): Promise<RegisterIpResponse>;
|
|
@@ -134,6 +339,27 @@ export declare class IPAssetClient {
|
|
|
134
339
|
* tokens. In order to successfully distribute royalty tokens, the first
|
|
135
340
|
* license terms attached to the IP must be a commercial license.
|
|
136
341
|
*
|
|
342
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerIpAsset} instead.
|
|
343
|
+
* This method will become internal soon.
|
|
344
|
+
*
|
|
345
|
+
* @example Migration Example
|
|
346
|
+
* ```typescript
|
|
347
|
+
* // Before (deprecated):
|
|
348
|
+
* await client.ipAsset.registerIPAndAttachLicenseTermsAndDistributeRoyaltyTokens({
|
|
349
|
+
* nftContract: '0x...',
|
|
350
|
+
* tokenId: 123n,
|
|
351
|
+
* licenseTermsData: [{ terms: PILFlavor.commercialRemix({...}) }],
|
|
352
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
353
|
+
* });
|
|
354
|
+
*
|
|
355
|
+
* // After (recommended):
|
|
356
|
+
* await client.ipAsset.registerIpAsset({
|
|
357
|
+
* nft: { type: 'minted', nftContract: '0x...', tokenId: 123n },
|
|
358
|
+
* licenseTermsData: [{ terms: PILFlavor.commercialRemix({...}) }],
|
|
359
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
360
|
+
* });
|
|
361
|
+
* ```
|
|
362
|
+
*
|
|
137
363
|
* Emits on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} and {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/modules/royalty/IRoyaltyModule.sol#L88 | `IpRoyaltyVaultDeployed`} events.
|
|
138
364
|
*/
|
|
139
365
|
registerIPAndAttachLicenseTermsAndDistributeRoyaltyTokens(request: RegisterIPAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest): Promise<RegisterIPAndAttachLicenseTermsAndDistributeRoyaltyTokensResponse>;
|
|
@@ -141,18 +367,79 @@ export declare class IPAssetClient {
|
|
|
141
367
|
* Register the given NFT as a derivative IP and attach license terms and distribute royalty tokens. In order to successfully distribute royalty tokens, the license terms attached to the IP must be
|
|
142
368
|
* a commercial license.
|
|
143
369
|
*
|
|
370
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerDerivativeIpAsset} instead.
|
|
371
|
+
* This method will become internal soon.
|
|
372
|
+
*
|
|
373
|
+
* @example Migration Example
|
|
374
|
+
* ```typescript
|
|
375
|
+
* // Before (deprecated):
|
|
376
|
+
* await client.ipAsset.registerDerivativeIpAndAttachLicenseTermsAndDistributeRoyaltyTokens({
|
|
377
|
+
* nftContract: '0x...',
|
|
378
|
+
* tokenId: 123n,
|
|
379
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] },
|
|
380
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
381
|
+
* });
|
|
382
|
+
*
|
|
383
|
+
* // After (recommended):
|
|
384
|
+
* await client.ipAsset.registerDerivativeIpAsset({
|
|
385
|
+
* nft: { type: 'minted', nftContract: '0x...', tokenId: 123n },
|
|
386
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] },
|
|
387
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
388
|
+
* });
|
|
389
|
+
* ```
|
|
390
|
+
*
|
|
144
391
|
* Emits on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} and {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/modules/royalty/IRoyaltyModule.sol#L88| `IpRoyaltyVaultDeployed`} events.
|
|
145
392
|
*/
|
|
146
393
|
registerDerivativeIpAndAttachLicenseTermsAndDistributeRoyaltyTokens(request: RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest): Promise<RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensResponse>;
|
|
147
394
|
/**
|
|
148
395
|
* Mint an NFT and register the IP, attach PIL terms, and distribute royalty tokens.
|
|
149
396
|
*
|
|
397
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerIpAsset} instead.
|
|
398
|
+
* This method will become internal soon.
|
|
399
|
+
*
|
|
400
|
+
* @example Migration Example
|
|
401
|
+
* ```typescript
|
|
402
|
+
* // Before (deprecated):
|
|
403
|
+
* await client.ipAsset.mintAndRegisterIpAndAttachPilTermsAndDistributeRoyaltyTokens({
|
|
404
|
+
* spgNftContract: '0x...',
|
|
405
|
+
* licenseTermsData: [{ terms: PILFlavor.commercialRemix({...}) }],
|
|
406
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
407
|
+
* });
|
|
408
|
+
*
|
|
409
|
+
* // After (recommended):
|
|
410
|
+
* await client.ipAsset.registerIpAsset({
|
|
411
|
+
* nft: { type: 'mint', spgNftContract: '0x...' },
|
|
412
|
+
* licenseTermsData: [{ terms: PILFlavor.commercialRemix({...}) }],
|
|
413
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
414
|
+
* });
|
|
415
|
+
* ```
|
|
416
|
+
*
|
|
150
417
|
* Emits on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} and {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/modules/royalty/IRoyaltyModule.sol#L88| `IpRoyaltyVaultDeployed`} events.
|
|
151
418
|
*/
|
|
152
419
|
mintAndRegisterIpAndAttachPilTermsAndDistributeRoyaltyTokens(request: MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensRequest): Promise<MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensResponse>;
|
|
153
420
|
/**
|
|
154
421
|
* Mint an NFT and register the IP, make a derivative, and distribute royalty tokens.
|
|
155
422
|
*
|
|
423
|
+
* @deprecated This method is deprecated. Please use the unified entry point {@link registerDerivativeIpAsset} instead.
|
|
424
|
+
* This method will become internal soon.
|
|
425
|
+
*
|
|
426
|
+
* @example Migration Example
|
|
427
|
+
* ```typescript
|
|
428
|
+
* // Before (deprecated):
|
|
429
|
+
* await client.ipAsset.mintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokens({
|
|
430
|
+
* spgNftContract: '0x...',
|
|
431
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] },
|
|
432
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
433
|
+
* });
|
|
434
|
+
*
|
|
435
|
+
* // After (recommended):
|
|
436
|
+
* await client.ipAsset.registerDerivativeIpAsset({
|
|
437
|
+
* nft: { type: 'mint', spgNftContract: '0x...' },
|
|
438
|
+
* derivData: { parentIpIds: ['0x...'], licenseTermsIds: [1n] },
|
|
439
|
+
* royaltyShares: [{ recipient: '0x...', percentage: 100 }]
|
|
440
|
+
* });
|
|
441
|
+
* ```
|
|
442
|
+
*
|
|
156
443
|
* Emits on-chain {@link https://github.com/storyprotocol/protocol-core-v1/blob/v1.3.1/contracts/interfaces/registries/IIPAssetRegistry.sol#L17 | `IPRegistered`} event.
|
|
157
444
|
*/
|
|
158
445
|
mintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokens(request: MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensRequest): Promise<MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensResponse>;
|
|
@@ -181,7 +468,7 @@ export declare class IPAssetClient {
|
|
|
181
468
|
* The method supports automatic token handling for minting fees:
|
|
182
469
|
* - If the wallet's IP token balance is insufficient to cover minting fees, it automatically wraps native IP tokens into WIP tokens.
|
|
183
470
|
* - It checks allowances for all required spenders and automatically approves them if their current allowance is lower than needed.
|
|
184
|
-
* - These automatic processes can be configured through the `
|
|
471
|
+
* - These automatic processes can be configured through the `options` parameter to control behavior like multicall usage and approval settings.
|
|
185
472
|
*
|
|
186
473
|
* @remark Multicall selection logic:
|
|
187
474
|
*
|
|
@@ -193,6 +480,8 @@ export declare class IPAssetClient {
|
|
|
193
480
|
*
|
|
194
481
|
* 2. For `register*` methods:
|
|
195
482
|
* - Always uses SPG's multicall for batching registration operations
|
|
483
|
+
*
|
|
484
|
+
* Additionally, when multicall3 methods are used, transactions maybe cannot use multicall3 based on fee sufficiency and the presence of ERC20 tokens due to `msg.sender` context limitations.
|
|
196
485
|
*/
|
|
197
486
|
batchRegisterIpAssetsWithOptimizedWorkflows(request: BatchRegisterIpAssetsWithOptimizedWorkflowsRequest): Promise<BatchRegisterIpAssetsWithOptimizedWorkflowsResponse>;
|
|
198
487
|
/**
|
|
@@ -250,7 +539,7 @@ export declare class IPAssetClient {
|
|
|
250
539
|
* **Automatic Token Handling:**
|
|
251
540
|
* - If the wallet's IP token balance is insufficient to cover minting fees, it automatically wraps native IP tokens into WIP tokens.
|
|
252
541
|
* - It checks allowances for all required spenders and automatically approves them if their current allowance is lower than needed.
|
|
253
|
-
* - These automatic processes can be configured through the `
|
|
542
|
+
* - These automatic processes can be configured through the `options` parameter to control behavior like multicall usage and approval settings.
|
|
254
543
|
*
|
|
255
544
|
* @throws {Error} If the NFT type is invalid.
|
|
256
545
|
* @throws {Error} If `licenseTermsData` is not provided when `royaltyShares` are specified.
|
|
@@ -311,7 +600,7 @@ export declare class IPAssetClient {
|
|
|
311
600
|
* **Automatic Token Handling:**
|
|
312
601
|
* - If the wallet's IP token balance is insufficient to cover minting fees, it automatically wraps native IP tokens into WIP tokens.
|
|
313
602
|
* - It checks allowances for all required spenders and automatically approves them if their current allowance is lower than needed.
|
|
314
|
-
* - These automatic processes can be configured through the `
|
|
603
|
+
* - These automatic processes can be configured through the `options` parameter to control behavior like multicall usage and approval settings.
|
|
315
604
|
*
|
|
316
605
|
* @throws {Error} If `derivData` is not provided when `royaltyShares` are provided.
|
|
317
606
|
* @throws {Error} If neither `derivData` nor `licenseTokenIds` are provided.
|
|
@@ -363,7 +652,7 @@ export declare class IPAssetClient {
|
|
|
363
652
|
* **Automatic Token Handling:**
|
|
364
653
|
* - If the wallet's IP token balance is insufficient to cover minting fees, it automatically wraps native IP tokens into WIP tokens.
|
|
365
654
|
* - It checks allowances for all required spenders and automatically approves them if their current allowance is lower than needed.
|
|
366
|
-
* - These automatic processes can be configured through the `
|
|
655
|
+
* - These automatic processes can be configured through the `options` parameter to control behavior like multicall usage and approval settings.
|
|
367
656
|
*/
|
|
368
657
|
linkDerivative(request: RegisterDerivativeWithLicenseTokensRequest | RegisterDerivativeRequest): Promise<LinkDerivativeResponse>;
|
|
369
658
|
/**
|
|
@@ -391,7 +680,8 @@ export declare class IPAssetClient {
|
|
|
391
680
|
/**
|
|
392
681
|
* Process the `LicenseTermsIds` and `maxLicenseTokensTxHashes` for each IP asset.
|
|
393
682
|
*/
|
|
394
|
-
private
|
|
683
|
+
private populateLicenseAndTokenIdsForRegistrationResults;
|
|
395
684
|
private processIpAssetLicenseTerms;
|
|
685
|
+
private approveLicenseTokensForDerivativeWorkflows;
|
|
396
686
|
}
|
|
397
687
|
//# sourceMappingURL=ipAsset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,IAAI,EACJ,GAAG,EACH,YAAY,EAIb,MAAM,MAAM,CAAC;AAEd,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EAOzB,WAAW,EAGX,qBAAqB,EACrB,gCAAgC,EAGhC,6BAA6B,EAC7B,kBAAkB,EAClB,0BAA0B,EAE1B,qBAAqB,EACrB,gBAAgB,EAChB,uBAAuB,EAEvB,2BAA2B,EAG3B,wBAAwB,EACxB,uCAAuC,EAMvC,kBAAkB,EAClB,wBAAwB,EACxB,gCAAgC,EAChC,eAAe,EAChB,4BAAyB;AAE1B,OAAO,EAAE,QAAQ,EAAE,2BAAwB;AAE3C,OAAO,EACL,8CAA8C,EAC9C,+CAA+C,EAC/C,8CAA8C,EAC9C,+CAA+C,EAE/C,6BAA6B,EAC7B,8BAA8B,EAC9B,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,kDAAkD,EAClD,mDAAmD,EACnD,oBAAoB,EACpB,qBAAqB,EAOrB,sBAAsB,EACtB,mEAAmE,EACnE,oEAAoE,EACpE,mEAAmE,EACnE,oEAAoE,EACpE,yCAAyC,EACzC,0CAA0C,EAC1C,0DAA0D,EAC1D,yCAAyC,EACzC,0CAA0C,EAC1C,wBAAwB,EACxB,SAAS,EACT,OAAO,EACP,wEAAwE,EACxE,yEAAyE,EACzE,gCAAgC,EAChC,iCAAiC,EACjC,yBAAyB,EACzB,0CAA0C,EAC1C,gEAAgE,EAChE,iEAAiE,EACjE,kCAAkC,EAClC,mCAAmC,EACnC,kCAAkC,EAClC,mCAAmC,EACnC,mDAAmD,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CAAC;IACnC,eAAe,EAAE,eAAe,CAAC;IACxC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAU;IACxC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAW;gBAEvB,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,EAAE,QAAQ;IAclF;;;;;;;;;OASG;IACU,eAAe,CAAC,GAAG,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IA+C3F;;;;;;;;;;OAUG;IACU,oBAAoB,CAC/B,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,4BAA4B,CAAC;IAqHxC;;OAEG;IACU,kBAAkB,CAC7B,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,0BAA0B,CAAC;IA6DtC;;;OAGG;IACU,gBAAgB,CAC3B,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;IAapC;;OAEG;IACU,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;IAUhE;;OAEG;IACU,eAAe,CAAC,EAC3B,SAAS,EACT,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,KAAK,GACN,EAAE,sBAAsB,GAAG,OAAO,CAAC,mBAAmB,CAAC;YAsB1C,mCAAmC;YAuBnC,cAAc;IAa5B;;;OAGG;YACW,eAAe;CAiB9B"}
|
|
@@ -6,7 +6,7 @@ export type LicenseDataInput = {
|
|
|
6
6
|
licenseTermsId: LicenseTermsIdInput;
|
|
7
7
|
/**
|
|
8
8
|
* The address of the license template.
|
|
9
|
-
* Defaults to {@link https://docs.story.foundation/
|
|
9
|
+
* Defaults to {@link https://docs.story.foundation/concepts/licensing-module/license-template | PIL} address if not provided.
|
|
10
10
|
*/
|
|
11
11
|
licensingConfig?: LicensingConfigInput;
|
|
12
12
|
licenseTemplate?: Address;
|