@medialane/sdk 0.67.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/evm/index.cjs +8 -6
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +8 -6
- package/dist/evm/index.js.map +1 -1
- package/dist/{index-C2EaTkzk.d.cts → index-BZ9ALq55.d.ts} +553 -472
- package/dist/{index-DjJ4k6p_.d.ts → index-ET8dURD-.d.cts} +553 -472
- package/dist/index.cjs +757 -681
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -18
- package/dist/index.d.ts +23 -18
- package/dist/index.js +757 -680
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +8 -6
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +8 -6
- package/dist/solana/index.js.map +1 -1
- package/dist/starknet/index.cjs +712 -646
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +2 -2
- package/dist/starknet/index.d.ts +2 -2
- package/dist/starknet/index.js +713 -646
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +8 -6
- package/dist/stellar/index.cjs.map +1 -1
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +8 -6
- package/dist/stellar/index.js.map +1 -1
- package/dist/{types-CIR6H6ul.d.cts → types-2x30q_6p.d.cts} +1 -1
- package/dist/{types-CIR6H6ul.d.ts → types-2x30q_6p.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceDefinition, a as ServiceCapability } from './index-
|
|
2
|
-
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as CreateClubParams, at as CreateCollectionIntentParams, au as CreateCounterOfferIntentParams, av as CreateCreatorCoinParams, aw as CreateDropParams, ax as CreateGrantOpts, ay as CreateListingIntentParams, az as CreateMintIntentParams, aA as CreatePopCollectionParams, aB as CreateRemixOfferParams, aC as CreateSponsorshipOfferParams, aD as CreateTicketParams, aE as CreateWebhookParams, aF as CreatorCoinFactoryABI, aG as CreatorCoinPrice, aH as CreatorCoinReceiptLike, aI as CreatorCoinService, aJ as DeployClubParams, aK as DeployCollectionParams, aL as DropCollectionABI, aM as DropFactoryABI, aN as DropMintStatus, aO as DropService, aP as ERC1155CollectionService, aQ as EkuboLaunchParams, aR as EkuboPoolParams, aS as EnforcementDeclaration, aT as FeeConfig, aU as FeeConfigSchema, aV as FeeSurface, aW as FulfillOrderIntentParams, aX as IPClubABI, aY as IPClubCollectionABI, aZ as IPClubFactoryABI, a_ as IPClubNFTABI, a$ as IPCollection1155ABI, b0 as IPCollection1155FactoryABI, b1 as IPCollectionABI, b2 as IPGenesisABI, b3 as IPMarketplaceABI, b4 as IPNftABI, b5 as IPSponsorshipABI, b6 as
|
|
3
|
-
import { C as Chain } from './types-
|
|
4
|
-
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-
|
|
1
|
+
import { S as ServiceDefinition, a as ServiceCapability } from './index-ET8dURD-.cjs';
|
|
2
|
+
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as CreateClubParams, at as CreateCollectionIntentParams, au as CreateCounterOfferIntentParams, av as CreateCreatorCoinParams, aw as CreateDropParams, ax as CreateGrantOpts, ay as CreateListingIntentParams, az as CreateMintIntentParams, aA as CreatePopCollectionParams, aB as CreateRemixOfferParams, aC as CreateSponsorshipOfferParams, aD as CreateTicketParams, aE as CreateWebhookParams, aF as CreatorCoinFactoryABI, aG as CreatorCoinPrice, aH as CreatorCoinReceiptLike, aI as CreatorCoinService, aJ as DeployClubParams, aK as DeployCollectionParams, aL as DropCollectionABI, aM as DropFactoryABI, aN as DropMintStatus, aO as DropService, aP as ERC1155CollectionService, aQ as EkuboLaunchParams, aR as EkuboPoolParams, aS as EnforcementDeclaration, aT as FeeConfig, aU as FeeConfigSchema, aV as FeeSurface, aW as FulfillOrderIntentParams, aX as IPClubABI, aY as IPClubCollectionABI, aZ as IPClubFactoryABI, a_ as IPClubNFTABI, a$ as IPCollection1155ABI, b0 as IPCollection1155FactoryABI, b1 as IPCollectionABI, b2 as IPGenesisABI, b3 as IPMarketplaceABI, b4 as IPNftABI, b5 as IPSponsorshipABI, b6 as IPTicketCollectionABI, b7 as IPTicketCollectionFactoryABI, b8 as IPType, b9 as IntentCall, ba as IntentStatus, bb as IntentType, bc as IpAttribute, bd as IpNftMetadata, be as LAUNCH_PRICE_QUOTE_PER_COIN, bf as MakeOfferIntentParams, bg as Medialane1155ABI, bh as MedialaneApiError, bi as MedialaneClient, bj as MedialaneConfig, bk as MedialaneError, bl as MedialaneErrorCode, bm as MintEditionParams, bn as MintTicketsParams, bo as OPEN_LICENSES, bp as OfferItem, bq as OpenLicense, br as Order, bs as OrderDetails, bt as OrderParameters, bu as OrderStatus, bv as POPCollectionABI, bw as POPFactoryABI, bx as ParsedAdminHeaders, by as PopBatchEligibilityItem, bz as PopClaimStatus, bA as PopEventType, bB as PopService, bC as ProposeSponsorshipParams, bD as RemixOfferStatus, bE as RequestSiwsTokenArgs, bF as ResolvedConfig, bG as ResolvedFeeConfig, bH as ResolvedOrder, bI as RetryOptions, bJ as ServiceEventDeclaration, bK as SiwsSigner, bL as SortOrder, bM as SponsorshipService, bN as StarknetVenue, bO as StarknetVenueDeps, bP as StarknetVenueSigner, bQ as TenantPlan, bR as TicketService, bS as TxResult, bT as VALIDATED_EKUBO_PARAMS, bU as WebhookEventType, bV as WebhookStatus, bW as adminRequestDigest, bX as build1155CancellationTypedData, bY as build1155OrderTypedData, bZ as buildAdminSessionTypedData, b_ as buildCancellationTypedData, b$ as buildCreateCreatorCoinCall, c0 as buildFeeCall, c1 as buildLaunchOnEkuboCalls, c2 as buildOrderTypedData, c3 as buybackQuoteRaw, c4 as coinToRaw, c5 as createAdminSessionGrant, c6 as encodeAdminHeaders, c7 as encodeByteArray, c8 as fdvHuman, c9 as getCounter, ca as getCounter1155, cb as getCreatorCoinPrice, cc as getOrderDetails, cd as getOrderDetails1155, ce as getSiwsStorageKey, cf as getStoredSiwsToken, cg as isSiwsTokenValid, ch as normalizeSiwsSignature, ci as parseAdminHeaders, cj as parseCreatorCoinCreated, ck as randomNonce, cl as requestSiwsToken, cm as resolveConfig, cn as resolveFeeConfig, co as sessionKeyHashOf, cp as signAdminRequest, cq as storeSiwsToken, cr as teamCoinsRaw, cs as validateCoinName, ct as validateCoinSupply, cu as validateCoinSymbol, cv as verifyAdminRequestSig } from './index-ET8dURD-.cjs';
|
|
3
|
+
import { C as Chain } from './types-2x30q_6p.cjs';
|
|
4
|
+
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-2x30q_6p.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'starknet';
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ declare const STARKNET_IP_CLUB_NFT_CLASS_HASH: `0x${string}`;
|
|
|
31
31
|
declare const STARKNET_IP_CLUB_FACTORY_CONTRACT: `0x${string}`;
|
|
32
32
|
declare const STARKNET_IP_CLUB_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
33
33
|
declare const STARKNET_IP_SPONSORSHIP_CONTRACT: `0x${string}`;
|
|
34
|
-
declare const
|
|
34
|
+
declare const STARKNET_IP_SPONSORSHIP_CLASS_HASH: `0x${string}`;
|
|
35
35
|
declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: `0x${string}`;
|
|
36
36
|
declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: `0x${string}`;
|
|
37
37
|
declare const STARKNET_CREATOR_COIN_CLASS_HASH: `0x${string}`;
|
|
@@ -238,20 +238,25 @@ declare const SERVICES: {
|
|
|
238
238
|
readonly description: "Sponsorship offers and licenses anchored to an existing Medialane asset.";
|
|
239
239
|
readonly standard: "ERC721";
|
|
240
240
|
readonly provenance: "MEDIALANE";
|
|
241
|
-
readonly
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
241
|
+
readonly onchain: {
|
|
242
|
+
readonly STARKNET: {
|
|
243
|
+
readonly factoryAddress: `0x${string}`;
|
|
244
|
+
readonly classHash: `0x${string}`;
|
|
245
|
+
readonly startBlock: number;
|
|
246
|
+
};
|
|
245
247
|
};
|
|
246
|
-
};
|
|
247
|
-
readonly "ip-sponsorship-license": {
|
|
248
|
-
readonly id: "ip-sponsorship-license";
|
|
249
|
-
readonly displayName: "Sponsorship License Receipt";
|
|
250
|
-
readonly description: "Non-authoritative receipt NFT minted to a sponsor when a sponsorship bid is accepted.";
|
|
251
|
-
readonly standard: "ERC721";
|
|
252
|
-
readonly provenance: "MEDIALANE";
|
|
253
248
|
readonly uiVariant: "standard";
|
|
254
|
-
readonly capabilities: ["transfer"];
|
|
249
|
+
readonly capabilities: ["sponsor", "transfer"];
|
|
250
|
+
readonly events: [{
|
|
251
|
+
readonly name: "OfferCreated";
|
|
252
|
+
readonly emittedBy: "factory";
|
|
253
|
+
}, {
|
|
254
|
+
readonly name: "ProposalCreated";
|
|
255
|
+
readonly emittedBy: "factory";
|
|
256
|
+
}, {
|
|
257
|
+
readonly name: "LicenseMinted";
|
|
258
|
+
readonly emittedBy: "factory";
|
|
259
|
+
}];
|
|
255
260
|
readonly metadataSchema: {
|
|
256
261
|
readonly licenseDefault: "CC BY-SA";
|
|
257
262
|
};
|
|
@@ -503,4 +508,4 @@ interface FailoverFetchOptions {
|
|
|
503
508
|
*/
|
|
504
509
|
declare function createFailoverFetch(urls: string[], options?: FailoverFetchOptions): typeof fetch;
|
|
505
510
|
|
|
506
|
-
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT, STARKNET_IP_CLUB_NFT_CLASS_HASH, STARKNET_IP_CLUB_REGISTRY_CONTRACT,
|
|
511
|
+
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT, STARKNET_IP_CLUB_NFT_CLASS_HASH, STARKNET_IP_CLUB_REGISTRY_CONTRACT, STARKNET_IP_SPONSORSHIP_CLASS_HASH, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_TICKETS_FACTORY_CONTRACT, STARKNET_IP_TICKET_COLLECTION_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, ServiceCapability, ServiceDefinition, type ServiceId, type SupportedToken, type SupportedTokenSymbol, createFailoverFetch, formatAmount, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, shortenAddress, stringifyBigInts, u256ToBigInt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceDefinition, a as ServiceCapability } from './index-
|
|
2
|
-
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as CreateClubParams, at as CreateCollectionIntentParams, au as CreateCounterOfferIntentParams, av as CreateCreatorCoinParams, aw as CreateDropParams, ax as CreateGrantOpts, ay as CreateListingIntentParams, az as CreateMintIntentParams, aA as CreatePopCollectionParams, aB as CreateRemixOfferParams, aC as CreateSponsorshipOfferParams, aD as CreateTicketParams, aE as CreateWebhookParams, aF as CreatorCoinFactoryABI, aG as CreatorCoinPrice, aH as CreatorCoinReceiptLike, aI as CreatorCoinService, aJ as DeployClubParams, aK as DeployCollectionParams, aL as DropCollectionABI, aM as DropFactoryABI, aN as DropMintStatus, aO as DropService, aP as ERC1155CollectionService, aQ as EkuboLaunchParams, aR as EkuboPoolParams, aS as EnforcementDeclaration, aT as FeeConfig, aU as FeeConfigSchema, aV as FeeSurface, aW as FulfillOrderIntentParams, aX as IPClubABI, aY as IPClubCollectionABI, aZ as IPClubFactoryABI, a_ as IPClubNFTABI, a$ as IPCollection1155ABI, b0 as IPCollection1155FactoryABI, b1 as IPCollectionABI, b2 as IPGenesisABI, b3 as IPMarketplaceABI, b4 as IPNftABI, b5 as IPSponsorshipABI, b6 as
|
|
3
|
-
import { C as Chain } from './types-
|
|
4
|
-
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-
|
|
1
|
+
import { S as ServiceDefinition, a as ServiceCapability } from './index-BZ9ALq55.js';
|
|
2
|
+
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as CreateClubParams, at as CreateCollectionIntentParams, au as CreateCounterOfferIntentParams, av as CreateCreatorCoinParams, aw as CreateDropParams, ax as CreateGrantOpts, ay as CreateListingIntentParams, az as CreateMintIntentParams, aA as CreatePopCollectionParams, aB as CreateRemixOfferParams, aC as CreateSponsorshipOfferParams, aD as CreateTicketParams, aE as CreateWebhookParams, aF as CreatorCoinFactoryABI, aG as CreatorCoinPrice, aH as CreatorCoinReceiptLike, aI as CreatorCoinService, aJ as DeployClubParams, aK as DeployCollectionParams, aL as DropCollectionABI, aM as DropFactoryABI, aN as DropMintStatus, aO as DropService, aP as ERC1155CollectionService, aQ as EkuboLaunchParams, aR as EkuboPoolParams, aS as EnforcementDeclaration, aT as FeeConfig, aU as FeeConfigSchema, aV as FeeSurface, aW as FulfillOrderIntentParams, aX as IPClubABI, aY as IPClubCollectionABI, aZ as IPClubFactoryABI, a_ as IPClubNFTABI, a$ as IPCollection1155ABI, b0 as IPCollection1155FactoryABI, b1 as IPCollectionABI, b2 as IPGenesisABI, b3 as IPMarketplaceABI, b4 as IPNftABI, b5 as IPSponsorshipABI, b6 as IPTicketCollectionABI, b7 as IPTicketCollectionFactoryABI, b8 as IPType, b9 as IntentCall, ba as IntentStatus, bb as IntentType, bc as IpAttribute, bd as IpNftMetadata, be as LAUNCH_PRICE_QUOTE_PER_COIN, bf as MakeOfferIntentParams, bg as Medialane1155ABI, bh as MedialaneApiError, bi as MedialaneClient, bj as MedialaneConfig, bk as MedialaneError, bl as MedialaneErrorCode, bm as MintEditionParams, bn as MintTicketsParams, bo as OPEN_LICENSES, bp as OfferItem, bq as OpenLicense, br as Order, bs as OrderDetails, bt as OrderParameters, bu as OrderStatus, bv as POPCollectionABI, bw as POPFactoryABI, bx as ParsedAdminHeaders, by as PopBatchEligibilityItem, bz as PopClaimStatus, bA as PopEventType, bB as PopService, bC as ProposeSponsorshipParams, bD as RemixOfferStatus, bE as RequestSiwsTokenArgs, bF as ResolvedConfig, bG as ResolvedFeeConfig, bH as ResolvedOrder, bI as RetryOptions, bJ as ServiceEventDeclaration, bK as SiwsSigner, bL as SortOrder, bM as SponsorshipService, bN as StarknetVenue, bO as StarknetVenueDeps, bP as StarknetVenueSigner, bQ as TenantPlan, bR as TicketService, bS as TxResult, bT as VALIDATED_EKUBO_PARAMS, bU as WebhookEventType, bV as WebhookStatus, bW as adminRequestDigest, bX as build1155CancellationTypedData, bY as build1155OrderTypedData, bZ as buildAdminSessionTypedData, b_ as buildCancellationTypedData, b$ as buildCreateCreatorCoinCall, c0 as buildFeeCall, c1 as buildLaunchOnEkuboCalls, c2 as buildOrderTypedData, c3 as buybackQuoteRaw, c4 as coinToRaw, c5 as createAdminSessionGrant, c6 as encodeAdminHeaders, c7 as encodeByteArray, c8 as fdvHuman, c9 as getCounter, ca as getCounter1155, cb as getCreatorCoinPrice, cc as getOrderDetails, cd as getOrderDetails1155, ce as getSiwsStorageKey, cf as getStoredSiwsToken, cg as isSiwsTokenValid, ch as normalizeSiwsSignature, ci as parseAdminHeaders, cj as parseCreatorCoinCreated, ck as randomNonce, cl as requestSiwsToken, cm as resolveConfig, cn as resolveFeeConfig, co as sessionKeyHashOf, cp as signAdminRequest, cq as storeSiwsToken, cr as teamCoinsRaw, cs as validateCoinName, ct as validateCoinSupply, cu as validateCoinSymbol, cv as verifyAdminRequestSig } from './index-BZ9ALq55.js';
|
|
3
|
+
import { C as Chain } from './types-2x30q_6p.js';
|
|
4
|
+
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-2x30q_6p.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'starknet';
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ declare const STARKNET_IP_CLUB_NFT_CLASS_HASH: `0x${string}`;
|
|
|
31
31
|
declare const STARKNET_IP_CLUB_FACTORY_CONTRACT: `0x${string}`;
|
|
32
32
|
declare const STARKNET_IP_CLUB_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
33
33
|
declare const STARKNET_IP_SPONSORSHIP_CONTRACT: `0x${string}`;
|
|
34
|
-
declare const
|
|
34
|
+
declare const STARKNET_IP_SPONSORSHIP_CLASS_HASH: `0x${string}`;
|
|
35
35
|
declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: `0x${string}`;
|
|
36
36
|
declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: `0x${string}`;
|
|
37
37
|
declare const STARKNET_CREATOR_COIN_CLASS_HASH: `0x${string}`;
|
|
@@ -238,20 +238,25 @@ declare const SERVICES: {
|
|
|
238
238
|
readonly description: "Sponsorship offers and licenses anchored to an existing Medialane asset.";
|
|
239
239
|
readonly standard: "ERC721";
|
|
240
240
|
readonly provenance: "MEDIALANE";
|
|
241
|
-
readonly
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
241
|
+
readonly onchain: {
|
|
242
|
+
readonly STARKNET: {
|
|
243
|
+
readonly factoryAddress: `0x${string}`;
|
|
244
|
+
readonly classHash: `0x${string}`;
|
|
245
|
+
readonly startBlock: number;
|
|
246
|
+
};
|
|
245
247
|
};
|
|
246
|
-
};
|
|
247
|
-
readonly "ip-sponsorship-license": {
|
|
248
|
-
readonly id: "ip-sponsorship-license";
|
|
249
|
-
readonly displayName: "Sponsorship License Receipt";
|
|
250
|
-
readonly description: "Non-authoritative receipt NFT minted to a sponsor when a sponsorship bid is accepted.";
|
|
251
|
-
readonly standard: "ERC721";
|
|
252
|
-
readonly provenance: "MEDIALANE";
|
|
253
248
|
readonly uiVariant: "standard";
|
|
254
|
-
readonly capabilities: ["transfer"];
|
|
249
|
+
readonly capabilities: ["sponsor", "transfer"];
|
|
250
|
+
readonly events: [{
|
|
251
|
+
readonly name: "OfferCreated";
|
|
252
|
+
readonly emittedBy: "factory";
|
|
253
|
+
}, {
|
|
254
|
+
readonly name: "ProposalCreated";
|
|
255
|
+
readonly emittedBy: "factory";
|
|
256
|
+
}, {
|
|
257
|
+
readonly name: "LicenseMinted";
|
|
258
|
+
readonly emittedBy: "factory";
|
|
259
|
+
}];
|
|
255
260
|
readonly metadataSchema: {
|
|
256
261
|
readonly licenseDefault: "CC BY-SA";
|
|
257
262
|
};
|
|
@@ -503,4 +508,4 @@ interface FailoverFetchOptions {
|
|
|
503
508
|
*/
|
|
504
509
|
declare function createFailoverFetch(urls: string[], options?: FailoverFetchOptions): typeof fetch;
|
|
505
510
|
|
|
506
|
-
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT, STARKNET_IP_CLUB_NFT_CLASS_HASH, STARKNET_IP_CLUB_REGISTRY_CONTRACT,
|
|
511
|
+
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT, STARKNET_IP_CLUB_NFT_CLASS_HASH, STARKNET_IP_CLUB_REGISTRY_CONTRACT, STARKNET_IP_SPONSORSHIP_CLASS_HASH, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_TICKETS_FACTORY_CONTRACT, STARKNET_IP_TICKET_COLLECTION_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, ServiceCapability, ServiceDefinition, type ServiceId, type SupportedToken, type SupportedTokenSymbol, createFailoverFetch, formatAmount, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, shortenAddress, stringifyBigInts, u256ToBigInt };
|