@medialane/sdk 0.29.0 → 0.32.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.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { Call, AccountInterface, constants, TypedData } from 'starknet';
2
+ import { Call, AccountInterface, constants, TypedData, ProviderInterface } from 'starknet';
3
3
 
4
4
  /** Medialane721 marketplace venue — immutable, ownerless (redesign, deployed 2026-05-31). */
5
5
  declare const MARKETPLACE_721_CONTRACT_MAINNET = "0x069cf5391077e3ebdd9cb6aebf90ed530d29f0d6aa34a43f5afae938c0fb565e";
@@ -73,6 +73,8 @@ declare const CREATOR_COIN_CLASS_HASH_MAINNET = "0x743e4c8a5b96bb83bbf4af04edbbb
73
73
  declare const CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET = "0x51765926b1344c9a20b8cd4b5abe7b7d47375ae97cf6804db3ea5d4b05a9b55";
74
74
  /** First mainnet block of the Factory deployment. */
75
75
  declare const CREATOR_COIN_START_BLOCK_MAINNET = 10474544;
76
+ /** Ekubo Core (Starknet mainnet) — Creator Coin pools live here; read spot price via `get_pool_price`. */
77
+ declare const EKUBO_CORE_MAINNET = "0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b";
76
78
 
77
79
  interface RetryOptions {
78
80
  maxAttempts?: number;
@@ -1115,8 +1117,8 @@ interface ApiCreatorListResult {
1115
1117
  limit: number;
1116
1118
  }
1117
1119
  type ApiWalletType = "ARGENT" | "BRAAVOS" | "CARTRIDGE" | "PRIVY" | "CHIPIPAY" | "INJECTED" | "UNKNOWN";
1118
- type ApiAppSource = "MEDIALANE_DAPP" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK";
1119
- type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1120
+ type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
1121
+ type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
1120
1122
  interface ApiUserWallet {
1121
1123
  walletAddress: string;
1122
1124
  }
@@ -1297,13 +1299,13 @@ declare class ApiClient {
1297
1299
  walletAddress: string;
1298
1300
  walletType?: ApiWalletType;
1299
1301
  appSource?: ApiAppSource;
1300
- chain?: "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1302
+ chain?: ApiChain;
1301
1303
  }): Promise<{
1302
1304
  accountId: string;
1303
1305
  publicId: string;
1304
1306
  walletAddress: string;
1305
1307
  chain: string;
1306
- walletType: ApiWalletType;
1308
+ walletType: string;
1307
1309
  appSource: ApiAppSource;
1308
1310
  createdAt: string;
1309
1311
  }>;
