@story-protocol/core-sdk 1.0.0-rc.20 → 1.0.0-rc.22
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/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts +3 -1
- package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +2 -0
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +17 -40
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +5 -5
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts +5 -5
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts +4 -5
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/options.d.ts +3 -5
- package/dist/declarations/src/types/options.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +26 -2
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +282 -277
- package/dist/story-protocol-core-sdk.cjs.prod.js +282 -277
- package/dist/story-protocol-core-sdk.esm.js +282 -277
- package/package.json +1 -1
@@ -8,7 +8,7 @@ export { NftClient } from "./resources/nftClient.js";
|
|
8
8
|
export { IPAccountClient } from "./resources/ipAccount.js";
|
9
9
|
export { RoyaltyClient } from "./resources/royalty.js";
|
10
10
|
export type { StoryConfig, SupportedChainIds } from "./types/config.js";
|
11
|
-
export type { RegisterRequest, RegisterIpResponse, RegisterDerivativeResponse, RegisterDerivativeRequest, RegisterDerivativeWithLicenseTokensRequest, RegisterDerivativeWithLicenseTokensResponse, CreateIpAssetWithPilTermsRequest, CreateIpAssetWithPilTermsResponse, RegisterIpAndMakeDerivativeRequest, RegisterIpAndMakeDerivativeResponse, RegisterIpAndAttachPilTermsRequest, RegisterIpAndAttachPilTermsResponse, MintAndRegisterIpAndMakeDerivativeRequest, } from "./types/resources/ipAsset.js";
|
11
|
+
export type { RegisterRequest, RegisterIpResponse, RegisterDerivativeResponse, RegisterDerivativeRequest, RegisterDerivativeWithLicenseTokensRequest, RegisterDerivativeWithLicenseTokensResponse, CreateIpAssetWithPilTermsRequest, CreateIpAssetWithPilTermsResponse, RegisterIpAndMakeDerivativeRequest, RegisterIpAndMakeDerivativeResponse, RegisterIpAndAttachPilTermsRequest, RegisterIpAndAttachPilTermsResponse, MintAndRegisterIpAndMakeDerivativeRequest, GenerateCreatorMetadataParam, IpCreator, GenerateIpMetadataParam, IpMetadata, IpRelationship, IpAttribute, IpCreatorSocial, IpMedia, IPRobotTerms, StoryProtocolApp, } from "./types/resources/ipAsset.js";
|
12
12
|
export type { RegisterNonComSocialRemixingPILRequest, RegisterCommercialUsePILRequest, RegisterCommercialRemixPILRequest, RegisterPILResponse, AttachLicenseTermsRequest, AttachLicenseTermsResponse, MintLicenseTokensRequest, MintLicenseTokensResponse, LicenseTermsId, } from "./types/resources/license.js";
|
13
13
|
export { PIL_TYPE } from "./types/resources/license.js";
|
14
14
|
export type { CollectRoyaltyTokensRequest, CollectRoyaltyTokensResponse, PayRoyaltyOnBehalfRequest, PayRoyaltyOnBehalfResponse, SnapshotRequest, SnapshotResponse, ClaimableRevenueRequest, ClaimableRevenueResponse, ClaimRevenueRequest, ClaimRevenueResponse, } from "./types/resources/royalty.js";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAiB;AACvC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,8BAA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B,EAC5B,SAAS,EACT,uBAAuB,EACvB,UAAU,EACV,cAAc,EACd,WAAW,EACX,eAAe,EACf,OAAO,EACP,YAAY,EACZ,gBAAgB,GACjB,qCAAkC;AAEnC,YAAY,EACV,sCAAsC,EACtC,+BAA+B,EAC/B,iCAAiC,EACjC,mBAAmB,EACnB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EACzB,cAAc,GACf,qCAAkC;AACnC,OAAO,EAAE,QAAQ,EAAE,qCAAkC;AAErD,YAAY,EACV,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,GACrB,qCAAkC;AAEnC,YAAY,EACV,qBAAqB,EACrB,sBAAsB,EACtB,mCAAmC,EACnC,wBAAwB,EACxB,0BAA0B,EAC1B,qCAAqC,GACtC,wCAAqC;AACtC,OAAO,EAAE,gBAAgB,EAAE,wCAAqC;AAChE,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,GACvB,qCAAkC;AAEnC,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,GACvB,uCAAoC;AAErC,YAAY,EACV,0BAA0B,EAC1B,2BAA2B,GAC5B,uCAAoC;AAErC,YAAY,EACV,wCAAwC,EACxC,0BAA0B,EAC1B,aAAa,GACd,2BAAwB;AAEzB,OAAO,EAAE,sBAAsB,EAAE,wBAAqB;AACtD,YAAY,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,0BAAuB"}
|
@@ -13,7 +13,7 @@ export declare class DisputeClient {
|
|
13
13
|
* @param request.linkToDisputeEvidence - The link to the dispute evidence.
|
14
14
|
* @param request.targetTag - The target tag of the dispute.
|
15
15
|
* @param request.calldata - Optional calldata to initialize the policy.
|
16
|
-
* @param request.txOptions - Optional transaction
|
16
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
17
17
|
* @returns A Promise that resolves to a RaiseDisputeResponse containing the transaction hash.
|
18
18
|
* @throws `NotRegisteredIpId` if targetIpId is not registered in the IPA Registry.
|
19
19
|
* @throws `NotWhitelistedDisputeTag` if targetTag is not whitelisted.
|
@@ -27,6 +27,7 @@ export declare class DisputeClient {
|
|
27
27
|
* @param request - The request object containing details to cancel the dispute.
|
28
28
|
* @param request.disputeId The ID of the dispute to be cancelled.
|
29
29
|
* @param request.calldata Optional additional data used in the cancellation process.
|
30
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
30
31
|
* @returns A Promise that resolves to a CancelDisputeResponse containing the transaction hash.
|
31
32
|
* @throws NotInDisputeState, if the currentTag of the Dispute is not being disputed
|
32
33
|
* @throws NotDisputeInitiator, if the transaction executor is not the one that initiated the dispute
|
@@ -40,6 +41,7 @@ export declare class DisputeClient {
|
|
40
41
|
* @param request - The request object containing details to resolve the dispute.
|
41
42
|
* @param request.disputeId The ID of the dispute to be resolved.
|
42
43
|
* @param request.data The data to resolve the dispute.
|
44
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
43
45
|
* @returns A Promise that resolves to a ResolveDisputeResponse.
|
44
46
|
* @throws NotAbleToResolve, if currentTag is still in dispute (i.e still needs a judgement to be set)
|
45
47
|
* @throws NotDisputeInitiator, if the transaction executor is not the one that initiated the dispute
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dispute.d.ts","sourceRoot":"../../../../src/resources","sources":["dispute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,MAAM,MAAM,CAAC;AAGjD,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACvB,sCAAmC;AACpC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,4BAAyB;AAG3E,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IAClC,mBAAmB,EAAE,mBAAmB,CAAC;gBAEpC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB;IAK/D;;;;;;;;;;;;;;;OAeG;IACU,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"dispute.d.ts","sourceRoot":"../../../../src/resources","sources":["dispute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,MAAM,MAAM,CAAC;AAGjD,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACvB,sCAAmC;AACpC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,4BAAyB;AAG3E,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IAClC,mBAAmB,EAAE,mBAAmB,CAAC;gBAEpC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB;IAK/D;;;;;;;;;;;;;;;OAeG;IACU,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgCtF;;;;;;;;;;;;OAYG;IACU,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAyBzF;;;;;;;;;;OAUG;IACU,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAwB7F"}
|
@@ -12,6 +12,7 @@ export declare class IPAccountClient {
|
|
12
12
|
* @param request.value The amount of Ether to send.
|
13
13
|
* @param request.accountAddress The ipId to send.
|
14
14
|
* @param request.data The data to send along with the transaction.
|
15
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
15
16
|
* @returns Tx hash for the transaction.
|
16
17
|
*/
|
17
18
|
execute(request: IPAccountExecuteRequest): Promise<IPAccountExecuteResponse>;
|
@@ -24,6 +25,7 @@ export declare class IPAccountClient {
|
|
24
25
|
* @param request.signer The signer of the transaction.
|
25
26
|
* @param request.deadline The deadline of the transaction signature.
|
26
27
|
* @param request.signature The signature of the transaction, EIP-712 encoded.
|
28
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
27
29
|
* @returns Tx hash for the transaction.
|
28
30
|
*/
|
29
31
|
executeWithSig(request: IPAccountExecuteWithSigRequest): Promise<IPAccountExecuteWithSigResponse>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipAccount.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,EACvB,wCAAqC;AAEtC,OAAO,EAAuB,kBAAkB,EAAE,4BAAyB;AAG3E,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;gBAE7B,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB;IAK/D
|
1
|
+
{"version":3,"file":"ipAccount.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,EACvB,wCAAqC;AAEtC,OAAO,EAAuB,kBAAkB,EAAE,4BAAyB;AAG3E,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;gBAE7B,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB;IAK/D;;;;;;;;;OASG;IACU,OAAO,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAgCzF;;;;;;;;;;;OAWG;IACU,cAAc,CACzB,OAAO,EAAE,8BAA8B,GACtC,OAAO,CAAC,+BAA+B,CAAC;IAmC3C;;;OAGG;IACU,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAS9E"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { PublicClient
|
1
|
+
import { PublicClient } from "viem";
|
2
2
|
import { SupportedChainIds } from "../types/config.js";
|
3
|
-
import { CreateIpAssetWithPilTermsRequest, CreateIpAssetWithPilTermsResponse,
|
3
|
+
import { CreateIpAssetWithPilTermsRequest, CreateIpAssetWithPilTermsResponse, GenerateCreatorMetadataParam, GenerateIpMetadataParam, IpCreator, IpMetadata, MintAndRegisterIpAndMakeDerivativeRequest, RegisterDerivativeRequest, RegisterDerivativeResponse, RegisterDerivativeWithLicenseTokensRequest, RegisterDerivativeWithLicenseTokensResponse, RegisterIpAndAttachPilTermsRequest, RegisterIpAndAttachPilTermsResponse, RegisterIpAndMakeDerivativeRequest, RegisterIpAndMakeDerivativeResponse, RegisterIpResponse, RegisterRequest } from "../types/resources/ipAsset.js";
|
4
4
|
import { AccessControllerClient, CoreMetadataModuleClient, IpAssetRegistryClient, LicenseRegistryReadOnlyClient, LicenseTokenReadOnlyClient, LicensingModuleClient, PiLicenseTemplateClient, RoyaltyPolicyLapClient, SimpleWalletClient, SpgClient } from "../abi/generated.js";
|
5
5
|
export declare class IPAssetClient {
|
6
6
|
licensingModuleClient: LicensingModuleClient;
|
@@ -26,19 +26,11 @@ export declare class IPAssetClient {
|
|
26
26
|
* @param params.socialMedia [Optional] An array of social media profiles associated with the creator.
|
27
27
|
* @param params.socialMedia[].platform The name of the social media platform.
|
28
28
|
* @param params.socialMedia[].url The URL to the creator's profile on the platform.
|
29
|
-
*
|
30
|
-
*
|
29
|
+
* @param params.contributionPercent The percentage of contribution by the creator, must add up to 100.
|
30
|
+
* @param params.role [Optional] The role of the creator in relation to the IP.
|
31
31
|
* @returns An `IpCreator` object containing the provided details.
|
32
32
|
*/
|
33
|
-
generateCreatorMetadata(
|
34
|
-
name: string;
|
35
|
-
address: Address;
|
36
|
-
contributionPercent: number;
|
37
|
-
description?: string;
|
38
|
-
image?: string;
|
39
|
-
socialMedia?: IpCreatorSocial[];
|
40
|
-
role?: string;
|
41
|
-
}): IpCreator;
|
33
|
+
generateCreatorMetadata(param: GenerateCreatorMetadataParam): IpCreator;
|
42
34
|
/**
|
43
35
|
* Create a new `IpMetadata` object with the specified details.
|
44
36
|
* @param params - The parameters required to create the `IpMetadata` object.
|
@@ -56,8 +48,8 @@ export declare class IPAssetClient {
|
|
56
48
|
* @param params.creators[].description [Optional] A description of the creator.
|
57
49
|
* @param params.creators[].image [Optional] The URL or path to an image representing the creator.
|
58
50
|
* @param params.creators[].socialMedia [Optional] An array of social media profiles for the creator.
|
59
|
-
*
|
60
|
-
*
|
51
|
+
* @param params.creators[].socialMedia[].platform The social media platform name.
|
52
|
+
* @param params.creators[].socialMedia[].url The URL to the creator's profile.
|
61
53
|
* @param params.creators[].role [Optional] The role of the creator in relation to the IP.
|
62
54
|
* @param params.creators[].contributionPercent The percentage of contribution by the creator.
|
63
55
|
* @param params.media [Optional] An array of media related to the IP.
|
@@ -78,23 +70,7 @@ export declare class IPAssetClient {
|
|
78
70
|
* @param params.additionalProperties [Optional] Any additional key-value pairs to include in the metadata.
|
79
71
|
* @returns An `IpMetadata` object containing the provided details and any additional properties.
|
80
72
|
*/
|
81
|
-
generateIpMetadata(
|
82
|
-
title?: string;
|
83
|
-
description?: string;
|
84
|
-
ipType?: string;
|
85
|
-
relationships?: IpRelationship[];
|
86
|
-
createdAt?: string;
|
87
|
-
watermarkImg?: string;
|
88
|
-
creators?: IpCreator[];
|
89
|
-
media?: IpMedia[];
|
90
|
-
attributes?: IpAttribute[];
|
91
|
-
app?: StoryProtocolApp;
|
92
|
-
tags?: string[];
|
93
|
-
robotTerms?: IPRobotTerms;
|
94
|
-
additionalProperties?: {
|
95
|
-
[key: string]: unknown;
|
96
|
-
};
|
97
|
-
}): IpMetadata;
|
73
|
+
generateIpMetadata(param: GenerateIpMetadataParam): IpMetadata;
|
98
74
|
/**
|
99
75
|
* Registers an NFT as IP, creating a corresponding IP record.
|
100
76
|
* @param request - The request object that contains all data needed to register IP.
|
@@ -106,7 +82,7 @@ export declare class IPAssetClient {
|
|
106
82
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
107
83
|
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.
|
108
84
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
109
|
-
* @param request.txOptions [Optional]
|
85
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
110
86
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
111
87
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, resolverAddr, metadataProviderAddress, metadata)
|
112
88
|
*/
|
@@ -121,7 +97,7 @@ export declare class IPAssetClient {
|
|
121
97
|
* @param request.childIpId The derivative IP ID.
|
122
98
|
* @param request.parentIpIds The parent IP IDs.
|
123
99
|
* @param request.licenseTermsIds The IDs of the license terms that the parent IP supports.
|
124
|
-
* @param request.txOptions [Optional]
|
100
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
125
101
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
126
102
|
*/
|
127
103
|
registerDerivative(request: RegisterDerivativeRequest): Promise<RegisterDerivativeResponse>;
|
@@ -133,7 +109,7 @@ export declare class IPAssetClient {
|
|
133
109
|
* @param request - The request object that contains all data needed to register derivative license tokens.
|
134
110
|
* @param request.childIpId The derivative IP ID.
|
135
111
|
* @param request.licenseTokenIds The IDs of the license tokens.
|
136
|
-
* @param request.txOptions [Optional]
|
112
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
137
113
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
138
114
|
*/
|
139
115
|
registerDerivativeWithLicenseTokens(request: RegisterDerivativeWithLicenseTokensRequest): Promise<RegisterDerivativeWithLicenseTokensResponse>;
|
@@ -151,7 +127,7 @@ export declare class IPAssetClient {
|
|
151
127
|
* @param request.mintingFee [Optional] The fee to be paid when minting a license.
|
152
128
|
* @param request.commercialRevShare [Optional] Percentage of revenue that must be shared with the licensor.
|
153
129
|
* @param request.currency [Optional] The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
154
|
-
* @param request.txOptions [Optional]
|
130
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
155
131
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID, Token ID, License Terms Id if waitForTxn is set to true.
|
156
132
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
157
133
|
* @emits LicenseTermsAttached (caller, ipId, licenseTemplate, licenseTermsId)
|
@@ -172,7 +148,7 @@ export declare class IPAssetClient {
|
|
172
148
|
* @param request.mintingFee [Optional] The fee to be paid when minting a license.
|
173
149
|
* @param request.commercialRevShare [Optional] Percentage of revenue that must be shared with the licensor.
|
174
150
|
* @param request.currency [Optional] The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
175
|
-
* @param request.txOptions [Optional]
|
151
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
176
152
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID, License Terms Id if waitForTxn is set to true.
|
177
153
|
* @emits LicenseTermsAttached (caller, ipId, licenseTemplate, licenseTermsId)
|
178
154
|
*/
|
@@ -192,7 +168,7 @@ export declare class IPAssetClient {
|
|
192
168
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
193
169
|
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.
|
194
170
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds,default is 1000ms.
|
195
|
-
* @param request.txOptions [Optional]
|
171
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
196
172
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
197
173
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
198
174
|
*/
|
@@ -209,8 +185,9 @@ export declare class IPAssetClient {
|
|
209
185
|
* @param request.ipMetadata.ipMetadataURI [Optional] The URI of the metadata for the IP.
|
210
186
|
* @param request.ipMetadata.ipMetadataHash [Optional] The hash of the metadata for the IP.
|
211
187
|
* @param request.ipMetadata.nftMetadataURI [Optional] The URI of the metadata for the NFT.
|
212
|
-
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.*
|
213
|
-
* @param request.
|
188
|
+
* @param request.ipMetadata.nftMetadataHash [Optional] The hash of the metadata for the IP NFT.*
|
189
|
+
* @param request.recipient [Optional] The address of the recipient of the minted NFT.
|
190
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
214
191
|
* @returns A Promise that resolves to an object containing the transaction hash and optional IP ID if waitForTxn is set to true.
|
215
192
|
* @emits IPRegistered (ipId, chainId, tokenContract, tokenId, name, uri, registrationDate)
|
216
193
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,
|
1
|
+
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../src/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAWb,MAAM,MAAM,CAAC;AAGd,OAAO,EAAE,iBAAiB,EAAE,2BAAwB;AAEpD,OAAO,EACL,gCAAgC,EAChC,iCAAiC,EACjC,4BAA4B,EAC5B,uBAAuB,EACvB,SAAS,EACT,UAAU,EACV,yCAAyC,EACzC,yBAAyB,EACzB,0BAA0B,EAC1B,0CAA0C,EAC1C,2CAA2C,EAC3C,kCAAkC,EAClC,mCAAmC,EACnC,kCAAkC,EAClC,mCAAmC,EACnC,kBAAkB,EAClB,eAAe,EAChB,sCAAmC;AACpC,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,6BAA6B,EAC7B,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EAQV,4BAAyB;AAK1B,qBAAa,aAAa;IACjB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,qBAAqB,EAAE,uBAAuB,CAAC;IAC/C,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,SAAS,EAAE,SAAS,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;gBAEhC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,EAAE,iBAAiB;IAe3F;;;;;;;;;;;;;OAaG;IACI,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,GAAG,SAAS;IAqB9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACI,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,UAAU;IAiCrE;;;;;;;;;;;;;;OAcG;IACU,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAoF5E;;;;;;;;;;;;OAYG;IACU,kBAAkB,CAC7B,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,0BAA0B,CAAC;IA4DtC;;;;;;;;;;OAUG;IACU,mCAAmC,CAC9C,OAAO,EAAE,0CAA0C,GAClD,OAAO,CAAC,2CAA2C,CAAC;IAyCvD;;;;;;;;;;;;;;;;;;OAkBG;IACU,kCAAkC,CAC7C,OAAO,EAAE,gCAAgC,GACxC,OAAO,CAAC,iCAAiC,CAAC;IAiD7C;;;;;;;;;;;;;;;;;;OAkBG;IACU,2BAA2B,CACtC,OAAO,EAAE,kCAAkC,GAC1C,OAAO,CAAC,mCAAmC,CAAC;IAsG/C;;;;;;;;;;;;;;;;;;OAkBG;IACU,oBAAoB,CAC/B,OAAO,EAAE,kCAAkC,GAC1C,OAAO,CAAC,mCAAmC,CAAC;IA6H/C;;;;;;;;;;;;;;;;;OAiBG;IACU,kCAAkC,CAC7C,OAAO,EAAE,yCAAyC,GACjD,OAAO,CAAC,0BAA0B,CAAC;YA4DxB,cAAc;YAYd,YAAY;IAI1B,OAAO,CAAC,oBAAoB;YA+Bd,iBAAiB;CAYhC"}
|
@@ -15,7 +15,7 @@ export declare class LicenseClient {
|
|
15
15
|
/**
|
16
16
|
* Convenient function to register a PIL non commercial social remix license to the registry
|
17
17
|
* @param request - [Optional] The request object that contains all data needed to register a PIL non commercial social remix license.
|
18
|
-
* @param request.txOptions [Optional]
|
18
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19
19
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
20
20
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
21
21
|
*/
|
@@ -25,7 +25,7 @@ export declare class LicenseClient {
|
|
25
25
|
* @param request - The request object that contains all data needed to register a PIL commercial use license.
|
26
26
|
* @param request.mintingFee The fee to be paid when minting a license.
|
27
27
|
* @param request.currency The ERC20 token to be used to pay the minting fee and the token must be registered in story protocol.
|
28
|
-
* @param request.txOptions [Optional]
|
28
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
29
29
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
30
30
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
31
31
|
*/
|
@@ -36,7 +36,7 @@ export declare class LicenseClient {
|
|
36
36
|
* @param request.mintingFee The fee to be paid when minting a license.
|
37
37
|
* @param request.commercialRevShare Percentage of revenue that must be shared with the licensor.
|
38
38
|
* @param request.currency The ERC20 token to be used to pay the minting fee. the token must be registered in story protocol.
|
39
|
-
* @param request.txOptions [Optional]
|
39
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
40
40
|
* @returns A Promise that resolves to an object containing the optional transaction hash and optional license terms Id.
|
41
41
|
* @emits LicenseTermsRegistered (licenseTermsId, licenseTemplate, licenseTerms);
|
42
42
|
*/
|
@@ -47,7 +47,7 @@ export declare class LicenseClient {
|
|
47
47
|
* @param request.ipId The address of the IP to which the license terms are attached.
|
48
48
|
* @param request.licenseTemplate The address of the license template.
|
49
49
|
* @param request.licenseTermsId The ID of the license terms.
|
50
|
-
* @param request.txOptions [Optional]
|
50
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
51
51
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
52
52
|
*/
|
53
53
|
attachLicenseTerms(request: AttachLicenseTermsRequest): Promise<AttachLicenseTermsResponse>;
|
@@ -69,7 +69,7 @@ export declare class LicenseClient {
|
|
69
69
|
* @param request.licenseTermsId The ID of the license terms within the license template.
|
70
70
|
* @param request.amount The amount of license tokens to mint.
|
71
71
|
* @param request.receiver The address of the receiver.
|
72
|
-
* @param request.txOptions [Optional]
|
72
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
73
73
|
* @returns A Promise that resolves to an object containing the transaction hash and optional license token IDs if waitForTxn is set to true.
|
74
74
|
* @emits LicenseTokensMinted (msg.sender, licensorIpId, licenseTemplate, licenseTermsId, amount, receiver, startLicenseTokenId);
|
75
75
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"license.d.ts","sourceRoot":"../../../../src/resources","sources":["license.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAe,MAAM,MAAM,CAAC;AAEjD,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,qBAAqB,EACrB,uBAAuB,EACvB,wCAAwC,EACxC,+BAA+B,EAC/B,sBAAsB,EACtB,kBAAkB,EACnB,4BAAyB;AAC1B,OAAO,EAEL,sCAAsC,EACtC,mBAAmB,EACnB,+BAA+B,EAC/B,iCAAiC,EACjC,yBAAyB,EAEzB,wBAAwB,EACxB,yBAAyB,EAEzB,0BAA0B,EAC1B,cAAc,EACf,sCAAmC;AAKpC,qBAAa,aAAa;IACjB,qBAAqB,EAAE,0BAA0B,CAAC;IAClD,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,+BAA+B,EAAE,+BAA+B,CAA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A+B,CAC1C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,mBAAmB,CAAC;IAiC/B;;;;;;;;OAQG;IACU,wBAAwB,CACnC,OAAO,EAAE,+BAA+B,GACvC,OAAO,CAAC,mBAAmB,CAAC;IAqC/B;;;;;;;;;OASG;IACU,0BAA0B,CACrC,OAAO,EAAE,iCAAiC,GACzC,OAAO,CAAC,mBAAmB,CAAC;IAuC/B;;;;;;;;OAQG;IACU,kBAAkB,CAC7B,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,0BAA0B,CAAC;IAmDtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACU,iBAAiB,CAC5B,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,yBAAyB,CAAC;IAiErC;;;;OAIG;IACU,eAAe,CAC1B,sBAAsB,EAAE,cAAc,GACrC,OAAO,CAAC,wCAAwC,CAAC;YAUtC,iBAAiB;CAIhC"}
|
@@ -15,7 +15,7 @@ export declare class NftClient {
|
|
15
15
|
* @param request.mintFee - The cost to mint a token.
|
16
16
|
* @param request.mintFeeToken - The token to mint.
|
17
17
|
* @param request.owner - The owner of the collection.
|
18
|
-
* @param request.txOptions - Optional transaction
|
18
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19
19
|
* @returns A Promise that resolves to a CreateNFTCollectionResponse containing the transaction hash and collection address.
|
20
20
|
* @emits CollectionCreated (nftContract);
|
21
21
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"nftClient.d.ts","sourceRoot":"../../../../src/resources","sources":["nftClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqC,MAAM,MAAM,CAAC;AAEvE,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,4BAAyB;AACjE,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC5B,wCAAqC;AAItC,qBAAa,SAAS;IACb,SAAS,EAAE,SAAS,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;gBAEhC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB;IAM/D;;;;;;;;;;;;OAYG;IACU,mBAAmB,CAC9B,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"nftClient.d.ts","sourceRoot":"../../../../src/resources","sources":["nftClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqC,MAAM,MAAM,CAAC;AAEvE,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,4BAAyB;AACjE,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC5B,wCAAqC;AAItC,qBAAa,SAAS;IACb,SAAS,EAAE,SAAS,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;gBAEhC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB;IAM/D;;;;;;;;;;;;OAYG;IACU,mBAAmB,CAC9B,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,2BAA2B,CAAC;CAyCxC"}
|
@@ -27,7 +27,7 @@ export declare class PermissionClient {
|
|
27
27
|
* @param request.to The address that can be called by the `signer` (currently only modules can be `to`).
|
28
28
|
* @param request.permission The new permission level.
|
29
29
|
* @param request.func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
30
|
-
* @param request.txOptions [Optional]
|
30
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
31
31
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
32
32
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
33
33
|
*/
|
@@ -41,7 +41,7 @@ export declare class PermissionClient {
|
|
41
41
|
* @param request.permission The new permission level.
|
42
42
|
* @param request.func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
43
43
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
44
|
-
* @param request.txOptions [Optional]
|
44
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
45
45
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
46
46
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
47
47
|
*/
|
@@ -52,7 +52,7 @@ export declare class PermissionClient {
|
|
52
52
|
* @param request.ipId The IP ID that grants the permission for `signer`
|
53
53
|
* @param request.signer The address of the signer receiving the permissions.
|
54
54
|
* @param request.permission The new permission.
|
55
|
-
* @param request.txOptions [Optional]
|
55
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
56
56
|
* @returns A Promise that resolves to an object containing the transaction hash
|
57
57
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
58
58
|
*/
|
@@ -67,7 +67,7 @@ export declare class PermissionClient {
|
|
67
67
|
* @param request.permissions[].permission The new permission level.
|
68
68
|
* @param request.permissions[].func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
69
69
|
* @param request.deadline [Optional] The deadline for the signature in milliseconds, default is 1000ms.
|
70
|
-
* @param request.txOptions [Optional]
|
70
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
71
71
|
* @returns A Promise that resolves to an object containing the transaction hash
|
72
72
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
73
73
|
*/
|
@@ -82,7 +82,7 @@ export declare class PermissionClient {
|
|
82
82
|
* @param request.permissions[].to The address that can be called by the `signer` (currently only modules can be `to`).
|
83
83
|
* @param request.permissions[].permission The new permission level.
|
84
84
|
* @param request.permissions[].func [Optional] The function selector string of `to` that can be called by the `signer` on behalf of the `ipAccount`. Be default, it allows all functions.
|
85
|
-
* @param request.txOptions [Optional]
|
85
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
86
86
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
87
87
|
* @emits PermissionSet (ipAccountOwner, ipAccount, signer, to, func, permission)
|
88
88
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"permission.d.ts","sourceRoot":"../../../../src/resources","sources":["permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiE,MAAM,MAAM,CAAC;AAGnG,OAAO,EACL,qCAAqC,EACrC,mCAAmC,EACnC,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACvB,yCAAsC;AACvC,OAAO,EAEL,sBAAsB,EACtB,wBAAwB,EAExB,qBAAqB,EACrB,kBAAkB,EAClB,SAAS,EACV,4BAAyB;AAE1B,OAAO,EAAE,iBAAiB,EAAE,2BAAwB;AAIpD,qBAAa,gBAAgB;IACpB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC;IACrB,wBAAwB,EAAE,wBAAwB,CAAC;IAC1D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;gBAEhC,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,EAAE,iBAAiB;IAU3F;;;;;;;;;;;;;;;;;;;OAmBG;IACU,aAAa,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;
|
1
|
+
{"version":3,"file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B,CAAC;YA0DpB,iBAAiB;CAQhC"}
|
@@ -15,7 +15,7 @@ export declare class RoyaltyClient {
|
|
15
15
|
* @param request - The request object that contains all data needed to collect royalty tokens.
|
16
16
|
* @param request.parentIpId The ip id of the ancestor to whom the royalty tokens belong to.
|
17
17
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
18
|
-
* @param request.txOptions [Optional]
|
18
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
19
19
|
* @returns A Promise that resolves to an object containing the transaction hash and optional the amount of royalty tokens collected if waitForTxn is set to true.
|
20
20
|
* @emits RoyaltyTokensCollected (ancestorIpId, royaltyTokensCollected)
|
21
21
|
*/
|
@@ -27,7 +27,7 @@ export declare class RoyaltyClient {
|
|
27
27
|
* @param request.payerIpId The ID of the IP asset that pays the royalties.
|
28
28
|
* @param request.token The token to use to pay the royalties.
|
29
29
|
* @param request.amount The amount to pay.
|
30
|
-
* @param request.txOptions [Optional]
|
30
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
31
31
|
* @returns A Promise that resolves to an object containing the transaction hash.
|
32
32
|
*/
|
33
33
|
payRoyaltyOnBehalf(request: PayRoyaltyOnBehalfRequest): Promise<PayRoyaltyOnBehalfResponse>;
|
@@ -38,7 +38,6 @@ export declare class RoyaltyClient {
|
|
38
38
|
* @param request.account The address of the token holder.
|
39
39
|
* @param request.snapshotId The snapshot id.
|
40
40
|
* @param request.token The revenue token to claim.
|
41
|
-
* @param request.txOptions [Optional] The transaction options.
|
42
41
|
* @returns A Promise that contains the amount of revenue token claimable
|
43
42
|
*/
|
44
43
|
claimableRevenue(request: ClaimableRevenueRequest): Promise<ClaimableRevenueResponse>;
|
@@ -49,7 +48,7 @@ export declare class RoyaltyClient {
|
|
49
48
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
50
49
|
* @param request.token The revenue token to claim.
|
51
50
|
* @param request.account [Optional] The ipId to send.
|
52
|
-
* @param request.txOptions [Optional]
|
51
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
53
52
|
* @returns A Promise that resolves to an object containing the transaction hash and optional claimableToken if waitForTxn is set to true.
|
54
53
|
* @emits RevenueTokenClaimed (claimer, token, amount).
|
55
54
|
*/
|
@@ -58,7 +57,7 @@ export declare class RoyaltyClient {
|
|
58
57
|
* Snapshots the claimable revenue and royalty token amounts.
|
59
58
|
* @param request - The request object that contains all data needed to snapshot.
|
60
59
|
* @param request.royaltyVaultIpId The id of the royalty vault.
|
61
|
-
* @param request.txOptions [Optional]
|
60
|
+
* @param request.txOptions - [Optional] transaction. This extends `WaitForTransactionReceiptParameters` from the Viem library, excluding the `hash` property.
|
62
61
|
* @returns A Promise that resolves to an object containing the transaction hash and optional snapshotId if waitForTxn is set to true.
|
63
62
|
* @emits SnapshotCompleted (snapshotId, snapshotTimestamp, unclaimedTokens).
|
64
63
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"royalty.d.ts","sourceRoot":"../../../../src/resources","sources":["royalty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAsB,MAAM,MAAM,CAAC;AAGtE,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACrB,sCAAmC;AACpC,OAAO,EACL,qBAAqB,EAErB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAEnB,4BAAyB;AAC1B,OAAO,EAAE,eAAe,EAAE,uBAAoB;AAG9C,qBAAa,aAAa;IACjB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,qBAAqB,EAAE,qBAAqB,CAAC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ACU,gBAAgB,CAC3B,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,wBAAwB,CAAC;IAoBpC;;;;;;;;;;OAUG;IACU,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAqDtF;;;;;;;OAOG;IACU,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IA8B1E;;;;OAIG;IACU,sBAAsB,CAAC,gBAAgB,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;CAe7E"}
|
@@ -1,10 +1,8 @@
|
|
1
|
-
|
1
|
+
import { WaitForTransactionReceiptParameters } from "viem";
|
2
|
+
export interface TxOptions extends Omit<WaitForTransactionReceiptParameters, "hash"> {
|
2
3
|
waitForTransaction?: boolean;
|
3
4
|
encodedTxDataOnly?: boolean;
|
4
|
-
|
5
|
-
maxFeePerGas?: bigint;
|
6
|
-
numBlockConfirmations?: number;
|
7
|
-
};
|
5
|
+
}
|
8
6
|
export type WithTxOptions<T> = T & {
|
9
7
|
txOptions?: TxOptions;
|
10
8
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"../../../../src/types","sources":["options.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"../../../../src/types","sources":["options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,MAAM,CAAC;AAE3D,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,mCAAmC,EAAE,MAAM,CAAC;IAIlF,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAI7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,CAAC,GAAG;IACjC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC"}
|
@@ -49,7 +49,6 @@ export type CreateIpAssetWithPilTermsRequest = {
|
|
49
49
|
mintingFee?: string | number | bigint;
|
50
50
|
recipient?: Address;
|
51
51
|
commercialRevShare?: number;
|
52
|
-
nftMetadata?: string;
|
53
52
|
} & IpMetadataAndTxOption;
|
54
53
|
export type CreateIpAssetWithPilTermsResponse = {
|
55
54
|
txHash?: string;
|
@@ -95,7 +94,6 @@ export type MintAndRegisterIpAndMakeDerivativeRequest = {
|
|
95
94
|
licenseTermsIds: string[] | bigint[] | number[];
|
96
95
|
licenseTemplate?: Address;
|
97
96
|
};
|
98
|
-
nftMetadata?: string;
|
99
97
|
recipient?: Address;
|
100
98
|
} & IpMetadataAndTxOption;
|
101
99
|
export type IpRelationship = {
|
@@ -130,10 +128,36 @@ export type StoryProtocolApp = {
|
|
130
128
|
website: string;
|
131
129
|
action?: string;
|
132
130
|
};
|
131
|
+
export type GenerateCreatorMetadataParam = {
|
132
|
+
name: string;
|
133
|
+
address: Address;
|
134
|
+
contributionPercent: number;
|
135
|
+
description?: string;
|
136
|
+
image?: string;
|
137
|
+
socialMedia?: IpCreatorSocial[];
|
138
|
+
role?: string;
|
139
|
+
};
|
133
140
|
export type IPRobotTerms = {
|
134
141
|
userAgent: string;
|
135
142
|
allow: string;
|
136
143
|
};
|
144
|
+
export type GenerateIpMetadataParam = {
|
145
|
+
title?: string;
|
146
|
+
description?: string;
|
147
|
+
ipType?: string;
|
148
|
+
relationships?: IpRelationship[];
|
149
|
+
createdAt?: string;
|
150
|
+
watermarkImg?: string;
|
151
|
+
creators?: IpCreator[];
|
152
|
+
media?: IpMedia[];
|
153
|
+
attributes?: IpAttribute[];
|
154
|
+
app?: StoryProtocolApp;
|
155
|
+
tags?: string[];
|
156
|
+
robotTerms?: IPRobotTerms;
|
157
|
+
additionalProperties?: {
|
158
|
+
[key: string]: unknown;
|
159
|
+
};
|
160
|
+
};
|
137
161
|
export type IpMetadata = {
|
138
162
|
title?: string;
|
139
163
|
description?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipAsset.d.ts","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