@medialane/sdk 0.6.6 → 0.6.8

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
@@ -2,6 +2,8 @@ import { z } from 'zod';
2
2
  import { AccountInterface, constants, TypedData } from 'starknet';
3
3
 
4
4
  declare const MARKETPLACE_CONTRACT_MAINNET = "0x0234f4e8838801ebf01d7f4166d42aed9a55bc67c1301162decf9e2040e05f16";
5
+ /** Medialane1155 — dedicated ERC-1155 marketplace. Deployed 2026-04-15. */
6
+ declare const MARKETPLACE_1155_CONTRACT_MAINNET = "0x042005e9b85536072bfa260b95aa6aaef07f48e622031657384d2375195d7123";
5
7
  declare const COLLECTION_CONTRACT_MAINNET = "0x05c49ee5d3208a2c2e150fdd0c247d1195ed9ab54fa2d5dea7a633f39e4b205b";
6
8
  declare const DROP_FACTORY_CONTRACT_MAINNET = "0x03587f42e29daee1b193f6cf83bf8627908ed6632d0d83fcb26225c50547d800";
7
9
  declare const POP_FACTORY_CONTRACT_MAINNET = "0x00b32c34b427d8f346b5843ada6a37bd3368d879fc752cd52b68a87287f60111";
@@ -32,9 +34,9 @@ declare const SUPPORTED_TOKENS: readonly [{
32
34
  readonly listable: true;
33
35
  }];
34
36
  type SupportedTokenSymbol = (typeof SUPPORTED_TOKENS)[number]["symbol"];
35
- declare const SUPPORTED_NETWORKS: readonly ["mainnet", "sepolia"];
37
+ declare const SUPPORTED_NETWORKS: readonly ["mainnet"];
36
38
  type Network = (typeof SUPPORTED_NETWORKS)[number];
37
- declare const DEFAULT_RPC_URLS: Record<Network, string>;
39
+ declare const DEFAULT_RPC_URL = "https://rpc.starknet.lava.build";
38
40
  declare const POP_COLLECTION_CLASS_HASH_MAINNET = "0x077c421686f10851872561953ea16898d933364b7f8937a5d7e2b1ba0a36263f";
39
41
  declare const DROP_COLLECTION_CLASS_HASH_MAINNET = "0x00092e72cdb63067521e803aaf7d4101c3e3ce026ae6bc045ec4228027e58282";
40
42
 
@@ -45,12 +47,12 @@ interface RetryOptions {
45
47
  }
46
48
 
