@medialane/sdk 0.67.0 → 0.69.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/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { S as ServiceDefinition, a as ServiceCapability } from './index-C2EaTkzk.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 IPSponsorshipLicenseABI, b7 as IPTicketCollectionABI, b8 as IPTicketCollectionFactoryABI, b9 as IPType, ba as IntentCall, bb as IntentStatus, bc as IntentType, bd as IpAttribute, be as IpNftMetadata, bf as LAUNCH_PRICE_QUOTE_PER_COIN, bg as MakeOfferIntentParams, bh as Medialane1155ABI, bi as MedialaneApiError, bj as MedialaneClient, bk as MedialaneConfig, bl as MedialaneError, bm as MedialaneErrorCode, bn as MintEditionParams, bo as MintTicketsParams, bp as OPEN_LICENSES, bq as OfferItem, br as OpenLicense, bs as Order, bt as OrderDetails, bu as OrderParameters, bv as OrderStatus, bw as POPCollectionABI, bx as POPFactoryABI, by as ParsedAdminHeaders, bz as PopBatchEligibilityItem, bA as PopClaimStatus, bB as PopEventType, bC as PopService, 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-C2EaTkzk.cjs';
3
- import { C as Chain } from './types-CIR6H6ul.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-CIR6H6ul.cjs';
1
+ import { S as ServiceDefinition, a as ServiceCapability } from './index-7ubLS_Ae.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 CreateCollectionIntentParams, at as CreateCounterOfferIntentParams, au as CreateCreatorCoinParams, av as CreateDropParams, aw as CreateGrantOpts, ax as CreateListingIntentParams, ay as CreateMembershipParams, 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 DeployCollectionParams, aK as DropCollectionABI, aL as DropFactoryABI, aM as DropMintStatus, aN as DropService, aO as ERC1155CollectionService, aP as EkuboLaunchParams, aQ as EkuboPoolParams, aR as EnforcementDeclaration, aS as FeeConfig, aT as FeeConfigSchema, aU as FeeSurface, aV as FulfillOrderIntentParams, aW as IPClubCollectionABI, aX as IPClubFactoryABI, aY as IPCollection1155ABI, aZ as IPCollection1155FactoryABI, a_ as IPCollectionABI, a$ as IPGenesisABI, b0 as IPMarketplaceABI, b1 as IPNftABI, b2 as IPSponsorshipABI, b3 as IPTicketCollectionABI, b4 as IPTicketCollectionFactoryABI, b5 as IPType, b6 as IntentCall, b7 as IntentStatus, b8 as IntentType, b9 as IpAttribute, ba as IpNftMetadata, bb as LAUNCH_PRICE_QUOTE_PER_COIN, bc as MakeOfferIntentParams, bd as Medialane1155ABI, be as MedialaneApiError, bf as MedialaneClient, bg as MedialaneConfig, bh as MedialaneError, bi as MedialaneErrorCode, bj as MintEditionParams, bk as MintMembershipsParams, bl as MintTicketsParams, bm as OPEN_LICENSES, bn as OfferItem, bo as OpenLicense, bp as Order, bq as OrderDetails, br as OrderParameters, bs as OrderStatus, bt as POPCollectionABI, bu as POPFactoryABI, bv as ParsedAdminHeaders, bw as PopBatchEligibilityItem, bx as PopClaimStatus, by as PopEventType, bz as PopService, bA as ProposeSponsorshipParams, bB as RemixOfferStatus, bC as RequestSiwsTokenArgs, bD as ResolvedConfig, bE as ResolvedFeeConfig, bF as ResolvedOrder, bG as RetryOptions, bH as ServiceEventDeclaration, bI as SiwsSigner, bJ as SortOrder, bK as SponsorshipService, bL as StarknetVenue, bM as StarknetVenueDeps, bN as StarknetVenueSigner, bO as TenantPlan, bP as TicketService, bQ as TxResult, bR as VALIDATED_EKUBO_PARAMS, bS as WebhookEventType, bT as WebhookStatus, bU as adminRequestDigest, bV as build1155CancellationTypedData, bW as build1155OrderTypedData, bX as buildAdminSessionTypedData, bY as buildCancellationTypedData, bZ as buildCreateCreatorCoinCall, b_ as buildFeeCall, b$ as buildLaunchOnEkuboCalls, c0 as buildOrderTypedData, c1 as buybackQuoteRaw, c2 as coinToRaw, c3 as createAdminSessionGrant, c4 as encodeAdminHeaders, c5 as encodeByteArray, c6 as fdvHuman, c7 as getCounter, c8 as getCounter1155, c9 as getCreatorCoinPrice, ca as getOrderDetails, cb as getOrderDetails1155, cc as getSiwsStorageKey, cd as getStoredSiwsToken, ce as isSiwsTokenValid, cf as normalizeSiwsSignature, cg as parseAdminHeaders, ch as parseCreatorCoinCreated, ci as randomNonce, cj as requestSiwsToken, ck as resolveConfig, cl as resolveFeeConfig, cm as sessionKeyHashOf, cn as signAdminRequest, co as storeSiwsToken, cp as teamCoinsRaw, cq as validateCoinName, cr as validateCoinSupply, cs as validateCoinSymbol, ct as verifyAdminRequestSig } from './index-7ubLS_Ae.cjs';
3
+ import { C as Chain } from './types-Du_-QoQ1.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-Du_-QoQ1.cjs';
5
5
  import 'zod';
