@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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bU as ResolvedConfig, b6 as CreatePopCollectionParams, b$ as TxResult, a_ as CreateDropParams, bd as CreateTicketParams, bE as MintTicketsParams, b2 as CreateMembershipParams, bD as MintMembershipsParams, ba as CreateSponsorshipOfferParams, bR as ProposeSponsorshipParams, k as ApiClient, c6 as CreatorCoinService, bB as MedialaneConfig, bC as MedialaneErrorCode, bJ as OrderDetails, R as ResolvedFeeConfig, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, O as ApiIntentCreated, bk as DropTerms, c7 as SealedOwner, c8 as ReceiptProviderLike, c9 as WalletExecutor, ca as ExecutedTransaction, cb as PasskeyOwner, bi as CreateWalletManageIntentParams, cc as CreatedOwner } from '../errors-Bf4s_b14.cjs';
|
|
2
|
+
export { cd as CreateCreatorCoinParams, ce as CreatorCoinGuarantees, cf as CreatorCoinReceiptLike, cg as DropMintState, ch as DropMintStateKind, ci as DropOnchain, cj as EkuboLaunchParams, ck as EkuboPoolParams, cl as InvalidRecoveryKeyError, cm as MAX_HOLDERS_AT_LAUNCH, cn as MAX_TEAM_ALLOCATION_PERCENT, co as OwnerSigner, bM as PasskeyCancelledError, cp as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, cq as PopAllowlist, cr as PopClaimInfo, cs as PopClaimLink, ct as PopClaimState, cu as RecoveryKey, c1 as UserFacingError, cv as VALIDATED_EKUBO_PARAMS, cw as buildCreateCreatorCoinCall, cx as buildLaunchOnEkuboCalls, cy as buildPopAllowlist, cz as createPasskeyOwner, cA as decodePopClaimFragment, cB as dropClaimLinks, cC as dropClaimedBy, cD as dropMintState, cE as encodePopClaimFragment, cF as encodeRecoveryKey, cG as getCreatorCoinGuarantees, cH as parseCreatorCoinCreated, cI as parseRecoveryKey, cJ as popCalls, cK as popClaimInfo, cL as popClaimLinks, cM as popClaimLinksCsv, cN as popClaimState, cO as priceToEkuboParams, cP as readDrop, cQ as validatePrice, cR as verifyPopProof } from '../errors-Bf4s_b14.cjs';
|
|
3
3
|
import * as starknet from 'starknet';
|
|
4
4
|
import { AccountInterface, ProviderInterface, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
5
5
|
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-BTNjkUst.cjs';
|
|
@@ -106,67 +106,6 @@ declare class ERC1155CollectionService {
|
|
|
106
106
|
}): Promise<TxResult>;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
interface CreateCreatorCoinParams {
|
|
110
|
-
owner: string;
|
|
111
|
-
name: string;
|
|
112
|
-
symbol: string;
|
|
113
|
-
initialSupply: bigint | string;
|
|
114
|
-
salt?: bigint | string;
|
|
115
|
-
}
|
|
116
|
-
interface EkuboPoolParams {
|
|
117
|
-
fee: bigint | string;
|
|
118
|
-
tickSpacing: bigint | string;
|
|
119
|
-
startingPrice: {
|
|
120
|
-
mag: bigint | string;
|
|
121
|
-
sign: boolean;
|
|
122
|
-
};
|
|
123
|
-
bound: bigint | string;
|
|
124
|
-
}
|
|
125
|
-
interface EkuboLaunchParams {
|
|
126
|
-
creatorCoin: string;
|
|
127
|
-
quoteToken: string;
|
|
128
|
-
initialHolders: string[];
|
|
129
|
-
initialHoldersAmounts: (bigint | string)[];
|
|
130
|
-
transferRestrictionDelay?: number;
|
|
131
|
-
maxPercentageBuyLaunch?: number;
|
|
132
|
-
ekubo: EkuboPoolParams;
|
|
133
|
-
quoteFundAmount?: bigint | string;
|
|
134
|
-
}
|
|
135
|
-
declare const VALIDATED_EKUBO_PARAMS: EkuboPoolParams;
|
|
136
|
-
declare function priceToEkuboParams(quoteDecimals: number, price?: number): EkuboPoolParams;
|
|
137
|
-
declare function validatePrice(quoteDecimals: number, price: number): string | null;
|
|
138
|
-
declare const MAX_TEAM_ALLOCATION_PERCENT = 10;
|
|
139
|
-
declare const MAX_HOLDERS_AT_LAUNCH = 10;
|
|
140
|
-
interface CreatorCoinGuarantees {
|
|
141
|
-
isLaunched: boolean;
|
|
142
|
-
launchedAtBlock: number | null;
|
|
143
|
-
totalSupplyRaw: string;
|
|
144
|
-
teamAllocationRaw: string;
|
|
145
|
-
teamAllocationPercent: number | null;
|
|
146
|
-
liquidityPositionId: string | null;
|
|
147
|
-
}
|
|
148
|
-
declare function getCreatorCoinGuarantees(coinAddress: string, provider: ProviderInterface): Promise<CreatorCoinGuarantees | null>;
|
|
149
|
-
declare function buildCreateCreatorCoinCall(params: CreateCreatorCoinParams): Call;
|
|
150
|
-
declare function buildLaunchOnEkuboCalls(params: EkuboLaunchParams): Call[];
|
|
151
|
-
interface CreatorCoinReceiptLike {
|
|
152
|
-
events?: Array<{
|
|
153
|
-
from_address?: string;
|
|
154
|
-
keys?: string[];
|
|
155
|
-
data?: string[];
|
|
156
|
-
}>;
|
|
157
|
-
}
|
|
158
|
-
declare function parseCreatorCoinCreated(receipt: CreatorCoinReceiptLike): string;
|
|
159
|
-
declare class CreatorCoinService {
|
|
160
|
-
private readonly factoryAddress;
|
|
161
|
-
private readonly config;
|
|
162
|
-
constructor(config: ResolvedConfig);
|
|
163
|
-
private _factory;
|
|
164
|
-
createCreatorCoin(account: AccountInterface, params: CreateCreatorCoinParams): Promise<TxResult>;
|
|
165
|
-
launchOnEkubo(account: AccountInterface, params: EkuboLaunchParams): Promise<TxResult>;
|
|
166
|
-
isCreatorCoin(address: string, account: AccountInterface): Promise<boolean>;
|
|
167
|
-
getGuarantees(coinAddress: string): Promise<CreatorCoinGuarantees | null>;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
109
|
interface TicketRecord {
|
|
171
110
|
maxSupply: bigint;
|
|
172
111
|
minted: bigint;
|
|
@@ -434,6 +373,13 @@ declare function storeSiwsToken(address: string, token: string): void;
|
|
|
434
373
|
declare function normalizeSiwsSignature(signature: unknown): string[];
|
|
435
374
|
declare function requestSiwsToken({ backendUrl, walletAddress, signer, appSource, }: RequestSiwsTokenArgs): Promise<string>;
|
|
436
375
|
|
|
376
|
+
declare function signInWithWallet(args: {
|
|
377
|
+
backendUrl: string;
|
|
378
|
+
walletAddress: string;
|
|
379
|
+
signer: SiwsSigner;
|
|
380
|
+
appSource: string;
|
|
381
|
+
}): Promise<void>;
|
|
382
|
+
|
|
437
383
|
interface FundingTransferCall {
|
|
438
384
|
contractAddress: string;
|
|
439
385
|
entrypoint: "transfer";
|
|
@@ -8498,55 +8444,6 @@ declare function executeIntents(provider: ReceiptProvider, signer: StarknetVenue
|
|
|
8498
8444
|
receipt: ReceiptLike;
|
|
8499
8445
|
}>;
|
|
8500
8446
|
|
|
8501
|
-
interface PopAllowlist {
|
|
8502
|
-
/** Merkle root to publish with `set_allowlist_root`. */
|
|
8503
|
-
root: string;
|
|
8504
|
-
/** Proof per address, keyed by normalized Starknet address. */
|
|
8505
|
-
proofs: Record<string, string[]>;
|
|
8506
|
-
}
|
|
8507
|
-
declare function buildPopAllowlist(addresses: string[]): PopAllowlist;
|
|
8508
|
-
/** True when `proof` places `address` under `root` — checked before sending a claim. */
|
|
8509
|
-
declare function verifyPopProof(root: string, address: string, proof: string[]): boolean;
|
|
8510
|
-
declare function encodePopClaimFragment(proof: string[]): string;
|
|
8511
|
-
/** The proof in a claim link's fragment; `null` when absent or malformed. */
|
|
8512
|
-
declare function decodePopClaimFragment(fragment: string): string[] | null;
|
|
8513
|
-
|
|
8514
|
-
interface PopClaimLink {
|
|
8515
|
-
address: string;
|
|
8516
|
-
url: string;
|
|
8517
|
-
}
|
|
8518
|
-
/** One claim link per allowlisted address: the collection page with the proof in its fragment. */
|
|
8519
|
-
declare function popClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
|
|
8520
|
-
declare function popClaimLinksCsv(links: PopClaimLink[]): string;
|
|
8521
|
-
interface PopClaimInfo {
|
|
8522
|
-
/** Allowlist Merkle root; 0 when claims are closed. */
|
|
8523
|
-
root: string;
|
|
8524
|
-
/** Unix seconds; 0 = no deadline. */
|
|
8525
|
-
claimEndTime: number;
|
|
8526
|
-
}
|
|
8527
|
-
/** Reads a collection's allowlist root and claim deadline from chain. */
|
|
8528
|
-
declare function popClaimInfo(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<PopClaimInfo>;
|
|
8529
|
-
type PopClaimState = "loading" | "claimed" | "closed" | "ended" | "no-link" | "wrong-wallet" | "ready";
|
|
8530
|
-
/** What a claim page should show, decided before any transaction is sent. */
|
|
8531
|
-
declare function popClaimState(input: {
|
|
8532
|
-
hasClaimed: boolean | null;
|
|
8533
|
-
proof: string[] | null;
|
|
8534
|
-
wallet: string | null;
|
|
8535
|
-
/** The collection's claim settings, with `now` in Unix seconds. */
|
|
8536
|
-
info: (PopClaimInfo & {
|
|
8537
|
-
now: number;
|
|
8538
|
-
}) | null;
|
|
8539
|
-
}): PopClaimState;
|
|
8540
|
-
/** Calls on a POP collection, ready for `account.execute` or a sponsored transaction. */
|
|
8541
|
-
declare const popCalls: {
|
|
8542
|
-
claim(collection: string, proof: string[]): Call;
|
|
8543
|
-
/** An empty `tokenUri` uses the collection's URI. */
|
|
8544
|
-
issue(collection: string, recipient: string, tokenUri?: string): Call;
|
|
8545
|
-
/** Only the token's holder can burn it. */
|
|
8546
|
-
burn(collection: string, tokenId: string | bigint): Call;
|
|
8547
|
-
setAllowlistRoot(collection: string, root: string): Call;
|
|
8548
|
-
};
|
|
8549
|
-
|
|
8550
8447
|
/** Most tokens one claim transaction mints. */
|
|
8551
8448
|
declare const DROP_MAX_CLAIM_QUANTITY = 50n;
|
|
8552
8449
|
/** Sale terms as the contract's `SaleTerms` struct. A free drop names no token. */
|
|
@@ -8581,50 +8478,6 @@ interface DropMintCost {
|
|
|
8581
8478
|
}
|
|
8582
8479
|
declare function dropMintCost(price: bigint | string, quantity: bigint | string | number, feeBps: number): DropMintCost;
|
|
8583
8480
|
|
|
8584
|
-
interface DropOnchain {
|
|
8585
|
-
organizer: string;
|
|
8586
|
-
/** Unix seconds; 0 = open from creation. */
|
|
8587
|
-
startTime: number;
|
|
8588
|
-
/** Unix seconds; 0 = never closes. */
|
|
8589
|
-
endTime: number;
|
|
8590
|
-
price: bigint;
|
|
8591
|
-
paymentToken: string;
|
|
8592
|
-
/** 0 = unlimited. */
|
|
8593
|
-
maxPerWallet: bigint;
|
|
8594
|
-
/** 0x0 = open to everyone. */
|
|
8595
|
-
allowlistRoot: string;
|
|
8596
|
-
/** 0 = no cap. */
|
|
8597
|
-
maxSupply: bigint;
|
|
8598
|
-
totalMinted: bigint;
|
|
8599
|
-
}
|
|
8600
|
-
/** A drop's organizer, terms, allowlist root and supply, read from chain. */
|
|
8601
|
-
declare function readDrop(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<DropOnchain>;
|
|
8602
|
-
/** How many tokens `wallet` has claimed from this drop (gifts not included). */
|
|
8603
|
-
declare function dropClaimedBy(provider: Pick<ProviderInterface, "callContract">, collection: string, wallet: string): Promise<bigint>;
|
|
8604
|
-
type DropMintStateKind = "loading" | "upcoming" | "ended" | "sold-out" | "no-wallet" | "no-link" | "not-on-list" | "limit-reached" | "insufficient-balance" | "ready";
|
|
8605
|
-
interface DropMintState {
|
|
8606
|
-
state: DropMintStateKind;
|
|
8607
|
-
/** Largest quantity this wallet can claim now; 0 unless `ready`. */
|
|
8608
|
-
maxQuantity: bigint;
|
|
8609
|
-
}
|
|
8610
|
-
/** What the mint button should show, decided before any transaction is sent. */
|
|
8611
|
-
declare function dropMintState(input: {
|
|
8612
|
-
drop: DropOnchain | null;
|
|
8613
|
-
wallet: string | null;
|
|
8614
|
-
/** `claimed_by(wallet)`; null while loading. */
|
|
8615
|
-
claimed: bigint | null;
|
|
8616
|
-
/** From the claim link; null when the page was opened without one. */
|
|
8617
|
-
proof: string[] | null;
|
|
8618
|
-
/** Wallet balance of the payment token; null while loading (ignored for free drops). */
|
|
8619
|
-
balance: bigint | null;
|
|
8620
|
-
/** Platform fee added to a mint, in basis points. */
|
|
8621
|
-
feeBps: number;
|
|
8622
|
-
/** Unix seconds. */
|
|
8623
|
-
now: number;
|
|
8624
|
-
}): DropMintState;
|
|
8625
|
-
/** One claim link per allowlisted address: the drop page with the proof in its fragment. */
|
|
8626
|
-
declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
|
|
8627
|
-
|
|
8628
8481
|
declare const SUGGESTED_DEFAULT_PRICE = 0.01;
|
|
8629
8482
|
declare const MIN_SUPPLY = 1000n;
|
|
8630
8483
|
declare const MAX_SUPPLY = 1000000000000n;
|
|
@@ -8917,4 +8770,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
|
|
|
8917
8770
|
|
|
8918
8771
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8919
8772
|
|
|
8920
|
-
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService,
|
|
8773
|
+
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreateDropParams, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, CreatorCoinService, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionParams, type DeployingServiceId, type DeploymentCoordinator, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, type DropMintCost, DropService, DropTerms, ERC1155CollectionService, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, PasskeyOwner, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletClaimDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsoredRequest, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VenueSigner, WalletExecutor, accountFor, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, dropCalls, dropMintCost, encodeByteArray, encodePairingPayload, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, popHasClaimed, requestSiwsToken, sealPrivateKey, selfFundedExecutor, signInWithWallet, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractTerms as toDropContractTerms, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, waitUntilDeployed };
|
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bU as ResolvedConfig, b6 as CreatePopCollectionParams, b$ as TxResult, a_ as CreateDropParams, bd as CreateTicketParams, bE as MintTicketsParams, b2 as CreateMembershipParams, bD as MintMembershipsParams, ba as CreateSponsorshipOfferParams, bR as ProposeSponsorshipParams, k as ApiClient, c6 as CreatorCoinService, bB as MedialaneConfig, bC as MedialaneErrorCode, bJ as OrderDetails, R as ResolvedFeeConfig, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, O as ApiIntentCreated, bk as DropTerms, c7 as SealedOwner, c8 as ReceiptProviderLike, c9 as WalletExecutor, ca as ExecutedTransaction, cb as PasskeyOwner, bi as CreateWalletManageIntentParams, cc as CreatedOwner } from '../errors-D3wtOrcq.js';
|
|
2
|
+
export { cd as CreateCreatorCoinParams, ce as CreatorCoinGuarantees, cf as CreatorCoinReceiptLike, cg as DropMintState, ch as DropMintStateKind, ci as DropOnchain, cj as EkuboLaunchParams, ck as EkuboPoolParams, cl as InvalidRecoveryKeyError, cm as MAX_HOLDERS_AT_LAUNCH, cn as MAX_TEAM_ALLOCATION_PERCENT, co as OwnerSigner, bM as PasskeyCancelledError, cp as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, cq as PopAllowlist, cr as PopClaimInfo, cs as PopClaimLink, ct as PopClaimState, cu as RecoveryKey, c1 as UserFacingError, cv as VALIDATED_EKUBO_PARAMS, cw as buildCreateCreatorCoinCall, cx as buildLaunchOnEkuboCalls, cy as buildPopAllowlist, cz as createPasskeyOwner, cA as decodePopClaimFragment, cB as dropClaimLinks, cC as dropClaimedBy, cD as dropMintState, cE as encodePopClaimFragment, cF as encodeRecoveryKey, cG as getCreatorCoinGuarantees, cH as parseCreatorCoinCreated, cI as parseRecoveryKey, cJ as popCalls, cK as popClaimInfo, cL as popClaimLinks, cM as popClaimLinksCsv, cN as popClaimState, cO as priceToEkuboParams, cP as readDrop, cQ as validatePrice, cR as verifyPopProof } from '../errors-D3wtOrcq.js';
|
|
3
3
|
import * as starknet from 'starknet';
|
|
4
4
|
import { AccountInterface, ProviderInterface, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
5
5
|
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-BTNjkUst.js';
|
|
@@ -106,67 +106,6 @@ declare class ERC1155CollectionService {
|
|
|
106
106
|
}): Promise<TxResult>;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
interface CreateCreatorCoinParams {
|
|
110
|
-
owner: string;
|
|
111
|
-
name: string;
|
|
112
|
-
symbol: string;
|
|
113
|
-
initialSupply: bigint | string;
|
|
114
|
-
salt?: bigint | string;
|
|
115
|
-
}
|
|
116
|
-
interface EkuboPoolParams {
|
|
117
|
-
fee: bigint | string;
|
|
118
|
-
tickSpacing: bigint | string;
|
|
119
|
-
startingPrice: {
|
|
120
|
-
mag: bigint | string;
|
|
121
|
-
sign: boolean;
|
|
122
|
-
};
|
|
123
|
-
bound: bigint | string;
|
|
124
|
-
}
|
|
125
|
-
interface EkuboLaunchParams {
|
|
126
|
-
creatorCoin: string;
|
|
127
|
-
quoteToken: string;
|
|
128
|
-
initialHolders: string[];
|
|
129
|
-
initialHoldersAmounts: (bigint | string)[];
|
|
130
|
-
transferRestrictionDelay?: number;
|
|
131
|
-
maxPercentageBuyLaunch?: number;
|
|
132
|
-
ekubo: EkuboPoolParams;
|
|
133
|
-
quoteFundAmount?: bigint | string;
|
|
134
|
-
}
|
|
135
|
-
declare const VALIDATED_EKUBO_PARAMS: EkuboPoolParams;
|
|
136
|
-
declare function priceToEkuboParams(quoteDecimals: number, price?: number): EkuboPoolParams;
|
|
137
|
-
declare function validatePrice(quoteDecimals: number, price: number): string | null;
|
|
138
|
-
declare const MAX_TEAM_ALLOCATION_PERCENT = 10;
|
|
139
|
-
declare const MAX_HOLDERS_AT_LAUNCH = 10;
|
|
140
|
-
interface CreatorCoinGuarantees {
|
|
141
|
-
isLaunched: boolean;
|
|
142
|
-
launchedAtBlock: number | null;
|
|
143
|
-
totalSupplyRaw: string;
|
|
144
|
-
teamAllocationRaw: string;
|
|
145
|
-
teamAllocationPercent: number | null;
|
|
146
|
-
liquidityPositionId: string | null;
|
|
147
|
-
}
|
|
148
|
-
declare function getCreatorCoinGuarantees(coinAddress: string, provider: ProviderInterface): Promise<CreatorCoinGuarantees | null>;
|
|
149
|
-
declare function buildCreateCreatorCoinCall(params: CreateCreatorCoinParams): Call;
|
|
150
|
-
declare function buildLaunchOnEkuboCalls(params: EkuboLaunchParams): Call[];
|
|
151
|
-
interface CreatorCoinReceiptLike {
|
|
152
|
-
events?: Array<{
|
|
153
|
-
from_address?: string;
|
|
154
|
-
keys?: string[];
|
|
155
|
-
data?: string[];
|
|
156
|
-
}>;
|
|
157
|
-
}
|
|
158
|
-
declare function parseCreatorCoinCreated(receipt: CreatorCoinReceiptLike): string;
|
|
159
|
-
declare class CreatorCoinService {
|
|
160
|
-
private readonly factoryAddress;
|
|
161
|
-
private readonly config;
|
|
162
|
-
constructor(config: ResolvedConfig);
|
|
163
|
-
private _factory;
|
|
164
|
-
createCreatorCoin(account: AccountInterface, params: CreateCreatorCoinParams): Promise<TxResult>;
|
|
165
|
-
launchOnEkubo(account: AccountInterface, params: EkuboLaunchParams): Promise<TxResult>;
|
|
166
|
-
isCreatorCoin(address: string, account: AccountInterface): Promise<boolean>;
|
|
167
|
-
getGuarantees(coinAddress: string): Promise<CreatorCoinGuarantees | null>;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
109
|
interface TicketRecord {
|
|
171
110
|
maxSupply: bigint;
|
|
172
111
|
minted: bigint;
|
|
@@ -434,6 +373,13 @@ declare function storeSiwsToken(address: string, token: string): void;
|
|
|
434
373
|
declare function normalizeSiwsSignature(signature: unknown): string[];
|
|
435
374
|
declare function requestSiwsToken({ backendUrl, walletAddress, signer, appSource, }: RequestSiwsTokenArgs): Promise<string>;
|
|
436
375
|
|
|
376
|
+
declare function signInWithWallet(args: {
|
|
377
|
+
backendUrl: string;
|
|
378
|
+
walletAddress: string;
|
|
379
|
+
signer: SiwsSigner;
|
|
380
|
+
appSource: string;
|
|
381
|
+
}): Promise<void>;
|
|
382
|
+
|
|
437
383
|
interface FundingTransferCall {
|
|
438
384
|
contractAddress: string;
|
|
439
385
|
entrypoint: "transfer";
|
|
@@ -8498,55 +8444,6 @@ declare function executeIntents(provider: ReceiptProvider, signer: StarknetVenue
|
|
|
8498
8444
|
receipt: ReceiptLike;
|
|
8499
8445
|
}>;
|
|
8500
8446
|
|
|
8501
|
-
interface PopAllowlist {
|
|
8502
|
-
/** Merkle root to publish with `set_allowlist_root`. */
|
|
8503
|
-
root: string;
|
|
8504
|
-
/** Proof per address, keyed by normalized Starknet address. */
|
|
8505
|
-
proofs: Record<string, string[]>;
|
|
8506
|
-
}
|
|
8507
|
-
declare function buildPopAllowlist(addresses: string[]): PopAllowlist;
|
|
8508
|
-
/** True when `proof` places `address` under `root` — checked before sending a claim. */
|
|
8509
|
-
declare function verifyPopProof(root: string, address: string, proof: string[]): boolean;
|
|
8510
|
-
declare function encodePopClaimFragment(proof: string[]): string;
|
|
8511
|
-
/** The proof in a claim link's fragment; `null` when absent or malformed. */
|
|
8512
|
-
declare function decodePopClaimFragment(fragment: string): string[] | null;
|
|
8513
|
-
|
|
8514
|
-
interface PopClaimLink {
|
|
8515
|
-
address: string;
|
|
8516
|
-
url: string;
|
|
8517
|
-
}
|
|
8518
|
-
/** One claim link per allowlisted address: the collection page with the proof in its fragment. */
|
|
8519
|
-
declare function popClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
|
|
8520
|
-
declare function popClaimLinksCsv(links: PopClaimLink[]): string;
|
|
8521
|
-
interface PopClaimInfo {
|
|
8522
|
-
/** Allowlist Merkle root; 0 when claims are closed. */
|
|
8523
|
-
root: string;
|
|
8524
|
-
/** Unix seconds; 0 = no deadline. */
|
|
8525
|
-
claimEndTime: number;
|
|
8526
|
-
}
|
|
8527
|
-
/** Reads a collection's allowlist root and claim deadline from chain. */
|
|
8528
|
-
declare function popClaimInfo(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<PopClaimInfo>;
|
|
8529
|
-
type PopClaimState = "loading" | "claimed" | "closed" | "ended" | "no-link" | "wrong-wallet" | "ready";
|
|
8530
|
-
/** What a claim page should show, decided before any transaction is sent. */
|
|
8531
|
-
declare function popClaimState(input: {
|
|
8532
|
-
hasClaimed: boolean | null;
|
|
8533
|
-
proof: string[] | null;
|
|
8534
|
-
wallet: string | null;
|
|
8535
|
-
/** The collection's claim settings, with `now` in Unix seconds. */
|
|
8536
|
-
info: (PopClaimInfo & {
|
|
8537
|
-
now: number;
|
|
8538
|
-
}) | null;
|
|
8539
|
-
}): PopClaimState;
|
|
8540
|
-
/** Calls on a POP collection, ready for `account.execute` or a sponsored transaction. */
|
|
8541
|
-
declare const popCalls: {
|
|
8542
|
-
claim(collection: string, proof: string[]): Call;
|
|
8543
|
-
/** An empty `tokenUri` uses the collection's URI. */
|
|
8544
|
-
issue(collection: string, recipient: string, tokenUri?: string): Call;
|
|
8545
|
-
/** Only the token's holder can burn it. */
|
|
8546
|
-
burn(collection: string, tokenId: string | bigint): Call;
|
|
8547
|
-
setAllowlistRoot(collection: string, root: string): Call;
|
|
8548
|
-
};
|
|
8549
|
-
|
|
8550
8447
|
/** Most tokens one claim transaction mints. */
|
|
8551
8448
|
declare const DROP_MAX_CLAIM_QUANTITY = 50n;
|
|
8552
8449
|
/** Sale terms as the contract's `SaleTerms` struct. A free drop names no token. */
|
|
@@ -8581,50 +8478,6 @@ interface DropMintCost {
|
|
|
8581
8478
|
}
|
|
8582
8479
|
declare function dropMintCost(price: bigint | string, quantity: bigint | string | number, feeBps: number): DropMintCost;
|
|
8583
8480
|
|
|
8584
|
-
interface DropOnchain {
|
|
8585
|
-
organizer: string;
|
|
8586
|
-
/** Unix seconds; 0 = open from creation. */
|
|
8587
|
-
startTime: number;
|
|
8588
|
-
/** Unix seconds; 0 = never closes. */
|
|
8589
|
-
endTime: number;
|
|
8590
|
-
price: bigint;
|
|
8591
|
-
paymentToken: string;
|
|
8592
|
-
/** 0 = unlimited. */
|
|
8593
|
-
maxPerWallet: bigint;
|
|
8594
|
-
/** 0x0 = open to everyone. */
|
|
8595
|
-
allowlistRoot: string;
|
|
8596
|
-
/** 0 = no cap. */
|
|
8597
|
-
maxSupply: bigint;
|
|
8598
|
-
totalMinted: bigint;
|
|
8599
|
-
}
|
|
8600
|
-
/** A drop's organizer, terms, allowlist root and supply, read from chain. */
|
|
8601
|
-
declare function readDrop(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<DropOnchain>;
|
|
8602
|
-
/** How many tokens `wallet` has claimed from this drop (gifts not included). */
|
|
8603
|
-
declare function dropClaimedBy(provider: Pick<ProviderInterface, "callContract">, collection: string, wallet: string): Promise<bigint>;
|
|
8604
|
-
type DropMintStateKind = "loading" | "upcoming" | "ended" | "sold-out" | "no-wallet" | "no-link" | "not-on-list" | "limit-reached" | "insufficient-balance" | "ready";
|
|
8605
|
-
interface DropMintState {
|
|
8606
|
-
state: DropMintStateKind;
|
|
8607
|
-
/** Largest quantity this wallet can claim now; 0 unless `ready`. */
|
|
8608
|
-
maxQuantity: bigint;
|
|
8609
|
-
}
|
|
8610
|
-
/** What the mint button should show, decided before any transaction is sent. */
|
|
8611
|
-
declare function dropMintState(input: {
|
|
8612
|
-
drop: DropOnchain | null;
|
|
8613
|
-
wallet: string | null;
|
|
8614
|
-
/** `claimed_by(wallet)`; null while loading. */
|
|
8615
|
-
claimed: bigint | null;
|
|
8616
|
-
/** From the claim link; null when the page was opened without one. */
|
|
8617
|
-
proof: string[] | null;
|
|
8618
|
-
/** Wallet balance of the payment token; null while loading (ignored for free drops). */
|
|
8619
|
-
balance: bigint | null;
|
|
8620
|
-
/** Platform fee added to a mint, in basis points. */
|
|
8621
|
-
feeBps: number;
|
|
8622
|
-
/** Unix seconds. */
|
|
8623
|
-
now: number;
|
|
8624
|
-
}): DropMintState;
|
|
8625
|
-
/** One claim link per allowlisted address: the drop page with the proof in its fragment. */
|
|
8626
|
-
declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
|
|
8627
|
-
|
|
8628
8481
|
declare const SUGGESTED_DEFAULT_PRICE = 0.01;
|
|
8629
8482
|
declare const MIN_SUPPLY = 1000n;
|
|
8630
8483
|
declare const MAX_SUPPLY = 1000000000000n;
|
|
@@ -8917,4 +8770,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
|
|
|
8917
8770
|
|
|
8918
8771
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8919
8772
|
|
|
8920
|
-
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService,
|
|
8773
|
+
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreateDropParams, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, CreatorCoinService, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionParams, type DeployingServiceId, type DeploymentCoordinator, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, type DropMintCost, DropService, DropTerms, ERC1155CollectionService, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, PasskeyOwner, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletClaimDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsoredRequest, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VenueSigner, WalletExecutor, accountFor, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, dropCalls, dropMintCost, encodeByteArray, encodePairingPayload, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, popHasClaimed, requestSiwsToken, sealPrivateKey, selfFundedExecutor, signInWithWallet, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractTerms as toDropContractTerms, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, waitUntilDeployed };
|
package/dist/starknet/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { normalizeAddress, collectionHref, dropHref, resolveConfig, ApiClient, UserFacingError, getService, STARKNET_MEDIAWALLET_CLASS_HASH, computeAccountAddress, ownerConstructorCalldata, getTokenBySymbol, signWithPrivateKey, stringifyBigInts, SUPPORTED_TOKENS, starkKeyPairFromPrivateKey, createFailoverFetch } from '../chunk-
|
|
2
|
-
export { InvalidStarkPrivateKeyError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError, computeAccountAddress, createPasskeyOwner, deriveAesKey, generateStarkKeyPair, ownerConstructorCalldata, sealPrivateKey, signWithPrivateKey, starkKeyPairFromPrivateKey, unsealPrivateKey } from '../chunk-
|
|
1
|
+
import { normalizeAddress, collectionHref, dropHref, resolveConfig, ApiClient, UserFacingError, getService, STARKNET_MEDIAWALLET_CLASS_HASH, computeAccountAddress, ownerConstructorCalldata, getTokenBySymbol, signWithPrivateKey, stringifyBigInts, SUPPORTED_TOKENS, starkKeyPairFromPrivateKey, createFailoverFetch } from '../chunk-BGURLH5G.js';
|
|
2
|
+
export { InvalidStarkPrivateKeyError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError, computeAccountAddress, createPasskeyOwner, deriveAesKey, generateStarkKeyPair, ownerConstructorCalldata, sealPrivateKey, signWithPrivateKey, starkKeyPairFromPrivateKey, unsealPrivateKey } from '../chunk-BGURLH5G.js';
|
|
3
3
|
import { getStarknetCoordinates, getCoordinates } from '../chunk-WYKCGQPN.js';
|
|
4
4
|
import { CallData, hash, cairo, RpcProvider, uint256, CairoOption, CairoOptionVariant, num, ec, validateAndParseAddress, Account, typedData, stark, byteArray, Contract, TypedDataRevision, constants, shortString } from 'starknet';
|
|
5
5
|
import { extract, expand } from '@noble/hashes/hkdf.js';
|
|
@@ -11933,6 +11933,28 @@ async function requestSiwsToken({
|
|
|
11933
11933
|
return token;
|
|
11934
11934
|
}
|
|
11935
11935
|
|
|
11936
|
+
// src/starknet/siws/sign-in.ts
|
|
11937
|
+
async function signInWithWallet(args) {
|
|
11938
|
+
const base = args.backendUrl.replace(/\/$/, "");
|
|
11939
|
+
const nonceRes = await fetch(`${base}/v1/auth/siws/nonce`, {
|
|
11940
|
+
method: "POST",
|
|
11941
|
+
headers: { "Content-Type": "application/json" },
|
|
11942
|
+
body: JSON.stringify({ walletAddress: args.walletAddress })
|
|
11943
|
+
});
|
|
11944
|
+
if (!nonceRes.ok) throw new Error("Failed to prepare wallet sign-in");
|
|
11945
|
+
const { nonce, typedData } = await nonceRes.json();
|
|
11946
|
+
const signature = normalizeSiwsSignature(await args.signer.signMessage(typedData));
|
|
11947
|
+
const verifyRes = await fetch(`${base}/v1/auth/siws/verify`, {
|
|
11948
|
+
method: "POST",
|
|
11949
|
+
headers: { "Content-Type": "application/json" },
|
|
11950
|
+
body: JSON.stringify({ walletAddress: args.walletAddress, nonce, signature, appSource: args.appSource })
|
|
11951
|
+
});
|
|
11952
|
+
if (!verifyRes.ok) {
|
|
11953
|
+
const body = await verifyRes.json().catch(() => null);
|
|
11954
|
+
throw new Error(body?.message ?? body?.error ?? "Wallet sign-in failed");
|
|
11955
|
+
}
|
|
11956
|
+
}
|
|
11957
|
+
|
|
11936
11958
|
// src/starknet/funding/chain-transfer.ts
|
|
11937
11959
|
var FundingTransferNotSentError = class extends Error {
|
|
11938
11960
|
constructor(message = "The transfer was not sent.") {
|
|
@@ -12812,6 +12834,6 @@ async function claimSessionWallet(api, walletAddress, deps) {
|
|
|
12812
12834
|
if (removeOwnerGuid) await deps.removeOwner(sealed, removeOwnerGuid);
|
|
12813
12835
|
}
|
|
12814
12836
|
|
|
12815
|
-
export { MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreatorCoinFactoryABI, CreatorCoinService, DROP_MAX_CLAIM_QUANTITY, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, FundingTransferNotSentError, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidRecoveryKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, POPCollectionABI, POPFactoryABI, PopService, SUGGESTED_DEFAULT_PRICE, SponsoredCallRejectedError, SponsorshipService, StarknetVenue, TicketService, VALIDATED_EKUBO_PARAMS, accountFor, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildPopAllowlist, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeOwnerGuid, confirmIntentBestEffort, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, decodePopClaimFragment, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, dropCalls, dropClaimLinks, dropClaimedBy, dropMintCost, dropMintState, encodeByteArray, encodePairingPayload, encodePopClaimFragment, encodeRecoveryKey, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, parseAccountAddress, parseCreatorCoinCreated, parsePairingPayload, parseRecoveryKey, popCalls, popClaimInfo, popClaimLinks, popClaimLinksCsv, popClaimState, popHasClaimed, priceToEkuboParams, readDrop, requestSiwsToken, selfFundedExecutor, sponsoredExecutor, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyPopProof, waitUntilDeployed };
|
|
12837
|
+
export { MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreatorCoinFactoryABI, CreatorCoinService, DROP_MAX_CLAIM_QUANTITY, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, FundingTransferNotSentError, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidRecoveryKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, POPCollectionABI, POPFactoryABI, PopService, SUGGESTED_DEFAULT_PRICE, SponsoredCallRejectedError, SponsorshipService, StarknetVenue, TicketService, VALIDATED_EKUBO_PARAMS, accountFor, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildPopAllowlist, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeOwnerGuid, confirmIntentBestEffort, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, decodePopClaimFragment, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, dropCalls, dropClaimLinks, dropClaimedBy, dropMintCost, dropMintState, encodeByteArray, encodePairingPayload, encodePopClaimFragment, encodeRecoveryKey, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, parseAccountAddress, parseCreatorCoinCreated, parsePairingPayload, parseRecoveryKey, popCalls, popClaimInfo, popClaimLinks, popClaimLinksCsv, popClaimState, popHasClaimed, priceToEkuboParams, readDrop, requestSiwsToken, selfFundedExecutor, signInWithWallet, sponsoredExecutor, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyPopProof, waitUntilDeployed };
|
|
12816
12838
|
//# sourceMappingURL=index.js.map
|
|
12817
12839
|
//# sourceMappingURL=index.js.map
|