@story-protocol/core-sdk 1.3.3 → 1.4.0-rc.1
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 +21 -36
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +2 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +17 -1
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts +13 -1
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/types/common.d.ts +13 -5
- package/dist/declarations/src/types/common.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/group.d.ts +8 -2
- package/dist/declarations/src/types/resources/group.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +12 -0
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/license.d.ts +18 -2
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/royalty.d.ts +4 -1
- package/dist/declarations/src/types/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/utils/pilFlavor.d.ts +75 -0
- package/dist/declarations/src/types/utils/pilFlavor.d.ts.map +1 -0
- package/dist/declarations/src/utils/chain.d.ts +2 -0
- package/dist/declarations/src/utils/chain.d.ts.map +1 -1
- package/dist/declarations/src/utils/pilFlavor.d.ts +54 -0
- package/dist/declarations/src/utils/pilFlavor.d.ts.map +1 -0
- package/dist/story-protocol-core-sdk.cjs.dev.js +1193 -816
- package/dist/story-protocol-core-sdk.cjs.prod.js +1193 -816
- package/dist/story-protocol-core-sdk.esm.js +1195 -819
- package/package.json +4 -3
@@ -45780,6 +45780,17 @@ export type SpgnftImplTransferEvent = {
|
|
45780
45780
|
to: Address;
|
45781
45781
|
tokenId: bigint;
|
45782
45782
|
};
|
45783
|
+
/**
|
45784
|
+
* SpgnftImplHasRoleRequest
|
45785
|
+
*
|
45786
|
+
* @param role bytes32
|
45787
|
+
* @param account address
|
45788
|
+
*/
|
45789
|
+
export type SpgnftImplHasRoleRequest = {
|
45790
|
+
role: Hex;
|
45791
|
+
account: Address;
|
45792
|
+
};
|
45793
|
+
export type SpgnftImplHasRoleResponse = boolean;
|
45783
45794
|
export type SpgnftImplMintFeeResponse = bigint;
|
45784
45795
|
export type SpgnftImplMintFeeTokenResponse = Address;
|
45785
45796
|
export type SpgnftImplPublicMintingResponse = boolean;
|
@@ -45823,6 +45834,13 @@ export declare class SpgnftImplEventClient {
|
|
45823
45834
|
*/
|
45824
45835
|
export declare class SpgnftImplReadOnlyClient extends SpgnftImplEventClient {
|
45825
45836
|
constructor(rpcClient: PublicClient, address?: Address);
|
45837
|
+
/**
|
45838
|
+
* method hasRole for contract SPGNFTImpl
|
45839
|
+
*
|
45840
|
+
* @param request SpgnftImplHasRoleRequest
|
45841
|
+
* @return Promise<SpgnftImplHasRoleResponse>
|
45842
|
+
*/
|
45843
|
+
hasRole(request: SpgnftImplHasRoleRequest): Promise<SpgnftImplHasRoleResponse>;
|
45826
45844
|
/**
|
45827
45845
|
* method mintFee for contract SPGNFTImpl
|
45828
45846
|
*
|
@@ -45873,26 +45891,6 @@ export declare class SpgnftImplClient extends SpgnftImplReadOnlyClient {
|
|
45873
45891
|
*/
|
45874
45892
|
setTokenUriEncode(request: SpgnftImplSetTokenUriRequest): EncodedTxData;
|
45875
45893
|
}
|
45876
|
-
/**
|
45877
|
-
* TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitRequest
|
45878
|
-
*
|
45879
|
-
* @param licensorIpId address
|
45880
|
-
* @param licenseTemplate address
|
45881
|
-
* @param licenseTermsId uint256
|
45882
|
-
*/
|
45883
|
-
export type TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitRequest = {
|
45884
|
-
licensorIpId: Address;
|
45885
|
-
licenseTemplate: Address;
|
45886
|
-
licenseTermsId: bigint;
|
45887
|
-
};
|
45888
|
-
/**
|
45889
|
-
* TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitResponse
|
45890
|
-
*
|
45891
|
-
* @param limit uint256
|
45892
|
-
*/
|
45893
|
-
export type TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitResponse = {
|
45894
|
-
limit: bigint;
|
45895
|
-
};
|
45896
45894
|
/**
|
45897
45895
|
* TotalLicenseTokenLimitHookSetTotalLicenseTokenLimitRequest
|
45898
45896
|
*
|
@@ -45907,26 +45905,13 @@ export type TotalLicenseTokenLimitHookSetTotalLicenseTokenLimitRequest = {
|
|
45907
45905
|
licenseTermsId: bigint;
|
45908
45906
|
limit: bigint;
|
45909
45907
|
};
|
45910
|
-
/**
|
45911
|
-
* contract TotalLicenseTokenLimitHook readonly method
|
45912
|
-
*/
|
45913
|
-
export declare class TotalLicenseTokenLimitHookReadOnlyClient {
|
45914
|
-
protected readonly rpcClient: PublicClient;
|
45915
|
-
readonly address: Address;
|
45916
|
-
constructor(rpcClient: PublicClient, address?: Address);
|
45917
|
-
/**
|
45918
|
-
* method getTotalLicenseTokenLimit for contract TotalLicenseTokenLimitHook
|
45919
|
-
*
|
45920
|
-
* @param request TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitRequest
|
45921
|
-
* @return Promise<TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitResponse>
|
45922
|
-
*/
|
45923
|
-
getTotalLicenseTokenLimit(request: TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitRequest): Promise<TotalLicenseTokenLimitHookGetTotalLicenseTokenLimitResponse>;
|
45924
|
-
}
|
45925
45908
|
/**
|
45926
45909
|
* contract TotalLicenseTokenLimitHook write method
|
45927
45910
|
*/
|
45928
|
-
export declare class TotalLicenseTokenLimitHookClient
|
45911
|
+
export declare class TotalLicenseTokenLimitHookClient {
|
45929
45912
|
protected readonly wallet: SimpleWalletClient;
|
45913
|
+
protected readonly rpcClient: PublicClient;
|
45914
|
+
readonly address: Address;
|
45930
45915
|
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
|
45931
45916
|
/**
|
45932
45917
|
* method setTotalLicenseTokenLimit for contract TotalLicenseTokenLimitHook
|