@medialane/sdk 0.181.0 → 0.183.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/README.md +2 -4
- package/dist/{chunk-WYKCGQPN.js → chunk-3ME5YKTW.js} +2 -3
- package/dist/chunk-3ME5YKTW.js.map +1 -0
- package/dist/{chunk-VJVBWHAD.cjs → chunk-7EYJC5CB.cjs} +2 -3
- package/dist/chunk-7EYJC5CB.cjs.map +1 -0
- package/dist/{chunk-EWDU2XV3.cjs → chunk-F5USCCM4.cjs} +7 -78
- package/dist/chunk-F5USCCM4.cjs.map +1 -0
- package/dist/{chunk-BTSTG6SP.js → chunk-JZXIZGHW.js} +4 -71
- package/dist/chunk-JZXIZGHW.js.map +1 -0
- package/dist/{errors-Bsah998f.d.cts → errors-C3dgi8bK.d.cts} +1 -7
- package/dist/{errors-DQyz1fFP.d.ts → errors-kFtjB-a3.d.ts} +1 -7
- package/dist/evm/index.cjs +3 -3
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/index.cjs +131 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -23
- package/dist/index.d.ts +16 -23
- package/dist/index.js +55 -3
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +2 -2
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/starknet/index.cjs +126 -289
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +15 -120
- package/dist/starknet/index.d.ts +15 -120
- package/dist/starknet/index.js +52 -213
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +2 -2
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +1 -1
- package/dist/{types-BTNjkUst.d.cts → types-DC4jNPAF.d.cts} +0 -4
- package/dist/{types-BTNjkUst.d.ts → types-DC4jNPAF.d.ts} +0 -4
- package/package.json +1 -1
- package/dist/chunk-BTSTG6SP.js.map +0 -1
- package/dist/chunk-EWDU2XV3.cjs.map +0 -1
- package/dist/chunk-VJVBWHAD.cjs.map +0 -1
- package/dist/chunk-WYKCGQPN.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
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-Bsah998f.cjs';
|
|
2
|
-
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-Bsah998f.cjs';
|
|
3
1
|
import * as starknet from 'starknet';
|
|
4
|
-
import { AccountInterface, ProviderInterface, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
5
|
-
import {
|
|
2
|
+
import { AccountInterface, ProviderInterface, RpcProvider, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
3
|
+
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, 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-C3dgi8bK.cjs';
|
|
4
|
+
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-C3dgi8bK.cjs';
|
|
5
|
+
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-DC4jNPAF.cjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
8
8
|
declare class PopService {
|
|
@@ -34,8 +34,7 @@ declare function popHasClaimed(provider: Pick<ProviderInterface, "callContract">
|
|
|
34
34
|
declare class DropService {
|
|
35
35
|
private readonly factoryAddress;
|
|
36
36
|
private readonly config;
|
|
37
|
-
|
|
38
|
-
constructor(config: ResolvedConfig, reader?: Pick<ProviderInterface, "callContract">);
|
|
37
|
+
constructor(config: ResolvedConfig);
|
|
39
38
|
createDrop(account: AccountInterface, params: CreateDropParams): Promise<TxResult>;
|
|
40
39
|
/** Mints `quantity` to the account, paying the drop's price and the platform fee. */
|
|
41
40
|
claim(account: AccountInterface, params: {
|
|
@@ -106,21 +105,11 @@ declare class ERC1155CollectionService {
|
|
|
106
105
|
}): Promise<TxResult>;
|
|
107
106
|
}
|
|
108
107
|
|
|
109
|
-
interface TicketRecord {
|
|
110
|
-
maxSupply: bigint;
|
|
111
|
-
minted: bigint;
|
|
112
|
-
startTime: number | null;
|
|
113
|
-
endTime: number | null;
|
|
114
|
-
royaltyBps: number;
|
|
115
|
-
metadataUri: string;
|
|
116
|
-
}
|
|
117
108
|
declare class TicketService {
|
|
118
109
|
private readonly factoryAddress?;
|
|
119
|
-
private readonly config;
|
|
120
110
|
constructor(config: ResolvedConfig);
|
|
121
111
|
private _factory;
|
|
122
112
|
private _collection;
|
|
123
|
-
private _collectionRead;
|
|
124
113
|
deployCollection(account: AccountInterface, params: {
|
|
125
114
|
name: string;
|
|
126
115
|
symbol: string;
|
|
@@ -129,35 +118,13 @@ declare class TicketService {
|
|
|
129
118
|
}): Promise<TxResult>;
|
|
130
119
|
createTicket(account: AccountInterface, params: CreateTicketParams): Promise<TxResult>;
|
|
131
120
|
mint(account: AccountInterface, params: MintTicketsParams): Promise<TxResult>;
|
|
132
|
-
isValid(params: {
|
|
133
|
-
collection: string;
|
|
134
|
-
tokenId: bigint | string;
|
|
135
|
-
holder: string;
|
|
136
|
-
}): Promise<boolean>;
|
|
137
|
-
getTicketCount(params: {
|
|
138
|
-
collection: string;
|
|
139
|
-
}): Promise<bigint>;
|
|
140
|
-
getTicket(params: {
|
|
141
|
-
collection: string;
|
|
142
|
-
tokenId: bigint | string;
|
|
143
|
-
}): Promise<TicketRecord>;
|
|
144
121
|
}
|
|
145
122
|
|
|
146
|
-
interface MembershipRecord {
|
|
147
|
-
maxSupply: bigint;
|
|
148
|
-
minted: bigint;
|
|
149
|
-
startTime: number | null;
|
|
150
|
-
endTime: number | null;
|
|
151
|
-
royaltyBps: number;
|
|
152
|
-
metadataUri: string;
|
|
153
|
-
}
|
|
154
123
|
declare class ClubService {
|
|
155
124
|
private readonly factoryAddress?;
|
|
156
|
-
private readonly config;
|
|
157
125
|
constructor(config: ResolvedConfig);
|
|
158
126
|
private _factory;
|
|
159
127
|
private _collection;
|
|
160
|
-
private _collectionRead;
|
|
161
128
|
deployCollection(account: AccountInterface, params: {
|
|
162
129
|
name: string;
|
|
163
130
|
symbol: string;
|
|
@@ -166,53 +133,12 @@ declare class ClubService {
|
|
|
166
133
|
}): Promise<TxResult>;
|
|
167
134
|
createMembership(account: AccountInterface, params: CreateMembershipParams): Promise<TxResult>;
|
|
168
135
|
mint(account: AccountInterface, params: MintMembershipsParams): Promise<TxResult>;
|
|
169
|
-
isMember(params: {
|
|
170
|
-
collection: string;
|
|
171
|
-
holder: string;
|
|
172
|
-
}): Promise<boolean>;
|
|
173
|
-
isMemberOf(params: {
|
|
174
|
-
collection: string;
|
|
175
|
-
tokenId: bigint | string;
|
|
176
|
-
holder: string;
|
|
177
|
-
}): Promise<boolean>;
|
|
178
|
-
getMembership(params: {
|
|
179
|
-
collection: string;
|
|
180
|
-
tokenId: bigint | string;
|
|
181
|
-
}): Promise<MembershipRecord>;
|
|
182
136
|
}
|
|
183
137
|
|
|
184
|
-
interface SponsorshipOfferRecord {
|
|
185
|
-
author: string;
|
|
186
|
-
nftContract: string;
|
|
187
|
-
tokenId: bigint;
|
|
188
|
-
minAmount: bigint;
|
|
189
|
-
duration: number;
|
|
190
|
-
paymentToken: string;
|
|
191
|
-
licenseTermsUri: string;
|
|
192
|
-
transferable: boolean;
|
|
193
|
-
specificSponsor: string | null;
|
|
194
|
-
open: boolean;
|
|
195
|
-
royaltyBps: bigint;
|
|
196
|
-
}
|
|
197
|
-
interface SponsorshipProposalRecord {
|
|
198
|
-
proposer: string;
|
|
199
|
-
nftContract: string;
|
|
200
|
-
tokenId: bigint;
|
|
201
|
-
amount: bigint;
|
|
202
|
-
duration: number;
|
|
203
|
-
validUntil: number;
|
|
204
|
-
paymentToken: string;
|
|
205
|
-
licenseTermsUri: string;
|
|
206
|
-
transferable: boolean;
|
|
207
|
-
open: boolean;
|
|
208
|
-
royaltyBps: bigint;
|
|
209
|
-
}
|
|
210
138
|
declare class SponsorshipService {
|
|
211
139
|
private readonly sponsorshipAddress?;
|
|
212
|
-
private readonly config;
|
|
213
140
|
constructor(config: ResolvedConfig);
|
|
214
141
|
private _contract;
|
|
215
|
-
private _contractRead;
|
|
216
142
|
createOffer(account: AccountInterface, params: CreateSponsorshipOfferParams & {
|
|
217
143
|
sponsorshipAddress?: string;
|
|
218
144
|
}): Promise<TxResult>;
|
|
@@ -251,36 +177,6 @@ declare class SponsorshipService {
|
|
|
251
177
|
proposalId: bigint | string;
|
|
252
178
|
sponsorshipAddress?: string;
|
|
253
179
|
}): Promise<TxResult>;
|
|
254
|
-
getOffer(params: {
|
|
255
|
-
offerId: bigint | string;
|
|
256
|
-
sponsorshipAddress?: string;
|
|
257
|
-
}): Promise<SponsorshipOfferRecord>;
|
|
258
|
-
getBid(params: {
|
|
259
|
-
offerId: bigint | string;
|
|
260
|
-
sponsor: string;
|
|
261
|
-
sponsorshipAddress?: string;
|
|
262
|
-
}): Promise<bigint>;
|
|
263
|
-
getProposal(params: {
|
|
264
|
-
proposalId: bigint | string;
|
|
265
|
-
sponsorshipAddress?: string;
|
|
266
|
-
}): Promise<SponsorshipProposalRecord>;
|
|
267
|
-
getLastOfferId(params?: {
|
|
268
|
-
sponsorshipAddress?: string;
|
|
269
|
-
}): Promise<bigint>;
|
|
270
|
-
getLastProposalId(params?: {
|
|
271
|
-
sponsorshipAddress?: string;
|
|
272
|
-
}): Promise<bigint>;
|
|
273
|
-
getLastLicenseId(params?: {
|
|
274
|
-
sponsorshipAddress?: string;
|
|
275
|
-
}): Promise<bigint>;
|
|
276
|
-
royaltyInfo(params: {
|
|
277
|
-
licenseId: bigint | string;
|
|
278
|
-
salePrice: bigint | string;
|
|
279
|
-
sponsorshipAddress?: string;
|
|
280
|
-
}): Promise<{
|
|
281
|
-
recipient: string;
|
|
282
|
-
amount: bigint;
|
|
283
|
-
}>;
|
|
284
180
|
}
|
|
285
181
|
|
|
286
182
|
declare class MedialaneClient {
|
|
@@ -295,24 +191,23 @@ declare class MedialaneClient {
|
|
|
295
191
|
readonly sponsorship: SponsorshipService;
|
|
296
192
|
};
|
|
297
193
|
private readonly config;
|
|
194
|
+
private _provider;
|
|
298
195
|
constructor(rawConfig?: MedialaneConfig);
|
|
299
196
|
get chain(): "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "STELLAR" | "BITCOIN";
|
|
300
|
-
get
|
|
197
|
+
get provider(): RpcProvider;
|
|
301
198
|
get marketplaceContract(): string;
|
|
302
199
|
}
|
|
303
200
|
|
|
201
|
+
declare function createChainProvider(backendUrl: string, apiKey?: string): RpcProvider;
|
|
202
|
+
|
|
203
|
+
declare function erc20Balance(provider: Pick<ProviderInterface, "callContract">, token: string, holder: string): Promise<bigint>;
|
|
204
|
+
|
|
304
205
|
declare class MedialaneError extends Error {
|
|
305
206
|
readonly code: MedialaneErrorCode;
|
|
306
207
|
readonly cause?: unknown | undefined;
|
|
307
208
|
constructor(message: string, code?: MedialaneErrorCode, cause?: unknown | undefined);
|
|
308
209
|
}
|
|
309
210
|
|
|
310
|
-
declare function getOrderDetails(orderHash: string, config: ResolvedConfig): Promise<OrderDetails>;
|
|
311
|
-
declare function getCounter(address: string, config: ResolvedConfig): Promise<bigint>;
|
|
312
|
-
|
|
313
|
-
declare function getOrderDetails1155(orderHash: string, config: ResolvedConfig): Promise<OrderDetails>;
|
|
314
|
-
declare function getCounter1155(address: string, config: ResolvedConfig): Promise<bigint>;
|
|
315
|
-
|
|
316
211
|
interface ResolvedOrder {
|
|
317
212
|
paymentToken: string;
|
|
318
213
|
unitPrice: string;
|
|
@@ -8430,16 +8325,16 @@ interface ReceiptProvider {
|
|
|
8430
8325
|
getTransactionReceipt(txHash: string): Promise<unknown>;
|
|
8431
8326
|
}
|
|
8432
8327
|
declare function confirmIntentBestEffort(client: MedialaneClient, intentId: string, txHash: string): Promise<void>;
|
|
8433
|
-
declare function syncTransactionBestEffort(client: MedialaneClient, txHash: string, timeoutMs?: number): Promise<void>;
|
|
8328
|
+
declare function syncTransactionBestEffort(client: MedialaneClient, txHash: string, timeoutMs?: number, retryMs?: number): Promise<void>;
|
|
8434
8329
|
declare function assertTransactionSucceeded(provider: ReceiptProvider, txHash: string, retryDelaysMs?: readonly number[]): Promise<ReceiptLike>;
|
|
8435
8330
|
interface ExecuteIntentOpts {
|
|
8436
8331
|
confirm?: boolean;
|
|
8437
8332
|
}
|
|
8438
|
-
declare function executeIntent(
|
|
8333
|
+
declare function executeIntent(signer: StarknetVenueSigner, client: MedialaneClient, intent: ApiIntentCreated, opts?: ExecuteIntentOpts): Promise<{
|
|
8439
8334
|
txHash: string;
|
|
8440
8335
|
receipt: ReceiptLike;
|
|
8441
8336
|
}>;
|
|
8442
|
-
declare function executeIntents(
|
|
8337
|
+
declare function executeIntents(signer: StarknetVenueSigner, client: MedialaneClient, intents: ApiIntentCreated[], opts?: ExecuteIntentOpts): Promise<{
|
|
8443
8338
|
txHash: string;
|
|
8444
8339
|
receipt: ReceiptLike;
|
|
8445
8340
|
}>;
|
|
@@ -8767,4 +8662,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
|
|
|
8767
8662
|
|
|
8768
8663
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8769
8664
|
|
|
8770
|
-
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,
|
|
8665
|
+
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, createChainProvider, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, dropCalls, dropMintCost, encodeByteArray, encodePairingPayload, erc20Balance, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, 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,8 +1,8 @@
|
|
|
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-DQyz1fFP.js';
|
|
2
|
-
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-DQyz1fFP.js';
|
|
3
1
|
import * as starknet from 'starknet';
|
|
4
|
-
import { AccountInterface, ProviderInterface, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
5
|
-
import {
|
|
2
|
+
import { AccountInterface, ProviderInterface, RpcProvider, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
3
|
+
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, 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-kFtjB-a3.js';
|
|
4
|
+
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-kFtjB-a3.js';
|
|
5
|
+
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-DC4jNPAF.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
8
8
|
declare class PopService {
|
|
@@ -34,8 +34,7 @@ declare function popHasClaimed(provider: Pick<ProviderInterface, "callContract">
|
|
|
34
34
|
declare class DropService {
|
|
35
35
|
private readonly factoryAddress;
|
|
36
36
|
private readonly config;
|
|
37
|
-
|
|
38
|
-
constructor(config: ResolvedConfig, reader?: Pick<ProviderInterface, "callContract">);
|
|
37
|
+
constructor(config: ResolvedConfig);
|
|
39
38
|
createDrop(account: AccountInterface, params: CreateDropParams): Promise<TxResult>;
|
|
40
39
|
/** Mints `quantity` to the account, paying the drop's price and the platform fee. */
|
|
41
40
|
claim(account: AccountInterface, params: {
|
|
@@ -106,21 +105,11 @@ declare class ERC1155CollectionService {
|
|
|
106
105
|
}): Promise<TxResult>;
|
|
107
106
|
}
|
|
108
107
|
|
|
109
|
-
interface TicketRecord {
|
|
110
|
-
maxSupply: bigint;
|
|
111
|
-
minted: bigint;
|
|
112
|
-
startTime: number | null;
|
|
113
|
-
endTime: number | null;
|
|
114
|
-
royaltyBps: number;
|
|
115
|
-
metadataUri: string;
|
|
116
|
-
}
|
|
117
108
|
declare class TicketService {
|
|
118
109
|
private readonly factoryAddress?;
|
|
119
|
-
private readonly config;
|
|
120
110
|
constructor(config: ResolvedConfig);
|
|
121
111
|
private _factory;
|
|
122
112
|
private _collection;
|
|
123
|
-
private _collectionRead;
|
|
124
113
|
deployCollection(account: AccountInterface, params: {
|
|
125
114
|
name: string;
|
|
126
115
|
symbol: string;
|
|
@@ -129,35 +118,13 @@ declare class TicketService {
|
|
|
129
118
|
}): Promise<TxResult>;
|
|
130
119
|
createTicket(account: AccountInterface, params: CreateTicketParams): Promise<TxResult>;
|
|
131
120
|
mint(account: AccountInterface, params: MintTicketsParams): Promise<TxResult>;
|
|
132
|
-
isValid(params: {
|
|
133
|
-
collection: string;
|
|
134
|
-
tokenId: bigint | string;
|
|
135
|
-
holder: string;
|
|
136
|
-
}): Promise<boolean>;
|
|
137
|
-
getTicketCount(params: {
|
|
138
|
-
collection: string;
|
|
139
|
-
}): Promise<bigint>;
|
|
140
|
-
getTicket(params: {
|
|
141
|
-
collection: string;
|
|
142
|
-
tokenId: bigint | string;
|
|
143
|
-
}): Promise<TicketRecord>;
|
|
144
121
|
}
|
|
145
122
|
|
|
146
|
-
interface MembershipRecord {
|
|
147
|
-
maxSupply: bigint;
|
|
148
|
-
minted: bigint;
|
|
149
|
-
startTime: number | null;
|
|
150
|
-
endTime: number | null;
|
|
151
|
-
royaltyBps: number;
|
|
152
|
-
metadataUri: string;
|
|
153
|
-
}
|
|
154
123
|
declare class ClubService {
|
|
155
124
|
private readonly factoryAddress?;
|
|
156
|
-
private readonly config;
|
|
157
125
|
constructor(config: ResolvedConfig);
|
|
158
126
|
private _factory;
|
|
159
127
|
private _collection;
|
|
160
|
-
private _collectionRead;
|
|
161
128
|
deployCollection(account: AccountInterface, params: {
|
|
162
129
|
name: string;
|
|
163
130
|
symbol: string;
|
|
@@ -166,53 +133,12 @@ declare class ClubService {
|
|
|
166
133
|
}): Promise<TxResult>;
|
|
167
134
|
createMembership(account: AccountInterface, params: CreateMembershipParams): Promise<TxResult>;
|
|
168
135
|
mint(account: AccountInterface, params: MintMembershipsParams): Promise<TxResult>;
|
|
169
|
-
isMember(params: {
|
|
170
|
-
collection: string;
|
|
171
|
-
holder: string;
|
|
172
|
-
}): Promise<boolean>;
|
|
173
|
-
isMemberOf(params: {
|
|
174
|
-
collection: string;
|
|
175
|
-
tokenId: bigint | string;
|
|
176
|
-
holder: string;
|
|
177
|
-
}): Promise<boolean>;
|
|
178
|
-
getMembership(params: {
|
|
179
|
-
collection: string;
|
|
180
|
-
tokenId: bigint | string;
|
|
181
|
-
}): Promise<MembershipRecord>;
|
|
182
136
|
}
|
|
183
137
|
|
|
184
|
-
interface SponsorshipOfferRecord {
|
|
185
|
-
author: string;
|
|
186
|
-
nftContract: string;
|
|
187
|
-
tokenId: bigint;
|
|
188
|
-
minAmount: bigint;
|
|
189
|
-
duration: number;
|
|
190
|
-
paymentToken: string;
|
|
191
|
-
licenseTermsUri: string;
|
|
192
|
-
transferable: boolean;
|
|
193
|
-
specificSponsor: string | null;
|
|
194
|
-
open: boolean;
|
|
195
|
-
royaltyBps: bigint;
|
|
196
|
-
}
|
|
197
|
-
interface SponsorshipProposalRecord {
|
|
198
|
-
proposer: string;
|
|
199
|
-
nftContract: string;
|
|
200
|
-
tokenId: bigint;
|
|
201
|
-
amount: bigint;
|
|
202
|
-
duration: number;
|
|
203
|
-
validUntil: number;
|
|
204
|
-
paymentToken: string;
|
|
205
|
-
licenseTermsUri: string;
|
|
206
|
-
transferable: boolean;
|
|
207
|
-
open: boolean;
|
|
208
|
-
royaltyBps: bigint;
|
|
209
|
-
}
|
|
210
138
|
declare class SponsorshipService {
|
|
211
139
|
private readonly sponsorshipAddress?;
|
|
212
|
-
private readonly config;
|
|
213
140
|
constructor(config: ResolvedConfig);
|
|
214
141
|
private _contract;
|
|
215
|
-
private _contractRead;
|
|
216
142
|
createOffer(account: AccountInterface, params: CreateSponsorshipOfferParams & {
|
|
217
143
|
sponsorshipAddress?: string;
|
|
218
144
|
}): Promise<TxResult>;
|
|
@@ -251,36 +177,6 @@ declare class SponsorshipService {
|
|
|
251
177
|
proposalId: bigint | string;
|
|
252
178
|
sponsorshipAddress?: string;
|
|
253
179
|
}): Promise<TxResult>;
|
|
254
|
-
getOffer(params: {
|
|
255
|
-
offerId: bigint | string;
|
|
256
|
-
sponsorshipAddress?: string;
|
|
257
|
-
}): Promise<SponsorshipOfferRecord>;
|
|
258
|
-
getBid(params: {
|
|
259
|
-
offerId: bigint | string;
|
|
260
|
-
sponsor: string;
|
|
261
|
-
sponsorshipAddress?: string;
|
|
262
|
-
}): Promise<bigint>;
|
|
263
|
-
getProposal(params: {
|
|
264
|
-
proposalId: bigint | string;
|
|
265
|
-
sponsorshipAddress?: string;
|
|
266
|
-
}): Promise<SponsorshipProposalRecord>;
|
|
267
|
-
getLastOfferId(params?: {
|
|
268
|
-
sponsorshipAddress?: string;
|
|
269
|
-
}): Promise<bigint>;
|
|
270
|
-
getLastProposalId(params?: {
|
|
271
|
-
sponsorshipAddress?: string;
|
|
272
|
-
}): Promise<bigint>;
|
|
273
|
-
getLastLicenseId(params?: {
|
|
274
|
-
sponsorshipAddress?: string;
|
|
275
|
-
}): Promise<bigint>;
|
|
276
|
-
royaltyInfo(params: {
|
|
277
|
-
licenseId: bigint | string;
|
|
278
|
-
salePrice: bigint | string;
|
|
279
|
-
sponsorshipAddress?: string;
|
|
280
|
-
}): Promise<{
|
|
281
|
-
recipient: string;
|
|
282
|
-
amount: bigint;
|
|
283
|
-
}>;
|
|
284
180
|
}
|
|
285
181
|
|
|
286
182
|
declare class MedialaneClient {
|
|
@@ -295,24 +191,23 @@ declare class MedialaneClient {
|
|
|
295
191
|
readonly sponsorship: SponsorshipService;
|
|
296
192
|
};
|
|
297
193
|
private readonly config;
|
|
194
|
+
private _provider;
|
|
298
195
|
constructor(rawConfig?: MedialaneConfig);
|
|
299
196
|
get chain(): "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "STELLAR" | "BITCOIN";
|
|
300
|
-
get
|
|
197
|
+
get provider(): RpcProvider;
|
|
301
198
|
get marketplaceContract(): string;
|
|
302
199
|
}
|
|
303
200
|
|
|
201
|
+
declare function createChainProvider(backendUrl: string, apiKey?: string): RpcProvider;
|
|
202
|
+
|
|
203
|
+
declare function erc20Balance(provider: Pick<ProviderInterface, "callContract">, token: string, holder: string): Promise<bigint>;
|
|
204
|
+
|
|
304
205
|
declare class MedialaneError extends Error {
|
|
305
206
|
readonly code: MedialaneErrorCode;
|
|
306
207
|
readonly cause?: unknown | undefined;
|
|
307
208
|
constructor(message: string, code?: MedialaneErrorCode, cause?: unknown | undefined);
|
|
308
209
|
}
|
|
309
210
|
|
|
310
|
-
declare function getOrderDetails(orderHash: string, config: ResolvedConfig): Promise<OrderDetails>;
|
|
311
|
-
declare function getCounter(address: string, config: ResolvedConfig): Promise<bigint>;
|
|
312
|
-
|
|
313
|
-
declare function getOrderDetails1155(orderHash: string, config: ResolvedConfig): Promise<OrderDetails>;
|
|
314
|
-
declare function getCounter1155(address: string, config: ResolvedConfig): Promise<bigint>;
|
|
315
|
-
|
|
316
211
|
interface ResolvedOrder {
|
|
317
212
|
paymentToken: string;
|
|
318
213
|
unitPrice: string;
|
|
@@ -8430,16 +8325,16 @@ interface ReceiptProvider {
|
|
|
8430
8325
|
getTransactionReceipt(txHash: string): Promise<unknown>;
|
|
8431
8326
|
}
|
|
8432
8327
|
declare function confirmIntentBestEffort(client: MedialaneClient, intentId: string, txHash: string): Promise<void>;
|
|
8433
|
-
declare function syncTransactionBestEffort(client: MedialaneClient, txHash: string, timeoutMs?: number): Promise<void>;
|
|
8328
|
+
declare function syncTransactionBestEffort(client: MedialaneClient, txHash: string, timeoutMs?: number, retryMs?: number): Promise<void>;
|
|
8434
8329
|
declare function assertTransactionSucceeded(provider: ReceiptProvider, txHash: string, retryDelaysMs?: readonly number[]): Promise<ReceiptLike>;
|
|
8435
8330
|
interface ExecuteIntentOpts {
|
|
8436
8331
|
confirm?: boolean;
|
|
8437
8332
|
}
|
|
8438
|
-
declare function executeIntent(
|
|
8333
|
+
declare function executeIntent(signer: StarknetVenueSigner, client: MedialaneClient, intent: ApiIntentCreated, opts?: ExecuteIntentOpts): Promise<{
|
|
8439
8334
|
txHash: string;
|
|
8440
8335
|
receipt: ReceiptLike;
|
|
8441
8336
|
}>;
|
|
8442
|
-
declare function executeIntents(
|
|
8337
|
+
declare function executeIntents(signer: StarknetVenueSigner, client: MedialaneClient, intents: ApiIntentCreated[], opts?: ExecuteIntentOpts): Promise<{
|
|
8443
8338
|
txHash: string;
|
|
8444
8339
|
receipt: ReceiptLike;
|
|
8445
8340
|
}>;
|
|
@@ -8767,4 +8662,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
|
|
|
8767
8662
|
|
|
8768
8663
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8769
8664
|
|
|
8770
|
-
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,
|
|
8665
|
+
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, createChainProvider, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, dropCalls, dropMintCost, encodeByteArray, encodePairingPayload, erc20Balance, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, 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 };
|