6
6
  import 'starknet';
7
7
 
@@ -26,12 +26,10 @@ declare const STARKNET_DROP_COLLECTION_CLASS_HASH: `0x${string}`;
26
26
  declare const STARKNET_NFTCOMMENTS_CONTRACT: `0x${string}`;
27
27
  declare const STARKNET_IP_TICKETS_FACTORY_CONTRACT: `0x${string}`;
28
28
  declare const STARKNET_IP_TICKET_COLLECTION_CLASS_HASH: `0x${string}`;
29
- declare const STARKNET_IP_CLUB_REGISTRY_CONTRACT: `0x${string}`;
30
- declare const STARKNET_IP_CLUB_NFT_CLASS_HASH: `0x${string}`;
31
29
  declare const STARKNET_IP_CLUB_FACTORY_CONTRACT: `0x${string}`;
32
30
  declare const STARKNET_IP_CLUB_COLLECTION_CLASS_HASH: `0x${string}`;
33
31
  declare const STARKNET_IP_SPONSORSHIP_CONTRACT: `0x${string}`;
34
- declare const STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT: `0x${string}`;
32
+ declare const STARKNET_IP_SPONSORSHIP_CLASS_HASH: `0x${string}`;
35
33
  declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: `0x${string}`;
36
34
  declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: `0x${string}`;
37
35
  declare const STARKNET_CREATOR_COIN_CLASS_HASH: `0x${string}`;
