@story-protocol/core-sdk 1.3.0-beta.3 → 1.3.0-rc.2
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 +3649 -3815
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +8 -3
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts +34 -18
- package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/resources/group.d.ts +9 -98
- package/dist/declarations/src/resources/group.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +17 -4
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +32 -360
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +0 -17
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts +9 -1
- package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts +22 -13
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/resources/wip.d.ts +14 -8
- package/dist/declarations/src/resources/wip.d.ts.map +1 -1
- package/dist/declarations/src/types/common.d.ts +20 -2
- package/dist/declarations/src/types/common.d.ts.map +1 -1
- package/dist/declarations/src/types/options.d.ts +67 -1
- package/dist/declarations/src/types/options.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/dispute.d.ts +66 -4
- package/dist/declarations/src/types/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/group.d.ts +30 -5
- package/dist/declarations/src/types/resources/group.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts +22 -2
- package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +116 -116
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipMetadata.d.ts +274 -0
- package/dist/declarations/src/types/resources/ipMetadata.d.ts.map +1 -0
- package/dist/declarations/src/types/resources/license.d.ts +6 -8
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/royalty.d.ts +40 -119
- package/dist/declarations/src/types/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/wip.d.ts +7 -0
- package/dist/declarations/src/types/resources/wip.d.ts.map +1 -1
- package/dist/declarations/src/utils/chain.d.ts +2 -2
- package/dist/declarations/src/utils/getIpMetadataForWorkflow.d.ts +4 -0
- package/dist/declarations/src/utils/getIpMetadataForWorkflow.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +2415 -1717
- package/dist/story-protocol-core-sdk.cjs.prod.js +2415 -1717
- package/dist/story-protocol-core-sdk.esm.js +2412 -1719
- package/package.json +1 -1
- package/dist/declarations/src/types/utils/txOptions.d.ts +0 -13
- package/dist/declarations/src/types/utils/txOptions.d.ts.map +0 -1
- package/dist/declarations/src/types/utils/wip.d.ts +0 -88
- package/dist/declarations/src/types/utils/wip.d.ts.map +0 -1
@@ -1,16 +1,29 @@
|
|
1
1
|
import { Address, Hash, Hex, TransactionReceipt } from "viem";
|
2
|
-
import { TxOptions } from "../options.js";
|
3
|
-
import { RegisterPILTermsRequest } from "./license.js";
|
2
|
+
import { TxOptions, WithWipOptions } from "../options.js";
|
3
|
+
import { LicenseTerms, RegisterPILTermsRequest } from "./license.js";
|
4
4
|
import { EncodedTxData } from "../../abi/generated.js";
|
5
|
-
import { IpMetadataAndTxOptions, LicensingConfig } from "../common.js";
|
5
|
+
import { IpMetadataAndTxOptions, LicensingConfig, ValidatedLicensingConfig } from "../common.js";
|
6
6
|
import { IpMetadataForWorkflow } from "../../utils/getIpMetadataForWorkflow.js";
|
7
|
-
import { WithWipOptions } from "../utils/wip.js";
|
8
7
|
export type DerivativeData = {
|
9
8
|
parentIpIds: Address[];
|
9
|
+
/** The IDs of the license terms that the parent IP supports. */
|
10
10
|
licenseTermsIds: bigint[] | string[] | number[];
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
/**
|
12
|
+
* The maximum minting fee that the caller is willing to pay. if set to 0 then no limit.
|
13
|
+
* @default 0
|
14
|
+
*/
|
15
|
+
maxMintingFee?: bigint | string | number;
|
16
|
+
/**
|
17
|
+
* The maximum number of royalty tokens that can be distributed to the external royalty policies (max: 100,000,000).
|
18
|
+
* @default 100_000_000
|
19
|
+
*/
|
20
|
+
maxRts?: number | string;
|
21
|
+
/**
|
22
|
+
* The maximum revenue share percentage allowed for minting the License Tokens. Must be between 0 and 100 (where 100% represents 100_000_000).
|
23
|
+
* @default 100
|
24
|
+
*/
|
25
|
+
maxRevenueShare?: number | string;
|
26
|
+
/** The license template address, default value is Programmable IP License. */
|
14
27
|
licenseTemplate?: Address;
|
15
28
|
};
|
16
29
|
export type InternalDerivativeData = {
|
@@ -22,9 +35,9 @@ export type InternalDerivativeData = {
|
|
22
35
|
maxRevenueShare: number;
|
23
36
|
licenseTemplate: Address;
|
24
37
|
};
|
25
|
-
export type RegisterIpResponse = {
|
38
|
+
export type RegisterIpResponse = RegistrationResponse & {
|
26
39
|
encodedTxData?: EncodedTxData;
|
27
|
-
}
|
40
|
+
};
|
28
41
|
export type RegisterRequest = {
|
29
42
|
nftContract: Address;
|
30
43
|
tokenId: string | number | bigint;
|
@@ -40,24 +53,32 @@ export type RegisterDerivativeWithLicenseTokensResponse = {
|
|
40
53
|
txHash?: Hex;
|
41
54
|
encodedTxData?: EncodedTxData;
|
42
55
|
};
|
43
|
-
export type RegisterDerivativeRequest = {
|
56
|
+
export type RegisterDerivativeRequest = WithWipOptions & DerivativeData & {
|
44
57
|
txOptions?: TxOptions;
|
45
58
|
childIpId: Address;
|
46
|
-
}
|
59
|
+
};
|
47
60
|
export type RegisterDerivativeResponse = {
|
48
61
|
txHash?: Hex;
|
49
62
|
encodedTxData?: EncodedTxData;
|
50
63
|
};
|
51
|
-
export type LicenseTermsData<T,
|
64
|
+
export type LicenseTermsData<T = RegisterPILTermsRequest, C = LicensingConfig> = {
|
52
65
|
terms: T;
|
53
|
-
licensingConfig
|
66
|
+
licensingConfig?: C;
|
67
|
+
};
|
68
|
+
export type ValidatedLicenseTermsData = Omit<LicenseTermsData<LicenseTerms, ValidatedLicensingConfig>, "licensingConfig"> & {
|
69
|
+
licensingConfig: ValidatedLicensingConfig;
|
54
70
|
};
|
55
71
|
export type MintAndRegisterIpAssetWithPilTermsRequest = {
|
56
72
|
spgNftContract: Address;
|
57
|
-
|
58
|
-
|
73
|
+
/**
|
74
|
+
* Set to true to allow minting an NFT with a duplicate metadata hash.
|
75
|
+
* @default true
|
76
|
+
*/
|
77
|
+
allowDuplicates?: boolean;
|
78
|
+
/** The data of the license and its configuration to be attached to the IP. */
|
79
|
+
licenseTermsData: LicenseTermsData[];
|
80
|
+
/** The address to receive the minted NFT. If not provided, the function will use the user's own wallet address. */
|
59
81
|
recipient?: Address;
|
60
|
-
royaltyPolicyAddress?: Address;
|
61
82
|
} & IpMetadataAndTxOptions & WithWipOptions;
|
62
83
|
export type MintAndRegisterIpAssetWithPilTermsResponse = {
|
63
84
|
txHash?: Hex;
|
@@ -70,13 +91,13 @@ export type MintAndRegisterIpAssetWithPilTermsResponse = {
|
|
70
91
|
export type RegisterIpAndMakeDerivativeRequest = {
|
71
92
|
nftContract: Address;
|
72
93
|
tokenId: string | number | bigint;
|
94
|
+
/**
|
95
|
+
* The deadline for the signature in seconds.
|
96
|
+
* @default 1000
|
97
|
+
*/
|
73
98
|
deadline?: string | number | bigint;
|
99
|
+
/** The derivative data to be used for register derivative. */
|
74
100
|
derivData: DerivativeData;
|
75
|
-
sigMetadataAndRegister?: {
|
76
|
-
signer: Address;
|
77
|
-
deadline: bigint | string | number;
|
78
|
-
signature: Hex;
|
79
|
-
};
|
80
101
|
} & IpMetadataAndTxOptions & WithWipOptions;
|
81
102
|
export type RegisterIpAndMakeDerivativeResponse = {
|
82
103
|
txHash?: Hex;
|
@@ -88,7 +109,12 @@ export type RegisterIpAndMakeDerivativeResponse = {
|
|
88
109
|
export type RegisterIpAndAttachPilTermsRequest = {
|
89
110
|
nftContract: Address;
|
90
111
|
tokenId: bigint | string | number;
|
91
|
-
|
112
|
+
/** The data of the license and its configuration to be attached to the IP. */
|
113
|
+
licenseTermsData: LicenseTermsData[];
|
114
|
+
/**
|
115
|
+
* The deadline for the signature in seconds.
|
116
|
+
* @default 1000
|
117
|
+
*/
|
92
118
|
deadline?: bigint | number | string;
|
93
119
|
} & IpMetadataAndTxOptions;
|
94
120
|
export type RegisterIpAndAttachPilTermsResponse = {
|
@@ -100,57 +126,18 @@ export type RegisterIpAndAttachPilTermsResponse = {
|
|
100
126
|
};
|
101
127
|
export type MintAndRegisterIpAndMakeDerivativeRequest = {
|
102
128
|
spgNftContract: Address;
|
129
|
+
/** The derivative data to be used for register derivative. */
|
103
130
|
derivData: DerivativeData;
|
131
|
+
/** The address to receive the minted NFT. If not provided, the function will use the user's own wallet address. */
|
104
132
|
recipient?: Address;
|
105
|
-
|
133
|
+
/**
|
134
|
+
* Set to true to allow minting an NFT with a duplicate metadata hash.
|
135
|
+
* @default true
|
136
|
+
*/
|
137
|
+
allowDuplicates?: boolean;
|
106
138
|
} & IpMetadataAndTxOptions & WithWipOptions;
|
107
|
-
export type MintAndRegisterIpAndMakeDerivativeResponse = {
|
139
|
+
export type MintAndRegisterIpAndMakeDerivativeResponse = RegistrationResponse & {
|
108
140
|
encodedTxData?: EncodedTxData;
|
109
|
-
} & CommonRegistrationResponse;
|
110
|
-
export type IpRelationship = {
|
111
|
-
parentIpId: Address;
|
112
|
-
type: string;
|
113
|
-
};
|
114
|
-
export type IpCreator = {
|
115
|
-
name: string;
|
116
|
-
address: Address;
|
117
|
-
description?: string;
|
118
|
-
image?: string;
|
119
|
-
socialMedia?: IpCreatorSocial[];
|
120
|
-
role?: string;
|
121
|
-
contributionPercent: number;
|
122
|
-
};
|
123
|
-
export type IpCreatorSocial = {
|
124
|
-
platform: string;
|
125
|
-
url: string;
|
126
|
-
};
|
127
|
-
export type IpMedia = {
|
128
|
-
name: string;
|
129
|
-
url: string;
|
130
|
-
mimeType: string;
|
131
|
-
};
|
132
|
-
export type IpAttribute = {
|
133
|
-
key: string;
|
134
|
-
value: string | number;
|
135
|
-
};
|
136
|
-
export type StoryProtocolApp = {
|
137
|
-
id: string;
|
138
|
-
name: string;
|
139
|
-
website: string;
|
140
|
-
action?: string;
|
141
|
-
};
|
142
|
-
export type GenerateCreatorMetadataParam = {
|
143
|
-
name: string;
|
144
|
-
address: Address;
|
145
|
-
contributionPercent: number;
|
146
|
-
description?: string;
|
147
|
-
image?: string;
|
148
|
-
socialMedia?: IpCreatorSocial[];
|
149
|
-
role?: string;
|
150
|
-
};
|
151
|
-
export type IPRobotTerms = {
|
152
|
-
userAgent: string;
|
153
|
-
allow: string;
|
154
141
|
};
|
155
142
|
type IPMetadataInfo = {
|
156
143
|
ipMetadata?: {
|
@@ -160,46 +147,22 @@ type IPMetadataInfo = {
|
|
160
147
|
nftMetadataHash?: Hex;
|
161
148
|
};
|
162
149
|
};
|
163
|
-
export type
|
164
|
-
title?: string;
|
165
|
-
description?: string;
|
166
|
-
ipType?: string;
|
167
|
-
relationships?: IpRelationship[];
|
168
|
-
createdAt?: string;
|
169
|
-
watermarkImg?: string;
|
170
|
-
creators?: IpCreator[];
|
171
|
-
media?: IpMedia[];
|
172
|
-
attributes?: IpAttribute[];
|
173
|
-
app?: StoryProtocolApp;
|
174
|
-
tags?: string[];
|
175
|
-
robotTerms?: IPRobotTerms;
|
176
|
-
additionalProperties?: {
|
177
|
-
[key: string]: unknown;
|
178
|
-
};
|
179
|
-
};
|
180
|
-
export type IpMetadata = {
|
181
|
-
title?: string;
|
182
|
-
description?: string;
|
183
|
-
ipType?: string;
|
184
|
-
relationships?: IpRelationship[];
|
185
|
-
createdAt?: string;
|
186
|
-
watermarkImg?: string;
|
187
|
-
creators?: IpCreator[];
|
188
|
-
media?: IpMedia[];
|
189
|
-
attributes?: IpAttribute[];
|
190
|
-
appInfo?: StoryProtocolApp[];
|
191
|
-
tags?: string[];
|
192
|
-
robotTerms?: IPRobotTerms;
|
193
|
-
[key: string]: unknown;
|
194
|
-
};
|
195
|
-
export type MintAndRegisterIpRequest = {
|
150
|
+
export type MintAndRegisterIpRequest = IpMetadataAndTxOptions & WithWipOptions & {
|
196
151
|
spgNftContract: Address;
|
197
152
|
recipient?: Address;
|
198
|
-
|
199
|
-
|
153
|
+
/**
|
154
|
+
* Set to true to allow minting an NFT with a duplicate metadata hash.
|
155
|
+
* @default true
|
156
|
+
*/
|
157
|
+
allowDuplicates?: boolean;
|
158
|
+
};
|
200
159
|
export type RegisterPilTermsAndAttachRequest = {
|
201
160
|
ipId: Address;
|
202
|
-
|
161
|
+
/** The data of the license and its configuration to be attached to the IP. */
|
162
|
+
licenseTermsData: LicenseTermsData[];
|
163
|
+
/** The deadline for the signature in seconds.
|
164
|
+
* @default 1000
|
165
|
+
*/
|
203
166
|
deadline?: string | number | bigint;
|
204
167
|
txOptions?: TxOptions;
|
205
168
|
};
|
@@ -213,7 +176,11 @@ export type MintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest = {
|
|
213
176
|
licenseTokenIds: string[] | bigint[] | number[];
|
214
177
|
recipient?: Address;
|
215
178
|
maxRts: number | string;
|
216
|
-
|
179
|
+
/**
|
180
|
+
* Set to true to allow minting an NFT with a duplicate metadata hash.
|
181
|
+
* @default true
|
182
|
+
*/
|
183
|
+
allowDuplicates?: boolean;
|
217
184
|
} & IpMetadataAndTxOptions & WithWipOptions;
|
218
185
|
export type RegisterIpAndMakeDerivativeWithLicenseTokensRequest = {
|
219
186
|
nftContract: Address;
|
@@ -264,8 +231,14 @@ export type BatchRegisterResponse = {
|
|
264
231
|
export type RegisterIPAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest = {
|
265
232
|
nftContract: Address;
|
266
233
|
tokenId: bigint | string | number;
|
267
|
-
|
234
|
+
/** The data of the license and its configuration to be attached to the new group IP. */
|
235
|
+
licenseTermsData: LicenseTermsData[];
|
236
|
+
/**
|
237
|
+
* The deadline for the signature in seconds.
|
238
|
+
* @default 1000
|
239
|
+
*/
|
268
240
|
deadline?: string | number | bigint;
|
241
|
+
/** Authors of the IP and their shares of the royalty tokens. */
|
269
242
|
royaltyShares: RoyaltyShare[];
|
270
243
|
txOptions?: Omit<TxOptions, "encodedTxDataOnly">;
|
271
244
|
} & IPMetadataInfo;
|
@@ -285,7 +258,12 @@ export type DistributeRoyaltyTokens = {
|
|
285
258
|
txOptions?: Omit<TxOptions, "encodedTxDataOnly">;
|
286
259
|
};
|
287
260
|
export type RoyaltyShare = {
|
261
|
+
/** The address of the recipient. */
|
288
262
|
recipient: Address;
|
263
|
+
/**
|
264
|
+
* The percentage of the total royalty share. For example, a value of 10 represents 10% of max royalty shares, which is 10,000,000.
|
265
|
+
* @example 10
|
266
|
+
*/
|
289
267
|
percentage: number;
|
290
268
|
};
|
291
269
|
export type IpIdAndTokenId<T extends string | undefined> = T extends undefined ? {
|
@@ -300,9 +278,16 @@ export type IpIdAndTokenId<T extends string | undefined> = T extends undefined ?
|
|
300
278
|
export type RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensRequest = {
|
301
279
|
nftContract: Address;
|
302
280
|
tokenId: bigint | string | number;
|
281
|
+
/**
|
282
|
+
* The deadline for the signature in seconds.
|
283
|
+
* @default 1000
|
284
|
+
*/
|
303
285
|
deadline?: string | number | bigint;
|
286
|
+
/** The derivative data to be used for register derivative.*/
|
304
287
|
derivData: DerivativeData;
|
288
|
+
/** Authors of the IP and their shares of the royalty tokens. */
|
305
289
|
royaltyShares: RoyaltyShare[];
|
290
|
+
/** The desired metadata for the newly minted NFT and newly registered IP. */
|
306
291
|
ipMetadata?: IpMetadataForWorkflow;
|
307
292
|
txOptions?: Omit<TxOptions, "encodedTxDataOnly">;
|
308
293
|
} & WithWipOptions;
|
@@ -314,13 +299,18 @@ export type RegisterDerivativeAndAttachLicenseTermsAndDistributeRoyaltyTokensRes
|
|
314
299
|
ipRoyaltyVault: Address;
|
315
300
|
};
|
316
301
|
export type MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensRequest = {
|
302
|
+
/** The address of the SPG NFT contract. */
|
317
303
|
spgNftContract: Address;
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
304
|
+
/**
|
305
|
+
* Set to true to allow minting an NFT with a duplicate metadata hash.
|
306
|
+
* @default true
|
307
|
+
*/
|
308
|
+
allowDuplicates?: boolean;
|
309
|
+
/** The data of the license and its configuration to be attached to the new group IP. */
|
310
|
+
licenseTermsData: LicenseTermsData[];
|
311
|
+
/** Authors of the IP and their shares of the royalty tokens */
|
323
312
|
royaltyShares: RoyaltyShare[];
|
313
|
+
/** The address to receive the minted NFT. If not provided, the function will use the user's own wallet address. */
|
324
314
|
recipient?: Address;
|
325
315
|
txOptions?: Omit<TxOptions, "encodedTxDataOnly">;
|
326
316
|
} & IPMetadataInfo & WithWipOptions;
|
@@ -333,9 +323,16 @@ export type MintAndRegisterIpAndAttachPILTermsAndDistributeRoyaltyTokensResponse
|
|
333
323
|
};
|
334
324
|
export type MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensRequest = {
|
335
325
|
spgNftContract: Address;
|
326
|
+
/** The derivative data to be used for register derivative. */
|
336
327
|
derivData: DerivativeData;
|
328
|
+
/** Authors of the IP and their shares of the royalty tokens. */
|
337
329
|
royaltyShares: RoyaltyShare[];
|
338
|
-
|
330
|
+
/**
|
331
|
+
* Set to true to allow minting an NFT with a duplicate metadata hash.
|
332
|
+
* @default true
|
333
|
+
*/
|
334
|
+
allowDuplicates?: boolean;
|
335
|
+
/** The address to receive the minted NFT. If not provided, the function will use the user's own wallet address. */
|
339
336
|
recipient?: Address;
|
340
337
|
txOptions?: Omit<TxOptions, "encodedTxDataOnly">;
|
341
338
|
} & IPMetadataInfo & WithWipOptions;
|
@@ -344,7 +341,7 @@ export type MintAndRegisterIpAndMakeDerivativeAndDistributeRoyaltyTokensResponse
|
|
344
341
|
ipId?: Address;
|
345
342
|
tokenId?: bigint;
|
346
343
|
};
|
347
|
-
export type
|
344
|
+
export type CommonRegistrationParams = WithWipOptions & {
|
348
345
|
contractCall: () => Promise<Hash>;
|
349
346
|
encodedTxs: EncodedTxData[];
|
350
347
|
spgNftContract?: Address;
|
@@ -354,11 +351,14 @@ export type CommonRegistrationHandlerParams = WithWipOptions & {
|
|
354
351
|
sender: Address;
|
355
352
|
txOptions?: TxOptions;
|
356
353
|
};
|
357
|
-
export type
|
354
|
+
export type RegistrationResponse = {
|
358
355
|
txHash?: Hex;
|
356
|
+
receipt?: TransactionReceipt;
|
359
357
|
ipId?: Address;
|
360
358
|
tokenId?: bigint;
|
361
|
-
|
359
|
+
};
|
360
|
+
export type CommonRegistrationTxResponse = RegistrationResponse & {
|
361
|
+
txHash: Hex;
|
362
362
|
};
|
363
363
|
export {};
|
364
364
|
//# sourceMappingURL=ipAsset.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../../src/types/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,sBAAmB;AACvC,OAAO,EAAE,uBAAuB,EAAE,qBAAkB;AACpD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,qBAAkB;AACpE,OAAO,EAAE,qBAAqB,EAAE,gDAA6C;AAC7E,OAAO,EAAE,cAAc,EAAE,wBAAqB;AAE9C,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,EAAE,OAAO,EAAE,CAAC;IACvB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AAC,SAAS,EAAE,mBAAmB,CAAC,CAAC;CAClD,GAAG,cAAc,GAChB,cAAc,CAAC;AAEjB,MAAM,MAAM,oEAAoE,GAAG;IACjF,MAAM,EAAE,GAAG,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,GAAG;IACtD,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4DAA4D;IAC5D,iBAAiB,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,GAAG;IAChE,MAAM,EAAE,GAAG,CAAC;CACb,CAAC"}
|
@@ -0,0 +1,274 @@
|
|
1
|
+
import { Address, Hash } from "viem";
|
2
|
+
export type AIMetadata = {
|
3
|
+
/**
|
4
|
+
* Url to the character file.
|
5
|
+
*
|
6
|
+
* @example https://github.com/elizaOS/characterfile/blob/main/examples/example.character.json
|
7
|
+
*/
|
8
|
+
characterFileUrl: string;
|
9
|
+
/**
|
10
|
+
* Hash of the character file using SHA-256 hashing algorithm.
|
11
|
+
*/
|
12
|
+
characterFileHash: Hash;
|
13
|
+
};
|
14
|
+
/**
|
15
|
+
* IPA Metadata Standard Parameters
|
16
|
+
*
|
17
|
+
* This is the metadata that is associated with an IP Asset,
|
18
|
+
* and gets stored inside of an IP Account.
|
19
|
+
*
|
20
|
+
* @see {@link https://docs.story.foundation/docs/ipa-metadata-standard|IPA Metadata Standard Docs}
|
21
|
+
*/
|
22
|
+
export type IpMetadata = {
|
23
|
+
/** Title of the IP. Required for Story Explorer. */
|
24
|
+
title?: string;
|
25
|
+
/** Description of the IP. Required for Story Explorer. */
|
26
|
+
description?: string;
|
27
|
+
/**
|
28
|
+
* Date/Time that the IP was created (either ISO8601 or unix format).
|
29
|
+
*
|
30
|
+
* This field can be used to specify historical dates that aren’t on-chain.
|
31
|
+
* For example, Harry Potter was published on June 26.
|
32
|
+
*
|
33
|
+
* Required for Story Explorer.
|
34
|
+
*
|
35
|
+
* @example "1728401700"
|
36
|
+
*/
|
37
|
+
createdAt?: string;
|
38
|
+
/** An image for the IP. Required for Story Explorer. */
|
39
|
+
image?: string;
|
40
|
+
/**
|
41
|
+
* Hash of your `image` using SHA-256 hashing algorithm.
|
42
|
+
* See {@link https://docs.story.foundation/docs/ipa-metadata-standard#hashing-content|here} for how that is done.
|
43
|
+
*
|
44
|
+
* Required for Story Explorer.
|
45
|
+
*/
|
46
|
+
imageHash?: Hash;
|
47
|
+
/**
|
48
|
+
* An array of information about the creators.
|
49
|
+
*
|
50
|
+
* Required for Story Explorer.
|
51
|
+
*/
|
52
|
+
creators?: IpCreator[];
|
53
|
+
/**
|
54
|
+
* Url to the actual media file (ex video, audio, image, etc).
|
55
|
+
* Used for infringement checking.
|
56
|
+
*
|
57
|
+
* Required for Commercial Infringement Check
|
58
|
+
*
|
59
|
+
* @example https://ipfs.io/ipfs/QmSamy4zqP91X42k6wS7kLJQVzuYJuW2EN94couPaq82A8
|
60
|
+
*/
|
61
|
+
mediaUrl?: string;
|
62
|
+
/**
|
63
|
+
* Hashed string of the media using SHA-256 hashing algorithm.
|
64
|
+
*
|
65
|
+
* Required for Commercial Infringement Check
|
66
|
+
*
|
67
|
+
* @example 0x21937ba9d821cb0306c7f1a1a2cc5a257509f228ea6abccc9af1a67dd754af6e
|
68
|
+
*/
|
69
|
+
mediaHash?: Hash;
|
70
|
+
/**
|
71
|
+
* Type of media (audio, video, image), based on mimeType.
|
72
|
+
*
|
73
|
+
* See {@link https://docs.story.foundation/docs/ipa-metadata-standard#media-types|here}
|
74
|
+
* for all the allowed media types.
|
75
|
+
*
|
76
|
+
* Required for Commercial Infringement Check
|
77
|
+
*/
|
78
|
+
mediaType?: string;
|
79
|
+
/**
|
80
|
+
* Used for registering & displaying AI Agent Metadata.
|
81
|
+
*
|
82
|
+
* Required for AI Agents
|
83
|
+
*/
|
84
|
+
aiMetadata?: AIMetadata;
|
85
|
+
/**
|
86
|
+
* Any other fields can be included in the metadata.
|
87
|
+
*/
|
88
|
+
[key: string]: unknown;
|
89
|
+
} & IpMetadataExperimentalAttributes;
|
90
|
+
/**
|
91
|
+
* Experimental ip metadata fields that are not required but may be
|
92
|
+
* considered for future use.
|
93
|
+
*/
|
94
|
+
export type IpMetadataExperimentalAttributes = {
|
95
|
+
/**
|
96
|
+
* **Experimental**: Type of the IP Asset, can be defined arbitrarily by the
|
97
|
+
* creator. I.e. “character”, “chapter”, “location”, “items”, "music", etc
|
98
|
+
*/
|
99
|
+
ipType?: string;
|
100
|
+
/**
|
101
|
+
* **Experimental**: The detailed relationship info with the IPA’s direct parent asset,
|
102
|
+
* such as APPEARS_IN, FINETUNED_FROM, etc
|
103
|
+
*/
|
104
|
+
relationships?: IpRelationship[];
|
105
|
+
/**
|
106
|
+
* **Experimental**: A separate image with your watermark already applied.
|
107
|
+
* This way apps choosing to use it can render this version of the image (with watermark applied).
|
108
|
+
*/
|
109
|
+
watermarkImg?: string;
|
110
|
+
/**
|
111
|
+
* **Experimental**: An array of supporting media
|
112
|
+
*/
|
113
|
+
media?: IpMedia[];
|
114
|
+
/**
|
115
|
+
* **Experimental**: This is assigned to verified application from
|
116
|
+
* Story Protocol directly (on a request basis so far).
|
117
|
+
*/
|
118
|
+
app?: StoryProtocolApp;
|
119
|
+
/**
|
120
|
+
* **Experimental**: Any tags that can help surface this IPA
|
121
|
+
*/
|
122
|
+
tags?: string[];
|
123
|
+
/**
|
124
|
+
* **Experimental**: Allows you to set Do Not Train for a specific agent
|
125
|
+
*/
|
126
|
+
robotTerms?: IPRobotTerms;
|
127
|
+
};
|
128
|
+
export type IPRobotTerms = {
|
129
|
+
userAgent: string;
|
130
|
+
allow: string;
|
131
|
+
};
|
132
|
+
export type StoryProtocolApp = {
|
133
|
+
id: string;
|
134
|
+
name: string;
|
135
|
+
website: string;
|
136
|
+
action?: string;
|
137
|
+
};
|
138
|
+
export type IpMedia = {
|
139
|
+
name: string;
|
140
|
+
url: string;
|
141
|
+
mimeType: string;
|
142
|
+
};
|
143
|
+
export type IpRelationship = {
|
144
|
+
parentIpId: Address;
|
145
|
+
/**
|
146
|
+
* Type of relationship between the parent and child IP.
|
147
|
+
*
|
148
|
+
* @see {@link https://docs.story.foundation/docs/ipa-metadata-standard#relationship-types|Relationship Types} for all relationship types.
|
149
|
+
*
|
150
|
+
* @example StoryRelationship.APPEARS_IN
|
151
|
+
*/
|
152
|
+
type: StoryRelationship | AIRelationship;
|
153
|
+
};
|
154
|
+
export type IpCreator = {
|
155
|
+
/**
|
156
|
+
* Name of the creator.
|
157
|
+
*
|
158
|
+
* @example "Story Foundation"
|
159
|
+
*/
|
160
|
+
name: string;
|
161
|
+
address: Address;
|
162
|
+
description?: string;
|
163
|
+
image?: string;
|
164
|
+
socialMedia?: IpCreatorSocial[];
|
165
|
+
role?: string;
|
166
|
+
/**
|
167
|
+
* Contribution percent of the creator.
|
168
|
+
*
|
169
|
+
* Total contribution percent of all creators should add up to 100.
|
170
|
+
*/
|
171
|
+
contributionPercent: number;
|
172
|
+
};
|
173
|
+
export type IpCreatorSocial = {
|
174
|
+
/**
|
175
|
+
* Social media platform.
|
176
|
+
*
|
177
|
+
* @example "Discord"
|
178
|
+
*/
|
179
|
+
platform: string;
|
180
|
+
url: string;
|
181
|
+
};
|
182
|
+
/**
|
183
|
+
* Enum representing the various relationship types in a story narrative.
|
184
|
+
*/
|
185
|
+
export declare enum StoryRelationship {
|
186
|
+
/** A character appears in a chapter. */
|
187
|
+
APPEARS_IN = "APPEARS_IN",
|
188
|
+
/** A chapter belongs to a book. */
|
189
|
+
BELONGS_TO = "BELONGS_TO",
|
190
|
+
/** A book is part of a series. */
|
191
|
+
PART_OF = "PART_OF",
|
192
|
+
/** A chapter continues from the previous one. */
|
193
|
+
CONTINUES_FROM = "CONTINUES_FROM",
|
194
|
+
/** An event leads to a consequence. */
|
195
|
+
LEADS_TO = "LEADS_TO",
|
196
|
+
/** An event foreshadows future developments. */
|
197
|
+
FORESHADOWS = "FORESHADOWS",
|
198
|
+
/** A character conflicts with another character. */
|
199
|
+
CONFLICTS_WITH = "CONFLICTS_WITH",
|
200
|
+
/** A decision results in a significant change. */
|
201
|
+
RESULTS_IN = "RESULTS_IN",
|
202
|
+
/** A subplot depends on the main plot. */
|
203
|
+
DEPENDS_ON = "DEPENDS_ON",
|
204
|
+
/** A prologue sets up the story. */
|
205
|
+
SETS_UP = "SETS_UP",
|
206
|
+
/** A chapter follows from the previous one. */
|
207
|
+
FOLLOWS_FROM = "FOLLOWS_FROM",
|
208
|
+
/** A twist reveals that something unexpected occurred. */
|
209
|
+
REVEALS_THAT = "REVEALS_THAT",
|
210
|
+
/** A character develops over the course of the story. */
|
211
|
+
DEVELOPS_OVER = "DEVELOPS_OVER",
|
212
|
+
/** A chapter introduces a new character or element. */
|
213
|
+
INTRODUCES = "INTRODUCES",
|
214
|
+
/** A conflict resolves in a particular outcome. */
|
215
|
+
RESOLVES_IN = "RESOLVES_IN",
|
216
|
+
/** A theme connects to the main narrative. */
|
217
|
+
CONNECTS_TO = "CONNECTS_TO",
|
218
|
+
/** A subplot relates to the central theme. */
|
219
|
+
RELATES_TO = "RELATES_TO",
|
220
|
+
/** A scene transitions from one setting to another. */
|
221
|
+
TRANSITIONS_FROM = "TRANSITIONS_FROM",
|
222
|
+
/** A character interacted with another character. */
|
223
|
+
INTERACTED_WITH = "INTERACTED_WITH",
|
224
|
+
/** An event leads into the climax. */
|
225
|
+
LEADS_INTO = "LEADS_INTO",
|
226
|
+
/** Story happening in parallel or around the same timeframe. */
|
227
|
+
PARALLEL = "PARALLEL"
|
228
|
+
}
|
229
|
+
/**
|
230
|
+
* Enum representing the different relationship types for AI-related metadata.
|
231
|
+
*/
|
232
|
+
export declare enum AIRelationship {
|
233
|
+
/** A model is trained on a dataset. */
|
234
|
+
TRAINED_ON = "TRAINED_ON",
|
235
|
+
/** A model is finetuned from a base model. */
|
236
|
+
FINETUNED_FROM = "FINETUNED_FROM",
|
237
|
+
/** An image is generated from a fine-tuned model. */
|
238
|
+
GENERATED_FROM = "GENERATED_FROM",
|
239
|
+
/** A model requires data for training. */
|
240
|
+
REQUIRES_DATA = "REQUIRES_DATA",
|
241
|
+
/** A remix is based on a specific workflow. */
|
242
|
+
BASED_ON = "BASED_ON",
|
243
|
+
/** Sample data influences model output. */
|
244
|
+
INFLUENCES = "INFLUENCES",
|
245
|
+
/** A pipeline creates a fine-tuned model. */
|
246
|
+
CREATES = "CREATES",
|
247
|
+
/** A workflow utilizes a base model. */
|
248
|
+
UTILIZES = "UTILIZES",
|
249
|
+
/** A fine-tuned model is derived from a base model. */
|
250
|
+
DERIVED_FROM = "DERIVED_FROM",
|
251
|
+
/** A model produces generated images. */
|
252
|
+
PRODUCES = "PRODUCES",
|
253
|
+
/** A remix modifies the base workflow. */
|
254
|
+
MODIFIES = "MODIFIES",
|
255
|
+
/** An AI-generated image references original data. */
|
256
|
+
REFERENCES = "REFERENCES",
|
257
|
+
/** A model is optimized by specific algorithms. */
|
258
|
+
OPTIMIZED_BY = "OPTIMIZED_BY",
|
259
|
+
/** A fine-tuned model inherits features from the base model. */
|
260
|
+
INHERITS = "INHERITS",
|
261
|
+
/** A fine-tuning process applies to a model. */
|
262
|
+
APPLIES_TO = "APPLIES_TO",
|
263
|
+
/** A remix combines elements from multiple datasets. */
|
264
|
+
COMBINES = "COMBINES",
|
265
|
+
/** A model generates variants of an image. */
|
266
|
+
GENERATES_VARIANTS = "GENERATES_VARIANTS",
|
267
|
+
/** A fine-tuning process expands on base capabilities. */
|
268
|
+
EXPANDS_ON = "EXPANDS_ON",
|
269
|
+
/** A workflow configures a model’s parameters. */
|
270
|
+
CONFIGURES = "CONFIGURES",
|
271
|
+
/** A fine-tuned model adapts to new data. */
|
272
|
+
ADAPTS_TO = "ADAPTS_TO"
|
273
|
+
}
|
274
|
+
//# sourceMappingURL=ipMetadata.d.ts.map
|