@medialane/sdk 0.198.0 → 0.199.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 +85 -39
- package/dist/chains-CmwjZVU7.d.cts +85 -0
- package/dist/chains-CmwjZVU7.d.ts +85 -0
- package/dist/chunk-3HPMEDYH.cjs +967 -0
- package/dist/chunk-3HPMEDYH.cjs.map +1 -0
- package/dist/{chunk-3ME5YKTW.js → chunk-5KY6P434.js} +2 -2
- package/dist/chunk-5KY6P434.js.map +1 -0
- package/dist/chunk-F7W6IWTL.js +660 -0
- package/dist/chunk-F7W6IWTL.js.map +1 -0
- package/dist/chunk-GIBIHGSV.js +916 -0
- package/dist/chunk-GIBIHGSV.js.map +1 -0
- package/dist/chunk-GV4A2WNO.js +444 -0
- package/dist/chunk-GV4A2WNO.js.map +1 -0
- package/dist/{chunk-7EYJC5CB.cjs → chunk-H2NJB3AK.cjs} +2 -2
- package/dist/chunk-H2NJB3AK.cjs.map +1 -0
- package/dist/chunk-KGAGWULG.js +932 -0
- package/dist/chunk-KGAGWULG.js.map +1 -0
- package/dist/chunk-MEJ47LC3.cjs +463 -0
- package/dist/chunk-MEJ47LC3.cjs.map +1 -0
- package/dist/chunk-W76AZ5WC.cjs +376 -0
- package/dist/chunk-W76AZ5WC.cjs.map +1 -0
- package/dist/chunk-WRBXQPRL.js +323 -0
- package/dist/chunk-WRBXQPRL.js.map +1 -0
- package/dist/chunk-ZLMIHQWM.cjs +975 -0
- package/dist/chunk-ZLMIHQWM.cjs.map +1 -0
- package/dist/chunk-ZVANOWIB.cjs +688 -0
- package/dist/chunk-ZVANOWIB.cjs.map +1 -0
- package/dist/contract/index.cjs +88 -261
- package/dist/contract/index.cjs.map +1 -1
- package/dist/contract/index.d.cts +139 -4
- package/dist/contract/index.d.ts +139 -4
- package/dist/contract/index.js +4 -220
- package/dist/contract/index.js.map +1 -1
- package/dist/evm/index.cjs +3 -3
- package/dist/evm/index.d.cts +2 -1
- package/dist/evm/index.d.ts +2 -1
- package/dist/evm/index.js +1 -1
- package/dist/fetch-Cx9Pr7-B.d.cts +3 -0
- package/dist/fetch-Cx9Pr7-B.d.ts +3 -0
- package/dist/index.cjs +177 -833
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -131
- package/dist/index.d.ts +53 -131
- package/dist/index.js +6 -659
- package/dist/index.js.map +1 -1
- package/dist/passkey-errors-Bu6I_5rn.d.ts +1041 -0
- package/dist/passkey-errors-D0XNQ3_g.d.cts +1041 -0
- package/dist/provisioning-CwRkCN8D.d.cts +14 -0
- package/dist/provisioning-CwRkCN8D.d.ts +14 -0
- package/dist/{provisioning-BUYiU8Tr.d.ts → responses-BLpM_cH_.d.cts} +40 -48
- package/dist/{provisioning-BUYiU8Tr.d.cts → responses-BLpM_cH_.d.ts} +40 -48
- package/dist/server/index.cjs +117 -0
- package/dist/server/index.cjs.map +1 -0
- package/dist/server/index.d.cts +98 -0
- package/dist/server/index.d.ts +98 -0
- package/dist/server/index.js +4 -0
- package/dist/server/index.js.map +1 -0
- package/dist/services-C9CkOsYi.d.cts +728 -0
- package/dist/services-CI62hzNf.d.ts +728 -0
- package/dist/solana/index.cjs +2 -2
- package/dist/solana/index.d.cts +2 -1
- package/dist/solana/index.d.ts +2 -1
- package/dist/solana/index.js +1 -1
- package/dist/starknet/index.cjs +898 -1729
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +98 -467
- package/dist/starknet/index.d.ts +98 -467
- package/dist/starknet/index.js +704 -1680
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +2 -2
- package/dist/stellar/index.d.cts +2 -1
- package/dist/stellar/index.d.ts +2 -1
- package/dist/stellar/index.js +1 -1
- package/dist/types-BW6ktwcT.d.ts +71 -0
- package/dist/types-BftPOVEJ.d.cts +71 -0
- package/dist/wallet/index.cjs +240 -0
- package/dist/wallet/index.cjs.map +1 -0
- package/dist/wallet/index.d.cts +319 -0
- package/dist/wallet/index.d.ts +319 -0
- package/dist/wallet/index.js +7 -0
- package/dist/wallet/index.js.map +1 -0
- package/package.json +13 -2
- package/dist/chunk-2R7XBA34.cjs +0 -1938
- package/dist/chunk-2R7XBA34.cjs.map +0 -1
- package/dist/chunk-3ME5YKTW.js.map +0 -1
- package/dist/chunk-6WVUUBFI.js +0 -1853
- package/dist/chunk-6WVUUBFI.js.map +0 -1
- package/dist/chunk-7EYJC5CB.cjs.map +0 -1
- package/dist/errors-CZm-NZK0.d.cts +0 -1754
- package/dist/errors-h6H6cj3Q.d.ts +0 -1754
- package/dist/types-DC4jNPAF.d.cts +0 -153
- package/dist/types-DC4jNPAF.d.ts +0 -153
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,213 +1,31 @@
|
|
|
1
1
|
import * as starknet from 'starknet';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams
|
|
2
|
+
import { RpcProvider, ProviderInterface, TypedData, Call, constants } from 'starknet';
|
|
3
|
+
import { b as ApiClient, q as MedialaneConfig, E as ResolvedConfig, H as ResolvedFeeConfig, p as FundingApi, I as IntentsApi, h as CreateDropParams, n as DropTerms, i as CreateMembershipParams, v as MintMembershipsParams, u as MintEditionParams, B as BatchMintEditionParams, a as AddSupplyParams, j as CreatePopCollectionParams, k as CreateSponsorshipOfferParams, y as ProposeSponsorshipParams, l as CreateTicketParams, w as MintTicketsParams } from '../services-CI62hzNf.js';
|
|
4
|
+
export { V as ApiKeyAction, W as ApiKeyConfirmation, X as ApiKeyConfirmationInput, Y as CreateCreatorCoinParams, Z as CreatorCoinGuarantees, _ as CreatorCoinReceiptLike, D as DeployCollectionParams, $ as DropMintState, a0 as DropMintStateKind, a1 as DropOnchain, a2 as EkuboLaunchParams, a3 as EkuboPoolParams, a4 as MAX_HOLDERS_AT_LAUNCH, a5 as MAX_TEAM_ALLOCATION_PERCENT, r as MedialaneError, a6 as PopAllowlist, a7 as PopClaimInfo, a8 as PopClaimLink, a9 as PopClaimState, U as UserFacingError, aa as VALIDATED_EKUBO_PARAMS, ab as apiKeyConfirmationTypedData, ac as buildCreateCreatorCoinCall, ad as buildDropClaimCalls, ae as buildLaunchOnEkuboCalls, af as buildPopAllowlist, ag as decodePopClaimFragment, ah as dropClaimLinks, ai as dropClaimedBy, aj as dropMintState, ak as encodePopClaimFragment, al as getCreatorCoinGuarantees, am as isCreatorCoin, an as parseCreatorCoinCreated, ao as popCalls, ap as popClaimInfo, aq as popClaimLinks, ar as popClaimLinksCsv, as as popClaimState, at as popHasClaimed, au as priceToEkuboParams, av as readDrop, aw as validatePrice, ax as verifyPopProof } from '../services-CI62hzNf.js';
|
|
5
|
+
import { b as VenueSigner, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams } from '../types-BW6ktwcT.js';
|
|
6
|
+
import { I as ApiFundingInstructions, O as ApiIntentCreated } from '../passkey-errors-Bu6I_5rn.js';
|
|
7
|
+
export { bc as DeviceKeyMissingError, bv as PasskeyCancelledError, bw as PasskeyUnsupportedError, bx as PasskeyUnsupportedReason } from '../passkey-errors-Bu6I_5rn.js';
|
|
8
|
+
import { F as FetchLike } from '../fetch-Cx9Pr7-B.js';
|
|
9
|
+
export { CreatedOwner, DeploymentCoordinator, DeploymentDeps, DeploymentResult, DeploymentStep, DeviceEntry, DeviceKeyStore, EscapeInfo, EscapeStatusName, EscapeTypeName, ExecutedTransaction, GuardianInfo, GuardianStatus, InvalidPairingPayloadError, InvalidRecoveryKeyError, InvalidStarkPrivateKeyError, MediaWallet, MediaWalletConfig, OwnerSigner, OwnerStore, PairingPayload, PasskeyConfig, PasskeyOwner, ReceiptProviderLike, RecoveryAction, RecoveryKey, SealedOwner, SelfFundConsent, SelfFundConsentHandler, SelfFundFeeEstimate, SelfFundedDeps, SessionWallet, SessionWalletClaimDeps, SponsoredDeps, WalletExecutor, accountFor, buildAddOwnerCall, buildCancelEscapeCall, buildCompleteEscapeOwnerCall, buildDeployAccountParams, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, canRemoveDevice, claimSessionWallet, completeDeployment, computeAccountAddress, computeOwnerGuid, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createPasskeyOwner, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodePairingPayload, encodeRecoveryKey, estimateSelfFundedFee, generateStarkKeyPair, getEscape, getEscapeSecurityPeriod, getGuardians, getOwners, indexedDbDeviceKeys, isDeployed, isValidStarknetAddress, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parsePairingPayload, parseRecoveryKey, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, unsealPrivateKey, waitUntilDeployed } from '../wallet/index.js';
|
|
6
10
|
import 'zod';
|
|
7
|
-
import '../
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
private readonly factoryAddress;
|
|
11
|
-
constructor(config: ResolvedConfig);
|
|
12
|
-
createCollection(account: AccountInterface, params: CreatePopCollectionParams): Promise<TxResult>;
|
|
13
|
-
setAllowlistRoot(account: AccountInterface, params: {
|
|
14
|
-
collection: string;
|
|
15
|
-
root: string;
|
|
16
|
-
}): Promise<TxResult>;
|
|
17
|
-
claim(account: AccountInterface, params: {
|
|
18
|
-
collection: string;
|
|
19
|
-
proof: string[];
|
|
20
|
-
}): Promise<TxResult>;
|
|
21
|
-
issue(account: AccountInterface, params: {
|
|
22
|
-
collection: string;
|
|
23
|
-
recipient: string;
|
|
24
|
-
tokenUri?: string;
|
|
25
|
-
}): Promise<TxResult>;
|
|
26
|
-
/** Destroys the caller's own credential; the address cannot receive another from this collection. */
|
|
27
|
-
burn(account: AccountInterface, params: {
|
|
28
|
-
collection: string;
|
|
29
|
-
tokenId: string | bigint;
|
|
30
|
-
}): Promise<TxResult>;
|
|
31
|
-
}
|
|
32
|
-
/** Whether `address` already holds this collection's credential (read from chain). */
|
|
33
|
-
declare function popHasClaimed(provider: Pick<ProviderInterface, "callContract">, collection: string, address: string): Promise<boolean>;
|
|
34
|
-
|
|
35
|
-
declare class DropService {
|
|
36
|
-
private readonly factoryAddress;
|
|
37
|
-
private readonly config;
|
|
38
|
-
constructor(config: ResolvedConfig);
|
|
39
|
-
createDrop(account: AccountInterface, params: CreateDropParams): Promise<TxResult>;
|
|
40
|
-
/** Mints `quantity` to the account, paying the drop's price and the platform fee. */
|
|
41
|
-
claim(account: AccountInterface, params: {
|
|
42
|
-
collection: string;
|
|
43
|
-
quantity: bigint | string | number;
|
|
44
|
-
proof?: string[];
|
|
45
|
-
}): Promise<TxResult>;
|
|
46
|
-
issue(account: AccountInterface, params: {
|
|
47
|
-
collection: string;
|
|
48
|
-
recipient: string;
|
|
49
|
-
quantity: bigint | string | number;
|
|
50
|
-
}): Promise<TxResult>;
|
|
51
|
-
setAllowlistRoot(account: AccountInterface, params: {
|
|
52
|
-
collection: string;
|
|
53
|
-
root: string;
|
|
54
|
-
}): Promise<TxResult>;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
interface DeployCollectionParams {
|
|
58
|
-
name: string;
|
|
59
|
-
symbol: string;
|
|
60
|
-
baseUri: string;
|
|
61
|
-
}
|
|
62
|
-
interface MintEditionParams {
|
|
63
|
-
collection: string;
|
|
64
|
-
to: string;
|
|
65
|
-
value: bigint | string;
|
|
66
|
-
tokenUri: string;
|
|
67
|
-
}
|
|
68
|
-
interface BatchMintEditionParams {
|
|
69
|
-
collection: string;
|
|
70
|
-
to: string;
|
|
71
|
-
items: Array<{
|
|
72
|
-
value: bigint | string;
|
|
73
|
-
tokenUri: string;
|
|
74
|
-
}>;
|
|
75
|
-
}
|
|
76
|
-
interface AddSupplyParams {
|
|
77
|
-
collection: string;
|
|
78
|
-
to: string;
|
|
79
|
-
tokenId: bigint | string;
|
|
80
|
-
value: bigint | string;
|
|
81
|
-
}
|
|
82
|
-
declare class ERC1155CollectionService {
|
|
83
|
-
private readonly factoryAddress;
|
|
84
|
-
constructor(config: ResolvedConfig);
|
|
85
|
-
private _factory;
|
|
86
|
-
private _collection;
|
|
87
|
-
deployCollection(account: AccountInterface, params: DeployCollectionParams): Promise<TxResult>;
|
|
88
|
-
mintEdition(account: AccountInterface, params: MintEditionParams): Promise<TxResult>;
|
|
89
|
-
batchMintEdition(account: AccountInterface, params: BatchMintEditionParams): Promise<TxResult>;
|
|
90
|
-
addSupply(account: AccountInterface, params: AddSupplyParams): Promise<TxResult>;
|
|
91
|
-
setDefaultRoyalty(account: AccountInterface, params: {
|
|
92
|
-
collection: string;
|
|
93
|
-
receiver: string;
|
|
94
|
-
feeNumerator: number;
|
|
95
|
-
}): Promise<TxResult>;
|
|
96
|
-
setTokenRoyalty(account: AccountInterface, params: {
|
|
97
|
-
collection: string;
|
|
98
|
-
tokenId: bigint | string;
|
|
99
|
-
receiver: string;
|
|
100
|
-
feeNumerator: number;
|
|
101
|
-
}): Promise<TxResult>;
|
|
102
|
-
setApprovalForAll(account: AccountInterface, params: {
|
|
103
|
-
collection: string;
|
|
104
|
-
operator: string;
|
|
105
|
-
approved: boolean;
|
|
106
|
-
}): Promise<TxResult>;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
declare class TicketService {
|
|
110
|
-
private readonly factoryAddress?;
|
|
111
|
-
constructor(config: ResolvedConfig);
|
|
112
|
-
private _factory;
|
|
113
|
-
private _collection;
|
|
114
|
-
deployCollection(account: AccountInterface, params: {
|
|
115
|
-
name: string;
|
|
116
|
-
symbol: string;
|
|
117
|
-
baseUri: string;
|
|
118
|
-
factoryAddress?: string;
|
|
119
|
-
}): Promise<TxResult>;
|
|
120
|
-
createTicket(account: AccountInterface, params: CreateTicketParams): Promise<TxResult>;
|
|
121
|
-
mint(account: AccountInterface, params: MintTicketsParams): Promise<TxResult>;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
declare class ClubService {
|
|
125
|
-
private readonly factoryAddress?;
|
|
126
|
-
constructor(config: ResolvedConfig);
|
|
127
|
-
private _factory;
|
|
128
|
-
private _collection;
|
|
129
|
-
deployCollection(account: AccountInterface, params: {
|
|
130
|
-
name: string;
|
|
131
|
-
symbol: string;
|
|
132
|
-
baseUri: string;
|
|
133
|
-
factoryAddress?: string;
|
|
134
|
-
}): Promise<TxResult>;
|
|
135
|
-
createMembership(account: AccountInterface, params: CreateMembershipParams): Promise<TxResult>;
|
|
136
|
-
mint(account: AccountInterface, params: MintMembershipsParams): Promise<TxResult>;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
declare class SponsorshipService {
|
|
140
|
-
private readonly sponsorshipAddress?;
|
|
141
|
-
constructor(config: ResolvedConfig);
|
|
142
|
-
private _contract;
|
|
143
|
-
createOffer(account: AccountInterface, params: CreateSponsorshipOfferParams & {
|
|
144
|
-
sponsorshipAddress?: string;
|
|
145
|
-
}): Promise<TxResult>;
|
|
146
|
-
setOfferOpen(account: AccountInterface, params: {
|
|
147
|
-
offerId: bigint | string;
|
|
148
|
-
open: boolean;
|
|
149
|
-
sponsorshipAddress?: string;
|
|
150
|
-
}): Promise<TxResult>;
|
|
151
|
-
placeBid(account: AccountInterface, params: {
|
|
152
|
-
offerId: bigint | string;
|
|
153
|
-
amount: bigint | string;
|
|
154
|
-
paymentToken: string;
|
|
155
|
-
sponsorshipAddress?: string;
|
|
156
|
-
}): Promise<TxResult>;
|
|
157
|
-
retractBid(account: AccountInterface, params: {
|
|
158
|
-
offerId: bigint | string;
|
|
159
|
-
sponsorshipAddress?: string;
|
|
160
|
-
}): Promise<TxResult>;
|
|
161
|
-
acceptBid(account: AccountInterface, params: {
|
|
162
|
-
offerId: bigint | string;
|
|
163
|
-
sponsor: string;
|
|
164
|
-
sponsorshipAddress?: string;
|
|
165
|
-
}): Promise<TxResult>;
|
|
166
|
-
proposeSponsorship(account: AccountInterface, params: ProposeSponsorshipParams & {
|
|
167
|
-
sponsorshipAddress?: string;
|
|
168
|
-
}): Promise<TxResult>;
|
|
169
|
-
withdrawProposal(account: AccountInterface, params: {
|
|
170
|
-
proposalId: bigint | string;
|
|
171
|
-
sponsorshipAddress?: string;
|
|
172
|
-
}): Promise<TxResult>;
|
|
173
|
-
acceptProposal(account: AccountInterface, params: {
|
|
174
|
-
proposalId: bigint | string;
|
|
175
|
-
sponsorshipAddress?: string;
|
|
176
|
-
}): Promise<TxResult>;
|
|
177
|
-
rejectProposal(account: AccountInterface, params: {
|
|
178
|
-
proposalId: bigint | string;
|
|
179
|
-
sponsorshipAddress?: string;
|
|
180
|
-
}): Promise<TxResult>;
|
|
181
|
-
}
|
|
11
|
+
import '../chains-CmwjZVU7.js';
|
|
12
|
+
import '../responses-BLpM_cH_.js';
|
|
13
|
+
import '../provisioning-CwRkCN8D.js';
|
|
182
14
|
|
|
183
15
|
declare class MedialaneClient {
|
|
184
16
|
readonly api: ApiClient;
|
|
185
|
-
readonly services: {
|
|
186
|
-
readonly pop: PopService;
|
|
187
|
-
readonly drop: DropService;
|
|
188
|
-
readonly erc1155Collection: ERC1155CollectionService;
|
|
189
|
-
readonly creatorCoin: CreatorCoinService;
|
|
190
|
-
readonly ticket: TicketService;
|
|
191
|
-
readonly club: ClubService;
|
|
192
|
-
readonly sponsorship: SponsorshipService;
|
|
193
|
-
};
|
|
194
17
|
private readonly config;
|
|
195
18
|
private _provider;
|
|
196
19
|
constructor(rawConfig?: MedialaneConfig);
|
|
197
20
|
get chain(): "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "STELLAR" | "BITCOIN";
|
|
198
21
|
get provider(): RpcProvider;
|
|
199
|
-
get marketplaceContract(): string;
|
|
200
22
|
}
|
|
201
23
|
|
|
202
24
|
declare function createChainProvider(backendUrl: string, apiKey?: string): RpcProvider;
|
|
203
25
|
|
|
204
26
|
declare function erc20Balance(provider: Pick<ProviderInterface, "callContract">, token: string, holder: string): Promise<bigint>;
|
|
205
27
|
|
|
206
|
-
|
|
207
|
-
readonly code: MedialaneErrorCode;
|
|
208
|
-
readonly cause?: unknown | undefined;
|
|
209
|
-
constructor(message: string, code?: MedialaneErrorCode, cause?: unknown | undefined);
|
|
210
|
-
}
|
|
28
|
+
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
211
29
|
|
|
212
30
|
interface ResolvedOrder {
|
|
213
31
|
paymentToken: string;
|
|
@@ -276,6 +94,7 @@ declare function signInWithWallet(args: {
|
|
|
276
94
|
appSource: string;
|
|
277
95
|
}): Promise<void>;
|
|
278
96
|
|
|
97
|
+
type FundingTransferApi = Pick<FundingApi, "create" | "challenge" | "authorize" | "submit" | "cancel">;
|
|
279
98
|
interface FundingTransferCall {
|
|
280
99
|
contractAddress: string;
|
|
281
100
|
entrypoint: "transfer";
|
|
@@ -291,29 +110,7 @@ interface FundingWallet {
|
|
|
291
110
|
declare class FundingTransferNotSentError extends Error {
|
|
292
111
|
constructor(message?: string);
|
|
293
112
|
}
|
|
294
|
-
|
|
295
|
-
data: T;
|
|
296
|
-
}>;
|
|
297
|
-
interface FundingApi {
|
|
298
|
-
createFunding(input: {
|
|
299
|
-
method: string;
|
|
300
|
-
params: Record<string, unknown>;
|
|
301
|
-
}): Res<ApiFundingIntent>;
|
|
302
|
-
getFundingChallenge(id: string, payer: string): Res<{
|
|
303
|
-
typedData: unknown;
|
|
304
|
-
}>;
|
|
305
|
-
authorizeFunding(id: string, input: {
|
|
306
|
-
payer: string;
|
|
307
|
-
signature: string[];
|
|
308
|
-
}): Res<{
|
|
309
|
-
instructions: ApiFundingInstructions;
|
|
310
|
-
}>;
|
|
311
|
-
submitFunding(id: string, txHash: string): Res<ApiFundingSubmit>;
|
|
312
|
-
cancelFunding(id: string): Res<{
|
|
313
|
-
status: string;
|
|
314
|
-
}>;
|
|
315
|
-
}
|
|
316
|
-
declare function fundingApiFor(client: ApiClient): FundingApi;
|
|
113
|
+
declare function fundingApiFor(client: ApiClient): FundingTransferApi;
|
|
317
114
|
declare function buildFundingTransferCall(instructions: ApiFundingInstructions): FundingTransferCall;
|
|
318
115
|
type FundingStep = "creating" | "signing" | "authorizing" | "paying" | "confirming";
|
|
319
116
|
type FundingResult = {
|
|
@@ -338,7 +135,7 @@ interface FundWithTransferRest {
|
|
|
338
135
|
maxPolls?: number;
|
|
339
136
|
sleep?: (ms: number) => Promise<void>;
|
|
340
137
|
}
|
|
341
|
-
declare function fundWithChainTransfer(api:
|
|
138
|
+
declare function fundWithChainTransfer(api: FundingTransferApi, wallet: FundingWallet, options: FundWithTransferOptions): Promise<FundingResult>;
|
|
342
139
|
|
|
343
140
|
declare const IPMarketplaceABI: readonly [{
|
|
344
141
|
readonly type: "impl";
|
|
@@ -8325,17 +8122,23 @@ declare function mintedTokenIdFromReceipt(receipt: ReceiptLike, contract: string
|
|
|
8325
8122
|
interface ReceiptProvider {
|
|
8326
8123
|
getTransactionReceipt(txHash: string): Promise<unknown>;
|
|
8327
8124
|
}
|
|
8328
|
-
|
|
8329
|
-
|
|
8125
|
+
interface IntentClient {
|
|
8126
|
+
api: {
|
|
8127
|
+
intents: Pick<IntentsApi, "submitSignature" | "confirm" | "syncTransaction">;
|
|
8128
|
+
};
|
|
8129
|
+
provider: ReceiptProvider;
|
|
8130
|
+
}
|
|
8131
|
+
declare function confirmIntentBestEffort(client: IntentClient, intentId: string, txHash: string): Promise<void>;
|
|
8132
|
+
declare function syncTransactionBestEffort(client: IntentClient, txHash: string, timeoutMs?: number, retryMs?: number): Promise<void>;
|
|
8330
8133
|
declare function assertTransactionSucceeded(provider: ReceiptProvider, txHash: string, retryDelaysMs?: readonly number[]): Promise<ReceiptLike>;
|
|
8331
8134
|
interface ExecuteIntentOpts {
|
|
8332
8135
|
confirm?: boolean;
|
|
8333
8136
|
}
|
|
8334
|
-
declare function executeIntent(signer: StarknetVenueSigner, client:
|
|
8137
|
+
declare function executeIntent(signer: StarknetVenueSigner, client: IntentClient, intent: ApiIntentCreated, opts?: ExecuteIntentOpts): Promise<{
|
|
8335
8138
|
txHash: string;
|
|
8336
8139
|
receipt: ReceiptLike;
|
|
8337
8140
|
}>;
|
|
8338
|
-
declare function executeIntents(signer: StarknetVenueSigner, client:
|
|
8141
|
+
declare function executeIntents(signer: StarknetVenueSigner, client: IntentClient, intents: ApiIntentCreated[], opts?: ExecuteIntentOpts): Promise<{
|
|
8339
8142
|
txHash: string;
|
|
8340
8143
|
receipt: ReceiptLike;
|
|
8341
8144
|
}>;
|
|
@@ -8391,7 +8194,7 @@ interface TypedDataSigner {
|
|
|
8391
8194
|
}
|
|
8392
8195
|
interface SponsoredExecuteConfig {
|
|
8393
8196
|
proxyUrl: string;
|
|
8394
|
-
fetchImpl?:
|
|
8197
|
+
fetchImpl?: FetchLike;
|
|
8395
8198
|
headers?: Record<string, string>;
|
|
8396
8199
|
}
|
|
8397
8200
|
type SponsoredRequest = {
|
|
@@ -8414,253 +8217,81 @@ declare function executeSponsored(config: SponsoredExecuteConfig, signer: TypedD
|
|
|
8414
8217
|
|
|
8415
8218
|
declare function encodeByteArray(str: string): string[];
|
|
8416
8219
|
|
|
8417
|
-
declare function
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
declare function deriveOwnerKeyPair(secret: Uint8Array, recipientId: string): {
|
|
8423
|
-
privateKey: string;
|
|
8424
|
-
publicKey: string;
|
|
8425
|
-
};
|
|
8426
|
-
|
|
8427
|
-
declare function ownerConstructorCalldata(ownerPubkey: BigNumberish): string[];
|
|
8428
|
-
declare function computeAccountAddress(ownerPubkey: BigNumberish, salt?: BigNumberish): string;
|
|
8429
|
-
|
|
8430
|
-
declare function computeOwnerGuid(ownerPubkey: BigNumberish): string;
|
|
8431
|
-
declare function buildAddOwnerCall(accountAddress: string, addOwnerPubkey: BigNumberish): Call;
|
|
8432
|
-
declare function buildRemoveOwnerCall(accountAddress: string, removeOwnerPubkey: BigNumberish): Call;
|
|
8433
|
-
declare function buildRemoveOwnerByGuidCall(accountAddress: string, ownerGuid: BigNumberish): Call;
|
|
8434
|
-
|
|
8435
|
-
declare function buildDeployAccountParams(ownerPubkey: BigNumberish, salt?: BigNumberish): DeployAccountContractPayload;
|
|
8436
|
-
|
|
8437
|
-
declare const SIGNER_TYPE_NAMES: readonly ["Starknet", "Secp256k1", "Secp256r1"];
|
|
8438
|
-
type SignerTypeName = (typeof SIGNER_TYPE_NAMES)[number];
|
|
8439
|
-
interface GuardianInfo {
|
|
8440
|
-
type: SignerTypeName;
|
|
8441
|
-
guid: string;
|
|
8442
|
-
storedValue: string;
|
|
8443
|
-
}
|
|
8444
|
-
declare function buildSetFirstGuardianCall(address: string, guardianPubkey: string): Call;
|
|
8445
|
-
declare function buildTriggerEscapeOwnerCall(targetAddress: string, newOwnerPubkey: string): Call;
|
|
8446
|
-
declare function buildCompleteEscapeOwnerCall(targetAddress: string): Call;
|
|
8447
|
-
declare function buildCancelEscapeCall(address: string): Call;
|
|
8448
|
-
declare function decodeGuardiansInfo(res: string[]): GuardianInfo[];
|
|
8449
|
-
type EscapeTypeName = "None" | "Guardian" | "Owner";
|
|
8450
|
-
type EscapeStatusName = "None" | "NotReady" | "Ready" | "Expired";
|
|
8451
|
-
interface EscapeInfo {
|
|
8452
|
-
readyAt: number;
|
|
8453
|
-
escapeType: EscapeTypeName;
|
|
8454
|
-
status: EscapeStatusName;
|
|
8220
|
+
declare function populateCall(abi: unknown, contractAddress: string, entrypoint: string, args: unknown[]): Call;
|
|
8221
|
+
interface DeployCollectionArgs {
|
|
8222
|
+
name: string;
|
|
8223
|
+
symbol: string;
|
|
8224
|
+
baseUri: string;
|
|
8455
8225
|
}
|
|
8456
|
-
declare
|
|
8457
|
-
|
|
8458
|
-
declare function getOwners(provider: ProviderInterface, address: string): Promise<GuardianInfo[]>;
|
|
8459
|
-
declare function getEscape(provider: ProviderInterface, address: string): Promise<EscapeInfo>;
|
|
8460
|
-
declare function getEscapeSecurityPeriod(provider: ProviderInterface, address: string): Promise<number>;
|
|
8461
|
-
|
|
8462
|
-
declare function deriveAesKey(prfSecret: Uint8Array, hkdfInfo: Uint8Array): Promise<CryptoKey>;
|
|
8463
|
-
declare function generateStarkKeyPair(): {
|
|
8464
|
-
privateKeyHex: string;
|
|
8465
|
-
publicKeyHex: string;
|
|
8226
|
+
declare const popFactoryCalls: {
|
|
8227
|
+
createCollection: (factory: string, p: CreatePopCollectionParams) => Call;
|
|
8466
8228
|
};
|
|
8467
|
-
declare
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
privateKeyHex: string;
|
|
8472
|
-
publicKeyHex: string;
|
|
8229
|
+
declare const ticketCalls: {
|
|
8230
|
+
deployCollection: (factory: string, p: DeployCollectionArgs) => Call;
|
|
8231
|
+
createTicket: (p: CreateTicketParams) => Call;
|
|
8232
|
+
mint: (p: MintTicketsParams) => Call;
|
|
8473
8233
|
};
|
|
8474
|
-
declare
|
|
8475
|
-
|
|
8476
|
-
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
}
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
}
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
}
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
}
|
|
8505
|
-
|
|
8506
|
-
|
|
8234
|
+
declare const clubCalls: {
|
|
8235
|
+
deployCollection: (factory: string, p: DeployCollectionArgs) => Call;
|
|
8236
|
+
createMembership: (p: CreateMembershipParams) => Call;
|
|
8237
|
+
mint: (p: MintMembershipsParams) => Call;
|
|
8238
|
+
};
|
|
8239
|
+
type Id = bigint | string;
|
|
8240
|
+
declare const sponsorshipCalls: {
|
|
8241
|
+
createOffer: (contract: string, p: CreateSponsorshipOfferParams) => Call;
|
|
8242
|
+
setOfferOpen: (contract: string, p: {
|
|
8243
|
+
offerId: Id;
|
|
8244
|
+
open: boolean;
|
|
8245
|
+
}) => Call;
|
|
8246
|
+
placeBid: (contract: string, p: {
|
|
8247
|
+
offerId: Id;
|
|
8248
|
+
amount: Id;
|
|
8249
|
+
paymentToken: string;
|
|
8250
|
+
}) => Call[];
|
|
8251
|
+
retractBid: (contract: string, p: {
|
|
8252
|
+
offerId: Id;
|
|
8253
|
+
}) => Call;
|
|
8254
|
+
acceptBid: (contract: string, p: {
|
|
8255
|
+
offerId: Id;
|
|
8256
|
+
sponsor: string;
|
|
8257
|
+
}) => Call;
|
|
8258
|
+
propose: (contract: string, p: ProposeSponsorshipParams) => Call;
|
|
8259
|
+
withdrawProposal: (contract: string, p: {
|
|
8260
|
+
proposalId: Id;
|
|
8261
|
+
}) => Call;
|
|
8262
|
+
acceptProposal: (contract: string, p: {
|
|
8263
|
+
proposalId: Id;
|
|
8264
|
+
}) => Call;
|
|
8265
|
+
rejectProposal: (contract: string, p: {
|
|
8266
|
+
proposalId: Id;
|
|
8267
|
+
}) => Call;
|
|
8268
|
+
};
|
|
8269
|
+
declare const editionCalls: {
|
|
8270
|
+
deployCollection: (factory: string, p: DeployCollectionArgs) => Call;
|
|
8271
|
+
mintEdition: (p: MintEditionParams) => Call;
|
|
8272
|
+
batchMintEdition: (p: BatchMintEditionParams) => Call;
|
|
8273
|
+
addSupply: (p: AddSupplyParams) => Call;
|
|
8274
|
+
setDefaultRoyalty: (p: {
|
|
8275
|
+
collection: string;
|
|
8276
|
+
receiver: string;
|
|
8277
|
+
feeNumerator: number;
|
|
8278
|
+
}) => Call;
|
|
8279
|
+
setTokenRoyalty: (p: {
|
|
8280
|
+
collection: string;
|
|
8281
|
+
tokenId: Id;
|
|
8282
|
+
receiver: string;
|
|
8283
|
+
feeNumerator: number;
|
|
8284
|
+
}) => Call;
|
|
8285
|
+
setApprovalForAll: (p: {
|
|
8286
|
+
collection: string;
|
|
8287
|
+
operator: string;
|
|
8288
|
+
approved: boolean;
|
|
8289
|
+
}) => Call;
|
|
8507
8290
|
};
|
|
8508
|
-
declare function describeGuardianStatus(guardians: GuardianInfo[]): GuardianStatus;
|
|
8509
|
-
type RecoveryAction = "start" | "complete" | "none";
|
|
8510
|
-
declare function describeRecoveryAction(escape: EscapeInfo): RecoveryAction;
|
|
8511
|
-
|
|
8512
|
-
declare function normalizeWalletAddress(address: string): string;
|
|
8513
|
-
declare function isValidStarknetAddress(address: string): boolean;
|
|
8514
|
-
declare function isDeployed(provider: ReceiptProviderLike, address: string): Promise<boolean>;
|
|
8515
|
-
|
|
8516
|
-
interface SelfFundFeeEstimate {
|
|
8517
|
-
feeRaw: bigint;
|
|
8518
|
-
unit: string;
|
|
8519
|
-
balanceRaw: bigint | null;
|
|
8520
|
-
}
|
|
8521
|
-
type SelfFundConsentHandler = (feeEstimate: Promise<SelfFundFeeEstimate | null>) => Promise<boolean>;
|
|
8522
|
-
interface SelfFundConsent {
|
|
8523
|
-
registerHandler(handler: SelfFundConsentHandler | null): void;
|
|
8524
|
-
request(input: {
|
|
8525
|
-
address?: string;
|
|
8526
|
-
calls?: Call[];
|
|
8527
|
-
}): Promise<boolean>;
|
|
8528
|
-
}
|
|
8529
|
-
declare function createSelfFundConsent(estimateFee: (address: string, calls: Call[]) => Promise<SelfFundFeeEstimate>): SelfFundConsent;
|
|
8530
|
-
|
|
8531
|
-
interface SelfFundedDeps {
|
|
8532
|
-
provider: () => ProviderInterface;
|
|
8533
|
-
}
|
|
8534
|
-
declare function accountFor(provider: ProviderInterface, address: string, privateKeyHex: string): Account;
|
|
8535
|
-
declare function estimateSelfFundedFee(provider: ProviderInterface, address: string, calls: Call[]): Promise<SelfFundFeeEstimate>;
|
|
8536
|
-
declare function selfFundedExecutor(deps: SelfFundedDeps): WalletExecutor;
|
|
8537
|
-
interface SponsoredDeps extends SelfFundedDeps {
|
|
8538
|
-
proxyUrl: string;
|
|
8539
|
-
consent: SelfFundConsent;
|
|
8540
|
-
fetchImpl?: typeof fetch;
|
|
8541
|
-
fallback?: WalletExecutor;
|
|
8542
|
-
}
|
|
8543
|
-
declare function sponsoredExecutor(deps: SponsoredDeps): WalletExecutor;
|
|
8544
|
-
|
|
8545
|
-
type DeploymentStep = "creating-passkey" | "deploying";
|
|
8546
|
-
interface DeploymentResult {
|
|
8547
|
-
sealed: SealedOwner;
|
|
8548
|
-
}
|
|
8549
|
-
declare function deploySponsored(input: {
|
|
8550
|
-
proxyUrl: string;
|
|
8551
|
-
provider: ProviderInterface;
|
|
8552
|
-
ownerAddress: string;
|
|
8553
|
-
ownerPubKey: string;
|
|
8554
|
-
privateKeyHex: string;
|
|
8555
|
-
salt?: string;
|
|
8556
|
-
fetchImpl?: typeof fetch;
|
|
8557
|
-
}): Promise<ExecutedTransaction>;
|
|
8558
|
-
declare function deploySelfFunded(input: {
|
|
8559
|
-
provider: ProviderInterface;
|
|
8560
|
-
ownerAddress: string;
|
|
8561
|
-
ownerPubKey: string;
|
|
8562
|
-
privateKeyHex: string;
|
|
8563
|
-
}): Promise<ExecutedTransaction>;
|
|
8564
|
-
declare function waitUntilDeployed(provider: ProviderInterface, address: string, timeoutMs?: number, sleep?: (ms: number) => Promise<void>): Promise<void>;
|
|
8565
|
-
interface DeploymentDeps {
|
|
8566
|
-
store: {
|
|
8567
|
-
load(): SealedOwner | null;
|
|
8568
|
-
save(sealed: SealedOwner): void;
|
|
8569
|
-
notifyChange(): void;
|
|
8570
|
-
};
|
|
8571
|
-
passkey: {
|
|
8572
|
-
createOwnerKey(): Promise<{
|
|
8573
|
-
sealed: SealedOwner;
|
|
8574
|
-
privateKeyHex: string;
|
|
8575
|
-
}>;
|
|
8576
|
-
unlockOwnerKey(sealed: SealedOwner): Promise<string>;
|
|
8577
|
-
};
|
|
8578
|
-
provider: () => ProviderInterface;
|
|
8579
|
-
deployProxyUrl?: string;
|
|
8580
|
-
fetchImpl?: typeof fetch;
|
|
8581
|
-
deploySponsoredImpl?: typeof deploySponsored;
|
|
8582
|
-
deploySelfFundedImpl?: typeof deploySelfFunded;
|
|
8583
|
-
waitUntilDeployedImpl?: typeof waitUntilDeployed;
|
|
8584
|
-
isDeployedImpl?: typeof isDeployed;
|
|
8585
|
-
}
|
|
8586
|
-
declare function completeDeployment(deps: DeploymentDeps, onStep: (step: DeploymentStep) => void, options?: {
|
|
8587
|
-
forceNew?: boolean;
|
|
8588
|
-
}): Promise<DeploymentResult>;
|
|
8589
|
-
interface DeploymentCoordinator {
|
|
8590
|
-
run(onStep: (step: DeploymentStep) => void, options?: {
|
|
8591
|
-
forceNew?: boolean;
|
|
8592
|
-
}): Promise<DeploymentResult>;
|
|
8593
|
-
isDeploying(): boolean;
|
|
8594
|
-
}
|
|
8595
|
-
declare function createDeploymentCoordinator(execute: (onStep: (step: DeploymentStep) => void, options: {
|
|
8596
|
-
forceNew?: boolean;
|
|
8597
|
-
}) => Promise<DeploymentResult>): DeploymentCoordinator;
|
|
8598
|
-
|
|
8599
|
-
interface DeviceEntry {
|
|
8600
|
-
guid: string;
|
|
8601
|
-
type: GuardianInfo["type"];
|
|
8602
|
-
isThisDevice: boolean;
|
|
8603
|
-
}
|
|
8604
|
-
declare function describeDevices(owners: GuardianInfo[], thisDevicePubkey: string): DeviceEntry[];
|
|
8605
|
-
declare function canRemoveDevice(devices: DeviceEntry[], guid: string): boolean;
|
|
8606
|
-
interface MediaWalletConfig {
|
|
8607
|
-
store: OwnerStore;
|
|
8608
|
-
passkey: PasskeyOwner;
|
|
8609
|
-
executor: WalletExecutor;
|
|
8610
|
-
provider: () => ProviderInterface;
|
|
8611
|
-
unlockTtlMs?: number;
|
|
8612
|
-
backendUrl?: string;
|
|
8613
|
-
deployProxyUrl?: string;
|
|
8614
|
-
fetchImpl?: typeof fetch;
|
|
8615
|
-
walletIntents?: (params: CreateWalletManageIntentParams) => Promise<{
|
|
8616
|
-
id: string;
|
|
8617
|
-
calls: Call[];
|
|
8618
|
-
}>;
|
|
8619
|
-
}
|
|
8620
|
-
interface MediaWallet {
|
|
8621
|
-
store: OwnerStore;
|
|
8622
|
-
passkey: PasskeyOwner;
|
|
8623
|
-
lock(address: string): void;
|
|
8624
|
-
signerFor(sealed: SealedOwner): {
|
|
8625
|
-
address: string;
|
|
8626
|
-
signTypedData(data: TypedData): Promise<string[]>;
|
|
8627
|
-
execute(calls: Call[], opts?: {
|
|
8628
|
-
intentIds?: string[];
|
|
8629
|
-
}): Promise<{
|
|
8630
|
-
txHash: string;
|
|
8631
|
-
}>;
|
|
8632
|
-
};
|
|
8633
|
-
run(sealed: SealedOwner, calls: Call[], userAddress?: string, intentIds?: string[]): Promise<ExecutedTransaction>;
|
|
8634
|
-
getGuardians(address: string): Promise<GuardianInfo[]>;
|
|
8635
|
-
getEscape(address: string): Promise<EscapeInfo>;
|
|
8636
|
-
getEscapeSecurityPeriod(address: string): Promise<number>;
|
|
8637
|
-
setFirstGuardian(sealed: SealedOwner, guardianPubkey: string): Promise<string>;
|
|
8638
|
-
triggerEscapeOwner(guardianSealed: SealedOwner, targetAddress: string, newOwnerPubkey: string): Promise<string>;
|
|
8639
|
-
completeEscapeOwner(guardianSealed: SealedOwner, targetAddress: string): Promise<string>;
|
|
8640
|
-
cancelEscape(sealed: SealedOwner): Promise<string>;
|
|
8641
|
-
getOwners(address: string): Promise<GuardianInfo[]>;
|
|
8642
|
-
isOwnerOf(accountAddress: string, devicePubkey: string): Promise<boolean>;
|
|
8643
|
-
addDevice(sealed: SealedOwner, devicePubkey: string): Promise<string>;
|
|
8644
|
-
removeDevice(sealed: SealedOwner, ownerGuid: string): Promise<string>;
|
|
8645
|
-
completeDeployment(onStep: (step: DeploymentStep) => void, options?: {
|
|
8646
|
-
forceNew?: boolean;
|
|
8647
|
-
}): Promise<DeploymentResult>;
|
|
8648
|
-
isDeploying(): boolean;
|
|
8649
|
-
}
|
|
8650
|
-
declare function createMediaWallet(config: MediaWalletConfig): MediaWallet;
|
|
8651
|
-
|
|
8652
|
-
interface SessionWallet {
|
|
8653
|
-
walletAddress: string;
|
|
8654
|
-
needsKeySetup: boolean;
|
|
8655
|
-
}
|
|
8656
|
-
interface SessionWalletClaimDeps {
|
|
8657
|
-
createOwnerKey(): Promise<CreatedOwner>;
|
|
8658
|
-
loadOwner(): SealedOwner | null;
|
|
8659
|
-
saveOwner(sealed: SealedOwner): void;
|
|
8660
|
-
removeOwner(sealed: SealedOwner, ownerGuid: string): Promise<unknown>;
|
|
8661
|
-
}
|
|
8662
|
-
declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, walletAddress: string, deps: SessionWalletClaimDeps): Promise<void>;
|
|
8663
8291
|
|
|
8664
|
-
|
|
8292
|
+
declare function buildOrderTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
8293
|
+
declare function build1155OrderTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
8294
|
+
declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
8295
|
+
declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
8665
8296
|
|
|
8666
|
-
export {
|
|
8297
|
+
export { AddSupplyParams, BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, CreateDropParams, CreatePopCollectionParams, CreatorCoinFactoryABI, DROP_MAX_CLAIM_QUANTITY, type DeployCollectionArgs, type DeployingServiceId, DropCollectionABI, DropFactoryABI, type DropMintCost, DropTerms, type ExecuteIntentOpts, type FeeSurface, type FundWithTransferOptions, type FundingResult, type FundingStep, type FundingTransferApi, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IntentClient, Medialane1155ABI, MedialaneClient, MintEditionParams, POPCollectionABI, POPFactoryABI, type ReceiptLike, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsoredRequest, type SponsorshipFailureCode, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, type TypedDataSigner, VenueSigner, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildFundingTransferCall, buildOrderTypedData, buybackQuoteRaw, clubCalls, toRaw as coinToRaw, confirmIntentBestEffort, createChainProvider, deployedCollectionFromReceipt, dropCalls, dropMintCost, editionCalls, encodeByteArray, erc20Balance, executeIntent, executeIntents, executeSponsored, fdvHuman, feeAmount, feeBps, fundWithChainTransfer, fundingApiFor, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, popFactoryCalls, populateCall, requestSiwsToken, signInWithWallet, sponsorshipCalls, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, ticketCalls, toContractTerms as toDropContractTerms, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol };
|