@medialane/sdk 0.83.0 → 0.85.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.
@@ -12,16 +12,19 @@ declare const FeeConfigSchema: z.ZodObject<{
12
12
  fundAddress: z.ZodOptional<z.ZodString>;
13
13
  marketplaceBps: z.ZodDefault<z.ZodNumber>;
14
14
  launchpadBps: z.ZodDefault<z.ZodNumber>;
15
+ sponsorshipBps: z.ZodDefault<z.ZodNumber>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  enabled: boolean;
17
18
  marketplaceBps: number;
18
19
  launchpadBps: number;
20
+ sponsorshipBps: number;
19
21
  fundAddress?: string | undefined;
20
22
  }, {
21
23
  enabled?: boolean | undefined;
22
24
  fundAddress?: string | undefined;
23
25
  marketplaceBps?: number | undefined;
24
26
  launchpadBps?: number | undefined;
27
+ sponsorshipBps?: number | undefined;
25
28
  }>;
26
29
  type FeeConfig = z.input<typeof FeeConfigSchema>;
27
30
  interface ResolvedFeeConfig {
@@ -29,6 +32,7 @@ interface ResolvedFeeConfig {
29
32
  fundAddress: string | undefined;
30
33
  marketplaceBps: number;
31
34
  launchpadBps: number;
35
+ sponsorshipBps: number;
32
36
  }
33
37
  declare function resolveFeeConfig(raw: FeeConfig | undefined): ResolvedFeeConfig;
34
38
 
@@ -61,16 +65,19 @@ declare const MedialaneConfigSchema: z.ZodObject<{
61
65
  fundAddress: z.ZodOptional<z.ZodString>;
62
66
  marketplaceBps: z.ZodDefault<z.ZodNumber>;
63
67
  launchpadBps: z.ZodDefault<z.ZodNumber>;
68
+ sponsorshipBps: z.ZodDefault<z.ZodNumber>;
64
69
  }, "strip", z.ZodTypeAny, {
65
70
  enabled: boolean;
66
71
  marketplaceBps: number;
67
72
  launchpadBps: number;
73
+ sponsorshipBps: number;
68
74
  fundAddress?: string | undefined;
69
75
  }, {
70
76
  enabled?: boolean | undefined;
71
77
  fundAddress?: string | undefined;
72
78
  marketplaceBps?: number | undefined;
73
79
  launchpadBps?: number | undefined;
80
+ sponsorshipBps?: number | undefined;
74
81
  }>>;
75
82
  }, "strip", z.ZodTypeAny, {
76
83
  chain: "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "STELLAR" | "BITCOIN";
@@ -92,6 +99,7 @@ declare const MedialaneConfigSchema: z.ZodObject<{
92
99
  enabled: boolean;
93
100
  marketplaceBps: number;
94
101
  launchpadBps: number;
102
+ sponsorshipBps: number;
95
103
  fundAddress?: string | undefined;
96
104
  } | undefined;
97
105
  }, {
@@ -115,6 +123,7 @@ declare const MedialaneConfigSchema: z.ZodObject<{
115
123
  fundAddress?: string | undefined;
116
124
  marketplaceBps?: number | undefined;
117
125
  launchpadBps?: number | undefined;
126
+ sponsorshipBps?: number | undefined;
118
127
  } | undefined;
119
128
  }>;
120
129
  type MedialaneConfig = z.input<typeof MedialaneConfigSchema>;
@@ -635,6 +644,10 @@ interface CancelOrderIntentParams {
635
644
  type FactoryFamilyServiceId = "mip-erc1155" | "ip-tickets" | "ip-club";
636
645
  /** The subset of FactoryFamilyServiceId that supports CREATE_TIER (ip-tickets, ip-club). */
637
646
  type TierServiceId = "ip-tickets" | "ip-club";
647
+ /** Services CREATE_COLLECTION can deploy — the factory-family ones plus pop-protocol/drop-collection,
648
+ * which take extra service-specific fields (see CreateCollectionIntentParams) since their factories
649
+ * don't share the uniform `deploy_collection(name, symbol, baseUri)` entrypoint. */
650
+ type CollectionServiceId = FactoryFamilyServiceId | "pop-protocol" | "drop-collection";
638
651
  interface CreateMintIntentParams {
639
652
  /** Collection owner wallet address — must be the collection owner on-chain */
640
653
  owner: string;
@@ -670,10 +683,24 @@ interface CreateCollectionIntentParams {
670
683
  /** Optional: override the default collection contract address (registry path only). */
671
684
  collectionContract?: string;
672
685
  /**
673
- * Omit for the registry path (mip-erc721/ip-erc721). Pass a factory-family id to
686
+ * Omit for the registry path (mip-erc721/ip-erc721). Pass a collection-service id to
674
687
  * deploy a new per-creator contract via that service's factory instead.
675
688
  */
676
- service?: FactoryFamilyServiceId;
689
+ service?: CollectionServiceId;
690
+ /** pop-protocol only: unix seconds after which `claim()` stops working. */
691
+ claimEndTimestamp?: number;
692
+ /** pop-protocol only: the POPFactory's EventType variant name (e.g. "Conference"). */
693
+ eventType?: PopEventType;
694
+ /** drop-collection only: total mintable supply across the whole drop. */
695
+ maxSupply?: string;
696
+ /** drop-collection only: the initial claim window/price/per-wallet cap. */
697
+ conditions?: {
698
+ startTime: number;
699
+ endTime: number;
700
+ price: string;
701
+ paymentToken: string;
702
+ maxQuantityPerWallet: string;
703
+ };
677
704
  }
678
705
  interface CreateCheckoutIntentParams {
679
706
  fulfiller: string;
@@ -704,6 +731,34 @@ interface CreateTierIntentParams {
704
731
  royaltyBps: number;
705
732
  metadataUri: string;
706
733
  }
734
+ interface CreateCoinIntentParams {
735
+ /** Owner of the new coin — the only address allowed to launch it. */
736
+ owner: string;
737
+ name: string;
738
+ symbol: string;
739
+ /** Full fixed supply (raw, 18 decimals). Minted to the Factory until launch. */
740
+ initialSupply: string;
741
+ /** Deterministic deploy salt. Omitted = timestamp-derived. */
742
+ salt?: string;
743
+ }
744
+ interface LaunchCoinIntentParams {
745
+ /** Wallet that must own the coin — the contract itself is the authority; an
746
+ * unauthorized caller simply reverts. */
747
+ owner: string;
748
+ /** The deployed CreatorCoin contract (from a prior createCoinIntent deploy). */
749
+ creatorCoin: string;
750
+ /** Quote token (e.g. STRK). Must NOT itself be a Creator Coin. */
751
+ quoteToken: string;
752
+ /** Team-allocation recipients (≤10% of supply, summed). */
753
+ initialHolders: string[];
754
+ initialHoldersAmounts: string[];
755
+ /** Anti-snipe window in seconds. Omitted = none. */
756
+ transferRestrictionDelay?: number;
757
+ /** Max % of supply buyable per tx during the window, in bps. Omitted = the SDK default. */
758
+ maxPercentageBuyLaunch?: number;
759
+ /** Quote (raw units) to transfer to the Factory in the same multicall, to fund the team-allocation buyback. */
760
+ quoteFundAmount?: string;
761
+ }
707
762
  interface CreateSponsorshipOfferIntentParams {
708
763
  /** The offer author — must currently own (nftContract, tokenId) on-chain. */
709
764
  author: string;
@@ -1180,6 +1235,8 @@ declare class ApiClient {
1180
1235
  createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1181
1236
  createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1182
1237
  createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1238
+ createCoinIntent(params: CreateCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1239
+ launchCoinIntent(params: LaunchCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1183
1240
  createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1184
1241
  setSponsorshipOfferOpenIntent(params: SetSponsorshipOfferOpenIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1185
1242
  placeSponsorshipBidIntent(params: PlaceSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
@@ -1538,4 +1595,4 @@ interface ProposeSponsorshipParams {
1538
1595
  royaltyBps: bigint | string;
1539
1596
  }
1540
1597
 
1541
- export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PopEventType as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type EnforcementDeclaration as aA, type FactoryFamilyServiceId as aB, type FeeConfig as aC, FeeConfigSchema as aD, type FulfillOrderIntentParams as aE, type IPType as aF, type IntentCall as aG, type IntentStatus as aH, type IntentType as aI, type IpAttribute as aJ, type IpNftMetadata as aK, type MakeOfferIntentParams as aL, MedialaneApiError as aM, type MedialaneConfig as aN, type MedialaneErrorCode as aO, type MintMembershipsParams as aP, type MintTicketsParams as aQ, OPEN_LICENSES as aR, type OfferItem as aS, type OpenLicense as aT, type Order as aU, type OrderDetails as aV, type OrderParameters as aW, type OrderStatus as aX, type PlaceSponsorshipBidIntentParams as aY, type PopBatchEligibilityItem as aZ, type PopClaimStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionSort as af, type CollectionTokensSort as ag, type ConfirmRemixOfferParams as ah, type ConfirmSelfRemixParams as ai, type ConsiderationItem as aj, type CreateCheckoutIntentParams as ak, type CreateCollectionIntentParams as al, type CreateCounterOfferIntentParams as am, type CreateDropParams as an, type CreateListingIntentParams as ao, type CreateMembershipParams as ap, type CreateMintIntentParams as aq, type CreatePopCollectionParams as ar, type CreateRemixOfferParams as as, type CreateSponsorshipOfferIntentParams as at, type CreateSponsorshipOfferParams as au, type CreateSponsorshipProposalIntentParams as av, type CreateTicketParams as aw, type CreateTierIntentParams as ax, type CreateWebhookParams as ay, type DropMintStatus as az, type AcceptSponsorshipProposalIntentParams as b, type ProposeSponsorshipParams as b0, type RejectSponsorshipProposalIntentParams as b1, type RemixOfferStatus as b2, type ResolvedConfig as b3, type ResolvedFeeConfig as b4, type RetractSponsorshipBidIntentParams as b5, type RetryOptions as b6, type ServiceEventDeclaration as b7, type SetSponsorshipOfferOpenIntentParams as b8, type SortOrder as b9, type TenantPlan as ba, type TierServiceId as bb, type TxResult as bc, type WebhookEventType as bd, type WebhookStatus as be, type WithdrawSponsorshipProposalIntentParams as bf, resolveConfig as bg, resolveFeeConfig as bh, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
1598
+ export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PlaceSponsorshipBidIntentParams as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type CreateWebhookParams as aA, type DropMintStatus as aB, type EnforcementDeclaration as aC, type FactoryFamilyServiceId as aD, type FeeConfig as aE, FeeConfigSchema as aF, type FulfillOrderIntentParams as aG, type IPType as aH, type IntentCall as aI, type IntentStatus as aJ, type IntentType as aK, type IpAttribute as aL, type IpNftMetadata as aM, type LaunchCoinIntentParams as aN, type MakeOfferIntentParams as aO, MedialaneApiError as aP, type MedialaneConfig as aQ, type MedialaneErrorCode as aR, type MintMembershipsParams as aS, type MintTicketsParams as aT, OPEN_LICENSES as aU, type OfferItem as aV, type OpenLicense as aW, type Order as aX, type OrderDetails as aY, type OrderParameters as aZ, type OrderStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionServiceId as af, type CollectionSort as ag, type CollectionTokensSort as ah, type ConfirmRemixOfferParams as ai, type ConfirmSelfRemixParams as aj, type ConsiderationItem as ak, type CreateCheckoutIntentParams as al, type CreateCoinIntentParams as am, type CreateCollectionIntentParams as an, type CreateCounterOfferIntentParams as ao, type CreateDropParams as ap, type CreateListingIntentParams as aq, type CreateMembershipParams as ar, type CreateMintIntentParams as as, type CreatePopCollectionParams as at, type CreateRemixOfferParams as au, type CreateSponsorshipOfferIntentParams as av, type CreateSponsorshipOfferParams as aw, type CreateSponsorshipProposalIntentParams as ax, type CreateTicketParams as ay, type CreateTierIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type PopBatchEligibilityItem as b0, type PopClaimStatus as b1, type PopEventType as b2, type ProposeSponsorshipParams as b3, type RejectSponsorshipProposalIntentParams as b4, type RemixOfferStatus as b5, type ResolvedConfig as b6, type ResolvedFeeConfig as b7, type RetractSponsorshipBidIntentParams as b8, type RetryOptions as b9, type ServiceEventDeclaration as ba, type SetSponsorshipOfferOpenIntentParams as bb, type SortOrder as bc, type TenantPlan as bd, type TierServiceId as be, type TxResult as bf, type WebhookEventType as bg, type WebhookStatus as bh, type WithdrawSponsorshipProposalIntentParams as bi, resolveConfig as bj, resolveFeeConfig as bk, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
@@ -12,16 +12,19 @@ declare const FeeConfigSchema: z.ZodObject<{
12
12
  fundAddress: z.ZodOptional<z.ZodString>;
13
13
  marketplaceBps: z.ZodDefault<z.ZodNumber>;
14
14
  launchpadBps: z.ZodDefault<z.ZodNumber>;
15
+ sponsorshipBps: z.ZodDefault<z.ZodNumber>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  enabled: boolean;
17
18
  marketplaceBps: number;
18
19
  launchpadBps: number;
20
+ sponsorshipBps: number;
19
21
  fundAddress?: string | undefined;
20
22
  }, {
21
23
  enabled?: boolean | undefined;
22
24
  fundAddress?: string | undefined;
23
25
  marketplaceBps?: number | undefined;
24
26
  launchpadBps?: number | undefined;
27
+ sponsorshipBps?: number | undefined;
25
28
  }>;
26
29
  type FeeConfig = z.input<typeof FeeConfigSchema>;
27
30
  interface ResolvedFeeConfig {
@@ -29,6 +32,7 @@ interface ResolvedFeeConfig {
29
32
  fundAddress: string | undefined;
30
33
  marketplaceBps: number;
31
34
  launchpadBps: number;
35
+ sponsorshipBps: number;
32
36
  }
33
37
  declare function resolveFeeConfig(raw: FeeConfig | undefined): ResolvedFeeConfig;
34
38
 
@@ -61,16 +65,19 @@ declare const MedialaneConfigSchema: z.ZodObject<{
61
65
  fundAddress: z.ZodOptional<z.ZodString>;
62
66
  marketplaceBps: z.ZodDefault<z.ZodNumber>;
63
67
  launchpadBps: z.ZodDefault<z.ZodNumber>;
68
+ sponsorshipBps: z.ZodDefault<z.ZodNumber>;
64
69
  }, "strip", z.ZodTypeAny, {
65
70
  enabled: boolean;
66
71
  marketplaceBps: number;
67
72
  launchpadBps: number;
73
+ sponsorshipBps: number;
68
74
  fundAddress?: string | undefined;
69
75
  }, {
70
76
  enabled?: boolean | undefined;
71
77
  fundAddress?: string | undefined;
72
78
  marketplaceBps?: number | undefined;
73
79
  launchpadBps?: number | undefined;
80
+ sponsorshipBps?: number | undefined;
74
81
  }>>;
75
82
  }, "strip", z.ZodTypeAny, {
76
83
  chain: "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "STELLAR" | "BITCOIN";
@@ -92,6 +99,7 @@ declare const MedialaneConfigSchema: z.ZodObject<{
92
99
  enabled: boolean;
93
100
  marketplaceBps: number;
94
101
  launchpadBps: number;
102
+ sponsorshipBps: number;
95
103
  fundAddress?: string | undefined;
96
104
  } | undefined;
97
105
  }, {
@@ -115,6 +123,7 @@ declare const MedialaneConfigSchema: z.ZodObject<{
115
123
  fundAddress?: string | undefined;
116
124
  marketplaceBps?: number | undefined;
117
125
  launchpadBps?: number | undefined;
126
+ sponsorshipBps?: number | undefined;
118
127
  } | undefined;
119
128
  }>;
120
129
  type MedialaneConfig = z.input<typeof MedialaneConfigSchema>;
@@ -635,6 +644,10 @@ interface CancelOrderIntentParams {
635
644
  type FactoryFamilyServiceId = "mip-erc1155" | "ip-tickets" | "ip-club";
636
645
  /** The subset of FactoryFamilyServiceId that supports CREATE_TIER (ip-tickets, ip-club). */
637
646
  type TierServiceId = "ip-tickets" | "ip-club";
647
+ /** Services CREATE_COLLECTION can deploy — the factory-family ones plus pop-protocol/drop-collection,
648
+ * which take extra service-specific fields (see CreateCollectionIntentParams) since their factories
649
+ * don't share the uniform `deploy_collection(name, symbol, baseUri)` entrypoint. */
650
+ type CollectionServiceId = FactoryFamilyServiceId | "pop-protocol" | "drop-collection";
638
651
  interface CreateMintIntentParams {
639
652
  /** Collection owner wallet address — must be the collection owner on-chain */
640
653
  owner: string;
@@ -670,10 +683,24 @@ interface CreateCollectionIntentParams {
670
683
  /** Optional: override the default collection contract address (registry path only). */
671
684
  collectionContract?: string;
672
685
  /**
673
- * Omit for the registry path (mip-erc721/ip-erc721). Pass a factory-family id to
686
+ * Omit for the registry path (mip-erc721/ip-erc721). Pass a collection-service id to
674
687
  * deploy a new per-creator contract via that service's factory instead.
675
688
  */
676
- service?: FactoryFamilyServiceId;
689
+ service?: CollectionServiceId;
690
+ /** pop-protocol only: unix seconds after which `claim()` stops working. */
691
+ claimEndTimestamp?: number;
692
+ /** pop-protocol only: the POPFactory's EventType variant name (e.g. "Conference"). */
693
+ eventType?: PopEventType;
694
+ /** drop-collection only: total mintable supply across the whole drop. */
695
+ maxSupply?: string;
696
+ /** drop-collection only: the initial claim window/price/per-wallet cap. */
697
+ conditions?: {
698
+ startTime: number;
699
+ endTime: number;
700
+ price: string;
701
+ paymentToken: string;
702
+ maxQuantityPerWallet: string;
703
+ };
677
704
  }
678
705
  interface CreateCheckoutIntentParams {
679
706
  fulfiller: string;
@@ -704,6 +731,34 @@ interface CreateTierIntentParams {
704
731
  royaltyBps: number;
705
732
  metadataUri: string;
706
733
  }
734
+ interface CreateCoinIntentParams {
735
+ /** Owner of the new coin — the only address allowed to launch it. */
736
+ owner: string;
737
+ name: string;
738
+ symbol: string;
739
+ /** Full fixed supply (raw, 18 decimals). Minted to the Factory until launch. */
740
+ initialSupply: string;
741
+ /** Deterministic deploy salt. Omitted = timestamp-derived. */
742
+ salt?: string;
743
+ }
744
+ interface LaunchCoinIntentParams {
745
+ /** Wallet that must own the coin — the contract itself is the authority; an
746
+ * unauthorized caller simply reverts. */
747
+ owner: string;
748
+ /** The deployed CreatorCoin contract (from a prior createCoinIntent deploy). */
749
+ creatorCoin: string;
750
+ /** Quote token (e.g. STRK). Must NOT itself be a Creator Coin. */
751
+ quoteToken: string;
752
+ /** Team-allocation recipients (≤10% of supply, summed). */
753
+ initialHolders: string[];
754
+ initialHoldersAmounts: string[];
755
+ /** Anti-snipe window in seconds. Omitted = none. */
756
+ transferRestrictionDelay?: number;
757
+ /** Max % of supply buyable per tx during the window, in bps. Omitted = the SDK default. */
758
+ maxPercentageBuyLaunch?: number;
759
+ /** Quote (raw units) to transfer to the Factory in the same multicall, to fund the team-allocation buyback. */
760
+ quoteFundAmount?: string;
761
+ }
707
762
  interface CreateSponsorshipOfferIntentParams {
708
763
  /** The offer author — must currently own (nftContract, tokenId) on-chain. */
709
764
  author: string;
@@ -1180,6 +1235,8 @@ declare class ApiClient {
1180
1235
  createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1181
1236
  createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1182
1237
  createTierIntent(params: CreateTierIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1238
+ createCoinIntent(params: CreateCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1239
+ launchCoinIntent(params: LaunchCoinIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1183
1240
  createSponsorshipOfferIntent(params: CreateSponsorshipOfferIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1184
1241
  setSponsorshipOfferOpenIntent(params: SetSponsorshipOfferOpenIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1185
1242
  placeSponsorshipBidIntent(params: PlaceSponsorshipBidIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
@@ -1538,4 +1595,4 @@ interface ProposeSponsorshipParams {
1538
1595
  royaltyBps: bigint | string;
1539
1596
  }
1540
1597
 
1541
- export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PopEventType as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type EnforcementDeclaration as aA, type FactoryFamilyServiceId as aB, type FeeConfig as aC, FeeConfigSchema as aD, type FulfillOrderIntentParams as aE, type IPType as aF, type IntentCall as aG, type IntentStatus as aH, type IntentType as aI, type IpAttribute as aJ, type IpNftMetadata as aK, type MakeOfferIntentParams as aL, MedialaneApiError as aM, type MedialaneConfig as aN, type MedialaneErrorCode as aO, type MintMembershipsParams as aP, type MintTicketsParams as aQ, OPEN_LICENSES as aR, type OfferItem as aS, type OpenLicense as aT, type Order as aU, type OrderDetails as aV, type OrderParameters as aW, type OrderStatus as aX, type PlaceSponsorshipBidIntentParams as aY, type PopBatchEligibilityItem as aZ, type PopClaimStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionSort as af, type CollectionTokensSort as ag, type ConfirmRemixOfferParams as ah, type ConfirmSelfRemixParams as ai, type ConsiderationItem as aj, type CreateCheckoutIntentParams as ak, type CreateCollectionIntentParams as al, type CreateCounterOfferIntentParams as am, type CreateDropParams as an, type CreateListingIntentParams as ao, type CreateMembershipParams as ap, type CreateMintIntentParams as aq, type CreatePopCollectionParams as ar, type CreateRemixOfferParams as as, type CreateSponsorshipOfferIntentParams as at, type CreateSponsorshipOfferParams as au, type CreateSponsorshipProposalIntentParams as av, type CreateTicketParams as aw, type CreateTierIntentParams as ax, type CreateWebhookParams as ay, type DropMintStatus as az, type AcceptSponsorshipProposalIntentParams as b, type ProposeSponsorshipParams as b0, type RejectSponsorshipProposalIntentParams as b1, type RemixOfferStatus as b2, type ResolvedConfig as b3, type ResolvedFeeConfig as b4, type RetractSponsorshipBidIntentParams as b5, type RetryOptions as b6, type ServiceEventDeclaration as b7, type SetSponsorshipOfferOpenIntentParams as b8, type SortOrder as b9, type TenantPlan as ba, type TierServiceId as bb, type TxResult as bc, type WebhookEventType as bd, type WebhookStatus as be, type WithdrawSponsorshipProposalIntentParams as bf, resolveConfig as bg, resolveFeeConfig as bh, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
1598
+ export { type ApiSearchCreatorResult as $, type AcceptSponsorshipBidIntentParams as A, type ApiMeta as B, type ApiMetadataSignedUrl as C, type ApiMetadataUpload as D, type ApiOrder as E, type ApiOrderConsideration as F, type ApiOrderOffer as G, type ApiOrderPrice as H, type ApiOrderTokenMeta as I, type ApiOrderTxHash as J, type ApiOrdersQuery as K, type ApiPointEvent as L, type ApiPortalKey as M, type ApiPortalKeyCreated as N, type ApiPortalMe as O, type ApiPublicRemix as P, type ApiRemixOffer as Q, type ApiRemixOfferPrice as R, type ServiceDefinition as S, type ApiRemixOffersQuery as T, type ApiResponse as U, type ApiRewardsBadge as V, type ApiRewardsBatchEntry as W, type ApiRewardsConfig as X, type ApiRewardsLeaderboardEntry as Y, type ApiRewardsLevel as Z, type ApiSearchCollectionResult as _, type ServiceCapability as a, type PlaceSponsorshipBidIntentParams as a$, type ApiSearchResult as a0, type ApiSearchTokenResult as a1, type ApiToken as a2, type ApiTokenBalance as a3, type ApiTokenMetadata as a4, type ApiUsageDay as a5, type ApiUserRewards as a6, type ApiUserWallet as a7, type ApiWalletActivity as a8, type ApiWebhookCreated as a9, type CreateWebhookParams as aA, type DropMintStatus as aB, type EnforcementDeclaration as aC, type FactoryFamilyServiceId as aD, type FeeConfig as aE, FeeConfigSchema as aF, type FulfillOrderIntentParams as aG, type IPType as aH, type IntentCall as aI, type IntentStatus as aJ, type IntentType as aK, type IpAttribute as aL, type IpNftMetadata as aM, type LaunchCoinIntentParams as aN, type MakeOfferIntentParams as aO, MedialaneApiError as aP, type MedialaneConfig as aQ, type MedialaneErrorCode as aR, type MintMembershipsParams as aS, type MintTicketsParams as aT, OPEN_LICENSES as aU, type OfferItem as aV, type OpenLicense as aW, type Order as aX, type OrderDetails as aY, type OrderParameters as aZ, type OrderStatus as a_, type ApiWebhookEndpoint as aa, type AutoRemixOfferParams as ab, type CancelOrderIntentParams as ac, type ChainFilter as ad, type ClaimConditions as ae, type CollectionServiceId as af, type CollectionSort as ag, type CollectionTokensSort as ah, type ConfirmRemixOfferParams as ai, type ConfirmSelfRemixParams as aj, type ConsiderationItem as ak, type CreateCheckoutIntentParams as al, type CreateCoinIntentParams as am, type CreateCollectionIntentParams as an, type CreateCounterOfferIntentParams as ao, type CreateDropParams as ap, type CreateListingIntentParams as aq, type CreateMembershipParams as ar, type CreateMintIntentParams as as, type CreatePopCollectionParams as at, type CreateRemixOfferParams as au, type CreateSponsorshipOfferIntentParams as av, type CreateSponsorshipOfferParams as aw, type CreateSponsorshipProposalIntentParams as ax, type CreateTicketParams as ay, type CreateTierIntentParams as az, type AcceptSponsorshipProposalIntentParams as b, type PopBatchEligibilityItem as b0, type PopClaimStatus as b1, type PopEventType as b2, type ProposeSponsorshipParams as b3, type RejectSponsorshipProposalIntentParams as b4, type RemixOfferStatus as b5, type ResolvedConfig as b6, type ResolvedFeeConfig as b7, type RetractSponsorshipBidIntentParams as b8, type RetryOptions as b9, type ServiceEventDeclaration as ba, type SetSponsorshipOfferOpenIntentParams as bb, type SortOrder as bc, type TenantPlan as bd, type TierServiceId as be, type TxResult as bf, type WebhookEventType as bg, type WebhookStatus as bh, type WithdrawSponsorshipProposalIntentParams as bi, resolveConfig as bj, resolveFeeConfig as bk, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiAppSource as h, type ApiBusinessProvisioning as i, type ApiChain as j, type ApiCheckoutIntentResult as k, ApiClient as l, type ApiCoin as m, type ApiCoinsQuery as n, type ApiCollection as o, type ApiCollectionClaim as p, type ApiCollectionProfile as q, type ApiCollectionSlugClaim as r, type ApiCollectionsQuery as s, type ApiComment as t, type ApiCounterOffersQuery as u, type ApiCreatorListResult as v, type ApiCreatorProfile as w, type ApiIntent as x, type ApiIntentCreated as y, type ApiKeyStatus as z };
@@ -74,7 +74,8 @@ var FeeConfigSchema = zod.z.object({
74
74
  enabled: zod.z.boolean().default(true),
75
75
  fundAddress: zod.z.string().min(1).optional(),
76
76
  marketplaceBps: zod.z.number().int().min(0).max(1e4).default(100),
77
- launchpadBps: zod.z.number().int().min(0).max(1e4).default(100)
77
+ launchpadBps: zod.z.number().int().min(0).max(1e4).default(100),
78
+ sponsorshipBps: zod.z.number().int().min(0).max(1e4).default(100)
78
79
  });
79
80
  function resolveFeeConfig(raw) {
80
81
  const p = FeeConfigSchema.parse(raw ?? {});
@@ -82,7 +83,8 @@ function resolveFeeConfig(raw) {
82
83
  enabled: p.enabled,
83
84
  fundAddress: p.fundAddress,
84
85
  marketplaceBps: p.marketplaceBps,
85
- launchpadBps: p.launchpadBps
86
+ launchpadBps: p.launchpadBps,
87
+ sponsorshipBps: p.sponsorshipBps
86
88
  };
87
89
  }
88
90
 
@@ -457,6 +459,12 @@ var ApiClient = class {
457
459
  createTierIntent(params) {
458
460
  return this.post("/v1/intents/create-tier", params);
459
461
  }
462
+ createCoinIntent(params) {
463
+ return this.post("/v1/intents/create-coin", params);
464
+ }
465
+ launchCoinIntent(params) {
466
+ return this.post("/v1/intents/launch-coin", params);
467
+ }
460
468
  createSponsorshipOfferIntent(params) {
461
469
  return this.post("/v1/intents/sponsorship-offer", params);
462
470
  }
@@ -10158,7 +10166,7 @@ var PopService = class {
10158
10166
  };
10159
10167
  function buildFeeCall(p, cfg) {
10160
10168
  if (!cfg.enabled || !cfg.fundAddress) return null;
10161
- const bps = p.surface === "marketplace" ? cfg.marketplaceBps : cfg.launchpadBps;
10169
+ const bps = p.surface === "marketplace" ? cfg.marketplaceBps : p.surface === "launchpad" ? cfg.launchpadBps : cfg.sponsorshipBps;
10162
10170
  if (bps <= 0) return null;
10163
10171
  const fee = p.grossAmount * BigInt(bps) / 10000n;
10164
10172
  if (fee <= 0n) return null;
@@ -11865,6 +11873,7 @@ exports.sessionKeyHashOf = sessionKeyHashOf;
11865
11873
  exports.signAdminRequest = signAdminRequest;
11866
11874
  exports.storeSiwsToken = storeSiwsToken;
11867
11875
  exports.teamCoinsRaw = teamCoinsRaw;
11876
+ exports.toDropContractConditions = toContractConditions;
11868
11877
  exports.validateCoinName = validateName;
11869
11878
  exports.validateCoinSupply = validateSupply;
11870
11879
  exports.validateCoinSymbol = validateSymbol;