@@ -219,14 +217,23 @@ declare const SERVICES: {
219
217
  readonly "ip-club": {
220
218
  readonly id: "ip-club";
221
219
  readonly displayName: "IP Club";
222
- readonly description: "Membership clubs with an on-chain NFT membership card.";
223
- readonly standard: "ERC721";
220
+ readonly description: "Membership clubs create tiers, mint membership cards, trade like any collection.";
221
+ readonly standard: "ERC1155";
224
222
  readonly provenance: "MEDIALANE";
223
+ readonly onchain: {
224
+ readonly STARKNET: {
225
+ readonly factoryAddress: `0x${string}`;
226
+ readonly classHash: `0x${string}`;
227
+ };
228
+ };
225
229
  readonly uiVariant: "club";
226
- readonly capabilities: ["subscribe"];
230
+ readonly capabilities: ["mint", "list", "buy", "make_offer", "cancel", "transfer"];
227
231
  readonly events: [{
228
- readonly name: "NewClubCreated";
232
+ readonly name: "ClubDeployed";
229
233
  readonly emittedBy: "factory";
234
+ }, {
235
+ readonly name: "MembershipCreated";
236
+ readonly emittedBy: "instance";
230
237
  }];
231
238
  readonly metadataSchema: {
232
239
  readonly licenseDefault: "CC BY-SA";
@@ -238,20 +245,25 @@ declare const SERVICES: {
238
245
  readonly description: "Sponsorship offers and licenses anchored to an existing Medialane asset.";
239
246
  readonly standard: "ERC721";
240
247
  readonly provenance: "MEDIALANE";
241
- readonly uiVariant: "standard";
242
- readonly capabilities: ["sponsor"];
243
- readonly metadataSchema: {
244
- readonly licenseDefault: "CC BY-SA";
248
+ readonly onchain: {
249
+ readonly STARKNET: {
250
+ readonly factoryAddress: `0x${string}`;
251
+ readonly classHash: `0x${string}`;
252
+ readonly startBlock: number;
253
+ };
245
254
  };
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
255
  readonly uiVariant: "standard";
254
- readonly capabilities: ["transfer"];
256
+ readonly capabilities: ["sponsor", "transfer"];
257
+ readonly events: [{
258
+ readonly name: "OfferCreated";
259
+ readonly emittedBy: "factory";
260
+ }, {
261
+ readonly name: "ProposalCreated";
262
+ readonly emittedBy: "factory";
263
+ }, {
264
+ readonly name: "LicenseMinted";
265
+ readonly emittedBy: "factory";
266
+ }];
255
267
  readonly metadataSchema: {
256
268
  readonly licenseDefault: "CC BY-SA";
257
269
  };
@@ -503,4 +515,4 @@ interface FailoverFetchOptions {
503
515
  */
504
516
  declare function createFailoverFetch(urls: string[], options?: FailoverFetchOptions): typeof fetch;
505
517
 
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, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_SPONSORSHIP_LICENSE_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 };
518
+ 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_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-DjJ4k6p_.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 IPSponsorshipLicenseABI, b7 as IPTicketCollectionABI, b8 as IPTicketCollectionFactoryABI, b9 as IPType, ba as IntentCall, bb as IntentStatus, bc as IntentType, bd as IpAttribute, be as IpNftMetadata, bf as LAUNCH_PRICE_QUOTE_PER_COIN, bg as MakeOfferIntentParams, bh as Medialane1155ABI, bi as MedialaneApiError, bj as MedialaneClient, bk as MedialaneConfig, bl as MedialaneError, bm as MedialaneErrorCode, bn as MintEditionParams, bo as MintTicketsParams, bp as OPEN_LICENSES, bq as OfferItem, br as OpenLicense, bs as Order, bt as OrderDetails, bu as OrderParameters, bv as OrderStatus, bw as POPCollectionABI, bx as POPFactoryABI, by as ParsedAdminHeaders, bz as PopBatchEligibilityItem, bA as PopClaimStatus, bB as PopEventType, bC as PopService, 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-DjJ4k6p_.js';
3
- import { C as Chain } from './types-CIR6H6ul.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-CIR6H6ul.js';
1
+ import { S as ServiceDefinition, a as ServiceCapability } from './index-CQGxMPav.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 CreateCollectionIntentParams, at as CreateCounterOfferIntentParams, au as CreateCreatorCoinParams, av as CreateDropParams, aw as CreateGrantOpts, ax as CreateListingIntentParams, ay as CreateMembershipParams, 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 DeployCollectionParams, aK as DropCollectionABI, aL as DropFactoryABI, aM as DropMintStatus, aN as DropService, aO as ERC1155CollectionService, aP as EkuboLaunchParams, aQ as EkuboPoolParams, aR as EnforcementDeclaration, aS as FeeConfig, aT as FeeConfigSchema, aU as FeeSurface, aV as FulfillOrderIntentParams, aW as IPClubCollectionABI, aX as IPClubFactoryABI, aY as IPCollection1155ABI, aZ as IPCollection1155FactoryABI, a_ as IPCollectionABI, a$ as IPGenesisABI, b0 as IPMarketplaceABI, b1 as IPNftABI, b2 as IPSponsorshipABI, b3 as IPTicketCollectionABI, b4 as IPTicketCollectionFactoryABI, b5 as IPType, b6 as IntentCall, b7 as IntentStatus, b8 as IntentType, b9 as IpAttribute, ba as IpNftMetadata, bb as LAUNCH_PRICE_QUOTE_PER_COIN, bc as MakeOfferIntentParams, bd as Medialane1155ABI, be as MedialaneApiError, bf as MedialaneClient, bg as MedialaneConfig, bh as MedialaneError, bi as MedialaneErrorCode, bj as MintEditionParams, bk as MintMembershipsParams, bl as MintTicketsParams, bm as OPEN_LICENSES, bn as OfferItem, bo as OpenLicense, bp as Order, bq as OrderDetails, br as OrderParameters, bs as OrderStatus, bt as POPCollectionABI, bu as POPFactoryABI, bv as ParsedAdminHeaders, bw as PopBatchEligibilityItem, bx as PopClaimStatus, by as PopEventType, bz as PopService, bA as ProposeSponsorshipParams, bB as RemixOfferStatus, bC as RequestSiwsTokenArgs, bD as ResolvedConfig, bE as ResolvedFeeConfig, bF as ResolvedOrder, bG as RetryOptions, bH as ServiceEventDeclaration, bI as SiwsSigner, bJ as SortOrder, bK as SponsorshipService, bL as StarknetVenue, bM as StarknetVenueDeps, bN as StarknetVenueSigner, bO as TenantPlan, bP as TicketService, bQ as TxResult, bR as VALIDATED_EKUBO_PARAMS, bS as WebhookEventType, bT as WebhookStatus, bU as adminRequestDigest, bV as build1155CancellationTypedData, bW as build1155OrderTypedData, bX as buildAdminSessionTypedData, bY as buildCancellationTypedData, bZ as buildCreateCreatorCoinCall, b_ as buildFeeCall, b$ as buildLaunchOnEkuboCalls, c0 as buildOrderTypedData, c1 as buybackQuoteRaw, c2 as coinToRaw, c3 as createAdminSessionGrant, c4 as encodeAdminHeaders, c5 as encodeByteArray, c6 as fdvHuman, c7 as getCounter, c8 as getCounter1155, c9 as getCreatorCoinPrice, ca as getOrderDetails, cb as getOrderDetails1155, cc as getSiwsStorageKey, cd as getStoredSiwsToken, ce as isSiwsTokenValid, cf as normalizeSiwsSignature, cg as parseAdminHeaders, ch as parseCreatorCoinCreated, ci as randomNonce, cj as requestSiwsToken, ck as resolveConfig, cl as resolveFeeConfig, cm as sessionKeyHashOf, cn as signAdminRequest, co as storeSiwsToken, cp as teamCoinsRaw, cq as validateCoinName, cr as validateCoinSupply, cs as validateCoinSymbol, ct as verifyAdminRequestSig } from './index-CQGxMPav.js';
3
+ import { C as Chain } from './types-Du_-QoQ1.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-Du_-QoQ1.js';
5
5
  import 'zod';
6
6
  import 'starknet';
7
7
 
@@ -26,12 +26,10 @@ declare const STARKNET_DROP_COLLECTION_CLASS_HASH: `0x${string}`;
26
26
  declare const STARKNET_NFTCOMMENTS_CONTRACT: `0x${string}`;
27
27
  declare const STARKNET_IP_TICKETS_FACTORY_CONTRACT: `0x${string}`;
28
28
  declare const STARKNET_IP_TICKET_COLLECTION_CLASS_HASH: `0x${string}`;
29
- declare const STARKNET_IP_CLUB_REGISTRY_CONTRACT: `0x${string}`;
30
- declare const STARKNET_IP_CLUB_NFT_CLASS_HASH: `0x${string}`;
31
29
  declare const STARKNET_IP_CLUB_FACTORY_CONTRACT: `0x${string}`;
32
30
  declare const STARKNET_IP_CLUB_COLLECTION_CLASS_HASH: `0x${string}`;
33
31
  declare const STARKNET_IP_SPONSORSHIP_CONTRACT: `0x${string}`;
34
- declare const STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT: `0x${string}`;
32
+ declare const STARKNET_IP_SPONSORSHIP_CLASS_HASH: `0x${string}`;
35
33
  declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: `0x${string}`;
36
34
  declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: `0x${string}`;
37
35
  declare const STARKNET_CREATOR_COIN_CLASS_HASH: `0x${string}`;
@@ -219,14 +217,23 @@ declare const SERVICES: {
219
217
  readonly "ip-club": {
220
218
  readonly id: "ip-club";
221
219
  readonly displayName: "IP Club";
222
- readonly description: "Membership clubs with an on-chain NFT membership card.";
223
- readonly standard: "ERC721";
220
+ readonly description: "Membership clubs create tiers, mint membership cards, trade like any collection.";
221
+ readonly standard: "ERC1155";
224
222
  readonly provenance: "MEDIALANE";
223
+ readonly onchain: {
224
+ readonly STARKNET: {
225
+ readonly factoryAddress: `0x${string}`;
226
+ readonly classHash: `0x${string}`;
227
+ };
228
+ };
225
229
  readonly uiVariant: "club";
226
- readonly capabilities: ["subscribe"];
230
+ readonly capabilities: ["mint", "list", "buy", "make_offer", "cancel", "transfer"];
227
231
  readonly events: [{
228
- readonly name: "NewClubCreated";
232
+ readonly name: "ClubDeployed";
229
233
  readonly emittedBy: "factory";
234
+ }, {
235
+ readonly name: "MembershipCreated";
236
+ readonly emittedBy: "instance";
230
237
  }];
231
238
  readonly metadataSchema: {
232
239
  readonly licenseDefault: "CC BY-SA";
@@ -238,20 +245,25 @@ declare const SERVICES: {
238
245
  readonly description: "Sponsorship offers and licenses anchored to an existing Medialane asset.";
239
246
  readonly standard: "ERC721";
240
247
  readonly provenance: "MEDIALANE";
241
- readonly uiVariant: "standard";
242
- readonly capabilities: ["sponsor"];
243
- readonly metadataSchema: {
244
- readonly licenseDefault: "CC BY-SA";
248
+ readonly onchain: {
249
+ readonly STARKNET: {
250
+ readonly factoryAddress: `0x${string}`;
251
+ readonly classHash: `0x${string}`;
252
+ readonly startBlock: number;
253
+ };
245
254
  };
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
255
  readonly uiVariant: "standard";
254
- readonly capabilities: ["transfer"];
256
+ readonly capabilities: ["sponsor", "transfer"];
257
+ readonly events: [{
258
+ readonly name: "OfferCreated";
259
+ readonly emittedBy: "factory";
260
+ }, {
261
+ readonly name: "ProposalCreated";
262
+ readonly emittedBy: "factory";
263
+ }, {
264
+ readonly name: "LicenseMinted";
265
+ readonly emittedBy: "factory";
266
+ }];
255
267
  readonly metadataSchema: {
256
268
  readonly licenseDefault: "CC BY-SA";
257
269
  };
@@ -503,4 +515,4 @@ interface FailoverFetchOptions {
503
515
  */
504
516
  declare function createFailoverFetch(urls: string[], options?: FailoverFetchOptions): typeof fetch;
505
517
 
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, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_SPONSORSHIP_LICENSE_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 };
518
+ 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_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 };