@medialane/sdk 0.172.0 → 0.173.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.
@@ -1,6 +1,6 @@
1
- import { z } from 'zod';
2
1
  import { C as Chain } from './types-BTNjkUst.cjs';
3
- import { Call, TypedData } from 'starknet';
2
+ import { AccountInterface, Call, ProviderInterface, TypedData } from 'starknet';
3
+ import { z } from 'zod';
4
4
 
5
5
  interface RetryOptions {
6
6
  maxAttempts?: number;
@@ -1094,6 +1094,22 @@ interface ApiTierOnchain {
1094
1094
  endTime: number | null;
1095
1095
  royaltyBps: number;
1096
1096
  }
1097
+ interface ApiSwapQuoteRequest {
1098
+ sellSymbol?: string;
1099
+ buySymbol?: string;
1100
+ sellTokenAddress?: string;
1101
+ buyTokenAddress?: string;
1102
+ sellAmountRaw?: string;
1103
+ buyAmountRaw?: string;
1104
+ takerAddress?: string;
1105
+ }
1106
+ interface ApiSwapQuote {
1107
+ quoteId: string;
1108
+ sellTokenAddress: string;
1109
+ sellAmount: string;
1110
+ buyTokenAddress: string;
1111
+ buyAmount: string;
1112
+ }
1097
1113
  interface ApiIpNftTokenData {
1098
1114
  owner: string;
1099
1115
  metadataUri: string;
@@ -1334,6 +1350,155 @@ interface CreatePopManageIntentParams {
1334
1350
 
1335
1351
  type MedialaneErrorCode = "TOKEN_NOT_FOUND" | "COLLECTION_NOT_FOUND" | "ORDER_NOT_FOUND" | "INTENT_NOT_FOUND" | "INTENT_EXPIRED" | "RATE_LIMITED" | "NETWORK_NOT_SUPPORTED" | "APPROVAL_FAILED" | "TRANSACTION_FAILED" | "INVALID_PARAMS" | "UNAUTHORIZED" | "UNKNOWN";
1336
1352
 
1353
+ interface OfferItem {
1354
+ item_type: string;
1355
+ token: string;
1356
+ identifier_or_criteria: string;
1357
+ amount: string;
1358
+ }
1359
+ interface ConsiderationItem extends OfferItem {
1360
+ recipient: string;
1361
+ }
1362
+ interface OrderParameters {
1363
+ offerer: string;
1364
+ marketplace: string;
1365
+ offer: OfferItem;
1366
+ consideration: ConsiderationItem;
1367
+ royalty_max_bps: string;
1368
+ start_time: string;
1369
+ end_time: string;
1370
+ salt: string;
1371
+ counter: string;
1372
+ }
1373
+ interface Order {
1374
+ parameters: OrderParameters;
1375
+ signature: string[];
1376
+ }
1377
+ interface TxResult {
1378
+ txHash: string;
1379
+ }
1380
+ interface OrderDetails {
1381
+ offerer: string;
1382
+ offer: OfferItem;
1383
+ consideration: ConsiderationItem;
1384
+ royalty_max_bps: string;
1385
+ start_time: bigint;
1386
+ end_time: bigint;
1387
+ order_status: string;
1388
+ counter: string;
1389
+ remaining_amount?: string;
1390
+ }
1391
+
1392
+ interface CreateCreatorCoinParams {
1393
+ owner: string;
1394
+ name: string;
1395
+ symbol: string;
1396
+ initialSupply: bigint | string;
1397
+ salt?: bigint | string;
1398
+ }
1399
+ interface EkuboPoolParams {
1400
+ fee: bigint | string;
1401
+ tickSpacing: bigint | string;
1402
+ startingPrice: {
1403
+ mag: bigint | string;
1404
+ sign: boolean;
1405
+ };
1406
+ bound: bigint | string;
1407
+ }
1408
+ interface EkuboLaunchParams {
1409
+ creatorCoin: string;
1410
+ quoteToken: string;
1411
+ initialHolders: string[];
1412
+ initialHoldersAmounts: (bigint | string)[];
1413
+ transferRestrictionDelay?: number;
1414
+ maxPercentageBuyLaunch?: number;
1415
+ ekubo: EkuboPoolParams;
1416
+ quoteFundAmount?: bigint | string;
1417
+ }
1418
+ declare const VALIDATED_EKUBO_PARAMS: EkuboPoolParams;
1419
+ declare function priceToEkuboParams(quoteDecimals: number, price?: number): EkuboPoolParams;
1420
+ declare function validatePrice(quoteDecimals: number, price: number): string | null;
1421
+ declare const MAX_TEAM_ALLOCATION_PERCENT = 10;
1422
+ declare const MAX_HOLDERS_AT_LAUNCH = 10;
1423
+ interface CreatorCoinGuarantees {
1424
+ isLaunched: boolean;
1425
+ launchedAtBlock: number | null;
1426
+ totalSupplyRaw: string;
1427
+ teamAllocationRaw: string;
1428
+ teamAllocationPercent: number | null;
1429
+ liquidityPositionId: string | null;
1430
+ }
1431
+ declare function getCreatorCoinGuarantees(coinAddress: string, provider: ProviderInterface): Promise<CreatorCoinGuarantees | null>;
1432
+ declare function buildCreateCreatorCoinCall(params: CreateCreatorCoinParams): Call;
1433
+ declare function buildLaunchOnEkuboCalls(params: EkuboLaunchParams): Call[];
1434
+ interface CreatorCoinReceiptLike {
1435
+ events?: Array<{
1436
+ from_address?: string;
1437
+ keys?: string[];
1438
+ data?: string[];
1439
+ }>;
1440
+ }
1441
+ declare function parseCreatorCoinCreated(receipt: CreatorCoinReceiptLike): string;
1442
+ declare class CreatorCoinService {
1443
+ private readonly factoryAddress;
1444
+ private readonly config;
1445
+ constructor(config: ResolvedConfig);
1446
+ private _factory;
1447
+ createCreatorCoin(account: AccountInterface, params: CreateCreatorCoinParams): Promise<TxResult>;
1448
+ launchOnEkubo(account: AccountInterface, params: EkuboLaunchParams): Promise<TxResult>;
1449
+ isCreatorCoin(address: string, account: AccountInterface): Promise<boolean>;
1450
+ getGuarantees(coinAddress: string): Promise<CreatorCoinGuarantees | null>;
1451
+ }
1452
+
1453
+ interface PopAllowlist {
1454
+ /** Merkle root to publish with `set_allowlist_root`. */
1455
+ root: string;
1456
+ /** Proof per address, keyed by normalized Starknet address. */
1457
+ proofs: Record<string, string[]>;
1458
+ }
1459
+ declare function buildPopAllowlist(addresses: string[]): PopAllowlist;
1460
+ /** True when `proof` places `address` under `root` — checked before sending a claim. */
1461
+ declare function verifyPopProof(root: string, address: string, proof: string[]): boolean;
1462
+ declare function encodePopClaimFragment(proof: string[]): string;
1463
+ /** The proof in a claim link's fragment; `null` when absent or malformed. */
1464
+ declare function decodePopClaimFragment(fragment: string): string[] | null;
1465
+
1466
+ interface PopClaimLink {
1467
+ address: string;
1468
+ url: string;
1469
+ }
1470
+ /** One claim link per allowlisted address: the collection page with the proof in its fragment. */
1471
+ declare function popClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
1472
+ declare function popClaimLinksCsv(links: PopClaimLink[]): string;
1473
+ interface PopClaimInfo {
1474
+ /** Allowlist Merkle root; 0 when claims are closed. */
1475
+ root: string;
1476
+ /** Unix seconds; 0 = no deadline. */
1477
+ claimEndTime: number;
1478
+ }
1479
+ /** Reads a collection's allowlist root and claim deadline from chain. */
1480
+ declare function popClaimInfo(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<PopClaimInfo>;
1481
+ type PopClaimState = "loading" | "claimed" | "closed" | "ended" | "no-link" | "wrong-wallet" | "ready";
1482
+ /** What a claim page should show, decided before any transaction is sent. */
1483
+ declare function popClaimState(input: {
1484
+ hasClaimed: boolean | null;
1485
+ proof: string[] | null;
1486
+ wallet: string | null;
1487
+ /** The collection's claim settings, with `now` in Unix seconds. */
1488
+ info: (PopClaimInfo & {
1489
+ now: number;
1490
+ }) | null;
1491
+ }): PopClaimState;
1492
+ /** Calls on a POP collection, ready for `account.execute` or a sponsored transaction. */
1493
+ declare const popCalls: {
1494
+ claim(collection: string, proof: string[]): Call;
1495
+ /** An empty `tokenUri` uses the collection's URI. */
1496
+ issue(collection: string, recipient: string, tokenUri?: string): Call;
1497
+ /** Only the token's holder can burn it. */
1498
+ burn(collection: string, tokenId: string | bigint): Call;
1499
+ setAllowlistRoot(collection: string, root: string): Call;
1500
+ };
1501
+
1337
1502
  declare class MedialaneApiError extends Error {
1338
1503
  readonly status: number;
1339
1504
  readonly retryAfterMs?: number | undefined;
@@ -1587,6 +1752,9 @@ declare class ApiClient {
1587
1752
  getClubMembership(contract: string, tokenId: string): Promise<ApiTierOnchain>;
1588
1753
  isClubMember(contract: string, tokenId: string, wallet: string): Promise<boolean>;
1589
1754
  getIpNftTokenData(contract: string, tokenId: string): Promise<ApiIpNftTokenData | null>;
1755
+ getCoinGuarantees(contract: string): Promise<CreatorCoinGuarantees | null>;
1756
+ getPopClaimInfo(collection: string): Promise<PopClaimInfo | null>;
1757
+ getSwapQuote(body: ApiSwapQuoteRequest): Promise<ApiSwapQuote>;
1590
1758
  getPlatformStats(): Promise<ApiPlatformStats>;
1591
1759
  getTokens(query?: ApiTokensQuery): Promise<ApiResponse<ApiToken[]>>;
1592
1760
  isCreatorHidden(wallet: string): Promise<boolean>;
@@ -1695,45 +1863,6 @@ interface PasskeyOwner {
1695
1863
  }
1696
1864
  declare function createPasskeyOwner(config: PasskeyConfig): PasskeyOwner;
1697
1865
 
1698
- interface OfferItem {
1699
- item_type: string;
1700
- token: string;
1701
- identifier_or_criteria: string;
1702
- amount: string;
1703
- }
1704
- interface ConsiderationItem extends OfferItem {
1705
- recipient: string;
1706
- }
1707
- interface OrderParameters {
1708
- offerer: string;
1709
- marketplace: string;
1710
- offer: OfferItem;
1711
- consideration: ConsiderationItem;
1712
- royalty_max_bps: string;
1713
- start_time: string;
1714
- end_time: string;
1715
- salt: string;
1716
- counter: string;
1717
- }
1718
- interface Order {
1719
- parameters: OrderParameters;
1720
- signature: string[];
1721
- }
1722
- interface TxResult {
1723
- txHash: string;
1724
- }
1725
- interface OrderDetails {
1726
- offerer: string;
1727
- offer: OfferItem;
1728
- consideration: ConsiderationItem;
1729
- royalty_max_bps: string;
1730
- start_time: bigint;
1731
- end_time: bigint;
1732
- order_status: string;
1733
- counter: string;
1734
- remaining_amount?: string;
1735
- }
1736
-
1737
1866
  interface CreatePopCollectionParams {
1738
1867
  name: string;
1739
1868
  symbol: string;
@@ -1819,4 +1948,4 @@ declare class UserFacingError extends Error {
1819
1948
  constructor(message: string);
1820
1949
  }
1821
1950
 
1822
- export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateListingIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiTokenMetadata as aA, type ApiTokensQuery as aB, type ApiTxSyncResult as aC, type ApiUserRewards as aD, type ApiUserWallet as aE, type ApiUsernameClaim as aF, type ApiWalletActivity as aG, type AutoRemixOfferParams as aH, type CancelOrderIntentParams as aI, type ChainFilter as aJ, type CheckoutIntentItem as aK, type CollectionServiceId as aL, type CollectionSort as aM, type CollectionTokensSort as aN, type ConfirmRemixOfferParams as aO, type ConfirmSelfRemixParams as aP, type ConsiderationItem as aQ, type CreateCheckoutIntentParams as aR, type CreateCoinIntentParams as aS, type CreateCollectionIntentParams as aT, type CreateCommentIntentParams as aU, type CreateCounterOfferIntentParams as aV, type CreateDropClaimIntentParams as aW, type CreateDropManageIntentParams as aX, type CreateDropParams as aY, type CreateFundingTransferIntentParams as aZ, type CreateGenesisMintIntentParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiTierOnchain as ax, type ApiToken as ay, type ApiTokenBalance as az, type AcceptSponsorshipProposalIntentParams as b, UserFacingError as b$, type CreateMembershipParams as b0, type CreateMintIntentParams as b1, type CreatePopBurnIntentParams as b2, type CreatePopClaimIntentParams as b3, type CreatePopCollectionParams as b4, type CreatePopManageIntentParams as b5, type CreateRemixOfferParams as b6, type CreateSponsorshipOfferIntentParams as b7, type CreateSponsorshipOfferParams as b8, type CreateSponsorshipProposalIntentParams as b9, type MedialaneErrorCode as bA, type MintMembershipsParams as bB, type MintTicketsParams as bC, OPEN_LICENSES as bD, type OfferItem as bE, type OpenLicense as bF, type Order as bG, type OrderDetails as bH, type OrderParameters as bI, type OrderStatus as bJ, PasskeyCancelledError as bK, PasskeyUnsupportedError as bL, type PasskeyUnsupportedReason as bM, type PlaceSponsorshipBidIntentParams as bN, type PopManageAction as bO, type ProposeSponsorshipParams as bP, type RejectSponsorshipProposalIntentParams as bQ, type RemixOfferStatus as bR, type ResolvedConfig as bS, type RetractSponsorshipBidIntentParams as bT, type RetryOptions as bU, type ServiceEventDeclaration as bV, type SetSponsorshipOfferOpenIntentParams as bW, type SortOrder as bX, type TierServiceId as bY, type TxResult as bZ, type UpdateCollectionProfileInput as b_, type CreateSwapIntentParams as ba, type CreateTicketParams as bb, type CreateTierIntentParams as bc, type CreateTransferCollectionOwnershipIntentParams as bd, type CreateTransferNftIntentParams as be, type CreateTransferTokenIntentParams as bf, type CreateWalletManageIntentParams as bg, type DropManageAction as bh, type DropTerms as bi, type DropTermsBody as bj, type EmissionParams as bk, type EnforcementDeclaration as bl, type FactoryFamilyServiceId as bm, type FeeConfig as bn, FeeConfigSchema as bo, type FulfillOrderIntentParams as bp, type IPType as bq, type IntentCall as br, type IntentStatus as bs, type IntentType as bt, type IpAttribute as bu, type IpNftMetadata as bv, type LaunchCoinIntentParams as bw, type MakeOfferIntentParams as bx, MedialaneApiError as by, type MedialaneConfig as bz, type ActivityType as c, type WalletManageAction as c0, type WithdrawSponsorshipProposalIntentParams as c1, resolveConfig as c2, resolveFeeConfig as c3, type SealedOwner as c4, type ReceiptProviderLike as c5, type WalletExecutor as c6, type ExecutedTransaction as c7, type PasskeyOwner as c8, type CreatedOwner as c9, InvalidRecoveryKeyError as ca, type OwnerSigner as cb, type PasskeyConfig as cc, type RecoveryKey as cd, createPasskeyOwner as ce, encodeRecoveryKey as cf, parseRecoveryKey as cg, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
1951
+ export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiSwapQuote as ax, type ApiSwapQuoteRequest as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TxResult as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, MedialaneApiError as bA, type MedialaneConfig as bB, type MedialaneErrorCode as bC, type MintMembershipsParams as bD, type MintTicketsParams as bE, OPEN_LICENSES as bF, type OfferItem as bG, type OpenLicense as bH, type Order as bI, type OrderDetails as bJ, type OrderParameters as bK, type OrderStatus as bL, PasskeyCancelledError as bM, PasskeyUnsupportedError as bN, type PasskeyUnsupportedReason as bO, type PlaceSponsorshipBidIntentParams as bP, type PopManageAction as bQ, type ProposeSponsorshipParams as bR, type RejectSponsorshipProposalIntentParams as bS, type RemixOfferStatus as bT, type ResolvedConfig as bU, type RetractSponsorshipBidIntentParams as bV, type RetryOptions as bW, type ServiceEventDeclaration as bX, type SetSponsorshipOfferOpenIntentParams as bY, type SortOrder as bZ, type TierServiceId as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropTerms as bk, type DropTermsBody as bl, type EmissionParams as bm, type EnforcementDeclaration as bn, type FactoryFamilyServiceId as bo, type FeeConfig as bp, FeeConfigSchema as bq, type FulfillOrderIntentParams as br, type IPType as bs, type IntentCall as bt, type IntentStatus as bu, type IntentType as bv, type IpAttribute as bw, type IpNftMetadata as bx, type LaunchCoinIntentParams as by, type MakeOfferIntentParams as bz, type ActivityType as c, type UpdateCollectionProfileInput as c0, UserFacingError as c1, type WalletManageAction as c2, type WithdrawSponsorshipProposalIntentParams as c3, resolveConfig as c4, resolveFeeConfig as c5, CreatorCoinService as c6, type PopAllowlist as c7, type PopClaimLink as c8, type SealedOwner as c9, getCreatorCoinGuarantees as cA, parseCreatorCoinCreated as cB, parseRecoveryKey as cC, popCalls as cD, popClaimInfo as cE, popClaimLinks as cF, popClaimLinksCsv as cG, popClaimState as cH, priceToEkuboParams as cI, validatePrice as cJ, verifyPopProof as cK, type ReceiptProviderLike as ca, type WalletExecutor as cb, type ExecutedTransaction as cc, type PasskeyOwner as cd, type CreatedOwner as ce, type CreateCreatorCoinParams as cf, type CreatorCoinGuarantees as cg, type CreatorCoinReceiptLike as ch, type EkuboLaunchParams as ci, type EkuboPoolParams as cj, InvalidRecoveryKeyError as ck, MAX_HOLDERS_AT_LAUNCH as cl, MAX_TEAM_ALLOCATION_PERCENT as cm, type OwnerSigner as cn, type PasskeyConfig as co, type PopClaimInfo as cp, type PopClaimState as cq, type RecoveryKey as cr, VALIDATED_EKUBO_PARAMS as cs, buildCreateCreatorCoinCall as ct, buildLaunchOnEkuboCalls as cu, buildPopAllowlist as cv, createPasskeyOwner as cw, decodePopClaimFragment as cx, encodePopClaimFragment as cy, encodeRecoveryKey as cz, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
@@ -1,6 +1,6 @@
1
- import { z } from 'zod';
2
1
  import { C as Chain } from './types-BTNjkUst.js';
3
- import { Call, TypedData } from 'starknet';
2
+ import { AccountInterface, Call, ProviderInterface, TypedData } from 'starknet';
3
+ import { z } from 'zod';
4
4
 
5
5
  interface RetryOptions {
6
6
  maxAttempts?: number;
@@ -1094,6 +1094,22 @@ interface ApiTierOnchain {
1094
1094
  endTime: number | null;
1095
1095
  royaltyBps: number;
1096
1096
  }
1097
+ interface ApiSwapQuoteRequest {
1098
+ sellSymbol?: string;
1099
+ buySymbol?: string;
1100
+ sellTokenAddress?: string;
1101
+ buyTokenAddress?: string;
1102
+ sellAmountRaw?: string;
1103
+ buyAmountRaw?: string;
1104
+ takerAddress?: string;
1105
+ }
1106
+ interface ApiSwapQuote {
1107
+ quoteId: string;
1108
+ sellTokenAddress: string;
1109
+ sellAmount: string;
1110
+ buyTokenAddress: string;
1111
+ buyAmount: string;
1112
+ }
1097
1113
  interface ApiIpNftTokenData {
1098
1114
  owner: string;
1099
1115
  metadataUri: string;
@@ -1334,6 +1350,155 @@ interface CreatePopManageIntentParams {
1334
1350
 
1335
1351
  type MedialaneErrorCode = "TOKEN_NOT_FOUND" | "COLLECTION_NOT_FOUND" | "ORDER_NOT_FOUND" | "INTENT_NOT_FOUND" | "INTENT_EXPIRED" | "RATE_LIMITED" | "NETWORK_NOT_SUPPORTED" | "APPROVAL_FAILED" | "TRANSACTION_FAILED" | "INVALID_PARAMS" | "UNAUTHORIZED" | "UNKNOWN";
1336
1352
 
1353
+ interface OfferItem {
1354
+ item_type: string;
1355
+ token: string;
1356
+ identifier_or_criteria: string;
1357
+ amount: string;
1358
+ }
1359
+ interface ConsiderationItem extends OfferItem {
1360
+ recipient: string;
1361
+ }
1362
+ interface OrderParameters {
1363
+ offerer: string;
1364
+ marketplace: string;
1365
+ offer: OfferItem;
1366
+ consideration: ConsiderationItem;
1367
+ royalty_max_bps: string;
1368
+ start_time: string;
1369
+ end_time: string;
1370
+ salt: string;
1371
+ counter: string;
1372
+ }
1373
+ interface Order {
1374
+ parameters: OrderParameters;
1375
+ signature: string[];
1376
+ }
1377
+ interface TxResult {
1378
+ txHash: string;
1379
+ }
1380
+ interface OrderDetails {
1381
+ offerer: string;
1382
+ offer: OfferItem;
1383
+ consideration: ConsiderationItem;
1384
+ royalty_max_bps: string;
1385
+ start_time: bigint;
1386
+ end_time: bigint;
1387
+ order_status: string;
1388
+ counter: string;
1389
+ remaining_amount?: string;
1390
+ }
1391
+
1392
+ interface CreateCreatorCoinParams {
1393
+ owner: string;
1394
+ name: string;
1395
+ symbol: string;
1396
+ initialSupply: bigint | string;
1397
+ salt?: bigint | string;
1398
+ }
1399
+ interface EkuboPoolParams {
1400
+ fee: bigint | string;
1401
+ tickSpacing: bigint | string;
1402
+ startingPrice: {
1403
+ mag: bigint | string;
1404
+ sign: boolean;
1405
+ };
1406
+ bound: bigint | string;
1407
+ }
1408
+ interface EkuboLaunchParams {
1409
+ creatorCoin: string;
1410
+ quoteToken: string;
1411
+ initialHolders: string[];
1412
+ initialHoldersAmounts: (bigint | string)[];
1413
+ transferRestrictionDelay?: number;
1414
+ maxPercentageBuyLaunch?: number;
1415
+ ekubo: EkuboPoolParams;
1416
+ quoteFundAmount?: bigint | string;
1417
+ }
1418
+ declare const VALIDATED_EKUBO_PARAMS: EkuboPoolParams;
1419
+ declare function priceToEkuboParams(quoteDecimals: number, price?: number): EkuboPoolParams;
1420
+ declare function validatePrice(quoteDecimals: number, price: number): string | null;
1421
+ declare const MAX_TEAM_ALLOCATION_PERCENT = 10;
1422
+ declare const MAX_HOLDERS_AT_LAUNCH = 10;
1423
+ interface CreatorCoinGuarantees {
1424
+ isLaunched: boolean;
1425
+ launchedAtBlock: number | null;
1426
+ totalSupplyRaw: string;
1427
+ teamAllocationRaw: string;
1428
+ teamAllocationPercent: number | null;
1429
+ liquidityPositionId: string | null;
1430
+ }
1431
+ declare function getCreatorCoinGuarantees(coinAddress: string, provider: ProviderInterface): Promise<CreatorCoinGuarantees | null>;
1432
+ declare function buildCreateCreatorCoinCall(params: CreateCreatorCoinParams): Call;
1433
+ declare function buildLaunchOnEkuboCalls(params: EkuboLaunchParams): Call[];
1434
+ interface CreatorCoinReceiptLike {
1435
+ events?: Array<{
1436
+ from_address?: string;
1437
+ keys?: string[];
1438
+ data?: string[];
1439
+ }>;
1440
+ }
1441
+ declare function parseCreatorCoinCreated(receipt: CreatorCoinReceiptLike): string;
1442
+ declare class CreatorCoinService {
1443
+ private readonly factoryAddress;
1444
+ private readonly config;
1445
+ constructor(config: ResolvedConfig);
1446
+ private _factory;
1447
+ createCreatorCoin(account: AccountInterface, params: CreateCreatorCoinParams): Promise<TxResult>;
1448
+ launchOnEkubo(account: AccountInterface, params: EkuboLaunchParams): Promise<TxResult>;
1449
+ isCreatorCoin(address: string, account: AccountInterface): Promise<boolean>;
1450
+ getGuarantees(coinAddress: string): Promise<CreatorCoinGuarantees | null>;
1451
+ }
1452
+
1453
+ interface PopAllowlist {
1454
+ /** Merkle root to publish with `set_allowlist_root`. */
1455
+ root: string;
1456
+ /** Proof per address, keyed by normalized Starknet address. */
1457
+ proofs: Record<string, string[]>;
1458
+ }
1459
+ declare function buildPopAllowlist(addresses: string[]): PopAllowlist;
1460
+ /** True when `proof` places `address` under `root` — checked before sending a claim. */
1461
+ declare function verifyPopProof(root: string, address: string, proof: string[]): boolean;
1462
+ declare function encodePopClaimFragment(proof: string[]): string;
1463
+ /** The proof in a claim link's fragment; `null` when absent or malformed. */
1464
+ declare function decodePopClaimFragment(fragment: string): string[] | null;
1465
+
1466
+ interface PopClaimLink {
1467
+ address: string;
1468
+ url: string;
1469
+ }
1470
+ /** One claim link per allowlisted address: the collection page with the proof in its fragment. */
1471
+ declare function popClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
1472
+ declare function popClaimLinksCsv(links: PopClaimLink[]): string;
1473
+ interface PopClaimInfo {
1474
+ /** Allowlist Merkle root; 0 when claims are closed. */
1475
+ root: string;
1476
+ /** Unix seconds; 0 = no deadline. */
1477
+ claimEndTime: number;
1478
+ }
1479
+ /** Reads a collection's allowlist root and claim deadline from chain. */
1480
+ declare function popClaimInfo(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<PopClaimInfo>;
1481
+ type PopClaimState = "loading" | "claimed" | "closed" | "ended" | "no-link" | "wrong-wallet" | "ready";
1482
+ /** What a claim page should show, decided before any transaction is sent. */
1483
+ declare function popClaimState(input: {
1484
+ hasClaimed: boolean | null;
1485
+ proof: string[] | null;
1486
+ wallet: string | null;
1487
+ /** The collection's claim settings, with `now` in Unix seconds. */
1488
+ info: (PopClaimInfo & {
1489
+ now: number;
1490
+ }) | null;
1491
+ }): PopClaimState;
1492
+ /** Calls on a POP collection, ready for `account.execute` or a sponsored transaction. */
1493
+ declare const popCalls: {
1494
+ claim(collection: string, proof: string[]): Call;
1495
+ /** An empty `tokenUri` uses the collection's URI. */
1496
+ issue(collection: string, recipient: string, tokenUri?: string): Call;
1497
+ /** Only the token's holder can burn it. */
1498
+ burn(collection: string, tokenId: string | bigint): Call;
1499
+ setAllowlistRoot(collection: string, root: string): Call;
1500
+ };
1501
+
1337
1502
  declare class MedialaneApiError extends Error {
1338
1503
  readonly status: number;
1339
1504
  readonly retryAfterMs?: number | undefined;
@@ -1587,6 +1752,9 @@ declare class ApiClient {
1587
1752
  getClubMembership(contract: string, tokenId: string): Promise<ApiTierOnchain>;
1588
1753
  isClubMember(contract: string, tokenId: string, wallet: string): Promise<boolean>;
1589
1754
  getIpNftTokenData(contract: string, tokenId: string): Promise<ApiIpNftTokenData | null>;
1755
+ getCoinGuarantees(contract: string): Promise<CreatorCoinGuarantees | null>;
1756
+ getPopClaimInfo(collection: string): Promise<PopClaimInfo | null>;
1757
+ getSwapQuote(body: ApiSwapQuoteRequest): Promise<ApiSwapQuote>;
1590
1758
  getPlatformStats(): Promise<ApiPlatformStats>;
1591
1759
  getTokens(query?: ApiTokensQuery): Promise<ApiResponse<ApiToken[]>>;
1592
1760
  isCreatorHidden(wallet: string): Promise<boolean>;
@@ -1695,45 +1863,6 @@ interface PasskeyOwner {
1695
1863
  }
1696
1864
  declare function createPasskeyOwner(config: PasskeyConfig): PasskeyOwner;
1697
1865
 
1698
- interface OfferItem {
1699
- item_type: string;
1700
- token: string;
1701
- identifier_or_criteria: string;
1702
- amount: string;
1703
- }
1704
- interface ConsiderationItem extends OfferItem {
1705
- recipient: string;
1706
- }
1707
- interface OrderParameters {
1708
- offerer: string;
1709
- marketplace: string;
1710
- offer: OfferItem;
1711
- consideration: ConsiderationItem;
1712
- royalty_max_bps: string;
1713
- start_time: string;
1714
- end_time: string;
1715
- salt: string;
1716
- counter: string;
1717
- }
1718
- interface Order {
1719
- parameters: OrderParameters;
1720
- signature: string[];
1721
- }
1722
- interface TxResult {
1723
- txHash: string;
1724
- }
1725
- interface OrderDetails {
1726
- offerer: string;
1727
- offer: OfferItem;
1728
- consideration: ConsiderationItem;
1729
- royalty_max_bps: string;
1730
- start_time: bigint;
1731
- end_time: bigint;
1732
- order_status: string;
1733
- counter: string;
1734
- remaining_amount?: string;
1735
- }
1736
-
1737
1866
  interface CreatePopCollectionParams {
1738
1867
  name: string;
1739
1868
  symbol: string;
@@ -1819,4 +1948,4 @@ declare class UserFacingError extends Error {
1819
1948
  constructor(message: string);
1820
1949
  }
1821
1950
 
1822
- export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateListingIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiTokenMetadata as aA, type ApiTokensQuery as aB, type ApiTxSyncResult as aC, type ApiUserRewards as aD, type ApiUserWallet as aE, type ApiUsernameClaim as aF, type ApiWalletActivity as aG, type AutoRemixOfferParams as aH, type CancelOrderIntentParams as aI, type ChainFilter as aJ, type CheckoutIntentItem as aK, type CollectionServiceId as aL, type CollectionSort as aM, type CollectionTokensSort as aN, type ConfirmRemixOfferParams as aO, type ConfirmSelfRemixParams as aP, type ConsiderationItem as aQ, type CreateCheckoutIntentParams as aR, type CreateCoinIntentParams as aS, type CreateCollectionIntentParams as aT, type CreateCommentIntentParams as aU, type CreateCounterOfferIntentParams as aV, type CreateDropClaimIntentParams as aW, type CreateDropManageIntentParams as aX, type CreateDropParams as aY, type CreateFundingTransferIntentParams as aZ, type CreateGenesisMintIntentParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiTierOnchain as ax, type ApiToken as ay, type ApiTokenBalance as az, type AcceptSponsorshipProposalIntentParams as b, UserFacingError as b$, type CreateMembershipParams as b0, type CreateMintIntentParams as b1, type CreatePopBurnIntentParams as b2, type CreatePopClaimIntentParams as b3, type CreatePopCollectionParams as b4, type CreatePopManageIntentParams as b5, type CreateRemixOfferParams as b6, type CreateSponsorshipOfferIntentParams as b7, type CreateSponsorshipOfferParams as b8, type CreateSponsorshipProposalIntentParams as b9, type MedialaneErrorCode as bA, type MintMembershipsParams as bB, type MintTicketsParams as bC, OPEN_LICENSES as bD, type OfferItem as bE, type OpenLicense as bF, type Order as bG, type OrderDetails as bH, type OrderParameters as bI, type OrderStatus as bJ, PasskeyCancelledError as bK, PasskeyUnsupportedError as bL, type PasskeyUnsupportedReason as bM, type PlaceSponsorshipBidIntentParams as bN, type PopManageAction as bO, type ProposeSponsorshipParams as bP, type RejectSponsorshipProposalIntentParams as bQ, type RemixOfferStatus as bR, type ResolvedConfig as bS, type RetractSponsorshipBidIntentParams as bT, type RetryOptions as bU, type ServiceEventDeclaration as bV, type SetSponsorshipOfferOpenIntentParams as bW, type SortOrder as bX, type TierServiceId as bY, type TxResult as bZ, type UpdateCollectionProfileInput as b_, type CreateSwapIntentParams as ba, type CreateTicketParams as bb, type CreateTierIntentParams as bc, type CreateTransferCollectionOwnershipIntentParams as bd, type CreateTransferNftIntentParams as be, type CreateTransferTokenIntentParams as bf, type CreateWalletManageIntentParams as bg, type DropManageAction as bh, type DropTerms as bi, type DropTermsBody as bj, type EmissionParams as bk, type EnforcementDeclaration as bl, type FactoryFamilyServiceId as bm, type FeeConfig as bn, FeeConfigSchema as bo, type FulfillOrderIntentParams as bp, type IPType as bq, type IntentCall as br, type IntentStatus as bs, type IntentType as bt, type IpAttribute as bu, type IpNftMetadata as bv, type LaunchCoinIntentParams as bw, type MakeOfferIntentParams as bx, MedialaneApiError as by, type MedialaneConfig as bz, type ActivityType as c, type WalletManageAction as c0, type WithdrawSponsorshipProposalIntentParams as c1, resolveConfig as c2, resolveFeeConfig as c3, type SealedOwner as c4, type ReceiptProviderLike as c5, type WalletExecutor as c6, type ExecutedTransaction as c7, type PasskeyOwner as c8, type CreatedOwner as c9, InvalidRecoveryKeyError as ca, type OwnerSigner as cb, type PasskeyConfig as cc, type RecoveryKey as cd, createPasskeyOwner as ce, encodeRecoveryKey as cf, parseRecoveryKey as cg, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
1951
+ export { type ApiOrdersQuery as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDrop as C, type ApiDropFee as D, type ApiDropListStatus as E, type ApiDropMint as F, type ApiEmissionCall as G, type ApiEmissionResult as H, type ApiFundingInstructions as I, type ApiFundingIntent as J, type ApiFundingMethod as K, type ApiFundingStatus as L, type ApiFundingSubmit as M, type ApiIntent as N, type ApiIntentCreated as O, type ApiIpNftTokenData as P, type ApiMeta as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataSignedUrl as T, type ApiMetadataUpload as U, type ApiOrder as V, type ApiOrderConsideration as W, type ApiOrderOffer as X, type ApiOrderPrice as Y, type ApiOrderTokenMeta as Z, type ApiOrderTxHash as _, type ServiceCapability as a, type CreateFundingTransferIntentParams as a$, type ApiPlatformStats as a0, type ApiPointEvent as a1, type ApiPortalKey as a2, type ApiPortalKeyCreated as a3, type ApiPortalMe as a4, type ApiPortalSpend as a5, type ApiPricing as a6, type ApiPricingRule as a7, type ApiPublicRemix as a8, type ApiRemixOffer as a9, type ApiToken as aA, type ApiTokenBalance as aB, type ApiTokenMetadata as aC, type ApiTokensQuery as aD, type ApiTxSyncResult as aE, type ApiUserRewards as aF, type ApiUserWallet as aG, type ApiUsernameClaim as aH, type ApiWalletActivity as aI, type AutoRemixOfferParams as aJ, type CancelOrderIntentParams as aK, type ChainFilter as aL, type CheckoutIntentItem as aM, type CollectionServiceId as aN, type CollectionSort as aO, type CollectionTokensSort as aP, type ConfirmRemixOfferParams as aQ, type ConfirmSelfRemixParams as aR, type ConsiderationItem as aS, type CreateCheckoutIntentParams as aT, type CreateCoinIntentParams as aU, type CreateCollectionIntentParams as aV, type CreateCommentIntentParams as aW, type CreateCounterOfferIntentParams as aX, type CreateDropClaimIntentParams as aY, type CreateDropManageIntentParams as aZ, type CreateDropParams as a_, type ApiRemixOfferPrice as aa, type ApiRemixOffersQuery as ab, type ApiReportTargetType as ac, type ApiResponse as ad, type ApiRewardsBadge as ae, type ApiRewardsBatchEntry as af, type ApiRewardsConfig as ag, type ApiRewardsLeaderboardEntry as ah, type ApiRewardsLevel as ai, type ApiSearchCollectionResult as aj, type ApiSearchCreatorResult as ak, type ApiSearchResult as al, type ApiSearchTokenResult as am, type ApiSession as an, type ApiSpendByAction as ao, type ApiSponsorshipBid as ap, type ApiSponsorshipLicense as aq, type ApiSponsorshipLicensesQuery as ar, type ApiSponsorshipOffer as as, type ApiSponsorshipOffersQuery as at, type ApiSponsorshipProposal as au, type ApiSponsorshipProposalsQuery as av, type ApiSubmitReport as aw, type ApiSwapQuote as ax, type ApiSwapQuoteRequest as ay, type ApiTierOnchain as az, type AcceptSponsorshipProposalIntentParams as b, type TxResult as b$, type CreateGenesisMintIntentParams as b0, type CreateListingIntentParams as b1, type CreateMembershipParams as b2, type CreateMintIntentParams as b3, type CreatePopBurnIntentParams as b4, type CreatePopClaimIntentParams as b5, type CreatePopCollectionParams as b6, type CreatePopManageIntentParams as b7, type CreateRemixOfferParams as b8, type CreateSponsorshipOfferIntentParams as b9, MedialaneApiError as bA, type MedialaneConfig as bB, type MedialaneErrorCode as bC, type MintMembershipsParams as bD, type MintTicketsParams as bE, OPEN_LICENSES as bF, type OfferItem as bG, type OpenLicense as bH, type Order as bI, type OrderDetails as bJ, type OrderParameters as bK, type OrderStatus as bL, PasskeyCancelledError as bM, PasskeyUnsupportedError as bN, type PasskeyUnsupportedReason as bO, type PlaceSponsorshipBidIntentParams as bP, type PopManageAction as bQ, type ProposeSponsorshipParams as bR, type RejectSponsorshipProposalIntentParams as bS, type RemixOfferStatus as bT, type ResolvedConfig as bU, type RetractSponsorshipBidIntentParams as bV, type RetryOptions as bW, type ServiceEventDeclaration as bX, type SetSponsorshipOfferOpenIntentParams as bY, type SortOrder as bZ, type TierServiceId as b_, type CreateSponsorshipOfferParams as ba, type CreateSponsorshipProposalIntentParams as bb, type CreateSwapIntentParams as bc, type CreateTicketParams as bd, type CreateTierIntentParams as be, type CreateTransferCollectionOwnershipIntentParams as bf, type CreateTransferNftIntentParams as bg, type CreateTransferTokenIntentParams as bh, type CreateWalletManageIntentParams as bi, type DropManageAction as bj, type DropTerms as bk, type DropTermsBody as bl, type EmissionParams as bm, type EnforcementDeclaration as bn, type FactoryFamilyServiceId as bo, type FeeConfig as bp, FeeConfigSchema as bq, type FulfillOrderIntentParams as br, type IPType as bs, type IntentCall as bt, type IntentStatus as bu, type IntentType as bv, type IpAttribute as bw, type IpNftMetadata as bx, type LaunchCoinIntentParams as by, type MakeOfferIntentParams as bz, type ActivityType as c, type UpdateCollectionProfileInput as c0, UserFacingError as c1, type WalletManageAction as c2, type WithdrawSponsorshipProposalIntentParams as c3, resolveConfig as c4, resolveFeeConfig as c5, CreatorCoinService as c6, type PopAllowlist as c7, type PopClaimLink as c8, type SealedOwner as c9, getCreatorCoinGuarantees as cA, parseCreatorCoinCreated as cB, parseRecoveryKey as cC, popCalls as cD, popClaimInfo as cE, popClaimLinks as cF, popClaimLinksCsv as cG, popClaimState as cH, priceToEkuboParams as cI, validatePrice as cJ, verifyPopProof as cK, type ReceiptProviderLike as ca, type WalletExecutor as cb, type ExecutedTransaction as cc, type PasskeyOwner as cd, type CreatedOwner as ce, type CreateCreatorCoinParams as cf, type CreatorCoinGuarantees as cg, type CreatorCoinReceiptLike as ch, type EkuboLaunchParams as ci, type EkuboPoolParams as cj, InvalidRecoveryKeyError as ck, MAX_HOLDERS_AT_LAUNCH as cl, MAX_TEAM_ALLOCATION_PERCENT as cm, type OwnerSigner as cn, type PasskeyConfig as co, type PopClaimInfo as cp, type PopClaimState as cq, type RecoveryKey as cr, VALIDATED_EKUBO_PARAMS as cs, buildCreateCreatorCoinCall as ct, buildLaunchOnEkuboCalls as cu, buildPopAllowlist as cv, createPasskeyOwner as cw, decodePopClaimFragment as cx, encodePopClaimFragment as cy, encodeRecoveryKey as cz, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };