@medialane/sdk 0.40.0 → 0.42.0
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/index.cjs +79 -116
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -105
- package/dist/index.d.ts +29 -105
- package/dist/index.js +54 -91
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1118,7 +1118,6 @@ interface ApiCreatorListResult {
|
|
|
1118
1118
|
page: number;
|
|
1119
1119
|
limit: number;
|
|
1120
1120
|
}
|
|
1121
|
-
type ApiWalletType = "ARGENT" | "BRAAVOS" | "CARTRIDGE" | "PRIVY" | "CHIPIPAY" | "INJECTED" | "UNKNOWN";
|
|
1122
1121
|
type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
|
|
1123
1122
|
type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
|
|
1124
1123
|
interface ApiUserWallet {
|
|
@@ -1415,7 +1414,7 @@ interface CreateDropParams {
|
|
|
1415
1414
|
|
|
1416
1415
|
declare class PopService {
|
|
1417
1416
|
private readonly factoryAddress;
|
|
1418
|
-
constructor(
|
|
1417
|
+
constructor(config: ResolvedConfig);
|
|
1419
1418
|
private _collection;
|
|
1420
1419
|
claim(account: AccountInterface, collectionAddress: string): Promise<TxResult>;
|
|
1421
1420
|
adminMint(account: AccountInterface, params: {
|
|
@@ -1858,29 +1857,31 @@ interface ParsedAdminHeaders {
|
|
|
1858
1857
|
/** Parse + shape-check the headers on the backend. Returns null if malformed. */
|
|
1859
1858
|
declare function parseAdminHeaders(get: (name: string) => string | null | undefined): ParsedAdminHeaders | null;
|
|
1860
1859
|
|
|
1861
|
-
|
|
1862
|
-
declare const
|
|
1863
|
-
|
|
1864
|
-
declare const
|
|
1865
|
-
|
|
1866
|
-
declare const
|
|
1867
|
-
|
|
1868
|
-
declare const
|
|
1869
|
-
|
|
1870
|
-
declare const
|
|
1871
|
-
|
|
1872
|
-
declare const
|
|
1873
|
-
declare const
|
|
1874
|
-
|
|
1875
|
-
declare const
|
|
1876
|
-
|
|
1877
|
-
declare const
|
|
1878
|
-
|
|
1879
|
-
declare const
|
|
1880
|
-
declare const
|
|
1881
|
-
declare const
|
|
1882
|
-
|
|
1883
|
-
declare const
|
|
1860
|
+
declare const STARKNET_MARKETPLACE_721_CONTRACT: string;
|
|
1861
|
+
declare const STARKNET_MARKETPLACE_721_CLASS_HASH: string;
|
|
1862
|
+
declare const STARKNET_MARKETPLACE_721_START_BLOCK: number;
|
|
1863
|
+
declare const STARKNET_MARKETPLACE_1155_CONTRACT: string;
|
|
1864
|
+
declare const STARKNET_MARKETPLACE_1155_CLASS_HASH: string;
|
|
1865
|
+
declare const STARKNET_MARKETPLACE_1155_START_BLOCK: number;
|
|
1866
|
+
declare const STARKNET_COLLECTION_721_CONTRACT: string;
|
|
1867
|
+
declare const STARKNET_COLLECTION_721_START_BLOCK: number;
|
|
1868
|
+
declare const STARKNET_IPNFT_CLASS_HASH: string;
|
|
1869
|
+
declare const STARKNET_IPCOLLECTION_CLASS_HASH: string;
|
|
1870
|
+
declare const STARKNET_COLLECTION_1155_CONTRACT: string;
|
|
1871
|
+
declare const STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH: string;
|
|
1872
|
+
declare const STARKNET_COLLECTION_1155_CLASS_HASH: string;
|
|
1873
|
+
declare const STARKNET_COLLECTION_1155_START_BLOCK: number;
|
|
1874
|
+
declare const STARKNET_POP_FACTORY_CONTRACT: string;
|
|
1875
|
+
declare const STARKNET_POP_COLLECTION_CLASS_HASH: string;
|
|
1876
|
+
declare const STARKNET_DROP_FACTORY_CONTRACT: string;
|
|
1877
|
+
declare const STARKNET_DROP_COLLECTION_CLASS_HASH: string;
|
|
1878
|
+
declare const STARKNET_NFTCOMMENTS_CONTRACT: string;
|
|
1879
|
+
declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: string;
|
|
1880
|
+
declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: string;
|
|
1881
|
+
declare const STARKNET_CREATOR_COIN_CLASS_HASH: string;
|
|
1882
|
+
declare const STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH: string;
|
|
1883
|
+
declare const STARKNET_CREATOR_COIN_START_BLOCK: number;
|
|
1884
|
+
declare const STARKNET_EKUBO_CORE: string;
|
|
1884
1885
|
declare const SUPPORTED_TOKENS: readonly [{
|
|
1885
1886
|
readonly symbol: "USDC";
|
|
1886
1887
|
readonly address: "0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb";
|
|
@@ -1908,29 +1909,8 @@ declare const SUPPORTED_TOKENS: readonly [{
|
|
|
1908
1909
|
readonly listable: true;
|
|
1909
1910
|
}];
|
|
1910
1911
|
type SupportedTokenSymbol = (typeof SUPPORTED_TOKENS)[number]["symbol"];
|
|
1911
|
-
|
|
1912
|
-
declare const
|
|
1913
|
-
/** IPCollectionFactory v0.3.0 (deployed mainnet 2026-06-10): sequential on-chain
|
|
1914
|
-
* edition ids, ownerless/immutable. New collections deploy from here. */
|
|
1915
|
-
declare const COLLECTION_1155_CONTRACT_MAINNET: string;
|
|
1916
|
-
/** Class hash of the IPCollectionFactory v0.3.0 implementation. */
|
|
1917
|
-
declare const COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET: string;
|
|
1918
|
-
/** Class hash of the IPCollection ERC-1155 v0.3.0 implementation. */
|
|
1919
|
-
declare const COLLECTION_1155_CLASS_HASH_MAINNET: string;
|
|
1920
|
-
/** First mainnet block of the v0.3.0 ERC-1155 factory deployment. */
|
|
1921
|
-
declare const COLLECTION_1155_START_BLOCK_MAINNET: number;
|
|
1922
|
-
/** Creator Coin Factory — entrypoint: create_creator_coin + launch_on_ekubo. */
|
|
1923
|
-
declare const CREATOR_COIN_FACTORY_CONTRACT_MAINNET: string;
|
|
1924
|
-
/** EkuboLauncher — permanently holds (locks) each Creator Coin's LP position. */
|
|
1925
|
-
declare const CREATOR_COIN_EKUBO_LAUNCHER_MAINNET: string;
|
|
1926
|
-
/** Class hash of the per-coin CreatorCoin ERC-20 the Factory deploys. */
|
|
1927
|
-
declare const CREATOR_COIN_CLASS_HASH_MAINNET: string;
|
|
1928
|
-
/** Class hash of the Creator Coin Factory. */
|
|
1929
|
-
declare const CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET: string;
|
|
1930
|
-
/** First mainnet block of the Factory deployment. */
|
|
1931
|
-
declare const CREATOR_COIN_START_BLOCK_MAINNET: number;
|
|
1932
|
-
/** Ekubo Core (Starknet mainnet) — Creator Coin pools live here; read spot price via `get_pool_price`. */
|
|
1933
|
-
declare const EKUBO_CORE_MAINNET: string;
|
|
1912
|
+
/** Default currency for listings and offers — Circle-native USDC on Starknet. */
|
|
1913
|
+
declare const DEFAULT_CURRENCY: SupportedTokenSymbol;
|
|
1934
1914
|
|
|
1935
1915
|
declare const IPMarketplaceABI: readonly [{
|
|
1936
1916
|
readonly type: "impl";
|
|
@@ -2819,62 +2799,6 @@ declare const DropFactoryABI: readonly [{
|
|
|
2819
2799
|
readonly state_mutability: "external";
|
|
2820
2800
|
}];
|
|
2821
2801
|
|
|
2822
|
-
declare const CollectionRegistryABI: readonly [{
|
|
2823
|
-
readonly type: "struct";
|
|
2824
|
-
readonly name: "core::byte_array::ByteArray";
|
|
2825
|
-
readonly members: readonly [{
|
|
2826
|
-
readonly name: "data";
|
|
2827
|
-
readonly type: "core::array::Array::<core::felt252>";
|
|
2828
|
-
}, {
|
|
2829
|
-
readonly name: "pending_word";
|
|
2830
|
-
readonly type: "core::felt252";
|
|
2831
|
-
}, {
|
|
2832
|
-
readonly name: "pending_word_len";
|
|
2833
|
-
readonly type: "core::integer::u32";
|
|
2834
|
-
}];
|
|
2835
|
-
}, {
|
|
2836
|
-
readonly type: "struct";
|
|
2837
|
-
readonly name: "ip_collection_erc_721::types::Collection";
|
|
2838
|
-
readonly members: readonly [{
|
|
2839
|
-
readonly name: "name";
|
|
2840
|
-
readonly type: "core::byte_array::ByteArray";
|
|
2841
|
-
}, {
|
|
2842
|
-
readonly name: "symbol";
|
|
2843
|
-
readonly type: "core::byte_array::ByteArray";
|
|
2844
|
-
}, {
|
|
2845
|
-
readonly name: "base_uri";
|
|
2846
|
-
readonly type: "core::byte_array::ByteArray";
|
|
2847
|
-
}, {
|
|
2848
|
-
readonly name: "owner";
|
|
2849
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2850
|
-
}, {
|
|
2851
|
-
readonly name: "ip_nft";
|
|
2852
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2853
|
-
}];
|
|
2854
|
-
}, {
|
|
2855
|
-
readonly type: "function";
|
|
2856
|
-
readonly name: "list_user_collections";
|
|
2857
|
-
readonly inputs: readonly [{
|
|
2858
|
-
readonly name: "user";
|
|
2859
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2860
|
-
}];
|
|
2861
|
-
readonly outputs: readonly [{
|
|
2862
|
-
readonly type: "core::array::Span::<core::integer::u256>";
|
|
2863
|
-
}];
|
|
2864
|
-
readonly state_mutability: "view";
|
|
2865
|
-
}, {
|
|
2866
|
-
readonly type: "function";
|
|
2867
|
-
readonly name: "get_collection";
|
|
2868
|
-
readonly inputs: readonly [{
|
|
2869
|
-
readonly name: "collection_id";
|
|
2870
|
-
readonly type: "core::integer::u256";
|
|
2871
|
-
}];
|
|
2872
|
-
readonly outputs: readonly [{
|
|
2873
|
-
readonly type: "ip_collection_erc_721::types::Collection";
|
|
2874
|
-
}];
|
|
2875
|
-
readonly state_mutability: "view";
|
|
2876
|
-
}];
|
|
2877
|
-
|
|
2878
2802
|
declare const Medialane1155ABI: readonly [{
|
|
2879
2803
|
readonly type: "impl";
|
|
2880
2804
|
readonly name: "Medialane1155Impl";
|
|
@@ -6237,4 +6161,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
|
|
|
6237
6161
|
declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
6238
6162
|
declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
6239
6163
|
|
|
6240
|
-
export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type
|
|
6164
|
+
export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateGrantOpts, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DEFAULT_CURRENCY, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, PUBLIC_RPC_FALLBACKS, type ParsedAdminHeaders, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, adminRequestDigest, build1155CancellationTypedData, build1155OrderTypedData, buildAdminSessionTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createAdminSessionGrant, createFailoverFetch, encodeAdminHeaders, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAdminHeaders, parseAmount, parseCreatorCoinCreated, randomNonce, resolveConfig, resolveFeeConfig, sessionKeyHashOf, shortenAddress, signAdminRequest, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, verifyAdminRequestSig };
|
package/dist/index.d.ts
CHANGED
|
@@ -1118,7 +1118,6 @@ interface ApiCreatorListResult {
|
|
|
1118
1118
|
page: number;
|
|
1119
1119
|
limit: number;
|
|
1120
1120
|
}
|
|
1121
|
-
type ApiWalletType = "ARGENT" | "BRAAVOS" | "CARTRIDGE" | "PRIVY" | "CHIPIPAY" | "INJECTED" | "UNKNOWN";
|
|
1122
1121
|
type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
|
|
1123
1122
|
type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
|
|
1124
1123
|
interface ApiUserWallet {
|
|
@@ -1415,7 +1414,7 @@ interface CreateDropParams {
|
|
|
1415
1414
|
|
|
1416
1415
|
declare class PopService {
|
|
1417
1416
|
private readonly factoryAddress;
|
|
1418
|
-
constructor(
|
|
1417
|
+
constructor(config: ResolvedConfig);
|
|
1419
1418
|
private _collection;
|
|
1420
1419
|
claim(account: AccountInterface, collectionAddress: string): Promise<TxResult>;
|
|
1421
1420
|
adminMint(account: AccountInterface, params: {
|
|
@@ -1858,29 +1857,31 @@ interface ParsedAdminHeaders {
|
|
|
1858
1857
|
/** Parse + shape-check the headers on the backend. Returns null if malformed. */
|
|
1859
1858
|
declare function parseAdminHeaders(get: (name: string) => string | null | undefined): ParsedAdminHeaders | null;
|
|
1860
1859
|
|
|
1861
|
-
|
|
1862
|
-
declare const
|
|
1863
|
-
|
|
1864
|
-
declare const
|
|
1865
|
-
|
|
1866
|
-
declare const
|
|
1867
|
-
|
|
1868
|
-
declare const
|
|
1869
|
-
|
|
1870
|
-
declare const
|
|
1871
|
-
|
|
1872
|
-
declare const
|
|
1873
|
-
declare const
|
|
1874
|
-
|
|
1875
|
-
declare const
|
|
1876
|
-
|
|
1877
|
-
declare const
|
|
1878
|
-
|
|
1879
|
-
declare const
|
|
1880
|
-
declare const
|
|
1881
|
-
declare const
|
|
1882
|
-
|
|
1883
|
-
declare const
|
|
1860
|
+
declare const STARKNET_MARKETPLACE_721_CONTRACT: string;
|
|
1861
|
+
declare const STARKNET_MARKETPLACE_721_CLASS_HASH: string;
|
|
1862
|
+
declare const STARKNET_MARKETPLACE_721_START_BLOCK: number;
|
|
1863
|
+
declare const STARKNET_MARKETPLACE_1155_CONTRACT: string;
|
|
1864
|
+
declare const STARKNET_MARKETPLACE_1155_CLASS_HASH: string;
|
|
1865
|
+
declare const STARKNET_MARKETPLACE_1155_START_BLOCK: number;
|
|
1866
|
+
declare const STARKNET_COLLECTION_721_CONTRACT: string;
|
|
1867
|
+
declare const STARKNET_COLLECTION_721_START_BLOCK: number;
|
|
1868
|
+
declare const STARKNET_IPNFT_CLASS_HASH: string;
|
|
1869
|
+
declare const STARKNET_IPCOLLECTION_CLASS_HASH: string;
|
|
1870
|
+
declare const STARKNET_COLLECTION_1155_CONTRACT: string;
|
|
1871
|
+
declare const STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH: string;
|
|
1872
|
+
declare const STARKNET_COLLECTION_1155_CLASS_HASH: string;
|
|
1873
|
+
declare const STARKNET_COLLECTION_1155_START_BLOCK: number;
|
|
1874
|
+
declare const STARKNET_POP_FACTORY_CONTRACT: string;
|
|
1875
|
+
declare const STARKNET_POP_COLLECTION_CLASS_HASH: string;
|
|
1876
|
+
declare const STARKNET_DROP_FACTORY_CONTRACT: string;
|
|
1877
|
+
declare const STARKNET_DROP_COLLECTION_CLASS_HASH: string;
|
|
1878
|
+
declare const STARKNET_NFTCOMMENTS_CONTRACT: string;
|
|
1879
|
+
declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: string;
|
|
1880
|
+
declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: string;
|
|
1881
|
+
declare const STARKNET_CREATOR_COIN_CLASS_HASH: string;
|
|
1882
|
+
declare const STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH: string;
|
|
1883
|
+
declare const STARKNET_CREATOR_COIN_START_BLOCK: number;
|
|
1884
|
+
declare const STARKNET_EKUBO_CORE: string;
|
|
1884
1885
|
declare const SUPPORTED_TOKENS: readonly [{
|
|
1885
1886
|
readonly symbol: "USDC";
|
|
1886
1887
|
readonly address: "0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb";
|
|
@@ -1908,29 +1909,8 @@ declare const SUPPORTED_TOKENS: readonly [{
|
|
|
1908
1909
|
readonly listable: true;
|
|
1909
1910
|
}];
|
|
1910
1911
|
type SupportedTokenSymbol = (typeof SUPPORTED_TOKENS)[number]["symbol"];
|
|
1911
|
-
|
|
1912
|
-
declare const
|
|
1913
|
-
/** IPCollectionFactory v0.3.0 (deployed mainnet 2026-06-10): sequential on-chain
|
|
1914
|
-
* edition ids, ownerless/immutable. New collections deploy from here. */
|
|
1915
|
-
declare const COLLECTION_1155_CONTRACT_MAINNET: string;
|
|
1916
|
-
/** Class hash of the IPCollectionFactory v0.3.0 implementation. */
|
|
1917
|
-
declare const COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET: string;
|
|
1918
|
-
/** Class hash of the IPCollection ERC-1155 v0.3.0 implementation. */
|
|
1919
|
-
declare const COLLECTION_1155_CLASS_HASH_MAINNET: string;
|
|
1920
|
-
/** First mainnet block of the v0.3.0 ERC-1155 factory deployment. */
|
|
1921
|
-
declare const COLLECTION_1155_START_BLOCK_MAINNET: number;
|
|
1922
|
-
/** Creator Coin Factory — entrypoint: create_creator_coin + launch_on_ekubo. */
|
|
1923
|
-
declare const CREATOR_COIN_FACTORY_CONTRACT_MAINNET: string;
|
|
1924
|
-
/** EkuboLauncher — permanently holds (locks) each Creator Coin's LP position. */
|
|
1925
|
-
declare const CREATOR_COIN_EKUBO_LAUNCHER_MAINNET: string;
|
|
1926
|
-
/** Class hash of the per-coin CreatorCoin ERC-20 the Factory deploys. */
|
|
1927
|
-
declare const CREATOR_COIN_CLASS_HASH_MAINNET: string;
|
|
1928
|
-
/** Class hash of the Creator Coin Factory. */
|
|
1929
|
-
declare const CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET: string;
|
|
1930
|
-
/** First mainnet block of the Factory deployment. */
|
|
1931
|
-
declare const CREATOR_COIN_START_BLOCK_MAINNET: number;
|
|
1932
|
-
/** Ekubo Core (Starknet mainnet) — Creator Coin pools live here; read spot price via `get_pool_price`. */
|
|
1933
|
-
declare const EKUBO_CORE_MAINNET: string;
|
|
1912
|
+
/** Default currency for listings and offers — Circle-native USDC on Starknet. */
|
|
1913
|
+
declare const DEFAULT_CURRENCY: SupportedTokenSymbol;
|
|
1934
1914
|
|
|
1935
1915
|
declare const IPMarketplaceABI: readonly [{
|
|
1936
1916
|
readonly type: "impl";
|
|
@@ -2819,62 +2799,6 @@ declare const DropFactoryABI: readonly [{
|
|
|
2819
2799
|
readonly state_mutability: "external";
|
|
2820
2800
|
}];
|
|
2821
2801
|
|
|
2822
|
-
declare const CollectionRegistryABI: readonly [{
|
|
2823
|
-
readonly type: "struct";
|
|
2824
|
-
readonly name: "core::byte_array::ByteArray";
|
|
2825
|
-
readonly members: readonly [{
|
|
2826
|
-
readonly name: "data";
|
|
2827
|
-
readonly type: "core::array::Array::<core::felt252>";
|
|
2828
|
-
}, {
|
|
2829
|
-
readonly name: "pending_word";
|
|
2830
|
-
readonly type: "core::felt252";
|
|
2831
|
-
}, {
|
|
2832
|
-
readonly name: "pending_word_len";
|
|
2833
|
-
readonly type: "core::integer::u32";
|
|
2834
|
-
}];
|
|
2835
|
-
}, {
|
|
2836
|
-
readonly type: "struct";
|
|
2837
|
-
readonly name: "ip_collection_erc_721::types::Collection";
|
|
2838
|
-
readonly members: readonly [{
|
|
2839
|
-
readonly name: "name";
|
|
2840
|
-
readonly type: "core::byte_array::ByteArray";
|
|
2841
|
-
}, {
|
|
2842
|
-
readonly name: "symbol";
|
|
2843
|
-
readonly type: "core::byte_array::ByteArray";
|
|
2844
|
-
}, {
|
|
2845
|
-
readonly name: "base_uri";
|
|
2846
|
-
readonly type: "core::byte_array::ByteArray";
|
|
2847
|
-
}, {
|
|
2848
|
-
readonly name: "owner";
|
|
2849
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2850
|
-
}, {
|
|
2851
|
-
readonly name: "ip_nft";
|
|
2852
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2853
|
-
}];
|
|
2854
|
-
}, {
|
|
2855
|
-
readonly type: "function";
|
|
2856
|
-
readonly name: "list_user_collections";
|
|
2857
|
-
readonly inputs: readonly [{
|
|
2858
|
-
readonly name: "user";
|
|
2859
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2860
|
-
}];
|
|
2861
|
-
readonly outputs: readonly [{
|
|
2862
|
-
readonly type: "core::array::Span::<core::integer::u256>";
|
|
2863
|
-
}];
|
|
2864
|
-
readonly state_mutability: "view";
|
|
2865
|
-
}, {
|
|
2866
|
-
readonly type: "function";
|
|
2867
|
-
readonly name: "get_collection";
|
|
2868
|
-
readonly inputs: readonly [{
|
|
2869
|
-
readonly name: "collection_id";
|
|
2870
|
-
readonly type: "core::integer::u256";
|
|
2871
|
-
}];
|
|
2872
|
-
readonly outputs: readonly [{
|
|
2873
|
-
readonly type: "ip_collection_erc_721::types::Collection";
|
|
2874
|
-
}];
|
|
2875
|
-
readonly state_mutability: "view";
|
|
2876
|
-
}];
|
|
2877
|
-
|
|
2878
2802
|
declare const Medialane1155ABI: readonly [{
|
|
2879
2803
|
readonly type: "impl";
|
|
2880
2804
|
readonly name: "Medialane1155Impl";
|
|
@@ -6237,4 +6161,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
|
|
|
6237
6161
|
declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
6238
6162
|
declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
6239
6163
|
|
|
6240
|
-
export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type
|
|
6164
|
+
export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateGrantOpts, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DEFAULT_CURRENCY, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, PUBLIC_RPC_FALLBACKS, type ParsedAdminHeaders, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, adminRequestDigest, build1155CancellationTypedData, build1155OrderTypedData, buildAdminSessionTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createAdminSessionGrant, createFailoverFetch, encodeAdminHeaders, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAdminHeaders, parseAmount, parseCreatorCoinCreated, randomNonce, resolveConfig, resolveFeeConfig, sessionKeyHashOf, shortenAddress, signAdminRequest, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, verifyAdminRequestSig };
|