@medialane/sdk 0.118.2 → 0.119.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,4 +1,4 @@
1
- import { bg as ResolvedConfig, bo as TxResult, aC as CreatePopCollectionParams, an as ClaimConditions, ay as CreateDropParams, aH as CreateTicketParams, b1 as MintTicketsParams, aA as CreateMembershipParams, b0 as MintMembershipsParams, aF as CreateSponsorshipOfferParams, bd as ProposeSponsorshipParams, l as ApiClient, a_ as MedialaneConfig, a$ as MedialaneErrorCode, b6 as OrderDetails, R as ResolvedFeeConfig, F as ApiIntentCreated } from '../services-DNFeQEoF.cjs';
1
+ import { bh as ResolvedConfig, bp as TxResult, aD as CreatePopCollectionParams, ao as ClaimConditions, az as CreateDropParams, aI as CreateTicketParams, b2 as MintTicketsParams, aB as CreateMembershipParams, b1 as MintMembershipsParams, aG as CreateSponsorshipOfferParams, be as ProposeSponsorshipParams, l as ApiClient, a$ as MedialaneConfig, b0 as MedialaneErrorCode, b7 as OrderDetails, R as ResolvedFeeConfig, F as ApiIntentCreated } from '../services-CkUqZ75g.cjs';
2
2
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload } from 'starknet';
3
3
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-CuSlc_YE.cjs';
4
4
  import 'zod';
@@ -7830,19 +7830,33 @@ declare const IPGenesisABI: readonly [{
7830
7830
  }];
7831
7831
  }];
7832
7832
 
7833
+ interface ReceiptLike {
7834
+ events?: Array<{
7835
+ from_address?: string;
7836
+ keys?: string[];
7837
+ data?: string[];
7838
+ }>;
7839
+ }
7840
+ type DeployingServiceId = "mip-erc1155" | "ip-tickets" | "ip-ticketing" | "ip-club" | "drop-collection";
7841
+ declare function deployedCollectionFromReceipt(receipt: ReceiptLike, service: DeployingServiceId): string | null;
7842
+ declare function mintedTokenIdFromReceipt(receipt: ReceiptLike, contract: string): string | null;
7843
+
7833
7844
  interface ReceiptProvider {
7834
7845
  getTransactionReceipt(txHash: string): Promise<unknown>;
7835
7846
  }
7836
7847
  declare function confirmIntentBestEffort(client: MedialaneClient, intentId: string, txHash: string): Promise<void>;
7837
- declare function assertTransactionSucceeded(provider: ReceiptProvider, txHash: string, retryDelaysMs?: readonly number[]): Promise<void>;
7848
+ declare function syncTransactionBestEffort(client: MedialaneClient, txHash: string, timeoutMs?: number): Promise<void>;
7849
+ declare function assertTransactionSucceeded(provider: ReceiptProvider, txHash: string, retryDelaysMs?: readonly number[]): Promise<ReceiptLike>;
7838
7850
  interface ExecuteIntentOpts {
7839
7851
  confirm?: boolean;
7840
7852
  }
7841
7853
  declare function executeIntent(provider: ReceiptProvider, signer: StarknetVenueSigner, client: MedialaneClient, intent: ApiIntentCreated, opts?: ExecuteIntentOpts): Promise<{
7842
7854
  txHash: string;
7855
+ receipt: ReceiptLike;
7843
7856
  }>;
7844
7857
  declare function executeIntents(provider: ReceiptProvider, signer: StarknetVenueSigner, client: MedialaneClient, intents: ApiIntentCreated[], opts?: ExecuteIntentOpts): Promise<{
7845
7858
  txHash: string;
7859
+ receipt: ReceiptLike;
7846
7860
  }>;
7847
7861
 
7848
7862
  declare const SUGGESTED_DEFAULT_PRICE = 0.01;
@@ -7947,4 +7961,4 @@ declare function signWithPrivateKey(privateKeyHex: string, msgHash: string): [st
7947
7961
 
7948
7962
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
7949
7963
 
7950
- export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, type FeeSurface, type GuardianInfo, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, POPCollectionABI, POPFactoryABI, type ParsedAdminHeaders, PopService, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, adminRequestDigest, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, toRaw as coinToRaw, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, decodeEscapeAndStatus, decodeGuardiansInfo, deriveAesKey, deriveOwnerKeyPair, encodeAdminHeaders, encodeByteArray, executeIntent, executeIntents, executeSponsored, fdvHuman, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, normalizeSiwsSignature, ownerAliveTypedData, ownerConstructorCalldata, parseAdminHeaders, parseCreatorCoinCreated, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, starkKeyPairFromPrivateKey, storeSiwsToken, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig };
7964
+ export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, type FeeSurface, type GuardianInfo, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, POPCollectionABI, POPFactoryABI, type ParsedAdminHeaders, PopService, type ReceiptLike, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, adminRequestDigest, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, toRaw as coinToRaw, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, decodeEscapeAndStatus, decodeGuardiansInfo, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, encodeAdminHeaders, encodeByteArray, executeIntent, executeIntents, executeSponsored, fdvHuman, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, ownerAliveTypedData, ownerConstructorCalldata, parseAdminHeaders, parseCreatorCoinCreated, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig };
@@ -1,4 +1,4 @@
1
- import { bg as ResolvedConfig, bo as TxResult, aC as CreatePopCollectionParams, an as ClaimConditions, ay as CreateDropParams, aH as CreateTicketParams, b1 as MintTicketsParams, aA as CreateMembershipParams, b0 as MintMembershipsParams, aF as CreateSponsorshipOfferParams, bd as ProposeSponsorshipParams, l as ApiClient, a_ as MedialaneConfig, a$ as MedialaneErrorCode, b6 as OrderDetails, R as ResolvedFeeConfig, F as ApiIntentCreated } from '../services-B4wvnuIc.js';
1
+ import { bh as ResolvedConfig, bp as TxResult, aD as CreatePopCollectionParams, ao as ClaimConditions, az as CreateDropParams, aI as CreateTicketParams, b2 as MintTicketsParams, aB as CreateMembershipParams, b1 as MintMembershipsParams, aG as CreateSponsorshipOfferParams, be as ProposeSponsorshipParams, l as ApiClient, a$ as MedialaneConfig, b0 as MedialaneErrorCode, b7 as OrderDetails, R as ResolvedFeeConfig, F as ApiIntentCreated } from '../services-4Z16tkFa.js';
2
2
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload } from 'starknet';
3
3
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-CuSlc_YE.js';
4
4
  import 'zod';
@@ -7830,19 +7830,33 @@ declare const IPGenesisABI: readonly [{
7830
7830
  }];
7831
7831
  }];
7832
7832
 
7833
+ interface ReceiptLike {
7834
+ events?: Array<{
7835
+ from_address?: string;
7836
+ keys?: string[];
7837
+ data?: string[];
7838
+ }>;
7839
+ }
7840
+ type DeployingServiceId = "mip-erc1155" | "ip-tickets" | "ip-ticketing" | "ip-club" | "drop-collection";
7841
+ declare function deployedCollectionFromReceipt(receipt: ReceiptLike, service: DeployingServiceId): string | null;
7842
+ declare function mintedTokenIdFromReceipt(receipt: ReceiptLike, contract: string): string | null;
7843
+
7833
7844
  interface ReceiptProvider {
7834
7845
  getTransactionReceipt(txHash: string): Promise<unknown>;
7835
7846
  }
7836
7847
  declare function confirmIntentBestEffort(client: MedialaneClient, intentId: string, txHash: string): Promise<void>;
7837
- declare function assertTransactionSucceeded(provider: ReceiptProvider, txHash: string, retryDelaysMs?: readonly number[]): Promise<void>;
7848
+ declare function syncTransactionBestEffort(client: MedialaneClient, txHash: string, timeoutMs?: number): Promise<void>;
7849
+ declare function assertTransactionSucceeded(provider: ReceiptProvider, txHash: string, retryDelaysMs?: readonly number[]): Promise<ReceiptLike>;
7838
7850
  interface ExecuteIntentOpts {
7839
7851
  confirm?: boolean;
7840
7852
  }
7841
7853
  declare function executeIntent(provider: ReceiptProvider, signer: StarknetVenueSigner, client: MedialaneClient, intent: ApiIntentCreated, opts?: ExecuteIntentOpts): Promise<{
7842
7854
  txHash: string;
7855
+ receipt: ReceiptLike;
7843
7856
  }>;
7844
7857
  declare function executeIntents(provider: ReceiptProvider, signer: StarknetVenueSigner, client: MedialaneClient, intents: ApiIntentCreated[], opts?: ExecuteIntentOpts): Promise<{
7845
7858
  txHash: string;
7859
+ receipt: ReceiptLike;
7846
7860
  }>;
7847
7861
 
7848
7862
  declare const SUGGESTED_DEFAULT_PRICE = 0.01;
@@ -7947,4 +7961,4 @@ declare function signWithPrivateKey(privateKeyHex: string, msgHash: string): [st
7947
7961
 
7948
7962
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
7949
7963
 
7950
- export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, type FeeSurface, type GuardianInfo, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, POPCollectionABI, POPFactoryABI, type ParsedAdminHeaders, PopService, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, adminRequestDigest, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, toRaw as coinToRaw, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, decodeEscapeAndStatus, decodeGuardiansInfo, deriveAesKey, deriveOwnerKeyPair, encodeAdminHeaders, encodeByteArray, executeIntent, executeIntents, executeSponsored, fdvHuman, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, normalizeSiwsSignature, ownerAliveTypedData, ownerConstructorCalldata, parseAdminHeaders, parseCreatorCoinCreated, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, starkKeyPairFromPrivateKey, storeSiwsToken, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig };
7964
+ export { ADMIN_HEADERS, ADMIN_SCOPE, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, type CreateGrantOpts, CreatePopCollectionParams, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, type FeeSurface, type GuardianInfo, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, POPCollectionABI, POPFactoryABI, type ParsedAdminHeaders, PopService, type ReceiptLike, type ReceiptProvider, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, type SiwsSigner, SponsoredCallRejectedError, type SponsoredExecuteConfig, type SponsoredExecuteResult, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, adminRequestDigest, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, toRaw as coinToRaw, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, decodeEscapeAndStatus, decodeGuardiansInfo, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, encodeAdminHeaders, encodeByteArray, executeIntent, executeIntents, executeSponsored, fdvHuman, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, ownerAliveTypedData, ownerConstructorCalldata, parseAdminHeaders, parseCreatorCoinCreated, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig };
@@ -153,10 +153,10 @@ function normalizeEvm(address) {
153
153
  const m = /^0x([0-9a-fA-F]{40})$/.exec(address);
154
154
  if (!m) throw new Error(`Invalid ETHEREUM/BASE address: "${address}"`);
155
155
  const lower = m[1].toLowerCase();
156
- const hash7 = keccak_256(new TextEncoder().encode(lower));
156
+ const hash8 = keccak_256(new TextEncoder().encode(lower));
157
157
  let out = "0x";
158
158
  for (let i = 0; i < 40; i++) {
159
- const nibble = hash7[i >> 1] >> (i % 2 === 0 ? 4 : 0) & 15;
159
+ const nibble = hash8[i >> 1] >> (i % 2 === 0 ? 4 : 0) & 15;
160
160
  out += nibble >= 8 ? lower[i].toUpperCase() : lower[i];
161
161
  }
162
162
  return out;
@@ -442,6 +442,9 @@ var ApiClient = class {
442
442
  confirmIntent(id, txHash) {
443
443
  return this.patch(`/v1/intents/${id}/confirm`, { txHash });
444
444
  }
445
+ syncTransaction(txHash) {
446
+ return this.post("/v1/tx/sync", { txHash });
447
+ }
445
448
  createMintIntent(params) {
446
449
  return this.post("/v1/intents/mint", params);
447
450
  }
@@ -11618,6 +11621,21 @@ async function confirmIntentBestEffort(client, intentId, txHash) {
11618
11621
  await client.api.confirmIntent(intentId, txHash).catch(() => {
11619
11622
  });
11620
11623
  }
11624
+ var SYNC_TIMEOUT_MS = 6e3;
11625
+ async function syncTransactionBestEffort(client, txHash, timeoutMs = SYNC_TIMEOUT_MS) {
11626
+ let timer;
11627
+ const timeout = new Promise((resolve) => {
11628
+ timer = setTimeout(() => resolve(), timeoutMs);
11629
+ });
11630
+ const sync = client.api.syncTransaction(txHash).then(() => {
11631
+ }, () => {
11632
+ });
11633
+ try {
11634
+ await Promise.race([sync, timeout]);
11635
+ } finally {
11636
+ if (timer) clearTimeout(timer);
11637
+ }
11638
+ }
11621
11639
  var RECEIPT_RETRY_DELAYS_MS = [0, 3e3, 5e3, 7e3, 1e4];
11622
11640
  async function assertTransactionSucceeded(provider, txHash, retryDelaysMs = RECEIPT_RETRY_DELAYS_MS) {
11623
11641
  for (let attempt = 0; attempt < retryDelaysMs.length; attempt++) {
@@ -11629,7 +11647,7 @@ async function assertTransactionSucceeded(provider, txHash, retryDelaysMs = RECE
11629
11647
  if (status === "REVERTED" || status === "REJECTED") {
11630
11648
  throw new Error("Transaction was submitted but reverted onchain. Please check your balance and try again.");
11631
11649
  }
11632
- if (status) return;
11650
+ if (status) return receipt;
11633
11651
  } catch (err) {
11634
11652
  if (err instanceof Error && err.message.includes("reverted onchain")) throw err;
11635
11653
  }
@@ -11646,11 +11664,12 @@ async function executeIntent(provider, signer, client, intent, opts = {}) {
11646
11664
  calls = intent.calls;
11647
11665
  }
11648
11666
  const { txHash } = await signer.execute(calls);
11649
- await assertTransactionSucceeded(provider, txHash);
11650
- if (opts.confirm !== false) {
11651
- await confirmIntentBestEffort(client, intent.id, txHash);
11652
- }
11653
- return { txHash };
11667
+ const receipt = await assertTransactionSucceeded(provider, txHash);
11668
+ await Promise.all([
11669
+ syncTransactionBestEffort(client, txHash),
11670
+ opts.confirm !== false ? confirmIntentBestEffort(client, intent.id, txHash) : void 0
11671
+ ]);
11672
+ return { txHash, receipt };
11654
11673
  }
11655
11674
  async function executeIntents(provider, signer, client, intents, opts = {}) {
11656
11675
  if (intents.some((i) => i.requiresSignature)) {
@@ -11658,11 +11677,351 @@ async function executeIntents(provider, signer, client, intents, opts = {}) {
11658
11677
  }
11659
11678
  const calls = intents.flatMap((i) => i.calls);
11660
11679
  const { txHash } = await signer.execute(calls);
11661
- await assertTransactionSucceeded(provider, txHash);
11662
- if (opts.confirm !== false) {
11663
- await Promise.all(intents.map((i) => confirmIntentBestEffort(client, i.id, txHash)));
11680
+ const receipt = await assertTransactionSucceeded(provider, txHash);
11681
+ await Promise.all([
11682
+ syncTransactionBestEffort(client, txHash),
11683
+ ...opts.confirm !== false ? intents.map((i) => confirmIntentBestEffort(client, i.id, txHash)) : []
11684
+ ]);
11685
+ return { txHash, receipt };
11686
+ }
11687
+
11688
+ // src/services/registry.ts
11689
+ var SN2 = getStarknetCoordinates("STARKNET");
11690
+ var SERVICES = {
11691
+ "mip-erc721": {
11692
+ id: "mip-erc721",
11693
+ displayName: "IP Collection",
11694
+ description: "Tokenize intellectual property as a per-creator ERC-721 collection.",
11695
+ standard: "ERC721",
11696
+ provenance: "MEDIALANE",
11697
+ onchain: {
11698
+ STARKNET: {
11699
+ factoryAddress: SN2.collection721,
11700
+ startBlock: SN2.collection721StartBlock
11701
+ }
11702
+ },
11703
+ uiVariant: "standard",
11704
+ capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"],
11705
+ events: [
11706
+ { name: "CollectionCreated", emittedBy: "factory" }
11707
+ ],
11708
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11709
+ },
11710
+ "ip-erc721": {
11711
+ id: "ip-erc721",
11712
+ displayName: "Programmable IP",
11713
+ description: "One shared ERC-721 contract any wallet can mint into.",
11714
+ standard: "ERC721",
11715
+ provenance: "MEDIALANE",
11716
+ uiVariant: "standard",
11717
+ capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"],
11718
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11719
+ },
11720
+ "data-tokenization-erc721": {
11721
+ id: "data-tokenization-erc721",
11722
+ displayName: "Data Tokenization",
11723
+ description: "Establish verifiable ownership of your data, with licensing terms that hold up wherever it travels.",
11724
+ standard: "ERC721",
11725
+ provenance: "MEDIALANE",
11726
+ onchain: {
11727
+ STARKNET: {
11728
+ factoryAddress: SN2.dataTokenization721,
11729
+ startBlock: SN2.dataTokenization721StartBlock
11730
+ }
11731
+ },
11732
+ uiVariant: "standard",
11733
+ capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"],
11734
+ events: [
11735
+ { name: "CollectionCreated", emittedBy: "factory" }
11736
+ ],
11737
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11738
+ },
11739
+ "mip-erc1155": {
11740
+ id: "mip-erc1155",
11741
+ displayName: "NFT Editions",
11742
+ description: "Per-creator ERC-1155 collection; creator mints editions.",
11743
+ standard: "ERC1155",
11744
+ provenance: "MEDIALANE",
11745
+ onchain: {
11746
+ STARKNET: {
11747
+ factoryAddress: SN2.collection1155,
11748
+ classHash: SN2.collection1155ClassHash,
11749
+ startBlock: SN2.collection1155StartBlock
11750
+ }
11751
+ },
11752
+ uiVariant: "edition",
11753
+ capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"],
11754
+ events: [
11755
+ { name: "CollectionDeployed", emittedBy: "factory" }
11756
+ ],
11757
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11758
+ },
11759
+ "pop-protocol": {
11760
+ id: "pop-protocol",
11761
+ displayName: "POP Protocol",
11762
+ description: "Soulbound proof-of-presence collectibles per event.",
11763
+ standard: "ERC721",
11764
+ provenance: "MEDIALANE",
11765
+ onchain: {
11766
+ STARKNET: {
11767
+ factoryAddress: SN2.popFactory,
11768
+ classHash: SN2.popCollectionClassHash
11769
+ }
11770
+ },
11771
+ uiVariant: "pop",
11772
+ capabilities: ["claim", "mint"],
11773
+ events: [
11774
+ { name: "CollectionCreated", emittedBy: "factory" },
11775
+ { name: "AllowlistUpdated", emittedBy: "instance", poll: "slow" }
11776
+ ],
11777
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11778
+ },
11779
+ "drop-collection": {
11780
+ id: "drop-collection",
11781
+ displayName: "Collection Drop",
11782
+ description: "Sequential mint with claim windows + allowlist.",
11783
+ standard: "ERC721",
11784
+ provenance: "MEDIALANE",
11785
+ onchain: {
11786
+ STARKNET: {
11787
+ factoryAddress: SN2.dropFactory,
11788
+ classHash: SN2.dropCollectionClassHash
11789
+ }
11790
+ },
11791
+ uiVariant: "drop",
11792
+ capabilities: ["claim", "list", "buy", "make_offer", "cancel", "transfer"],
11793
+ events: [
11794
+ { name: "DropCreated", emittedBy: "factory" },
11795
+ { name: "AllowlistUpdated", emittedBy: "instance", poll: "slow" }
11796
+ ],
11797
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11798
+ },
11799
+ "ip-tickets": {
11800
+ id: "ip-tickets",
11801
+ displayName: "IP Tickets",
11802
+ description: "Create verifiable on-chain tickets \u2014 mint to attendees, trade like any collection.",
11803
+ standard: "ERC1155",
11804
+ provenance: "MEDIALANE",
11805
+ onchain: {
11806
+ STARKNET: {
11807
+ factoryAddress: SN2.ipTicketsFactory,
11808
+ classHash: SN2.ipTicketCollectionClassHash
11809
+ }
11810
+ },
11811
+ uiVariant: "ticket",
11812
+ capabilities: ["mint", "redeem", "list", "buy", "make_offer", "cancel", "transfer"],
11813
+ events: [
11814
+ { name: "CollectionDeployed", emittedBy: "factory" },
11815
+ { name: "TicketCreated", emittedBy: "instance" }
11816
+ ],
11817
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11818
+ },
11819
+ "ip-ticketing": {
11820
+ id: "ip-ticketing",
11821
+ displayName: "IP Ticketing",
11822
+ description: "Distribute verifiable on-chain tickets to a list of recipients in one run \u2014 everyone gets a wallet and their ticket.",
11823
+ standard: "ERC1155",
11824
+ provenance: "MEDIALANE",
11825
+ onchain: {
11826
+ STARKNET: {
11827
+ factoryAddress: SN2.ipTicketsFactory,
11828
+ classHash: SN2.ipTicketCollectionClassHash
11829
+ }
11830
+ },
11831
+ uiVariant: "ticket",
11832
+ capabilities: ["mint", "airdrop", "redeem", "list", "buy", "make_offer", "cancel", "transfer"],
11833
+ events: [
11834
+ { name: "CollectionDeployed", emittedBy: "factory" },
11835
+ { name: "TicketCreated", emittedBy: "instance" }
11836
+ ],
11837
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11838
+ },
11839
+ "ip-club": {
11840
+ id: "ip-club",
11841
+ displayName: "IP Club",
11842
+ description: "Membership clubs \u2014 create tiers, mint membership cards, trade like any collection.",
11843
+ standard: "ERC1155",
11844
+ provenance: "MEDIALANE",
11845
+ onchain: {
11846
+ STARKNET: {
11847
+ factoryAddress: SN2.ipClubFactory,
11848
+ classHash: SN2.ipClubCollectionClassHash
11849
+ }
11850
+ },
11851
+ uiVariant: "club",
11852
+ capabilities: ["mint", "list", "buy", "make_offer", "cancel", "transfer"],
11853
+ events: [
11854
+ { name: "ClubDeployed", emittedBy: "factory" },
11855
+ { name: "MembershipCreated", emittedBy: "instance" }
11856
+ ],
11857
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11858
+ },
11859
+ "ip-sponsorship": {
11860
+ id: "ip-sponsorship",
11861
+ displayName: "IP Sponsorship",
11862
+ description: "Sponsorship offers and licenses anchored to an existing Medialane asset.",
11863
+ standard: "ERC721",
11864
+ provenance: "MEDIALANE",
11865
+ onchain: {
11866
+ STARKNET: {
11867
+ factoryAddress: SN2.ipSponsorship,
11868
+ classHash: SN2.ipSponsorshipClassHash,
11869
+ startBlock: SN2.ipSponsorshipStartBlock
11870
+ }
11871
+ },
11872
+ uiVariant: "standard",
11873
+ capabilities: ["sponsor", "transfer"],
11874
+ events: [
11875
+ { name: "OfferCreated", emittedBy: "factory" },
11876
+ { name: "ProposalCreated", emittedBy: "factory" },
11877
+ { name: "LicenseMinted", emittedBy: "factory" }
11878
+ ],
11879
+ metadataSchema: { licenseDefault: "CC BY-SA" }
11880
+ },
11881
+ "creator-coin": {
11882
+ id: "creator-coin",
11883
+ displayName: "Creator Coin",
11884
+ description: "Launch a fixed-supply social token with permanently-locked Ekubo liquidity.",
11885
+ standard: "ERC20",
11886
+ provenance: "MEDIALANE",
11887
+ onchain: {
11888
+ STARKNET: {
11889
+ factoryAddress: SN2.creatorCoinFactory,
11890
+ classHash: SN2.creatorCoinFactoryClassHash,
11891
+ startBlock: SN2.creatorCoinStartBlock
11892
+ }
11893
+ },
11894
+ uiVariant: "coin",
11895
+ capabilities: ["launch", "swap", "transfer"],
11896
+ events: [
11897
+ { name: "CreatorCoinCreated", emittedBy: "factory" },
11898
+ { name: "CreatorCoinLaunched", emittedBy: "factory" }
11899
+ ]
11900
+ },
11901
+ "medialane-marketplace-erc721": {
11902
+ id: "medialane-marketplace-erc721",
11903
+ displayName: "Medialane Marketplace (ERC-721)",
11904
+ description: "ERC-721 order matching venue.",
11905
+ standard: "ERC721",
11906
+ provenance: "MEDIALANE",
11907
+ onchain: {
11908
+ STARKNET: {
11909
+ factoryAddress: SN2.marketplace721,
11910
+ classHash: SN2.marketplace721ClassHash,
11911
+ startBlock: SN2.marketplace721StartBlock
11912
+ }
11913
+ },
11914
+ uiVariant: "standard",
11915
+ capabilities: ["list", "buy", "make_offer", "cancel"],
11916
+ events: [
11917
+ { name: "OrderCreated", emittedBy: "factory" },
11918
+ { name: "OrderFulfilled", emittedBy: "factory" },
11919
+ { name: "OrderCancelled", emittedBy: "factory" }
11920
+ ]
11921
+ },
11922
+ "medialane-marketplace-erc1155": {
11923
+ id: "medialane-marketplace-erc1155",
11924
+ displayName: "Medialane Marketplace (ERC-1155)",
11925
+ description: "ERC-1155 order matching venue.",
11926
+ standard: "ERC1155",
11927
+ provenance: "MEDIALANE",
11928
+ onchain: {
11929
+ STARKNET: {
11930
+ factoryAddress: SN2.marketplace1155,
11931
+ classHash: SN2.marketplace1155ClassHash,
11932
+ startBlock: SN2.marketplace1155StartBlock
11933
+ }
11934
+ },
11935
+ uiVariant: "edition",
11936
+ capabilities: ["list", "buy", "make_offer", "cancel"],
11937
+ events: [
11938
+ { name: "OrderCreated", emittedBy: "factory" },
11939
+ { name: "OrderFulfilled", emittedBy: "factory" },
11940
+ { name: "OrderCancelled", emittedBy: "factory" }
11941
+ ]
11942
+ },
11943
+ "unruggable-erc20": {
11944
+ id: "unruggable-erc20",
11945
+ displayName: "Unruggable",
11946
+ description: "An ERC-20 launched through the unruggable.meme protocol, the same contract Medialane's Creator Coin is forked from. Not deployed via a Medialane service, but exposes the same on-chain guarantees: capped team allocation, permanently locked liquidity, fixed supply. Brought in by owner claim or admin/partnership \u2014 never bulk-indexed.",
11947
+ standard: "ERC20",
11948
+ provenance: "EXTERNAL",
11949
+ uiVariant: "coin",
11950
+ capabilities: ["swap", "transfer"]
11951
+ },
11952
+ "external-erc20": {
11953
+ id: "external-erc20",
11954
+ displayName: "Memecoin",
11955
+ description: "A plain ERC-20 not deployed via a Medialane service and carrying no protocol-level guarantees. Brought in by owner claim or admin/partnership \u2014 never bulk-indexed. Generalizes to future chains.",
11956
+ standard: "ERC20",
11957
+ provenance: "EXTERNAL",
11958
+ uiVariant: "coin",
11959
+ capabilities: ["swap", "transfer"]
11960
+ },
11961
+ "external-erc721": {
11962
+ id: "external-erc721",
11963
+ displayName: "External ERC-721",
11964
+ description: "ERC-721 contract not deployed via a Medialane service.",
11965
+ standard: "ERC721",
11966
+ provenance: "EXTERNAL",
11967
+ uiVariant: "standard",
11968
+ capabilities: ["list", "buy", "make_offer", "cancel", "transfer"]
11969
+ },
11970
+ "external-erc1155": {
11971
+ id: "external-erc1155",
11972
+ displayName: "External ERC-1155",
11973
+ description: "ERC-1155 contract not deployed via a Medialane service.",
11974
+ standard: "ERC1155",
11975
+ provenance: "EXTERNAL",
11976
+ uiVariant: "edition",
11977
+ capabilities: ["list", "buy", "make_offer", "cancel", "transfer"]
11664
11978
  }
11665
- return { txHash };
11979
+ };
11980
+ function getService(id) {
11981
+ return id && id in SERVICES ? SERVICES[id] : void 0;
11982
+ }
11983
+
11984
+ // src/starknet/services/receipts.ts
11985
+ var DEPLOY_EVENTS = {
11986
+ "mip-erc1155": { event: "CollectionDeployed", address: (e) => e.keys?.[1] },
11987
+ "ip-tickets": { event: "CollectionDeployed", address: (e) => e.keys?.[1] },
11988
+ "ip-ticketing": { event: "CollectionDeployed", address: (e) => e.keys?.[1] },
11989
+ "ip-club": { event: "ClubDeployed", address: (e) => e.keys?.[1] },
11990
+ "drop-collection": { event: "DropCreated", address: (e) => e.data?.[0] }
11991
+ };
11992
+ var IP_MINTED_SELECTOR = BigInt(hash.getSelectorFromName("IPMinted"));
11993
+ var TRANSFER_SELECTOR = BigInt(hash.getSelectorFromName("Transfer"));
11994
+ function sameFelt(a, b) {
11995
+ if (a === void 0) return false;
11996
+ try {
11997
+ return BigInt(a) === BigInt(b);
11998
+ } catch {
11999
+ return false;
12000
+ }
12001
+ }
12002
+ function u2562(low, high) {
12003
+ return (BigInt(low ?? 0) + (BigInt(high ?? 0) << 128n)).toString();
12004
+ }
12005
+ function deployedCollectionFromReceipt(receipt, service) {
12006
+ const factory = getService(service)?.onchain?.STARKNET?.factoryAddress;
12007
+ const { event, address } = DEPLOY_EVENTS[service];
12008
+ const selector = BigInt(hash.getSelectorFromName(event));
12009
+ for (const e of receipt.events ?? []) {
12010
+ if (factory && !sameFelt(e.from_address, factory)) continue;
12011
+ if (!sameFelt(e.keys?.[0], selector)) continue;
12012
+ const value = address(e);
12013
+ if (value) return normalizeAddress("STARKNET", value);
12014
+ }
12015
+ return null;
12016
+ }
12017
+ function mintedTokenIdFromReceipt(receipt, contract) {
12018
+ for (const e of receipt.events ?? []) {
12019
+ if (!sameFelt(e.from_address, contract)) continue;
12020
+ const keys = e.keys ?? [];
12021
+ if (sameFelt(keys[0], IP_MINTED_SELECTOR) && keys.length >= 3) return u2562(keys[1], keys[2]);
12022
+ if (sameFelt(keys[0], TRANSFER_SELECTOR) && keys.length === 5 && sameFelt(keys[1], 0n)) return u2562(keys[3], keys[4]);
12023
+ }
12024
+ return null;
11666
12025
  }
11667
12026
 
11668
12027
  // src/starknet/services/sponsoredExecutor.ts
@@ -11962,6 +12321,6 @@ function signWithPrivateKey(privateKeyHex, msgHash) {
11962
12321
  return [num.toHex(sig.r), num.toHex(sig.s)];
11963
12322
  }
11964
12323
 
11965
- export { ADMIN_HEADERS, ADMIN_SCOPE, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreatorCoinFactoryABI, CreatorCoinService, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, POPCollectionABI, POPFactoryABI, PopService, SUGGESTED_DEFAULT_PRICE, SponsoredCallRejectedError, SponsorshipService, StarknetVenue, TicketService, VALIDATED_EKUBO_PARAMS, adminRequestDigest, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, toRaw as coinToRaw, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, decodeEscapeAndStatus, decodeGuardiansInfo, deriveAesKey, deriveOwnerKeyPair, encodeAdminHeaders, encodeByteArray, executeIntent, executeIntents, executeSponsored, fdvHuman, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, normalizeSiwsSignature, ownerAliveTypedData, ownerConstructorCalldata, parseAdminHeaders, parseCreatorCoinCreated, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, starkKeyPairFromPrivateKey, storeSiwsToken, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig };
12324
+ export { ADMIN_HEADERS, ADMIN_SCOPE, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClubService, CreatorCoinFactoryABI, CreatorCoinService, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, Medialane1155ABI, MedialaneClient, MedialaneError, POPCollectionABI, POPFactoryABI, PopService, SUGGESTED_DEFAULT_PRICE, SponsoredCallRejectedError, SponsorshipService, StarknetVenue, TicketService, VALIDATED_EKUBO_PARAMS, adminRequestDigest, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildAdminSessionTypedData, buildCancelEscapeCall, buildCancellationTypedData, buildChangeOwnersCall, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, toRaw as coinToRaw, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createAdminSessionGrant, decodeEscapeAndStatus, decodeGuardiansInfo, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, encodeAdminHeaders, encodeByteArray, executeIntent, executeIntents, executeSponsored, fdvHuman, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isSiwsTokenValid, mintedTokenIdFromReceipt, normalizeSiwsSignature, ownerAliveTypedData, ownerConstructorCalldata, parseAdminHeaders, parseCreatorCoinCreated, priceToEkuboParams, randomNonce, requestSiwsToken, sealPrivateKey, sessionKeyHashOf, signAdminRequest, signWithPrivateKey, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyAdminRequestSig };
11966
12325
  //# sourceMappingURL=index.js.map
11967
12326
  //# sourceMappingURL=index.js.map