@medialane/sdk 0.173.0 → 0.175.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkAAH6ZM7O_cjs = require('../chunk-AAH6ZM7O.cjs');
3
+ var chunk46LSYJEM_cjs = require('../chunk-46LSYJEM.cjs');
4
4
  var chunkVJVBWHAD_cjs = require('../chunk-VJVBWHAD.cjs');
5
5
  var starknet = require('starknet');
6
6
  var hkdf_js = require('@noble/hashes/hkdf.js');
@@ -33,7 +33,7 @@ function getChainId(config) {
33
33
  return starknet.constants.StarknetChainId.SN_MAIN;
34
34
  }
35
35
  function resolveToken(currency) {
36
- const token = chunkAAH6ZM7O_cjs.SUPPORTED_TOKENS.find(
36
+ const token = chunk46LSYJEM_cjs.SUPPORTED_TOKENS.find(
37
37
  (t) => t.symbol === currency.toUpperCase() || t.address.toLowerCase() === currency.toLowerCase()
38
38
  );
39
39
  if (!token) throw new MedialaneError(`Unsupported currency: ${currency}`, "INVALID_PARAMS");
@@ -44,7 +44,7 @@ function getProvider(config) {
44
44
  let p = _providerCache.get(config);
45
45
  if (!p) {
46
46
  const urls = [config.rpcUrl];
47
- p = new starknet.RpcProvider({ nodeUrl: urls[0], baseFetch: chunkAAH6ZM7O_cjs.createFailoverFetch(urls) });
47
+ p = new starknet.RpcProvider({ nodeUrl: urls[0], baseFetch: chunk46LSYJEM_cjs.createFailoverFetch(urls) });
48
48
  _providerCache.set(config, p);
49
49
  }
50
50
  return p;
@@ -10415,7 +10415,7 @@ function merkleTree(leafHashes) {
10415
10415
  };
10416
10416
  }
10417
10417
  function buildPopAllowlist(addresses) {
10418
- const unique = [...new Set(addresses.map((a) => chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", a)))];
10418
+ const unique = [...new Set(addresses.map((a) => chunk46LSYJEM_cjs.normalizeAddress("STARKNET", a)))];
10419
10419
  if (unique.length === 0) throw new Error("An allowlist needs at least one address");
10420
10420
  const leaves = unique.map((address) => ({ address, leaf: popLeafHash(address) }));
10421
10421
  const tree = merkleTree(leaves.map((l) => l.leaf));
@@ -10441,7 +10441,7 @@ function decodePopClaimFragment(fragment) {
10441
10441
 
10442
10442
  // src/starknet/pop-claim.ts
10443
10443
  function popClaimLinks(origin, collection, list) {
10444
- const base = `${origin}${chunkAAH6ZM7O_cjs.collectionHref("STARKNET", collection)}`;
10444
+ const base = `${origin}${chunk46LSYJEM_cjs.collectionHref("STARKNET", collection)}`;
10445
10445
  return Object.entries(list.proofs).map(([address, proof]) => ({
10446
10446
  address,
10447
10447
  url: `${base}${encodePopClaimFragment(proof)}`
@@ -10451,7 +10451,7 @@ function popClaimLinksCsv(links) {
10451
10451
  return ["address,claim_link", ...links.map((l) => `${l.address},${l.url}`)].join("\n");
10452
10452
  }
10453
10453
  async function popClaimInfo(provider, collection) {
10454
- const contractAddress = chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", collection);
10454
+ const contractAddress = chunk46LSYJEM_cjs.normalizeAddress("STARKNET", collection);
10455
10455
  const [root, end] = await Promise.all([
10456
10456
  provider.callContract({ contractAddress, entrypoint: "allowlist_root", calldata: [] }),
10457
10457
  provider.callContract({ contractAddress, entrypoint: "claim_end_time", calldata: [] })
@@ -10468,7 +10468,7 @@ function popClaimState(input) {
10468
10468
  if (!wallet || !verifyPopProof(info.root, wallet, proof)) return "wrong-wallet";
10469
10469
  return "ready";
10470
10470
  }
10471
- var addr = (a) => chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", a);
10471
+ var addr = (a) => chunk46LSYJEM_cjs.normalizeAddress("STARKNET", a);
10472
10472
  var byteArrayFelts = (s) => starknet.CallData.compile([starknet.byteArray.byteArrayFromString(s)]);
10473
10473
  var popCalls = {
10474
10474
  claim(collection, proof) {
@@ -10523,9 +10523,9 @@ var PopService = class {
10523
10523
  };
10524
10524
  async function popHasClaimed(provider, collection, address) {
10525
10525
  const res = await provider.callContract({
10526
- contractAddress: chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", collection),
10526
+ contractAddress: chunk46LSYJEM_cjs.normalizeAddress("STARKNET", collection),
10527
10527
  entrypoint: "has_claimed",
10528
- calldata: [chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address)]
10528
+ calldata: [chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address)]
10529
10529
  });
10530
10530
  return BigInt(res[0] ?? "0x0") !== 0n;
10531
10531
  }
@@ -10547,7 +10547,7 @@ function buildFeeCall(p, cfg) {
10547
10547
  };
10548
10548
  }
10549
10549
  var DROP_MAX_CLAIM_QUANTITY = 50n;
10550
- var addr2 = (a) => chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", a);
10550
+ var addr2 = (a) => chunk46LSYJEM_cjs.normalizeAddress("STARKNET", a);
10551
10551
  var factoryData = new starknet.CallData(DropFactoryABI);
10552
10552
  var collectionData = new starknet.CallData(DropCollectionABI);
10553
10553
  function toContractTerms(t) {
@@ -10617,7 +10617,7 @@ function dropMintCost(price, quantity, feeBps2) {
10617
10617
  }
10618
10618
 
10619
10619
  // src/starknet/drop-state.ts
10620
- var hex = (v) => chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", v ?? "0x0");
10620
+ var hex = (v) => chunk46LSYJEM_cjs.normalizeAddress("STARKNET", v ?? "0x0");
10621
10621
  var u256 = (low, high) => BigInt(low ?? "0x0") + (BigInt(high ?? "0x0") << 128n);
10622
10622
  async function readDrop(provider, collection) {
10623
10623
  const contractAddress = hex(collection);
@@ -10672,7 +10672,7 @@ function dropMintState(input) {
10672
10672
  return { state: "ready", maxQuantity: max };
10673
10673
  }
10674
10674
  function dropClaimLinks(origin, collection, list) {
10675
- const base = `${origin}${chunkAAH6ZM7O_cjs.dropHref(collection)}`;
10675
+ const base = `${origin}${chunk46LSYJEM_cjs.dropHref(collection)}`;
10676
10676
  return Object.entries(list.proofs).map(([address, proof]) => ({
10677
10677
  address,
10678
10678
  url: `${base}${encodePopClaimFragment(proof)}`
@@ -10724,14 +10724,14 @@ var ERC1155CollectionService = class {
10724
10724
  _factory(account) {
10725
10725
  return newContract(
10726
10726
  IPCollection1155FactoryABI,
10727
- chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", this.factoryAddress),
10727
+ chunk46LSYJEM_cjs.normalizeAddress("STARKNET", this.factoryAddress),
10728
10728
  account
10729
10729
  );
10730
10730
  }
10731
10731
  _collection(address, account) {
10732
10732
  return newContract(
10733
10733
  IPCollection1155ABI,
10734
- chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address),
10734
+ chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address),
10735
10735
  account
10736
10736
  );
10737
10737
  }
@@ -10959,20 +10959,20 @@ function buildLaunchOnEkuboCalls(params) {
10959
10959
  }
10960
10960
  var CREATOR_COIN_CREATED_SELECTOR = starknet.hash.getSelectorFromName("CreatorCoinCreated");
10961
10961
  function parseCreatorCoinCreated(receipt) {
10962
- const factory = chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", chunkVJVBWHAD_cjs.getStarknetCoordinates("STARKNET").creatorCoinFactory);
10962
+ const factory = chunk46LSYJEM_cjs.normalizeAddress("STARKNET", chunkVJVBWHAD_cjs.getStarknetCoordinates("STARKNET").creatorCoinFactory);
10963
10963
  for (const ev of receipt?.events ?? []) {
10964
10964
  let from;
10965
10965
  try {
10966
- from = chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", ev.from_address ?? "");
10966
+ from = chunk46LSYJEM_cjs.normalizeAddress("STARKNET", ev.from_address ?? "");
10967
10967
  } catch {
10968
10968
  continue;
10969
10969
  }
10970
10970
  if (from !== factory) continue;
10971
10971
  const k0 = ev.keys?.[0];
10972
- if (!k0 || chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", k0) !== chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", CREATOR_COIN_CREATED_SELECTOR)) continue;
10972
+ if (!k0 || chunk46LSYJEM_cjs.normalizeAddress("STARKNET", k0) !== chunk46LSYJEM_cjs.normalizeAddress("STARKNET", CREATOR_COIN_CREATED_SELECTOR)) continue;
10973
10973
  const data = ev.data ?? [];
10974
10974
  if (data.length < 1) continue;
10975
- return chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", data[data.length - 1]);
10975
+ return chunk46LSYJEM_cjs.normalizeAddress("STARKNET", data[data.length - 1]);
10976
10976
  }
10977
10977
  throw new Error("Coin deployed but the coin address could not be read from the receipt");
10978
10978
  }
@@ -11008,14 +11008,14 @@ var TicketService = class {
11008
11008
  _factory(account, factoryAddress) {
11009
11009
  const address = factoryAddress ?? this.factoryAddress;
11010
11010
  if (!address) throw new Error("IP-Tickets factory address not configured for this chain");
11011
- return newContract(IPTicketCollectionFactoryABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address), account);
11011
+ return newContract(IPTicketCollectionFactoryABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address), account);
11012
11012
  }
11013
11013
  _collection(address, account) {
11014
- return newContract(IPTicketCollectionABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address), account);
11014
+ return newContract(IPTicketCollectionABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address), account);
11015
11015
  }
11016
11016
  _collectionRead(address) {
11017
11017
  const provider = new starknet.RpcProvider({ nodeUrl: this.config.rpcUrl });
11018
- return newContract(IPTicketCollectionABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address), provider);
11018
+ return newContract(IPTicketCollectionABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address), provider);
11019
11019
  }
11020
11020
  async deployCollection(account, params) {
11021
11021
  const call = this._factory(account, params.factoryAddress).populate("deploy_collection", [
@@ -11081,14 +11081,14 @@ var ClubService = class {
11081
11081
  _factory(account, factoryAddress) {
11082
11082
  const address = factoryAddress ?? this.factoryAddress;
11083
11083
  if (!address) throw new Error("IP-Club factory address not configured for this chain");
11084
- return newContract(IPClubFactoryABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address), account);
11084
+ return newContract(IPClubFactoryABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address), account);
11085
11085
  }
11086
11086
  _collection(address, account) {
11087
- return newContract(IPClubCollectionABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address), account);
11087
+ return newContract(IPClubCollectionABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address), account);
11088
11088
  }
11089
11089
  _collectionRead(address) {
11090
11090
  const provider = new starknet.RpcProvider({ nodeUrl: this.config.rpcUrl });
11091
- return newContract(IPClubCollectionABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address), provider);
11091
+ return newContract(IPClubCollectionABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address), provider);
11092
11092
  }
11093
11093
  async deployCollection(account, params) {
11094
11094
  const call = this._factory(account, params.factoryAddress).populate("deploy_collection", [
@@ -11158,7 +11158,7 @@ var SponsorshipService = class {
11158
11158
  if (!resolved) {
11159
11159
  throw new Error("IP-Sponsorship address not configured for this chain");
11160
11160
  }
11161
- return newContract(IPSponsorshipABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", resolved), account);
11161
+ return newContract(IPSponsorshipABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", resolved), account);
11162
11162
  }
11163
11163
  _contractRead(address) {
11164
11164
  const resolved = address ?? this.sponsorshipAddress;
@@ -11166,7 +11166,7 @@ var SponsorshipService = class {
11166
11166
  throw new Error("IP-Sponsorship address not configured for this chain");
11167
11167
  }
11168
11168
  const provider = new starknet.RpcProvider({ nodeUrl: this.config.rpcUrl });
11169
- return newContract(IPSponsorshipABI, chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", resolved), provider);
11169
+ return newContract(IPSponsorshipABI, chunk46LSYJEM_cjs.normalizeAddress("STARKNET", resolved), provider);
11170
11170
  }
11171
11171
  async createOffer(account, params) {
11172
11172
  const specificSponsor = params.specificSponsor ? new starknet.CairoOption(starknet.CairoOptionVariant.Some, params.specificSponsor) : new starknet.CairoOption(starknet.CairoOptionVariant.None);
@@ -11201,7 +11201,7 @@ var SponsorshipService = class {
11201
11201
  const approveCall = {
11202
11202
  contractAddress: params.paymentToken,
11203
11203
  entrypoint: "approve",
11204
- calldata: [chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", sponsorshipAddress), amount.low.toString(), amount.high.toString()]
11204
+ calldata: [chunk46LSYJEM_cjs.normalizeAddress("STARKNET", sponsorshipAddress), amount.low.toString(), amount.high.toString()]
11205
11205
  };
11206
11206
  const bidCall = this._contract(account, sponsorshipAddress).populate("place_bid", [
11207
11207
  starknet.cairo.uint256(params.offerId),
@@ -11328,7 +11328,7 @@ var SponsorshipService = class {
11328
11328
  // src/starknet/client.ts
11329
11329
  var MedialaneClient = class {
11330
11330
  constructor(rawConfig = {}) {
11331
- this.config = chunkAAH6ZM7O_cjs.resolveConfig(rawConfig);
11331
+ this.config = chunk46LSYJEM_cjs.resolveConfig(rawConfig);
11332
11332
  this.services = {
11333
11333
  pop: new PopService(this.config),
11334
11334
  drop: new DropService(this.config),
@@ -11339,9 +11339,9 @@ var MedialaneClient = class {
11339
11339
  sponsorship: new SponsorshipService(this.config)
11340
11340
  };
11341
11341
  if (!this.config.backendUrl) {
11342
- const sentinel = new chunkAAH6ZM7O_cjs.ApiClient("https://medialane-sdk-no-backend.invalid", this.config.apiKey);
11342
+ const sentinel = new chunk46LSYJEM_cjs.ApiClient("https://medialane-sdk-no-backend.invalid", this.config.apiKey);
11343
11343
  const apiMethodNames = new Set(
11344
- Object.getOwnPropertyNames(chunkAAH6ZM7O_cjs.ApiClient.prototype).filter(
11344
+ Object.getOwnPropertyNames(chunk46LSYJEM_cjs.ApiClient.prototype).filter(
11345
11345
  (k) => k !== "constructor" && typeof sentinel[k] === "function"
11346
11346
  )
11347
11347
  );
@@ -11358,7 +11358,7 @@ var MedialaneClient = class {
11358
11358
  }
11359
11359
  });
11360
11360
  } else {
11361
- this.api = new chunkAAH6ZM7O_cjs.ApiClient(this.config.backendUrl, this.config.apiKey, this.config.retryOptions, this.config.chain);
11361
+ this.api = new chunk46LSYJEM_cjs.ApiClient(this.config.backendUrl, this.config.apiKey, this.config.retryOptions, this.config.chain);
11362
11362
  }
11363
11363
  }
11364
11364
  get chain() {
@@ -11530,7 +11530,7 @@ function buildListingOrder(i, cfg) {
11530
11530
  salt: i.salt,
11531
11531
  counter: i.counter
11532
11532
  };
11533
- const typedData = chunkAAH6ZM7O_cjs.stringifyBigInts(buildOrderTypedData(orderParams, getChainId(cfg)));
11533
+ const typedData = chunk46LSYJEM_cjs.stringifyBigInts(buildOrderTypedData(orderParams, getChainId(cfg)));
11534
11534
  return { orderParams, typedData };
11535
11535
  }
11536
11536
  function buildOfferOrder(i, cfg) {
@@ -11551,11 +11551,11 @@ function buildOfferOrder(i, cfg) {
11551
11551
  salt: i.salt,
11552
11552
  counter: i.counter
11553
11553
  };
11554
- const typedData = chunkAAH6ZM7O_cjs.stringifyBigInts(buildOrderTypedData(orderParams, getChainId(cfg)));
11554
+ const typedData = chunk46LSYJEM_cjs.stringifyBigInts(buildOrderTypedData(orderParams, getChainId(cfg)));
11555
11555
  return { orderParams, typedData };
11556
11556
  }
11557
11557
  function registerPayload(orderParams, signature) {
11558
- return chunkAAH6ZM7O_cjs.stringifyBigInts({
11558
+ return chunk46LSYJEM_cjs.stringifyBigInts({
11559
11559
  parameters: {
11560
11560
  ...orderParams,
11561
11561
  offer: { ...orderParams.offer, item_type: starknet.shortString.encodeShortString(orderParams.offer.item_type) },
@@ -11586,14 +11586,14 @@ function buildFulfillCalls(a, cfg) {
11586
11586
  return fee ? [approve, fulfill, fee] : [approve, fulfill];
11587
11587
  }
11588
11588
  function buildCancelCalls(a, cfg) {
11589
- const cancelRequest = chunkAAH6ZM7O_cjs.stringifyBigInts({
11589
+ const cancelRequest = chunk46LSYJEM_cjs.stringifyBigInts({
11590
11590
  cancelation: { order_hash: a.orderHash, offerer: a.offerer },
11591
11591
  signature: a.signature
11592
11592
  });
11593
11593
  return [contractFor(cfg).populate("cancel_order", [cancelRequest])];
11594
11594
  }
11595
11595
  function buildCancelTypedData(orderHash, offerer, cfg) {
11596
- return chunkAAH6ZM7O_cjs.stringifyBigInts(buildCancellationTypedData({ order_hash: orderHash, offerer }, getChainId(cfg)));
11596
+ return chunk46LSYJEM_cjs.stringifyBigInts(buildCancellationTypedData({ order_hash: orderHash, offerer }, getChainId(cfg)));
11597
11597
  }
11598
11598
  function contractFor2(cfg) {
11599
11599
  return newContract(Medialane1155ABI, cfg.marketplace1155Contract, getProvider(cfg));
@@ -11616,7 +11616,7 @@ function buildListing1155Order(i, cfg) {
11616
11616
  salt: i.salt,
11617
11617
  counter: i.counter
11618
11618
  };
11619
- const typedData = chunkAAH6ZM7O_cjs.stringifyBigInts(
11619
+ const typedData = chunk46LSYJEM_cjs.stringifyBigInts(
11620
11620
  build1155OrderTypedData(orderParams, getChainId(cfg))
11621
11621
  );
11622
11622
  return { orderParams, typedData };
@@ -11639,13 +11639,13 @@ function buildOffer1155Order(i, cfg) {
11639
11639
  salt: i.salt,
11640
11640
  counter: i.counter
11641
11641
  };
11642
- const typedData = chunkAAH6ZM7O_cjs.stringifyBigInts(
11642
+ const typedData = chunk46LSYJEM_cjs.stringifyBigInts(
11643
11643
  build1155OrderTypedData(orderParams, getChainId(cfg))
11644
11644
  );
11645
11645
  return { orderParams, typedData };
11646
11646
  }
11647
11647
  function registerPayload2(orderParams, signature) {
11648
- return chunkAAH6ZM7O_cjs.stringifyBigInts({
11648
+ return chunk46LSYJEM_cjs.stringifyBigInts({
11649
11649
  parameters: {
11650
11650
  ...orderParams,
11651
11651
  offer: { ...orderParams.offer, item_type: starknet.shortString.encodeShortString(orderParams.offer.item_type) },
@@ -11676,14 +11676,14 @@ function buildFulfill1155Calls(a, cfg) {
11676
11676
  return fee ? [approve, fulfill, fee] : [approve, fulfill];
11677
11677
  }
11678
11678
  function buildCancel1155Calls(a, cfg) {
11679
- const cancelPayload = chunkAAH6ZM7O_cjs.stringifyBigInts({
11679
+ const cancelPayload = chunk46LSYJEM_cjs.stringifyBigInts({
11680
11680
  cancelation: { order_hash: a.orderHash, offerer: a.offerer },
11681
11681
  signature: a.signature
11682
11682
  });
11683
11683
  return [contractFor2(cfg).populate("cancel_order", [cancelPayload])];
11684
11684
  }
11685
11685
  function buildCancel1155TypedData(orderHash, offerer, cfg) {
11686
- return chunkAAH6ZM7O_cjs.stringifyBigInts(
11686
+ return chunk46LSYJEM_cjs.stringifyBigInts(
11687
11687
  build1155CancellationTypedData({ order_hash: orderHash, offerer }, getChainId(cfg))
11688
11688
  );
11689
11689
  }
@@ -12049,14 +12049,14 @@ async function assertTransactionSucceeded(provider, txHash, retryDelaysMs = RECE
12049
12049
  const receipt = await provider.getTransactionReceipt(txHash);
12050
12050
  const status = receipt.execution_status ?? receipt.status;
12051
12051
  if (status === "REVERTED" || status === "REJECTED") {
12052
- throw new chunkAAH6ZM7O_cjs.UserFacingError("Transaction was submitted but reverted onchain. Please check your balance and try again.");
12052
+ throw new chunk46LSYJEM_cjs.UserFacingError("Transaction was submitted but reverted onchain. Please check your balance and try again.");
12053
12053
  }
12054
12054
  if (status) return receipt;
12055
12055
  } catch (err) {
12056
12056
  if (err instanceof Error && err.message.includes("reverted onchain")) throw err;
12057
12057
  }
12058
12058
  }
12059
- throw new chunkAAH6ZM7O_cjs.UserFacingError("Verification timed out. Check your account for the transaction status.");
12059
+ throw new chunk46LSYJEM_cjs.UserFacingError("Verification timed out. Check your account for the transaction status.");
12060
12060
  }
12061
12061
  async function executeIntent(provider, signer, client, intent, opts = {}) {
12062
12062
  let calls;
@@ -12109,14 +12109,14 @@ function u2563(low, high) {
12109
12109
  return (BigInt(low ?? 0) + (BigInt(high ?? 0) << 128n)).toString();
12110
12110
  }
12111
12111
  function deployedCollectionFromReceipt(receipt, service) {
12112
- const factory = chunkAAH6ZM7O_cjs.getService(service)?.onchain?.STARKNET?.factoryAddress;
12112
+ const factory = chunk46LSYJEM_cjs.getService(service)?.onchain?.STARKNET?.factoryAddress;
12113
12113
  const { event, address } = DEPLOY_EVENTS[service];
12114
12114
  const selector = BigInt(starknet.hash.getSelectorFromName(event));
12115
12115
  for (const e of receipt.events ?? []) {
12116
12116
  if (factory && !sameFelt(e.from_address, factory)) continue;
12117
12117
  if (!sameFelt(e.keys?.[0], selector)) continue;
12118
12118
  const value = address(e);
12119
- if (value) return chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", value);
12119
+ if (value) return chunk46LSYJEM_cjs.normalizeAddress("STARKNET", value);
12120
12120
  }
12121
12121
  return null;
12122
12122
  }
@@ -12237,13 +12237,13 @@ function buildRemoveOwnerByGuidCall(accountAddress, ownerGuid) {
12237
12237
  }
12238
12238
  function buildDeployAccountParams(ownerPubkey, salt = 0) {
12239
12239
  return {
12240
- classHash: chunkAAH6ZM7O_cjs.STARKNET_MEDIAWALLET_CLASS_HASH,
12241
- constructorCalldata: chunkAAH6ZM7O_cjs.ownerConstructorCalldata(ownerPubkey),
12240
+ classHash: chunk46LSYJEM_cjs.STARKNET_MEDIAWALLET_CLASS_HASH,
12241
+ constructorCalldata: chunk46LSYJEM_cjs.ownerConstructorCalldata(ownerPubkey),
12242
12242
  addressSalt: starknet.num.toHex(salt),
12243
- contractAddress: chunkAAH6ZM7O_cjs.computeAccountAddress(ownerPubkey, salt)
12243
+ contractAddress: chunk46LSYJEM_cjs.computeAccountAddress(ownerPubkey, salt)
12244
12244
  };
12245
12245
  }
12246
- var norm = (address) => chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address);
12246
+ var norm = (address) => chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address);
12247
12247
  var SIGNER_TYPE_NAMES = ["Starknet", "Secp256k1", "Secp256r1"];
12248
12248
  function encodeFeltArray(items) {
12249
12249
  return [starknet.num.toHex(items.length), ...items];
@@ -12440,7 +12440,7 @@ var InvalidRecoveryKeyError = class extends Error {
12440
12440
  var canonicalAddress = (address) => `0x${BigInt(address).toString(16).padStart(64, "0")}`;
12441
12441
  function keyPair(privateKey) {
12442
12442
  try {
12443
- return chunkAAH6ZM7O_cjs.starkKeyPairFromPrivateKey(privateKey);
12443
+ return chunk46LSYJEM_cjs.starkKeyPairFromPrivateKey(privateKey);
12444
12444
  } catch {
12445
12445
  throw new InvalidRecoveryKeyError();
12446
12446
  }
@@ -12453,7 +12453,7 @@ function parseRecoveryKey(input) {
12453
12453
  const trimmed = input.trim();
12454
12454
  if (!trimmed.startsWith(PREFIX)) {
12455
12455
  const { privateKeyHex, publicKeyHex } = keyPair(trimmed);
12456
- return { walletAddress: chunkAAH6ZM7O_cjs.computeAccountAddress(publicKeyHex, 0), privateKey: privateKeyHex };
12456
+ return { walletAddress: chunk46LSYJEM_cjs.computeAccountAddress(publicKeyHex, 0), privateKey: privateKeyHex };
12457
12457
  }
12458
12458
  const parts = trimmed.slice(PREFIX.length).split(":");
12459
12459
  const [walletAddress, privateKey] = parts;
@@ -12475,7 +12475,7 @@ function describeRecoveryAction(escape) {
12475
12475
  return "none";
12476
12476
  }
12477
12477
  function normalizeWalletAddress(address) {
12478
- return chunkAAH6ZM7O_cjs.normalizeAddress("STARKNET", address);
12478
+ return chunk46LSYJEM_cjs.normalizeAddress("STARKNET", address);
12479
12479
  }
12480
12480
  function isValidStarknetAddress(address) {
12481
12481
  try {
@@ -12520,7 +12520,7 @@ async function estimateSelfFundedFee(provider, address, calls) {
12520
12520
  return { feeRaw: estimate.overall_fee, unit: estimate.unit, balanceRaw };
12521
12521
  }
12522
12522
  async function feeTokenBalance(provider, address, unit) {
12523
- const token = chunkAAH6ZM7O_cjs.getTokenBySymbol(unit === "FRI" ? "STRK" : "ETH");
12523
+ const token = chunk46LSYJEM_cjs.getTokenBySymbol(unit === "FRI" ? "STRK" : "ETH");
12524
12524
  if (!token) throw new Error(`No fee token for unit ${unit}`);
12525
12525
  const [low = "0x0", high = "0x0"] = await provider.callContract({
12526
12526
  contractAddress: token.address,
@@ -12552,7 +12552,7 @@ function sponsoredExecutor(deps) {
12552
12552
  { proxyUrl: deps.proxyUrl, fetchImpl: deps.fetchImpl },
12553
12553
  {
12554
12554
  address: userAddress,
12555
- signTypedData: async (data) => chunkAAH6ZM7O_cjs.signWithPrivateKey(privateKeyHex, starknet.typedData.getMessageHash(data, userAddress))
12555
+ signTypedData: async (data) => chunk46LSYJEM_cjs.signWithPrivateKey(privateKeyHex, starknet.typedData.getMessageHash(data, userAddress))
12556
12556
  },
12557
12557
  { intentIds }
12558
12558
  );
@@ -12612,7 +12612,7 @@ async function deploySelfFunded(input) {
12612
12612
  });
12613
12613
  const { transaction_hash } = await account.deployAccount({
12614
12614
  classHash,
12615
- constructorCalldata: chunkAAH6ZM7O_cjs.ownerConstructorCalldata(input.ownerPubKey),
12615
+ constructorCalldata: chunk46LSYJEM_cjs.ownerConstructorCalldata(input.ownerPubKey),
12616
12616
  addressSalt: 0,
12617
12617
  contractAddress: input.ownerAddress
12618
12618
  });
@@ -12680,7 +12680,7 @@ async function completeDeployment(deps, onStep, options = {}) {
12680
12680
  backendUrl: deps.backendUrl,
12681
12681
  walletAddress: address,
12682
12682
  signer: {
12683
- signMessage: async (td) => chunkAAH6ZM7O_cjs.signWithPrivateKey(privateKeyHex, starknet.typedData.getMessageHash(td, address))
12683
+ signMessage: async (td) => chunk46LSYJEM_cjs.signWithPrivateKey(privateKeyHex, starknet.typedData.getMessageHash(td, address))
12684
12684
  }
12685
12685
  });
12686
12686
  deps.store.notifyChange();
@@ -12779,7 +12779,7 @@ function createMediaWallet(config) {
12779
12779
  };
12780
12780
  const walletIntents = config.walletIntents ?? (async (params) => {
12781
12781
  if (!config.backendUrl) throw new Error("This wallet has no backend url configured");
12782
- const created = await new chunkAAH6ZM7O_cjs.ApiClient(config.backendUrl).createWalletManageIntent(params);
12782
+ const created = await new chunk46LSYJEM_cjs.ApiClient(config.backendUrl).createWalletManageIntent(params);
12783
12783
  return created.data;
12784
12784
  });
12785
12785
  const manage = async (sealed, params) => {
@@ -12796,7 +12796,7 @@ function createMediaWallet(config) {
12796
12796
  address: sealed.address,
12797
12797
  signTypedData: async (data) => {
12798
12798
  const privateKeyHex = await unlockOnce(sealed);
12799
- return chunkAAH6ZM7O_cjs.signWithPrivateKey(privateKeyHex, starknet.typedData.getMessageHash(data, sealed.address));
12799
+ return chunk46LSYJEM_cjs.signWithPrivateKey(privateKeyHex, starknet.typedData.getMessageHash(data, sealed.address));
12800
12800
  },
12801
12801
  execute: async (calls, opts) => {
12802
12802
  const { transactionHash } = await run(sealed, calls, void 0, opts?.intentIds);
@@ -12837,55 +12837,55 @@ async function claimSessionWallet(api, walletAddress, deps) {
12837
12837
 
12838
12838
  Object.defineProperty(exports, "InvalidStarkPrivateKeyError", {
12839
12839
  enumerable: true,
12840
- get: function () { return chunkAAH6ZM7O_cjs.InvalidStarkPrivateKeyError; }
12840
+ get: function () { return chunk46LSYJEM_cjs.InvalidStarkPrivateKeyError; }
12841
12841
  });
12842
12842
  Object.defineProperty(exports, "PasskeyCancelledError", {
12843
12843
  enumerable: true,
12844
- get: function () { return chunkAAH6ZM7O_cjs.PasskeyCancelledError; }
12844
+ get: function () { return chunk46LSYJEM_cjs.PasskeyCancelledError; }
12845
12845
  });
12846
12846
  Object.defineProperty(exports, "PasskeyUnsupportedError", {
12847
12847
  enumerable: true,
12848
- get: function () { return chunkAAH6ZM7O_cjs.PasskeyUnsupportedError; }
12848
+ get: function () { return chunk46LSYJEM_cjs.PasskeyUnsupportedError; }
12849
12849
  });
12850
12850
  Object.defineProperty(exports, "UserFacingError", {
12851
12851
  enumerable: true,
12852
- get: function () { return chunkAAH6ZM7O_cjs.UserFacingError; }
12852
+ get: function () { return chunk46LSYJEM_cjs.UserFacingError; }
12853
12853
  });
12854
12854
  Object.defineProperty(exports, "computeAccountAddress", {
12855
12855
  enumerable: true,
12856
- get: function () { return chunkAAH6ZM7O_cjs.computeAccountAddress; }
12856
+ get: function () { return chunk46LSYJEM_cjs.computeAccountAddress; }
12857
12857
  });
12858
12858
  Object.defineProperty(exports, "createPasskeyOwner", {
12859
12859
  enumerable: true,
12860
- get: function () { return chunkAAH6ZM7O_cjs.createPasskeyOwner; }
12860
+ get: function () { return chunk46LSYJEM_cjs.createPasskeyOwner; }
12861
12861
  });
12862
12862
  Object.defineProperty(exports, "deriveAesKey", {
12863
12863
  enumerable: true,
12864
- get: function () { return chunkAAH6ZM7O_cjs.deriveAesKey; }
12864
+ get: function () { return chunk46LSYJEM_cjs.deriveAesKey; }
12865
12865
  });
12866
12866
  Object.defineProperty(exports, "generateStarkKeyPair", {
12867
12867
  enumerable: true,
12868
- get: function () { return chunkAAH6ZM7O_cjs.generateStarkKeyPair; }
12868
+ get: function () { return chunk46LSYJEM_cjs.generateStarkKeyPair; }
12869
12869
  });
12870
12870
  Object.defineProperty(exports, "ownerConstructorCalldata", {
12871
12871
  enumerable: true,
12872
- get: function () { return chunkAAH6ZM7O_cjs.ownerConstructorCalldata; }
12872
+ get: function () { return chunk46LSYJEM_cjs.ownerConstructorCalldata; }
12873
12873
  });
12874
12874
  Object.defineProperty(exports, "sealPrivateKey", {
12875
12875
  enumerable: true,
12876
- get: function () { return chunkAAH6ZM7O_cjs.sealPrivateKey; }
12876
+ get: function () { return chunk46LSYJEM_cjs.sealPrivateKey; }
12877
12877
  });
12878
12878
  Object.defineProperty(exports, "signWithPrivateKey", {
12879
12879
  enumerable: true,
12880
- get: function () { return chunkAAH6ZM7O_cjs.signWithPrivateKey; }
12880
+ get: function () { return chunk46LSYJEM_cjs.signWithPrivateKey; }
12881
12881
  });
12882
12882
  Object.defineProperty(exports, "starkKeyPairFromPrivateKey", {
12883
12883
  enumerable: true,
12884
- get: function () { return chunkAAH6ZM7O_cjs.starkKeyPairFromPrivateKey; }
12884
+ get: function () { return chunk46LSYJEM_cjs.starkKeyPairFromPrivateKey; }
12885
12885
  });
12886
12886
  Object.defineProperty(exports, "unsealPrivateKey", {
12887
12887
  enumerable: true,
12888
- get: function () { return chunkAAH6ZM7O_cjs.unsealPrivateKey; }
12888
+ get: function () { return chunk46LSYJEM_cjs.unsealPrivateKey; }
12889
12889
  });
12890
12890
  exports.COIN_MAX_SUPPLY = MAX_SUPPLY;
12891
12891
  exports.COIN_MIN_SUPPLY = MIN_SUPPLY;
@@ -1,5 +1,5 @@
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 PopAllowlist, c8 as PopClaimLink, c9 as SealedOwner, ca as ReceiptProviderLike, cb as WalletExecutor, cc as ExecutedTransaction, cd as PasskeyOwner, bi as CreateWalletManageIntentParams, ce as CreatedOwner } from '../errors-BFqApRV3.cjs';
2
- export { cf as CreateCreatorCoinParams, cg as CreatorCoinGuarantees, ch as CreatorCoinReceiptLike, ci as EkuboLaunchParams, cj as EkuboPoolParams, ck as InvalidRecoveryKeyError, cl as MAX_HOLDERS_AT_LAUNCH, cm as MAX_TEAM_ALLOCATION_PERCENT, cn as OwnerSigner, bM as PasskeyCancelledError, co as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, cp as PopClaimInfo, cq as PopClaimState, cr as RecoveryKey, c1 as UserFacingError, cs as VALIDATED_EKUBO_PARAMS, ct as buildCreateCreatorCoinCall, cu as buildLaunchOnEkuboCalls, cv as buildPopAllowlist, cw as createPasskeyOwner, cx as decodePopClaimFragment, cy as encodePopClaimFragment, cz as encodeRecoveryKey, cA as getCreatorCoinGuarantees, cB as parseCreatorCoinCreated, cC as parseRecoveryKey, cD as popCalls, cE as popClaimInfo, cF as popClaimLinks, cG as popClaimLinksCsv, cH as popClaimState, cI as priceToEkuboParams, cJ as validatePrice, cK as verifyPopProof } from '../errors-BFqApRV3.cjs';
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';
@@ -8478,50 +8478,6 @@ interface DropMintCost {
8478
8478
  }
8479
8479
  declare function dropMintCost(price: bigint | string, quantity: bigint | string | number, feeBps: number): DropMintCost;
8480
8480
 
8481
- interface DropOnchain {
8482
- organizer: string;
8483
- /** Unix seconds; 0 = open from creation. */
8484
- startTime: number;
8485
- /** Unix seconds; 0 = never closes. */
8486
- endTime: number;
8487
- price: bigint;
8488
- paymentToken: string;
8489
- /** 0 = unlimited. */
8490
- maxPerWallet: bigint;
8491
- /** 0x0 = open to everyone. */
8492
- allowlistRoot: string;
8493
- /** 0 = no cap. */
8494
- maxSupply: bigint;
8495
- totalMinted: bigint;
8496
- }
8497
- /** A drop's organizer, terms, allowlist root and supply, read from chain. */
8498
- declare function readDrop(provider: Pick<ProviderInterface, "callContract">, collection: string): Promise<DropOnchain>;
8499
- /** How many tokens `wallet` has claimed from this drop (gifts not included). */
8500
- declare function dropClaimedBy(provider: Pick<ProviderInterface, "callContract">, collection: string, wallet: string): Promise<bigint>;
8501
- type DropMintStateKind = "loading" | "upcoming" | "ended" | "sold-out" | "no-wallet" | "no-link" | "not-on-list" | "limit-reached" | "insufficient-balance" | "ready";
8502
- interface DropMintState {
8503
- state: DropMintStateKind;
8504
- /** Largest quantity this wallet can claim now; 0 unless `ready`. */
8505
- maxQuantity: bigint;
8506
- }
8507
- /** What the mint button should show, decided before any transaction is sent. */
8508
- declare function dropMintState(input: {
8509
- drop: DropOnchain | null;
8510
- wallet: string | null;
8511
- /** `claimed_by(wallet)`; null while loading. */
8512
- claimed: bigint | null;
8513
- /** From the claim link; null when the page was opened without one. */
8514
- proof: string[] | null;
8515
- /** Wallet balance of the payment token; null while loading (ignored for free drops). */
8516
- balance: bigint | null;
8517
- /** Platform fee added to a mint, in basis points. */
8518
- feeBps: number;
8519
- /** Unix seconds. */
8520
- now: number;
8521
- }): DropMintState;
8522
- /** One claim link per allowlisted address: the drop page with the proof in its fragment. */
8523
- declare function dropClaimLinks(origin: string, collection: string, list: PopAllowlist): PopClaimLink[];
8524
-
8525
8481
  declare const SUGGESTED_DEFAULT_PRICE = 0.01;
8526
8482
  declare const MIN_SUPPLY = 1000n;
8527
8483
  declare const MAX_SUPPLY = 1000000000000n;
@@ -8814,4 +8770,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
8814
8770
 
8815
8771
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
8816
8772
 
8817
- 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, type DropMintState, type DropMintStateKind, type DropOnchain, 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, PopAllowlist, PopClaimLink, 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, dropClaimLinks, dropClaimedBy, dropMintCost, dropMintState, 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, readDrop, requestSiwsToken, sealPrivateKey, selfFundedExecutor, signInWithWallet, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractTerms as toDropContractTerms, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, waitUntilDeployed };
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 };