47
49
  declare const MedialaneConfigSchema: z.ZodObject<{
48
- network: z.ZodDefault<z.ZodEnum<["mainnet", "sepolia"]>>;
50
+ network: z.ZodDefault<z.ZodEnum<["mainnet"]>>;
49
51
  rpcUrl: z.ZodOptional<z.ZodString>;
50
52
  backendUrl: z.ZodOptional<z.ZodString>;
51
- /** API key for authenticated /v1/* backend endpoints */
52
53
  apiKey: z.ZodOptional<z.ZodString>;
53
54
  marketplaceContract: z.ZodOptional<z.ZodString>;
55
+ marketplace1155Contract: z.ZodOptional<z.ZodString>;
54
56
  collectionContract: z.ZodOptional<z.ZodString>;
55
57
  retryOptions: z.ZodOptional<z.ZodObject<{
56
58
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -66,24 +68,26 @@ declare const MedialaneConfigSchema: z.ZodObject<{
66
68
  maxDelayMs?: number | undefined;
67
69
  }>>;
68
70
  }, "strip", z.ZodTypeAny, {
69
- network: "mainnet" | "sepolia";
70
- collectionContract?: string | undefined;
71
+ network: "mainnet";
71
72
  rpcUrl?: string | undefined;
72
73
  backendUrl?: string | undefined;
73
74
  apiKey?: string | undefined;
74
75
  marketplaceContract?: string | undefined;
76
+ marketplace1155Contract?: string | undefined;
77
+ collectionContract?: string | undefined;
75
78
  retryOptions?: {
76
79
  maxAttempts?: number | undefined;
77
80
  baseDelayMs?: number | undefined;
78
81
  maxDelayMs?: number | undefined;
79
82
  } | undefined;
80
83
  }, {
81
- collectionContract?: string | undefined;
82
- network?: "mainnet" | "sepolia" | undefined;
84
+ network?: "mainnet" | undefined;
83
85
  rpcUrl?: string | undefined;
84
86
  backendUrl?: string | undefined;
85
87
  apiKey?: string | undefined;
86
88
  marketplaceContract?: string | undefined;
89
+ marketplace1155Contract?: string | undefined;
90
+ collectionContract?: string | undefined;
87
91
  retryOptions?: {
88
92
  maxAttempts?: number | undefined;
89
93
  baseDelayMs?: number | undefined;
@@ -97,6 +101,7 @@ interface ResolvedConfig {
97
101
  backendUrl: string | undefined;
98
102
  apiKey: string | undefined;
99
103
  marketplaceContract: string;
104
+ marketplace1155Contract: string;
100
105
  collectionContract: string;
101
106
  retryOptions?: RetryOptions;
102
107
  }
@@ -183,6 +188,32 @@ interface CreateCollectionParams {
183
188
  interface TxResult {
184
189
  txHash: string;
185
190
  }
191
+ interface CreateListing1155Params {
192
+ /** ERC-1155 contract address */
193
+ nftContract: string;
194
+ /** Token type ID */
195
+ tokenId: string;
196
+ /** Number of tokens to sell */
197
+ amount: string;
198
+ /** Human-readable price per token (e.g. "1.5") */
199
+ pricePerUnit: string;
200
+ /** Currency symbol or token address. Defaults to "USDC". */
201
+ currency?: string;
202
+ /** How long the listing is valid, in seconds */
203
+ durationSeconds: number;
204
+ }
205
+ interface FulfillOrder1155Params {
206
+ /** On-chain order hash */
207
+ orderHash: string;
208
+ /** ERC-20 payment token address (from order details) */
209
+ paymentToken: string;
210
+ /** Total price in raw token units (pricePerUnit × amount, as string) */
211
+ totalPrice: string;
212
+ }
213
+ interface CancelOrder1155Params {
214
+ /** On-chain order hash */
215
+ orderHash: string;
216
+ }
186
217
 
187
218
  type MedialaneErrorCode = "TOKEN_NOT_FOUND" | "COLLECTION_NOT_FOUND" | "ORDER_NOT_FOUND" | "INTENT_NOT_FOUND" | "INTENT_EXPIRED" | "RATE_LIMITED" | "NETWORK_NOT_SUPPORTED" | "APPROVAL_FAILED" | "TRANSACTION_FAILED" | "INVALID_PARAMS" | "UNAUTHORIZED" | "UNKNOWN";
188
219
 
@@ -207,6 +238,28 @@ declare class MarketplaceModule {
207
238
  buildCancellationTypedData(params: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
208
239
  }
209
240
 
241
+ declare class Medialane1155Module {
242
+ private readonly config;
243
+ constructor(config: ResolvedConfig);
244
+ /**
245
+ * Create an ERC-1155 sell listing.
246
+ * Optionally grants `set_approval_for_all` if not already approved.
247
+ */
248
+ createListing(account: AccountInterface, params: CreateListing1155Params): Promise<TxResult>;
249
+ /**
250
+ * Fulfill (buy) an ERC-1155 listing.
251
+ * Approves the payment token then calls `fulfill_order` atomically.
252
+ */
253
+ fulfillOrder(account: AccountInterface, params: FulfillOrder1155Params): Promise<TxResult>;
254
+ /**
255
+ * Cancel an ERC-1155 listing (offerer only).
256
+ */
257
+ cancelOrder(account: AccountInterface, params: CancelOrder1155Params): Promise<TxResult>;
258
+ buildListingTypedData(params: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
259
+ buildFulfillmentTypedData(params: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
260
+ buildCancellationTypedData(params: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
261
+ }
262
+
210
263
  type IPType = "Audio" | "Art" | "Documents" | "NFT" | "Video" | "Photography" | "Patents" | "Posts" | "Publications" | "RWA" | "Software" | "Custom";
211
264
  type CollectionSort = "recent" | "supply" | "floor" | "volume" | "name";
212
265
  type CollectionSource = "MEDIALANE_REGISTRY" | "EXTERNAL" | "PARTNERSHIP" | "IP_TICKET" | "IP_CLUB" | "GAME" | "POP_PROTOCOL" | "COLLECTION_DROP";
@@ -1042,8 +1095,10 @@ declare class DropService {
1042
1095
  }
1043
1096
 
1044
1097
  declare class MedialaneClient {
1045
- /** On-chain marketplace interactions (create listing, fulfill order, etc.) */
1098
+ /** On-chain marketplace interactions for ERC-721 assets (create listing, fulfill order, etc.) */
1046
1099
  readonly marketplace: MarketplaceModule;
1100
+ /** On-chain marketplace interactions for ERC-1155 assets (Medialane1155 contract). */
1101
+ readonly marketplace1155: Medialane1155Module;
1047
1102
  /**
1048
1103
  * Off-chain API client — covers all /v1/* backend endpoints.
1049
1104
  * Requires `backendUrl` in config; pass `apiKey` for authenticated routes.
@@ -1055,7 +1110,7 @@ declare class MedialaneClient {
1055
1110
  };
1056
1111
  private readonly config;
1057
1112
  constructor(rawConfig?: MedialaneConfig);
1058
- get network(): "mainnet" | "sepolia";
1113
+ get network(): "mainnet";
1059
1114
  get rpcUrl(): string;
1060
1115
  get marketplaceContract(): string;
1061
1116
  }
@@ -1968,65 +2023,738 @@ declare const DropFactoryABI: readonly [{
1968
2023
  readonly outputs: readonly [];
1969
2024
  readonly state_mutability: "external";
1970
2025
  }];
2026
+ declare const CollectionRegistryABI: readonly [{
2027
+ readonly type: "struct";
2028
+ readonly name: "core::byte_array::ByteArray";
2029
+ readonly members: readonly [{
2030
+ readonly name: "data";
2031
+ readonly type: "core::array::Array::<core::felt252>";
2032
+ }, {
2033
+ readonly name: "pending_word";
2034
+ readonly type: "core::felt252";
2035
+ }, {
2036
+ readonly name: "pending_word_len";
2037
+ readonly type: "core::integer::u32";
2038
+ }];
2039
+ }, {
2040
+ readonly type: "struct";
2041
+ readonly name: "ip_collection_erc_721::types::Collection";
2042
+ readonly members: readonly [{
2043
+ readonly name: "name";
2044
+ readonly type: "core::byte_array::ByteArray";
2045
+ }, {
2046
+ readonly name: "symbol";
2047
+ readonly type: "core::byte_array::ByteArray";
2048
+ }, {
2049
+ readonly name: "base_uri";
2050
+ readonly type: "core::byte_array::ByteArray";
2051
+ }, {
2052
+ readonly name: "owner";
2053
+ readonly type: "core::starknet::contract_address::ContractAddress";
2054
+ }, {
2055
+ readonly name: "ip_nft";
2056
+ readonly type: "core::starknet::contract_address::ContractAddress";
2057
+ }, {
2058
+ readonly name: "is_active";
2059
+ readonly type: "core::bool";
2060
+ }];
2061
+ }, {
2062
+ readonly type: "function";
2063
+ readonly name: "list_user_collections";
2064
+ readonly inputs: readonly [{
2065
+ readonly name: "user";
2066
+ readonly type: "core::starknet::contract_address::ContractAddress";
2067
+ }];
2068
+ readonly outputs: readonly [{
2069
+ readonly type: "core::array::Span::<core::integer::u256>";
2070
+ }];
2071
+ readonly state_mutability: "view";
2072
+ }, {
2073
+ readonly type: "function";
2074
+ readonly name: "get_collection";
2075
+ readonly inputs: readonly [{
2076
+ readonly name: "collection_id";
2077
+ readonly type: "core::integer::u256";
2078
+ }];
2079
+ readonly outputs: readonly [{
2080
+ readonly type: "ip_collection_erc_721::types::Collection";
2081
+ }];
2082
+ readonly state_mutability: "view";
2083
+ }];
2084
+ declare const Medialane1155ABI: readonly [{
2085
+ readonly type: "impl";
2086
+ readonly name: "UpgradeableImpl";
2087
+ readonly interface_name: "openzeppelin_upgrades::interface::IUpgradeable";
2088
+ }, {
2089
+ readonly type: "interface";
2090
+ readonly name: "openzeppelin_upgrades::interface::IUpgradeable";
2091
+ readonly items: readonly [{
2092
+ readonly type: "function";
2093
+ readonly name: "upgrade";
2094
+ readonly inputs: readonly [{
2095
+ readonly name: "new_class_hash";
2096
+ readonly type: "core::starknet::class_hash::ClassHash";
2097
+ }];
2098
+ readonly outputs: readonly [];
2099
+ readonly state_mutability: "external";
2100
+ }];
2101
+ }, {
2102
+ readonly type: "impl";
2103
+ readonly name: "Medialane1155Impl";
2104
+ readonly interface_name: "medialane_erc1155::core::interface::IMedialane1155";
2105
+ }, {
2106
+ readonly type: "struct";
2107
+ readonly name: "medialane_erc1155::core::types::OrderParameters";
2108
+ readonly members: readonly [{
2109
+ readonly name: "offerer";
2110
+ readonly type: "core::starknet::contract_address::ContractAddress";
2111
+ }, {
2112
+ readonly name: "nft_contract";
2113
+ readonly type: "core::starknet::contract_address::ContractAddress";
2114
+ }, {
2115
+ readonly name: "token_id";
2116
+ readonly type: "core::felt252";
2117
+ }, {
2118
+ readonly name: "amount";
2119
+ readonly type: "core::felt252";
2120
+ }, {
2121
+ readonly name: "payment_token";
2122
+ readonly type: "core::starknet::contract_address::ContractAddress";
2123
+ }, {
2124
+ readonly name: "price_per_unit";
2125
+ readonly type: "core::felt252";
2126
+ }, {
2127
+ readonly name: "start_time";
2128
+ readonly type: "core::felt252";
2129
+ }, {
2130
+ readonly name: "end_time";
2131
+ readonly type: "core::felt252";
2132
+ }, {
2133
+ readonly name: "salt";
2134
+ readonly type: "core::felt252";
2135
+ }, {
2136
+ readonly name: "nonce";
2137
+ readonly type: "core::felt252";
2138
+ }];
2139
+ }, {
2140
+ readonly type: "struct";
2141
+ readonly name: "medialane_erc1155::core::types::Order";
2142
+ readonly members: readonly [{
2143
+ readonly name: "parameters";
2144
+ readonly type: "medialane_erc1155::core::types::OrderParameters";
2145
+ }, {
2146
+ readonly name: "signature";
2147
+ readonly type: "core::array::Array::<core::felt252>";
2148
+ }];
2149
+ }, {
2150
+ readonly type: "struct";
2151
+ readonly name: "medialane_erc1155::core::types::OrderFulfillment";
2152
+ readonly members: readonly [{
2153
+ readonly name: "order_hash";
2154
+ readonly type: "core::felt252";
2155
+ }, {
2156
+ readonly name: "fulfiller";
2157
+ readonly type: "core::starknet::contract_address::ContractAddress";
2158
+ }, {
2159
+ readonly name: "nonce";
2160
+ readonly type: "core::felt252";
2161
+ }];
2162
+ }, {
2163
+ readonly type: "struct";
2164
+ readonly name: "medialane_erc1155::core::types::FulfillmentRequest";
2165
+ readonly members: readonly [{
2166
+ readonly name: "fulfillment";
2167
+ readonly type: "medialane_erc1155::core::types::OrderFulfillment";
2168
+ }, {
2169
+ readonly name: "signature";
2170
+ readonly type: "core::array::Array::<core::felt252>";
2171
+ }];
2172
+ }, {
2173
+ readonly type: "struct";
2174
+ readonly name: "medialane_erc1155::core::types::OrderCancellation";
2175
+ readonly members: readonly [{
2176
+ readonly name: "order_hash";
2177
+ readonly type: "core::felt252";
2178
+ }, {
2179
+ readonly name: "offerer";
2180
+ readonly type: "core::starknet::contract_address::ContractAddress";
2181
+ }, {
2182
+ readonly name: "nonce";
2183
+ readonly type: "core::felt252";
2184
+ }];
2185
+ }, {
2186
+ readonly type: "struct";
2187
+ readonly name: "medialane_erc1155::core::types::CancelRequest";
2188
+ readonly members: readonly [{
2189
+ readonly name: "cancelation";
2190
+ readonly type: "medialane_erc1155::core::types::OrderCancellation";
2191
+ }, {
2192
+ readonly name: "signature";
2193
+ readonly type: "core::array::Array::<core::felt252>";
2194
+ }];
2195
+ }, {
2196
+ readonly type: "enum";
2197
+ readonly name: "medialane_erc1155::core::types::OrderStatus";
2198
+ readonly variants: readonly [{
2199
+ readonly name: "None";
2200
+ readonly type: "()";
2201
+ }, {
2202
+ readonly name: "Created";
2203
+ readonly type: "()";
2204
+ }, {
2205
+ readonly name: "Filled";
2206
+ readonly type: "()";
2207
+ }, {
2208
+ readonly name: "Cancelled";
2209
+ readonly type: "()";
2210
+ }];
2211
+ }, {
2212
+ readonly type: "enum";
2213
+ readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
2214
+ readonly variants: readonly [{
2215
+ readonly name: "Some";
2216
+ readonly type: "core::starknet::contract_address::ContractAddress";
2217
+ }, {
2218
+ readonly name: "None";
2219
+ readonly type: "()";
2220
+ }];
2221
+ }, {
2222
+ readonly type: "struct";
2223
+ readonly name: "medialane_erc1155::core::types::OrderDetails";
2224
+ readonly members: readonly [{
2225
+ readonly name: "offerer";
2226
+ readonly type: "core::starknet::contract_address::ContractAddress";
2227
+ }, {
2228
+ readonly name: "nft_contract";
2229
+ readonly type: "core::starknet::contract_address::ContractAddress";
2230
+ }, {
2231
+ readonly name: "token_id";
2232
+ readonly type: "core::felt252";
2233
+ }, {
2234
+ readonly name: "amount";
2235
+ readonly type: "core::felt252";
2236
+ }, {
2237
+ readonly name: "payment_token";
2238
+ readonly type: "core::starknet::contract_address::ContractAddress";
2239
+ }, {
2240
+ readonly name: "price_per_unit";
2241
+ readonly type: "core::felt252";
2242
+ }, {
2243
+ readonly name: "start_time";
2244
+ readonly type: "core::integer::u64";
2245
+ }, {
2246
+ readonly name: "end_time";
2247
+ readonly type: "core::integer::u64";
2248
+ }, {
2249
+ readonly name: "order_status";
2250
+ readonly type: "medialane_erc1155::core::types::OrderStatus";
2251
+ }, {
2252
+ readonly name: "fulfiller";
2253
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
2254
+ }];
2255
+ }, {
2256
+ readonly type: "interface";
2257
+ readonly name: "medialane_erc1155::core::interface::IMedialane1155";
2258
+ readonly items: readonly [{
2259
+ readonly type: "function";
2260
+ readonly name: "register_order";
2261
+ readonly inputs: readonly [{
2262
+ readonly name: "order";
2263
+ readonly type: "medialane_erc1155::core::types::Order";
2264
+ }];
2265
+ readonly outputs: readonly [];
2266
+ readonly state_mutability: "external";
2267
+ }, {
2268
+ readonly type: "function";
2269
+ readonly name: "fulfill_order";
2270
+ readonly inputs: readonly [{
2271
+ readonly name: "fulfillment_request";
2272
+ readonly type: "medialane_erc1155::core::types::FulfillmentRequest";
2273
+ }];
2274
+ readonly outputs: readonly [];
2275
+ readonly state_mutability: "external";
2276
+ }, {
2277
+ readonly type: "function";
2278
+ readonly name: "cancel_order";
2279
+ readonly inputs: readonly [{
2280
+ readonly name: "cancel_request";
2281
+ readonly type: "medialane_erc1155::core::types::CancelRequest";
2282
+ }];
2283
+ readonly outputs: readonly [];
2284
+ readonly state_mutability: "external";
2285
+ }, {
2286
+ readonly type: "function";
2287
+ readonly name: "get_order_details";
2288
+ readonly inputs: readonly [{
2289
+ readonly name: "order_hash";
2290
+ readonly type: "core::felt252";
2291
+ }];
2292
+ readonly outputs: readonly [{
2293
+ readonly type: "medialane_erc1155::core::types::OrderDetails";
2294
+ }];
2295
+ readonly state_mutability: "view";
2296
+ }, {
2297
+ readonly type: "function";
2298
+ readonly name: "get_order_hash";
2299
+ readonly inputs: readonly [{
2300
+ readonly name: "parameters";
2301
+ readonly type: "medialane_erc1155::core::types::OrderParameters";
2302
+ }, {
2303
+ readonly name: "signer";
2304
+ readonly type: "core::starknet::contract_address::ContractAddress";
2305
+ }];
2306
+ readonly outputs: readonly [{
2307
+ readonly type: "core::felt252";
2308
+ }];
2309
+ readonly state_mutability: "view";
2310
+ }, {
2311
+ readonly type: "function";
2312
+ readonly name: "get_native_token";
2313
+ readonly inputs: readonly [];
2314
+ readonly outputs: readonly [{
2315
+ readonly type: "core::starknet::contract_address::ContractAddress";
2316
+ }];
2317
+ readonly state_mutability: "view";
2318
+ }];
2319
+ }, {
2320
+ readonly type: "impl";
2321
+ readonly name: "NoncesImpl";
2322
+ readonly interface_name: "openzeppelin_utils::cryptography::interface::INonces";
2323
+ }, {
2324
+ readonly type: "interface";
2325
+ readonly name: "openzeppelin_utils::cryptography::interface::INonces";
2326
+ readonly items: readonly [{
2327
+ readonly type: "function";
2328
+ readonly name: "nonces";
2329
+ readonly inputs: readonly [{
2330
+ readonly name: "owner";
2331
+ readonly type: "core::starknet::contract_address::ContractAddress";
2332
+ }];
2333
+ readonly outputs: readonly [{
2334
+ readonly type: "core::felt252";
2335
+ }];
2336
+ readonly state_mutability: "view";
2337
+ }];
2338
+ }, {
2339
+ readonly type: "impl";
2340
+ readonly name: "SRC5Impl";
2341
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
2342
+ }, {
2343
+ readonly type: "enum";
2344
+ readonly name: "core::bool";
2345
+ readonly variants: readonly [{
2346
+ readonly name: "False";
2347
+ readonly type: "()";
2348
+ }, {
2349
+ readonly name: "True";
2350
+ readonly type: "()";
2351
+ }];
2352
+ }, {
2353
+ readonly type: "interface";
2354
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
2355
+ readonly items: readonly [{
2356
+ readonly type: "function";
2357
+ readonly name: "supports_interface";
2358
+ readonly inputs: readonly [{
2359
+ readonly name: "interface_id";
2360
+ readonly type: "core::felt252";
2361
+ }];
2362
+ readonly outputs: readonly [{
2363
+ readonly type: "core::bool";
2364
+ }];
2365
+ readonly state_mutability: "view";
2366
+ }];
2367
+ }, {
2368
+ readonly type: "impl";
2369
+ readonly name: "AccessControlImpl";
2370
+ readonly interface_name: "openzeppelin_access::accesscontrol::interface::IAccessControl";
2371
+ }, {
2372
+ readonly type: "interface";
2373
+ readonly name: "openzeppelin_access::accesscontrol::interface::IAccessControl";
2374
+ readonly items: readonly [{
2375
+ readonly type: "function";
2376
+ readonly name: "has_role";
2377
+ readonly inputs: readonly [{
2378
+ readonly name: "role";
2379
+ readonly type: "core::felt252";
2380
+ }, {
2381
+ readonly name: "account";
2382
+ readonly type: "core::starknet::contract_address::ContractAddress";
2383
+ }];
2384
+ readonly outputs: readonly [{
2385
+ readonly type: "core::bool";
2386
+ }];
2387
+ readonly state_mutability: "view";
2388
+ }, {
2389
+ readonly type: "function";
2390
+ readonly name: "get_role_admin";
2391
+ readonly inputs: readonly [{
2392
+ readonly name: "role";
2393
+ readonly type: "core::felt252";
2394
+ }];
2395
+ readonly outputs: readonly [{
2396
+ readonly type: "core::felt252";
2397
+ }];
2398
+ readonly state_mutability: "view";
2399
+ }, {
2400
+ readonly type: "function";
2401
+ readonly name: "grant_role";
2402
+ readonly inputs: readonly [{
2403
+ readonly name: "role";
2404
+ readonly type: "core::felt252";
2405
+ }, {
2406
+ readonly name: "account";
2407
+ readonly type: "core::starknet::contract_address::ContractAddress";
2408
+ }];
2409
+ readonly outputs: readonly [];
2410
+ readonly state_mutability: "external";
2411
+ }, {
2412
+ readonly type: "function";
2413
+ readonly name: "revoke_role";
2414
+ readonly inputs: readonly [{
2415
+ readonly name: "role";
2416
+ readonly type: "core::felt252";
2417
+ }, {
2418
+ readonly name: "account";
2419
+ readonly type: "core::starknet::contract_address::ContractAddress";
2420
+ }];
2421
+ readonly outputs: readonly [];
2422
+ readonly state_mutability: "external";
2423
+ }, {
2424
+ readonly type: "function";
2425
+ readonly name: "renounce_role";
2426
+ readonly inputs: readonly [{
2427
+ readonly name: "role";
2428
+ readonly type: "core::felt252";
2429
+ }, {
2430
+ readonly name: "account";
2431
+ readonly type: "core::starknet::contract_address::ContractAddress";
2432
+ }];
2433
+ readonly outputs: readonly [];
2434
+ readonly state_mutability: "external";
2435
+ }];
2436
+ }, {
2437
+ readonly type: "constructor";
2438
+ readonly name: "constructor";
2439
+ readonly inputs: readonly [{
2440
+ readonly name: "manager";
2441
+ readonly type: "core::starknet::contract_address::ContractAddress";
2442
+ }, {
2443
+ readonly name: "native_token_address";
2444
+ readonly type: "core::starknet::contract_address::ContractAddress";
2445
+ }];
2446
+ }, {
2447
+ readonly type: "event";
2448
+ readonly name: "medialane_erc1155::core::events::OrderCreated";
2449
+ readonly kind: "struct";
2450
+ readonly members: readonly [{
2451
+ readonly name: "order_hash";
2452
+ readonly type: "core::felt252";
2453
+ readonly kind: "key";
2454
+ }, {
2455
+ readonly name: "offerer";
2456
+ readonly type: "core::starknet::contract_address::ContractAddress";
2457
+ readonly kind: "key";
2458
+ }, {
2459
+ readonly name: "nft_contract";
2460
+ readonly type: "core::starknet::contract_address::ContractAddress";
2461
+ readonly kind: "data";
2462
+ }, {
2463
+ readonly name: "token_id";
2464
+ readonly type: "core::felt252";
2465
+ readonly kind: "data";
2466
+ }, {
2467
+ readonly name: "amount";
2468
+ readonly type: "core::felt252";
2469
+ readonly kind: "data";
2470
+ }, {
2471
+ readonly name: "price_per_unit";
2472
+ readonly type: "core::felt252";
2473
+ readonly kind: "data";
2474
+ }, {
2475
+ readonly name: "payment_token";
2476
+ readonly type: "core::starknet::contract_address::ContractAddress";
2477
+ readonly kind: "data";
2478
+ }];
2479
+ }, {
2480
+ readonly type: "struct";
2481
+ readonly name: "core::integer::u256";
2482
+ readonly members: readonly [{
2483
+ readonly name: "low";
2484
+ readonly type: "core::integer::u128";
2485
+ }, {
2486
+ readonly name: "high";
2487
+ readonly type: "core::integer::u128";
2488
+ }];
2489
+ }, {
2490
+ readonly type: "event";
2491
+ readonly name: "medialane_erc1155::core::events::OrderFulfilled";
2492
+ readonly kind: "struct";
2493
+ readonly members: readonly [{
2494
+ readonly name: "order_hash";
2495
+ readonly type: "core::felt252";
2496
+ readonly kind: "key";
2497
+ }, {
2498
+ readonly name: "offerer";
2499
+ readonly type: "core::starknet::contract_address::ContractAddress";
2500
+ readonly kind: "key";
2501
+ }, {
2502
+ readonly name: "fulfiller";
2503
+ readonly type: "core::starknet::contract_address::ContractAddress";
2504
+ readonly kind: "key";
2505
+ }, {
2506
+ readonly name: "royalty_receiver";
2507
+ readonly type: "core::starknet::contract_address::ContractAddress";
2508
+ readonly kind: "data";
2509
+ }, {
2510
+ readonly name: "royalty_amount";
2511
+ readonly type: "core::integer::u256";
2512
+ readonly kind: "data";
2513
+ }];
2514
+ }, {
2515
+ readonly type: "event";
2516
+ readonly name: "medialane_erc1155::core::events::OrderCancelled";
2517
+ readonly kind: "struct";
2518
+ readonly members: readonly [{
2519
+ readonly name: "order_hash";
2520
+ readonly type: "core::felt252";
2521
+ readonly kind: "key";
2522
+ }, {
2523
+ readonly name: "offerer";
2524
+ readonly type: "core::starknet::contract_address::ContractAddress";
2525
+ readonly kind: "key";
2526
+ }];
2527
+ }, {
2528
+ readonly type: "event";
2529
+ readonly name: "openzeppelin_utils::cryptography::nonces::NoncesComponent::Event";
2530
+ readonly kind: "enum";
2531
+ readonly variants: readonly [];
2532
+ }, {
2533
+ readonly type: "event";
2534
+ readonly name: "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded";
2535
+ readonly kind: "struct";
2536
+ readonly members: readonly [{
2537
+ readonly name: "class_hash";
2538
+ readonly type: "core::starknet::class_hash::ClassHash";
2539
+ readonly kind: "data";
2540
+ }];
2541
+ }, {
2542
+ readonly type: "event";
2543
+ readonly name: "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event";
2544
+ readonly kind: "enum";
2545
+ readonly variants: readonly [{
2546
+ readonly name: "Upgraded";
2547
+ readonly type: "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Upgraded";
2548
+ readonly kind: "nested";
2549
+ }];
2550
+ }, {
2551
+ readonly type: "event";
2552
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
2553
+ readonly kind: "enum";
2554
+ readonly variants: readonly [];
2555
+ }, {
2556
+ readonly type: "event";
2557
+ readonly name: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGranted";
2558
+ readonly kind: "struct";
2559
+ readonly members: readonly [{
2560
+ readonly name: "role";
2561
+ readonly type: "core::felt252";
2562
+ readonly kind: "data";
2563
+ }, {
2564
+ readonly name: "account";
2565
+ readonly type: "core::starknet::contract_address::ContractAddress";
2566
+ readonly kind: "data";
2567
+ }, {
2568
+ readonly name: "sender";
2569
+ readonly type: "core::starknet::contract_address::ContractAddress";
2570
+ readonly kind: "data";
2571
+ }];
2572
+ }, {
2573
+ readonly type: "event";
2574
+ readonly name: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGrantedWithDelay";
2575
+ readonly kind: "struct";
2576
+ readonly members: readonly [{
2577
+ readonly name: "role";
2578
+ readonly type: "core::felt252";
2579
+ readonly kind: "data";
2580
+ }, {
2581
+ readonly name: "account";
2582
+ readonly type: "core::starknet::contract_address::ContractAddress";
2583
+ readonly kind: "data";
2584
+ }, {
2585
+ readonly name: "sender";
2586
+ readonly type: "core::starknet::contract_address::ContractAddress";
2587
+ readonly kind: "data";
2588
+ }, {
2589
+ readonly name: "delay";
2590
+ readonly type: "core::integer::u64";
2591
+ readonly kind: "data";
2592
+ }];
2593
+ }, {
2594
+ readonly type: "event";
2595
+ readonly name: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleRevoked";
2596
+ readonly kind: "struct";
2597
+ readonly members: readonly [{
2598
+ readonly name: "role";
2599
+ readonly type: "core::felt252";
2600
+ readonly kind: "data";
2601
+ }, {
2602
+ readonly name: "account";
2603
+ readonly type: "core::starknet::contract_address::ContractAddress";
2604
+ readonly kind: "data";
2605
+ }, {
2606
+ readonly name: "sender";
2607
+ readonly type: "core::starknet::contract_address::ContractAddress";
2608
+ readonly kind: "data";
2609
+ }];
2610
+ }, {
2611
+ readonly type: "event";
2612
+ readonly name: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleAdminChanged";
2613
+ readonly kind: "struct";
2614
+ readonly members: readonly [{
2615
+ readonly name: "role";
2616
+ readonly type: "core::felt252";
2617
+ readonly kind: "data";
2618
+ }, {
2619
+ readonly name: "previous_admin_role";
2620
+ readonly type: "core::felt252";
2621
+ readonly kind: "data";
2622
+ }, {
2623
+ readonly name: "new_admin_role";
2624
+ readonly type: "core::felt252";
2625
+ readonly kind: "data";
2626
+ }];
2627
+ }, {
2628
+ readonly type: "event";
2629
+ readonly name: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::Event";
2630
+ readonly kind: "enum";
2631
+ readonly variants: readonly [{
2632
+ readonly name: "RoleGranted";
2633
+ readonly type: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGranted";
2634
+ readonly kind: "nested";
2635
+ }, {
2636
+ readonly name: "RoleGrantedWithDelay";
2637
+ readonly type: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleGrantedWithDelay";
2638
+ readonly kind: "nested";
2639
+ }, {
2640
+ readonly name: "RoleRevoked";
2641
+ readonly type: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleRevoked";
2642
+ readonly kind: "nested";
2643
+ }, {
2644
+ readonly name: "RoleAdminChanged";
2645
+ readonly type: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::RoleAdminChanged";
2646
+ readonly kind: "nested";
2647
+ }];
2648
+ }, {
2649
+ readonly type: "event";
2650
+ readonly name: "medialane_erc1155::core::medialane::Medialane1155::Event";
2651
+ readonly kind: "enum";
2652
+ readonly variants: readonly [{
2653
+ readonly name: "OrderCreated";
2654
+ readonly type: "medialane_erc1155::core::events::OrderCreated";
2655
+ readonly kind: "nested";
2656
+ }, {
2657
+ readonly name: "OrderFulfilled";
2658
+ readonly type: "medialane_erc1155::core::events::OrderFulfilled";
2659
+ readonly kind: "nested";
2660
+ }, {
2661
+ readonly name: "OrderCancelled";
2662
+ readonly type: "medialane_erc1155::core::events::OrderCancelled";
2663
+ readonly kind: "nested";
2664
+ }, {
2665
+ readonly name: "NoncesEvent";
2666
+ readonly type: "openzeppelin_utils::cryptography::nonces::NoncesComponent::Event";
2667
+ readonly kind: "flat";
2668
+ }, {
2669
+ readonly name: "UpgradeableEvent";
2670
+ readonly type: "openzeppelin_upgrades::upgradeable::UpgradeableComponent::Event";
2671
+ readonly kind: "flat";
2672
+ }, {
2673
+ readonly name: "SRC5Event";
2674
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
2675
+ readonly kind: "flat";
2676
+ }, {
2677
+ readonly name: "AccessControlEvent";
2678
+ readonly type: "openzeppelin_access::accesscontrol::accesscontrol::AccessControlComponent::Event";
2679
+ readonly kind: "flat";
2680
+ }];
2681
+ }];
2682
+
2683
+ /**
2684
+ * Normalize a Starknet address to a 0x-prefixed 64-character hex string.
2685
+ */
2686
+ declare function normalizeAddress(address: string): string;
2687
+ /**
2688
+ * Shorten an address to "0x1234...abcd" format.
2689
+ */
2690
+ declare function shortenAddress(address: string, chars?: number): string;
2691
+
2692
+ type SupportedToken = (typeof SUPPORTED_TOKENS)[number];
2693
+ /**
2694
+ * Parse a human-readable amount (e.g. "1.5") to its raw integer string
2695
+ * representation given the token's decimal places.
2696
+ * Uses pure BigInt arithmetic to avoid floating point precision loss.
2697
+ */
2698
+ declare function parseAmount(human: string, decimals: number): string;
2699
+ /**
2700
+ * Format a raw integer string (e.g. "1500000") to a human-readable decimal
2701
+ * string given the token's decimal places.
2702
+ */
2703
+ declare function formatAmount(raw: string, decimals: number): string;
2704
+ /**
2705
+ * Find a supported token by its contract address (case-insensitive).
2706
+ */
2707
+ declare function getTokenByAddress(address: string): SupportedToken | undefined;
2708
+ /**
2709
+ * Find a supported token by its symbol (case-insensitive).
2710
+ */
2711
+ declare function getTokenBySymbol(symbol: string): SupportedToken | undefined;
2712
+ /**
2713
+ * Return all tokens available for use in listing and offer dialogs.
2714
+ * Tokens with listable: false appear only as marketplace filter chips.
2715
+ */
2716
+ declare function getListableTokens(): ReadonlyArray<SupportedToken>;
2717
+
2718
+ /**
2719
+ * Recursively convert all BigInt values to their decimal string representations.
2720
+ * Required before JSON serialisation and before passing objects to starknet.js
2721
+ * functions that expect string felts.
2722
+ */
2723
+ declare function stringifyBigInts(obj: unknown): unknown;
2724
+ /**
2725
+ * Convert a u256 represented as { low: string; high: string } to a single BigInt.
2726
+ */
2727
+ declare function u256ToBigInt(low: string, high: string): bigint;
2728
+
2729
+ /**
2730
+ * Build SNIP-12 typed data for signing an OrderParameters struct.
2731
+ * Uses TypedDataRevision.ACTIVE and ContractAddress / shortstring SNIP-12 types.
2732
+ */
2733
+ declare function buildOrderTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2734
+ /**
2735
+ * Build SNIP-12 typed data for signing an OrderFulfillment struct.
2736
+ */
2737
+ declare function buildFulfillmentTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2738
+ /**
2739
+ * Build SNIP-12 typed data for signing an OrderCancellation struct.
2740
+ */
2741
+ declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2742
+
2743
+ /**
2744
+ * Build SNIP-12 typed data for signing an ERC-1155 OrderParameters struct.
2745
+ *
2746
+ * Differs from the ERC-721 Medialane signing:
2747
+ * - Domain name is "Medialane1155"
2748
+ * - OrderParameters is flat (no nested OfferItem / ConsiderationItem structs)
2749
+ */
2750
+ declare function build1155OrderTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2751
+ /**
2752
+ * Build SNIP-12 typed data for signing an ERC-1155 OrderFulfillment struct.
2753
+ */
2754
+ declare function build1155FulfillmentTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2755
+ /**
2756
+ * Build SNIP-12 typed data for signing an ERC-1155 OrderCancellation struct.
2757
+ */
2758
+ declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
1971
2759
 
1972
- /**
1973
- * Normalize a Starknet address to a 0x-prefixed 64-character hex string.
1974
- */
1975
- declare function normalizeAddress(address: string): string;
1976
- /**
1977
- * Shorten an address to "0x1234...abcd" format.
1978
- */
1979
- declare function shortenAddress(address: string, chars?: number): string;
1980
-
1981
- type SupportedToken = (typeof SUPPORTED_TOKENS)[number];
1982
- /**
1983
- * Parse a human-readable amount (e.g. "1.5") to its raw integer string
1984
- * representation given the token's decimal places.
1985
- * Uses pure BigInt arithmetic to avoid floating point precision loss.
1986
- */
1987
- declare function parseAmount(human: string, decimals: number): string;
1988
- /**
1989
- * Format a raw integer string (e.g. "1500000") to a human-readable decimal
1990
- * string given the token's decimal places.
1991
- */
1992
- declare function formatAmount(raw: string, decimals: number): string;
1993
- /**
1994
- * Find a supported token by its contract address (case-insensitive).
1995
- */
1996
- declare function getTokenByAddress(address: string): SupportedToken | undefined;
1997
- /**
1998
- * Find a supported token by its symbol (case-insensitive).
1999
- */
2000
- declare function getTokenBySymbol(symbol: string): SupportedToken | undefined;
2001
- /**
2002
- * Return all tokens available for use in listing and offer dialogs.
2003
- * Tokens with listable: false appear only as marketplace filter chips.
2004
- */
2005
- declare function getListableTokens(): ReadonlyArray<SupportedToken>;
2006
-
2007
- /**
2008
- * Recursively convert all BigInt values to their decimal string representations.
2009
- * Required before JSON serialisation and before passing objects to starknet.js
2010
- * functions that expect string felts.
2011
- */
2012
- declare function stringifyBigInts(obj: unknown): unknown;
2013
- /**
2014
- * Convert a u256 represented as { low: string; high: string } to a single BigInt.
2015
- */
2016
- declare function u256ToBigInt(low: string, high: string): bigint;
2017
-
2018
- /**
2019
- * Build SNIP-12 typed data for signing an OrderParameters struct.
2020
- * Uses TypedDataRevision.ACTIVE and ContractAddress / shortstring SNIP-12 types.
2021
- */
2022
- declare function buildOrderTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2023
- /**
2024
- * Build SNIP-12 typed data for signing an OrderFulfillment struct.
2025
- */
2026
- declare function buildFulfillmentTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2027
- /**
2028
- * Build SNIP-12 typed data for signing an OrderCancellation struct.
2029
- */
2030
- declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
2031
-
2032
- export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, ApiClient, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, COLLECTION_CONTRACT_MAINNET, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, type CollectionSort, type CollectionSource, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateDropParams, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, DEFAULT_RPC_URLS, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, type FulfillOrderIntentParams, type FulfillOrderParams, type Fulfillment, IPMarketplaceABI, type IPType, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_CONTRACT_MAINNET, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintParams, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type RetryOptions, SUPPORTED_NETWORKS, SUPPORTED_TOKENS, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, type WebhookEventType, type WebhookStatus, buildCancellationTypedData, buildFulfillmentTypedData, buildOrderTypedData, formatAmount, getListableTokens, getTokenByAddress, getTokenBySymbol, normalizeAddress, parseAmount, resolveConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
2760
+ export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, ApiClient, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, COLLECTION_CONTRACT_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type CollectionSource, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, type Fulfillment, IPMarketplaceABI, type IPType, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_CONTRACT_MAINNET, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintParams, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type RetryOptions, SUPPORTED_NETWORKS, SUPPORTED_TOKENS, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, type WebhookEventType, type WebhookStatus, build1155CancellationTypedData, build1155FulfillmentTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFulfillmentTypedData, buildOrderTypedData, formatAmount, getListableTokens, getTokenByAddress, getTokenBySymbol, normalizeAddress, parseAmount, resolveConfig, shortenAddress, stringifyBigInts, u256ToBigInt };