@@ -1617,13 +1619,33 @@ interface EkuboLaunchParams {
1617
1619
  * unrug's `ekubo/helpers.cairo` tick math) so callers can pick an arbitrary price.
1618
1620
  */
1619
1621
  declare const VALIDATED_EKUBO_PARAMS: EkuboPoolParams;
1622
+ /** A Creator Coin's live spot price, read from its Ekubo pool. */
1623
+ interface CreatorCoinPrice {
1624
+ /** Quote tokens per 1 coin, human units (e.g. 0.0101 = 0.0101 STRK/coin). */
1625
+ quotePerCoin: number;
1626
+ /** The quote token the coin is paired against on Ekubo. */
1627
+ quoteToken: string;
1628
+ quoteSymbol: string | null;
1629
+ quoteDecimals: number;
1630
+ }
1631
+ /**
1632
+ * Read a Creator Coin's live spot price directly from its Ekubo pool (read-only).
1633
+ *
1634
+ * Self-contained: discovers the pool params (quote token, fee, tick spacing) from the
1635
+ * coin's own `launched_with_liquidity_parameters`, reads `Core.get_pool_price`, and
1636
+ * converts the `sqrt_ratio` to quote-per-coin (handling token0/1 ordering + decimals).
1637
+ * Returns `null` if the coin isn't launched on Ekubo. No backend, no swap-quote
1638
+ * dependency — works for day-one coins that AVNU doesn't index yet.
1639
+ */
1640
+ declare function getCreatorCoinPrice(coinAddress: string, provider: ProviderInterface): Promise<CreatorCoinPrice | null>;
1620
1641
  /**
1621
1642
  * On-chain Creator Coin interactions (Ekubo-only launchpad).
1622
1643
  * Faithful fork of unruggable.meme — permanent LP lock + team-allocation buyback.
1623
1644
  */
1624
1645
  declare class CreatorCoinService {
1625
1646
  private readonly factoryAddress;
1626
- constructor(_config: ResolvedConfig);
1647
+ private readonly config;
1648
+ constructor(config: ResolvedConfig);
1627
1649
  private _factory;
1628
1650
  /** Deploy a fixed-supply CreatorCoin (full supply minted to the Factory). */
1629
1651
  createCreatorCoin(account: AccountInterface, params: CreateCreatorCoinParams): Promise<TxResult>;
@@ -1635,6 +1657,9 @@ declare class CreatorCoinService {
1635
1657
  launchOnEkubo(account: AccountInterface, params: EkuboLaunchParams): Promise<TxResult>;
1636
1658
  /** View: is this address a Factory-deployed Creator Coin? */
1637
1659
  isCreatorCoin(address: string, account: AccountInterface): Promise<boolean>;
1660
+ /** Read a coin's live Ekubo spot price (quote-per-coin) via the configured RPC.
1661
+ * Read-only; returns null if the coin isn't launched on Ekubo. */
1662
+ getPrice(coinAddress: string): Promise<CreatorCoinPrice | null>;
1638
1663
  }
1639
1664
 
1640
1665
  declare class MedialaneClient {
@@ -5716,6 +5741,15 @@ declare const SERVICES: {
5716
5741
  readonly emittedBy: "factory";
5717
5742
  }];
5718
5743
  };
5744
+ readonly "external-erc20": {
5745
+ readonly id: "external-erc20";
5746
+ readonly displayName: "External ERC-20";
5747
+ readonly description: "An ERC-20 token (e.g. an unrug memecoin or a partner coin) not deployed via a Medialane service. Brought in by owner claim or admin/partnership — never bulk-indexed. Generalizes to future chains.";
5748
+ readonly standard: "ERC20";
5749
+ readonly provenance: "EXTERNAL";
5750
+ readonly uiVariant: "coin";
5751
+ readonly capabilities: ["swap", "transfer"];
5752
+ };
5719
5753
  readonly "external-erc721": {
5720
5754
  readonly id: "external-erc721";
5721
5755
  readonly displayName: "External ERC-721";
@@ -5896,4 +5930,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
5896
5930
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
5897
5931
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
5898
5932
 
5899
- export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, 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 ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintItemParams, type BuildFeeCallParams, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, CreatorCoinService, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, 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, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintItemParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, SUPPORTED_NETWORKS, 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, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildOrderTypedData, createFailoverFetch, encodeByteArray, formatAmount, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
5933
+ export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, 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 ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintItemParams, type BuildFeeCallParams, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, CreatorCoinService, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, EKUBO_CORE_MAINNET, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintItemParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, SUPPORTED_NETWORKS, 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, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildOrderTypedData, createFailoverFetch, encodeByteArray, formatAmount, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { Call, AccountInterface, constants, TypedData } from 'starknet';
2
+ import { Call, AccountInterface, constants, TypedData, ProviderInterface } from 'starknet';
3
3
 
4
4
  /** Medialane721 marketplace venue — immutable, ownerless (redesign, deployed 2026-05-31). */
5
5
  declare const MARKETPLACE_721_CONTRACT_MAINNET = "0x069cf5391077e3ebdd9cb6aebf90ed530d29f0d6aa34a43f5afae938c0fb565e";
@@ -73,6 +73,8 @@ declare const CREATOR_COIN_CLASS_HASH_MAINNET = "0x743e4c8a5b96bb83bbf4af04edbbb
73
73
  declare const CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET = "0x51765926b1344c9a20b8cd4b5abe7b7d47375ae97cf6804db3ea5d4b05a9b55";
74
74
  /** First mainnet block of the Factory deployment. */
75
75
  declare const CREATOR_COIN_START_BLOCK_MAINNET = 10474544;
76
+ /** Ekubo Core (Starknet mainnet) — Creator Coin pools live here; read spot price via `get_pool_price`. */
77
+ declare const EKUBO_CORE_MAINNET = "0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b";
76
78
 
77
79
  interface RetryOptions {
78
80
  maxAttempts?: number;
@@ -1115,8 +1117,8 @@ interface ApiCreatorListResult {
1115
1117
  limit: number;
1116
1118
  }
1117
1119
  type ApiWalletType = "ARGENT" | "BRAAVOS" | "CARTRIDGE" | "PRIVY" | "CHIPIPAY" | "INJECTED" | "UNKNOWN";
1118
- type ApiAppSource = "MEDIALANE_DAPP" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK";
1119
- type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1120
+ type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
1121
+ type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
1120
1122
  interface ApiUserWallet {
1121
1123
  walletAddress: string;
1122
1124
  }
@@ -1297,13 +1299,13 @@ declare class ApiClient {
1297
1299
  walletAddress: string;
1298
1300
  walletType?: ApiWalletType;
1299
1301
  appSource?: ApiAppSource;
1300
- chain?: "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1302
+ chain?: ApiChain;
1301
1303
  }): Promise<{
1302
1304
  accountId: string;
1303
1305
  publicId: string;
1304
1306
  walletAddress: string;
1305
1307
  chain: string;
1306
- walletType: ApiWalletType;
1308
+ walletType: string;
1307
1309
  appSource: ApiAppSource;
1308
1310
  createdAt: string;
1309
1311
  }>;
@@ -1617,13 +1619,33 @@ interface EkuboLaunchParams {
1617
1619
  * unrug's `ekubo/helpers.cairo` tick math) so callers can pick an arbitrary price.
1618
1620
  */
1619
1621
  declare const VALIDATED_EKUBO_PARAMS: EkuboPoolParams;
1622
+ /** A Creator Coin's live spot price, read from its Ekubo pool. */
1623
+ interface CreatorCoinPrice {
1624
+ /** Quote tokens per 1 coin, human units (e.g. 0.0101 = 0.0101 STRK/coin). */
1625
+ quotePerCoin: number;
1626
+ /** The quote token the coin is paired against on Ekubo. */
1627
+ quoteToken: string;
1628
+ quoteSymbol: string | null;
1629
+ quoteDecimals: number;
1630
+ }
1631
+ /**
1632
+ * Read a Creator Coin's live spot price directly from its Ekubo pool (read-only).
1633
+ *
1634
+ * Self-contained: discovers the pool params (quote token, fee, tick spacing) from the
1635
+ * coin's own `launched_with_liquidity_parameters`, reads `Core.get_pool_price`, and
1636
+ * converts the `sqrt_ratio` to quote-per-coin (handling token0/1 ordering + decimals).
1637
+ * Returns `null` if the coin isn't launched on Ekubo. No backend, no swap-quote
1638
+ * dependency — works for day-one coins that AVNU doesn't index yet.
1639
+ */
1640
+ declare function getCreatorCoinPrice(coinAddress: string, provider: ProviderInterface): Promise<CreatorCoinPrice | null>;
1620
1641
  /**
1621
1642
  * On-chain Creator Coin interactions (Ekubo-only launchpad).
1622
1643
  * Faithful fork of unruggable.meme — permanent LP lock + team-allocation buyback.
1623
1644
  */
1624
1645
  declare class CreatorCoinService {
1625
1646
  private readonly factoryAddress;
1626
- constructor(_config: ResolvedConfig);
1647
+ private readonly config;
1648
+ constructor(config: ResolvedConfig);
1627
1649
  private _factory;
1628
1650
  /** Deploy a fixed-supply CreatorCoin (full supply minted to the Factory). */
1629
1651
  createCreatorCoin(account: AccountInterface, params: CreateCreatorCoinParams): Promise<TxResult>;
@@ -1635,6 +1657,9 @@ declare class CreatorCoinService {
1635
1657
  launchOnEkubo(account: AccountInterface, params: EkuboLaunchParams): Promise<TxResult>;
1636
1658
  /** View: is this address a Factory-deployed Creator Coin? */
1637
1659
  isCreatorCoin(address: string, account: AccountInterface): Promise<boolean>;
1660
+ /** Read a coin's live Ekubo spot price (quote-per-coin) via the configured RPC.
1661
+ * Read-only; returns null if the coin isn't launched on Ekubo. */
1662
+ getPrice(coinAddress: string): Promise<CreatorCoinPrice | null>;
1638
1663
  }
1639
1664
 
1640
1665
  declare class MedialaneClient {
@@ -5716,6 +5741,15 @@ declare const SERVICES: {
5716
5741
  readonly emittedBy: "factory";
5717
5742
  }];
5718
5743
  };
5744
+ readonly "external-erc20": {
5745
+ readonly id: "external-erc20";
5746
+ readonly displayName: "External ERC-20";
5747
+ readonly description: "An ERC-20 token (e.g. an unrug memecoin or a partner coin) not deployed via a Medialane service. Brought in by owner claim or admin/partnership — never bulk-indexed. Generalizes to future chains.";
5748
+ readonly standard: "ERC20";
5749
+ readonly provenance: "EXTERNAL";
5750
+ readonly uiVariant: "coin";
5751
+ readonly capabilities: ["swap", "transfer"];
5752
+ };
5719
5753
  readonly "external-erc721": {
5720
5754
  readonly id: "external-erc721";
5721
5755
  readonly displayName: "External ERC-721";
@@ -5896,4 +5930,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
5896
5930
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
5897
5931
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
5898
5932
 
5899
- export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, 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 ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintItemParams, type BuildFeeCallParams, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, CreatorCoinService, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, 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, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintItemParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, SUPPORTED_NETWORKS, 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, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildOrderTypedData, createFailoverFetch, encodeByteArray, formatAmount, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
5933
+ export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, 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 ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintItemParams, type BuildFeeCallParams, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, CreatorCoinService, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, EKUBO_CORE_MAINNET, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintItemParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, SUPPORTED_NETWORKS, 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, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildOrderTypedData, createFailoverFetch, encodeByteArray, formatAmount, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { cairo, num, Contract, uint256, TypedDataRevision, shortString, constants, RpcProvider } from 'starknet';
2
+ import { cairo, num, Contract, uint256, RpcProvider, TypedDataRevision, shortString, constants } from 'starknet';
3
3
 
4
4
  // src/config.ts
5
5
 
@@ -64,6 +64,7 @@ var CREATOR_COIN_EKUBO_LAUNCHER_MAINNET = "0x4f7fceb5ac10f12f9544a09580592e5bdf1
64
64
  var CREATOR_COIN_CLASS_HASH_MAINNET = "0x743e4c8a5b96bb83bbf4af04edbbb482d5ece89eed9b729a79fb7df0cd0b6b6";
65
65
  var CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET = "0x51765926b1344c9a20b8cd4b5abe7b7d47375ae97cf6804db3ea5d4b05a9b55";
66
66
  var CREATOR_COIN_START_BLOCK_MAINNET = 10474544;
67
+ var EKUBO_CORE_MAINNET = "0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b";
67
68
  var FeeConfigSchema = z.object({
68
69
  enabled: z.boolean().default(true),
69
70
  fundAddress: z.string().min(1).optional(),
@@ -6382,11 +6383,38 @@ var VALIDATED_EKUBO_PARAMS = {
6382
6383
  startingPrice: { mag: 4600158n, sign: true },
6383
6384
  bound: 88719042n
6384
6385
  };
6386
+ var COIN_DECIMALS = 18;
6387
+ async function getCreatorCoinPrice(coinAddress, provider) {
6388
+ const r = await provider.callContract({
6389
+ contractAddress: coinAddress,
6390
+ entrypoint: "launched_with_liquidity_parameters",
6391
+ calldata: []
6392
+ });
6393
+ if (BigInt(r[0]) !== 0n || BigInt(r[1]) !== 0n) return null;
6394
+ const fee = r[2];
6395
+ const tickSpacing = r[3];
6396
+ const quoteToken = normalizeAddress("0x" + BigInt(r[7]).toString(16));
6397
+ const token = getTokenByAddress(quoteToken);
6398
+ const quoteDecimals = token?.decimals ?? 18;
6399
+ const ci = BigInt(coinAddress);
6400
+ const qi = BigInt(quoteToken);
6401
+ const [t0, t1] = ci < qi ? [coinAddress, quoteToken] : [quoteToken, coinAddress];
6402
+ const quoteIsToken0 = qi === BigInt(t0);
6403
+ const pp = await provider.callContract({
6404
+ contractAddress: EKUBO_CORE_MAINNET,
6405
+ entrypoint: "get_pool_price",
6406
+ calldata: [t0, t1, fee, tickSpacing, "0x0"]
6407
+ });
6408
+ const sqrt = BigInt(pp[0]) + (BigInt(pp[1] ?? "0x0") << 128n);
6409
+ const priceT1perT0 = (Number(sqrt) / 2 ** 128) ** 2;
6410
+ const decAdj = 10 ** (COIN_DECIMALS - quoteDecimals);
6411
+ const quotePerCoin = (quoteIsToken0 ? 1 / priceT1perT0 : priceT1perT0) * decAdj;
6412
+ return { quotePerCoin, quoteToken, quoteSymbol: token?.symbol ?? null, quoteDecimals };
6413
+ }
6385
6414
  var CreatorCoinService = class {
6386
- // config is accepted for signature parity with the other services (none needed
6387
- // today — launch is zero-fee and views take an account).
6388
- constructor(_config) {
6415
+ constructor(config) {
6389
6416
  this.factoryAddress = CREATOR_COIN_FACTORY_CONTRACT_MAINNET;
6417
+ this.config = config;
6390
6418
  }
6391
6419
  _factory(account) {
6392
6420
  return new Contract(CreatorCoinFactoryABI, this.factoryAddress, account);
@@ -6444,6 +6472,11 @@ var CreatorCoinService = class {
6444
6472
  const r = await this._factory(account).is_creator_coin(address);
6445
6473
  return BigInt(r) === 1n;
6446
6474
  }
6475
+ /** Read a coin's live Ekubo spot price (quote-per-coin) via the configured RPC.
6476
+ * Read-only; returns null if the coin isn't launched on Ekubo. */
6477
+ async getPrice(coinAddress) {
6478
+ return getCreatorCoinPrice(coinAddress, new RpcProvider({ nodeUrl: this.config.rpcUrl }));
6479
+ }
6447
6480
  };
6448
6481
 
6449
6482
  // src/client.ts
@@ -6644,6 +6677,15 @@ var SERVICES = {
6644
6677
  { name: "OrderCancelled", emittedBy: "factory" }
6645
6678
  ]
6646
6679
  },
6680
+ "external-erc20": {
6681
+ id: "external-erc20",
6682
+ displayName: "External ERC-20",
6683
+ description: "An ERC-20 token (e.g. an unrug memecoin or a partner coin) not deployed via a Medialane service. Brought in by owner claim or admin/partnership \u2014 never bulk-indexed. Generalizes to future chains.",
6684
+ standard: "ERC20",
6685
+ provenance: "EXTERNAL",
6686
+ uiVariant: "coin",
6687
+ capabilities: ["swap", "transfer"]
6688
+ },
6647
6689
  "external-erc721": {
6648
6690
  id: "external-erc721",
6649
6691
  displayName: "External ERC-721",
@@ -6678,6 +6720,6 @@ function getServicesByCapability(cap) {
6678
6720
  );
6679
6721
  }
6680
6722
 
6681
- export { ApiClient, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, CollectionRegistryABI, CreatorCoinFactoryABI, CreatorCoinService, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, FeeConfigSchema, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, MedialaneError, NFTCOMMENTS_CONTRACT_MAINNET, OPEN_LICENSES, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, PopService, SUPPORTED_NETWORKS, SUPPORTED_TOKENS, VALIDATED_EKUBO_PARAMS, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildOrderTypedData, createFailoverFetch, encodeByteArray, formatAmount, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
6723
+ export { ApiClient, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, CollectionRegistryABI, CreatorCoinFactoryABI, CreatorCoinService, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, DropCollectionABI, DropFactoryABI, DropService, EKUBO_CORE_MAINNET, ERC1155CollectionService, FeeConfigSchema, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, MedialaneError, NFTCOMMENTS_CONTRACT_MAINNET, OPEN_LICENSES, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, PopService, SUPPORTED_NETWORKS, SUPPORTED_TOKENS, VALIDATED_EKUBO_PARAMS, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildOrderTypedData, createFailoverFetch, encodeByteArray, formatAmount, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
6682
6724
  //# sourceMappingURL=index.js.map
6683
6725
  //# sourceMappingURL=index.js.map