@medialane/sdk 0.172.0 → 0.174.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/{chunk-BC2L2H6A.cjs → chunk-46LSYJEM.cjs} +25 -2
- package/dist/chunk-46LSYJEM.cjs.map +1 -0
- package/dist/{chunk-DDZJFN65.js → chunk-BGURLH5G.js} +25 -2
- package/dist/chunk-BGURLH5G.js.map +1 -0
- package/dist/{errors-DvSfHOZu.d.cts → errors-Bf4s_b14.d.cts} +216 -42
- package/dist/{errors-5C3YHsDE.d.ts → errors-D3wtOrcq.d.ts} +216 -42
- package/dist/index.cjs +270 -121
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -14
- package/dist/index.d.ts +19 -14
- package/dist/index.js +193 -46
- package/dist/index.js.map +1 -1
- package/dist/starknet/index.cjs +94 -71
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +10 -157
- package/dist/starknet/index.d.ts +10 -157
- package/dist/starknet/index.js +25 -3
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-BC2L2H6A.cjs.map +0 -1
- package/dist/chunk-DDZJFN65.js.map +0 -1
|
@@ -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,199 @@ 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
|
+
|
|
1502
|
+
interface DropOnchain {
|
|
1503
|
+
organizer: string;
|
|
1504
|
+
/** Unix seconds; 0 = open from creation. */
|
|
1505
|
+
startTime: number;
|
|
1506
|
+
/** Unix seconds; 0 = never closes. */
|
|
1507
|
+
endTime: number;
|
|
1508
|
+
price: bigint;
|
|
1509
|
+
paymentToken: string;
|
|
1510
|
+
/** 0 = unlimited. */
|
|
1511
|
+
maxPerWallet: bigint;
|
|
1512
|
+
/** 0x0 = open to everyone. */
|
|
1513
|
+
allowlistRoot: string;
|
|
1514
|
+
/** 0 = no cap. */
|
|
1515
|
+
maxSupply: bigint;
|
|
1516
|
+
totalMinted: bigint;
|
|
1517
|
+
}
|
|
1518
|
+
/** A drop's organizer, terms, allowlist root and supply, read from chain. */
|
|
1519
|
+
declare function readDrop(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<DropOnchain>;
|
|
1520
|
+
/** How many tokens `wallet` has claimed from this drop (gifts not included). */
|
|
1521
|
+
declare function dropClaimedBy(provider: Pick<ProviderInterface, "callContract">, collection: string, wallet: string): Promise<bigint>;
|
|
1522
|
+
type DropMintStateKind = "loading" | "upcoming" | "ended" | "sold-out" | "no-wallet" | "no-link" | "not-on-list" | "limit-reached" | "insufficient-balance" | "ready";
|
|
1523
|
+
interface DropMintState {
|
|
1524
|
+
state: DropMintStateKind;
|
|
1525
|
+
/** Largest quantity this wallet can claim now; 0 unless `ready`. */
|
|
1526
|
+
maxQuantity: bigint;
|
|
1527
|
+
}
|
|
1528
|
+
/** What the mint button should show, decided before any transaction is sent. */
|
|
1529
|
+
declare function dropMintState(input: {
|
|
1530
|
+
drop: DropOnchain | null;
|
|
1531
|
+
wallet: string | null;
|
|
1532
|
+
/** `claimed_by(wallet)`; null while loading. */
|
|
1533
|
+
claimed: bigint | null;
|
|
1534
|
+
/** From the claim link; null when the page was opened without one. */
|
|
1535
|
+
proof: string[] | null;
|
|
1536
|
+
/** Wallet balance of the payment token; null while loading (ignored for free drops). */
|
|
1537
|
+
balance: bigint | null;
|
|
1538
|
+
/** Platform fee added to a mint, in basis points. */
|
|
1539
|
+
feeBps: number;
|
|
1540
|
+
/** Unix seconds. */
|
|
1541
|
+
now: number;
|
|
1542
|
+
}): DropMintState;
|
|
1543
|
+
/** One claim link per allowlisted address: the drop page with the proof in its fragment. */
|
|
1544
|
+
declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
|
|
1545
|
+
|
|
1337
1546
|
declare class MedialaneApiError extends Error {
|
|
1338
1547
|
readonly status: number;
|
|
1339
1548
|
readonly retryAfterMs?: number | undefined;
|
|
@@ -1587,6 +1796,10 @@ declare class ApiClient {
|
|
|
1587
1796
|
getClubMembership(contract: string, tokenId: string): Promise<ApiTierOnchain>;
|
|
1588
1797
|
isClubMember(contract: string, tokenId: string, wallet: string): Promise<boolean>;
|
|
1589
1798
|
getIpNftTokenData(contract: string, tokenId: string): Promise<ApiIpNftTokenData | null>;
|
|
1799
|
+
getCoinGuarantees(contract: string): Promise<CreatorCoinGuarantees | null>;
|
|
1800
|
+
getPopClaimInfo(collection: string): Promise<PopClaimInfo | null>;
|
|
1801
|
+
getDropState(contract: string): Promise<DropOnchain | null>;
|
|
1802
|
+
getSwapQuote(body: ApiSwapQuoteRequest): Promise<ApiSwapQuote>;
|
|
1590
1803
|
getPlatformStats(): Promise<ApiPlatformStats>;
|
|
1591
1804
|
getTokens(query?: ApiTokensQuery): Promise<ApiResponse<ApiToken[]>>;
|
|
1592
1805
|
isCreatorHidden(wallet: string): Promise<boolean>;
|
|
@@ -1695,45 +1908,6 @@ interface PasskeyOwner {
|
|
|
1695
1908
|
}
|
|
1696
1909
|
declare function createPasskeyOwner(config: PasskeyConfig): PasskeyOwner;
|
|
1697
1910
|
|
|
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
1911
|
interface CreatePopCollectionParams {
|
|
1738
1912
|
name: string;
|
|
1739
1913
|
symbol: string;
|
|
@@ -1819,4 +1993,4 @@ declare class UserFacingError extends Error {
|
|
|
1819
1993
|
constructor(message: string);
|
|
1820
1994
|
}
|
|
1821
1995
|
|
|
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
|
|
1996
|
+
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 SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, decodePopClaimFragment as cA, dropClaimLinks as cB, dropClaimedBy as cC, dropMintState as cD, encodePopClaimFragment as cE, encodeRecoveryKey as cF, getCreatorCoinGuarantees as cG, parseCreatorCoinCreated as cH, parseRecoveryKey as cI, popCalls as cJ, popClaimInfo as cK, popClaimLinks as cL, popClaimLinksCsv as cM, popClaimState as cN, priceToEkuboParams as cO, readDrop as cP, validatePrice as cQ, verifyPopProof as cR, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, type CreateCreatorCoinParams as cd, type CreatorCoinGuarantees as ce, type CreatorCoinReceiptLike as cf, type DropMintState as cg, type DropMintStateKind as ch, type DropOnchain as ci, type EkuboLaunchParams as cj, type EkuboPoolParams as ck, InvalidRecoveryKeyError as cl, MAX_HOLDERS_AT_LAUNCH as cm, MAX_TEAM_ALLOCATION_PERCENT as cn, type OwnerSigner as co, type PasskeyConfig as cp, type PopAllowlist as cq, type PopClaimInfo as cr, type PopClaimLink as cs, type PopClaimState as ct, type RecoveryKey as cu, VALIDATED_EKUBO_PARAMS as cv, buildCreateCreatorCoinCall as cw, buildLaunchOnEkuboCalls as cx, buildPopAllowlist as cy, createPasskeyOwner 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,199 @@ 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
|
+
|
|
1502
|
+
interface DropOnchain {
|
|
1503
|
+
organizer: string;
|
|
1504
|
+
/** Unix seconds; 0 = open from creation. */
|
|
1505
|
+
startTime: number;
|
|
1506
|
+
/** Unix seconds; 0 = never closes. */
|
|
1507
|
+
endTime: number;
|
|
1508
|
+
price: bigint;
|
|
1509
|
+
paymentToken: string;
|
|
1510
|
+
/** 0 = unlimited. */
|
|
1511
|
+
maxPerWallet: bigint;
|
|
1512
|
+
/** 0x0 = open to everyone. */
|
|
1513
|
+
allowlistRoot: string;
|
|
1514
|
+
/** 0 = no cap. */
|
|
1515
|
+
maxSupply: bigint;
|
|
1516
|
+
totalMinted: bigint;
|
|
1517
|
+
}
|
|
1518
|
+
/** A drop's organizer, terms, allowlist root and supply, read from chain. */
|
|
1519
|
+
declare function readDrop(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<DropOnchain>;
|
|
1520
|
+
/** How many tokens `wallet` has claimed from this drop (gifts not included). */
|
|
1521
|
+
declare function dropClaimedBy(provider: Pick<ProviderInterface, "callContract">, collection: string, wallet: string): Promise<bigint>;
|
|
1522
|
+
type DropMintStateKind = "loading" | "upcoming" | "ended" | "sold-out" | "no-wallet" | "no-link" | "not-on-list" | "limit-reached" | "insufficient-balance" | "ready";
|
|
1523
|
+
interface DropMintState {
|
|
1524
|
+
state: DropMintStateKind;
|
|
1525
|
+
/** Largest quantity this wallet can claim now; 0 unless `ready`. */
|
|
1526
|
+
maxQuantity: bigint;
|
|
1527
|
+
}
|
|
1528
|
+
/** What the mint button should show, decided before any transaction is sent. */
|
|
1529
|
+
declare function dropMintState(input: {
|
|
1530
|
+
drop: DropOnchain | null;
|
|
1531
|
+
wallet: string | null;
|
|
1532
|
+
/** `claimed_by(wallet)`; null while loading. */
|
|
1533
|
+
claimed: bigint | null;
|
|
1534
|
+
/** From the claim link; null when the page was opened without one. */
|
|
1535
|
+
proof: string[] | null;
|
|
1536
|
+
/** Wallet balance of the payment token; null while loading (ignored for free drops). */
|
|
1537
|
+
balance: bigint | null;
|
|
1538
|
+
/** Platform fee added to a mint, in basis points. */
|
|
1539
|
+
feeBps: number;
|
|
1540
|
+
/** Unix seconds. */
|
|
1541
|
+
now: number;
|
|
1542
|
+
}): DropMintState;
|
|
1543
|
+
/** One claim link per allowlisted address: the drop page with the proof in its fragment. */
|
|
1544
|
+
declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
|
|
1545
|
+
|
|
1337
1546
|
declare class MedialaneApiError extends Error {
|
|
1338
1547
|
readonly status: number;
|
|
1339
1548
|
readonly retryAfterMs?: number | undefined;
|
|
@@ -1587,6 +1796,10 @@ declare class ApiClient {
|
|
|
1587
1796
|
getClubMembership(contract: string, tokenId: string): Promise<ApiTierOnchain>;
|
|
1588
1797
|
isClubMember(contract: string, tokenId: string, wallet: string): Promise<boolean>;
|
|
1589
1798
|
getIpNftTokenData(contract: string, tokenId: string): Promise<ApiIpNftTokenData | null>;
|
|
1799
|
+
getCoinGuarantees(contract: string): Promise<CreatorCoinGuarantees | null>;
|
|
1800
|
+
getPopClaimInfo(collection: string): Promise<PopClaimInfo | null>;
|
|
1801
|
+
getDropState(contract: string): Promise<DropOnchain | null>;
|
|
1802
|
+
getSwapQuote(body: ApiSwapQuoteRequest): Promise<ApiSwapQuote>;
|
|
1590
1803
|
getPlatformStats(): Promise<ApiPlatformStats>;
|
|
1591
1804
|
getTokens(query?: ApiTokensQuery): Promise<ApiResponse<ApiToken[]>>;
|
|
1592
1805
|
isCreatorHidden(wallet: string): Promise<boolean>;
|
|
@@ -1695,45 +1908,6 @@ interface PasskeyOwner {
|
|
|
1695
1908
|
}
|
|
1696
1909
|
declare function createPasskeyOwner(config: PasskeyConfig): PasskeyOwner;
|
|
1697
1910
|
|
|
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
1911
|
interface CreatePopCollectionParams {
|
|
1738
1912
|
name: string;
|
|
1739
1913
|
symbol: string;
|
|
@@ -1819,4 +1993,4 @@ declare class UserFacingError extends Error {
|
|
|
1819
1993
|
constructor(message: string);
|
|
1820
1994
|
}
|
|
1821
1995
|
|
|
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
|
|
1996
|
+
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 SealedOwner as c7, type ReceiptProviderLike as c8, type WalletExecutor as c9, decodePopClaimFragment as cA, dropClaimLinks as cB, dropClaimedBy as cC, dropMintState as cD, encodePopClaimFragment as cE, encodeRecoveryKey as cF, getCreatorCoinGuarantees as cG, parseCreatorCoinCreated as cH, parseRecoveryKey as cI, popCalls as cJ, popClaimInfo as cK, popClaimLinks as cL, popClaimLinksCsv as cM, popClaimState as cN, priceToEkuboParams as cO, readDrop as cP, validatePrice as cQ, verifyPopProof as cR, type ExecutedTransaction as ca, type PasskeyOwner as cb, type CreatedOwner as cc, type CreateCreatorCoinParams as cd, type CreatorCoinGuarantees as ce, type CreatorCoinReceiptLike as cf, type DropMintState as cg, type DropMintStateKind as ch, type DropOnchain as ci, type EkuboLaunchParams as cj, type EkuboPoolParams as ck, InvalidRecoveryKeyError as cl, MAX_HOLDERS_AT_LAUNCH as cm, MAX_TEAM_ALLOCATION_PERCENT as cn, type OwnerSigner as co, type PasskeyConfig as cp, type PopAllowlist as cq, type PopClaimInfo as cr, type PopClaimLink as cs, type PopClaimState as ct, type RecoveryKey as cu, VALIDATED_EKUBO_PARAMS as cv, buildCreateCreatorCoinCall as cw, buildLaunchOnEkuboCalls as cx, buildPopAllowlist as cy, createPasskeyOwner 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 };
|