@medialane/sdk 0.6.3 → 0.6.4
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/README.md +15 -0
- package/dist/index.cjs +548 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +600 -39
- package/dist/index.d.ts +600 -39
- package/dist/index.js +544 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { AccountInterface, constants, TypedData } from 'starknet';
|
|
3
3
|
|
|
4
|
-
declare const MARKETPLACE_CONTRACT_MAINNET = "
|
|
4
|
+
declare const MARKETPLACE_CONTRACT_MAINNET = "0x0234f4e8838801ebf01d7f4166d42aed9a55bc67c1301162decf9e2040e05f16";
|
|
5
5
|
declare const COLLECTION_CONTRACT_MAINNET = "0x05e73b7be06d82beeb390a0e0d655f2c9e7cf519658e04f05d9c690ccc41da03";
|
|
6
|
-
declare const DROP_FACTORY_CONTRACT_MAINNET = "0x03587f42e29daee1b193f6cf83bf8627908ed6632d0d83fcb26225c50547d800";
|
|
7
|
-
declare const POP_FACTORY_CONTRACT_MAINNET = "0x00b32c34b427d8f346b5843ada6a37bd3368d879fc752cd52b68a87287f60111";
|
|
8
6
|
declare const SUPPORTED_TOKENS: readonly [{
|
|
9
7
|
readonly symbol: "USDC";
|
|
10
8
|
readonly address: "0x033068f6539f8e6e6b131e6b2b814e6c34a5224bc66947c47dab9dfee93b35fb";
|
|
@@ -35,6 +33,10 @@ type SupportedTokenSymbol = (typeof SUPPORTED_TOKENS)[number]["symbol"];
|
|
|
35
33
|
declare const SUPPORTED_NETWORKS: readonly ["mainnet", "sepolia"];
|
|
36
34
|
type Network = (typeof SUPPORTED_NETWORKS)[number];
|
|
37
35
|
declare const DEFAULT_RPC_URLS: Record<Network, string>;
|
|
36
|
+
declare const POP_FACTORY_CONTRACT_MAINNET = "0x00b32c34b427d8f346b5843ada6a37bd3368d879fc752cd52b68a87287f60111";
|
|
37
|
+
declare const POP_COLLECTION_CLASS_HASH_MAINNET = "0x077c421686f10851872561953ea16898d933364b7f8937a5d7e2b1ba0a36263f";
|
|
38
|
+
declare const DROP_FACTORY_CONTRACT_MAINNET = "0x03587f42e29daee1b193f6cf83bf8627908ed6632d0d83fcb26225c50547d800";
|
|
39
|
+
declare const DROP_COLLECTION_CLASS_HASH_MAINNET = "0x00092e72cdb63067521e803aaf7d4101c3e3ce026ae6bc045ec4228027e58282";
|
|
38
40
|
|
|
39
41
|
interface RetryOptions {
|
|
40
42
|
maxAttempts?: number;
|
|
@@ -205,15 +207,16 @@ declare class MarketplaceModule {
|
|
|
205
207
|
buildCancellationTypedData(params: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
|
|
206
208
|
}
|
|
207
209
|
|
|
208
|
-
type PopEventType = "Conference" | "Bootcamp" | "Workshop" | "Hackathon" | "Meetup" | "Course" | "Other";
|
|
209
210
|
type IPType = "Audio" | "Art" | "Documents" | "NFT" | "Video" | "Photography" | "Patents" | "Posts" | "Publications" | "RWA" | "Software" | "Custom";
|
|
210
211
|
type CollectionSort = "recent" | "supply" | "floor" | "volume" | "name";
|
|
212
|
+
type CollectionSource = "MEDIALANE_REGISTRY" | "EXTERNAL" | "PARTNERSHIP" | "IP_TICKET" | "IP_CLUB" | "GAME" | "POP_PROTOCOL" | "COLLECTION_DROP";
|
|
211
213
|
interface ApiCollectionsQuery {
|
|
212
214
|
page?: number;
|
|
213
215
|
limit?: number;
|
|
214
216
|
isKnown?: boolean;
|
|
215
217
|
sort?: CollectionSort;
|
|
216
218
|
owner?: string;
|
|
219
|
+
source?: CollectionSource;
|
|
217
220
|
}
|
|
218
221
|
type OrderStatus = "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED" | "COUNTER_OFFERED";
|
|
219
222
|
type SortOrder = "price_asc" | "price_desc" | "recent";
|
|
@@ -374,7 +377,7 @@ interface ApiCollection {
|
|
|
374
377
|
startBlock: string;
|
|
375
378
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
376
379
|
isKnown: boolean;
|
|
377
|
-
source:
|
|
380
|
+
source: CollectionSource;
|
|
378
381
|
claimedBy: string | null;
|
|
379
382
|
profile?: ApiCollectionProfile | null;
|
|
380
383
|
floorPrice: string | null;
|
|
@@ -730,6 +733,19 @@ interface ApiAdminCollectionClaim extends ApiCollectionClaim {
|
|
|
730
733
|
reviewedAt: string | null;
|
|
731
734
|
updatedAt: string;
|
|
732
735
|
}
|
|
736
|
+
interface PopClaimStatus {
|
|
737
|
+
isEligible: boolean;
|
|
738
|
+
hasClaimed: boolean;
|
|
739
|
+
tokenId: string | null;
|
|
740
|
+
}
|
|
741
|
+
interface PopBatchEligibilityItem extends PopClaimStatus {
|
|
742
|
+
wallet: string;
|
|
743
|
+
}
|
|
744
|
+
type PopEventType = "Conference" | "Bootcamp" | "Workshop" | "Hackathon" | "Meetup" | "Course" | "Other";
|
|
745
|
+
interface DropMintStatus {
|
|
746
|
+
mintedByWallet: number;
|
|
747
|
+
totalMinted: number;
|
|
748
|
+
}
|
|
733
749
|
|
|
734
750
|
declare class MedialaneApiError extends Error {
|
|
735
751
|
readonly status: number;
|
|
@@ -753,7 +769,7 @@ declare class ApiClient {
|
|
|
753
769
|
getToken(contract: string, tokenId: string, wait?: boolean): Promise<ApiResponse<ApiToken>>;
|
|
754
770
|
getTokensByOwner(address: string, page?: number, limit?: number): Promise<ApiResponse<ApiToken[]>>;
|
|
755
771
|
getTokenHistory(contract: string, tokenId: string, page?: number, limit?: number): Promise<ApiResponse<ApiActivity[]>>;
|
|
756
|
-
getCollections(page?: number, limit?: number, isKnown?: boolean, sort?: CollectionSort): Promise<ApiResponse<ApiCollection[]>>;
|
|
772
|
+
getCollections(page?: number, limit?: number, isKnown?: boolean, sort?: CollectionSort, source?: CollectionSource): Promise<ApiResponse<ApiCollection[]>>;
|
|
757
773
|
getCollectionsByOwner(owner: string, page?: number, limit?: number): Promise<ApiResponse<ApiCollection[]>>;
|
|
758
774
|
getCollection(contract: string): Promise<ApiResponse<ApiCollection>>;
|
|
759
775
|
getCollectionTokens(contract: string, page?: number, limit?: number): Promise<ApiResponse<ApiToken[]>>;
|
|
@@ -829,6 +845,11 @@ declare class ApiClient {
|
|
|
829
845
|
* Update collection profile. Requires Clerk JWT for ownership check.
|
|
830
846
|
*/
|
|
831
847
|
updateCollectionProfile(contractAddress: string, data: Partial<Omit<ApiCollectionProfile, "contractAddress" | "chain" | "updatedBy" | "updatedAt">>, clerkToken: string): Promise<ApiCollectionProfile>;
|
|
848
|
+
getGatedContent(contractAddress: string, clerkToken: string): Promise<{
|
|
849
|
+
title: string;
|
|
850
|
+
url: string;
|
|
851
|
+
type: string;
|
|
852
|
+
} | null>;
|
|
832
853
|
/** List all creators with an approved username. */
|
|
833
854
|
getCreators(opts?: {
|
|
834
855
|
search?: string;
|
|
@@ -896,6 +917,117 @@ declare class ApiClient {
|
|
|
896
917
|
* Requires Clerk JWT.
|
|
897
918
|
*/
|
|
898
919
|
extendRemixOffer(id: string, days: number, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
|
|
920
|
+
getPopCollections(opts?: {
|
|
921
|
+
page?: number;
|
|
922
|
+
limit?: number;
|
|
923
|
+
sort?: CollectionSort;
|
|
924
|
+
}): Promise<ApiResponse<ApiCollection[]>>;
|
|
925
|
+
getPopEligibility(collection: string, wallet: string): Promise<PopClaimStatus>;
|
|
926
|
+
getPopEligibilityBatch(collection: string, wallets: string[]): Promise<PopBatchEligibilityItem[]>;
|
|
927
|
+
getDropCollections(opts?: {
|
|
928
|
+
page?: number;
|
|
929
|
+
limit?: number;
|
|
930
|
+
sort?: CollectionSort;
|
|
931
|
+
}): Promise<ApiResponse<ApiCollection[]>>;
|
|
932
|
+
getDropMintStatus(collection: string, wallet: string): Promise<DropMintStatus>;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
interface CreatePopCollectionParams {
|
|
936
|
+
name: string;
|
|
937
|
+
symbol: string;
|
|
938
|
+
baseUri: string;
|
|
939
|
+
claimEndTime: number;
|
|
940
|
+
eventType: PopEventType;
|
|
941
|
+
}
|
|
942
|
+
interface ClaimConditions {
|
|
943
|
+
/** Unix timestamp when minting opens. 0 = open immediately. */
|
|
944
|
+
startTime: number;
|
|
945
|
+
/** Unix timestamp when minting closes. 0 = never closes. */
|
|
946
|
+
endTime: number;
|
|
947
|
+
/** Price per token in payment_token units. 0 = free mint. */
|
|
948
|
+
price: bigint | string;
|
|
949
|
+
/** ERC-20 token address for payment. Must be non-zero if price > 0. */
|
|
950
|
+
paymentToken: string;
|
|
951
|
+
/** Max tokens a single wallet may mint across all phases. 0 = unlimited. */
|
|
952
|
+
maxQuantityPerWallet: bigint | string;
|
|
953
|
+
}
|
|
954
|
+
interface CreateDropParams {
|
|
955
|
+
name: string;
|
|
956
|
+
symbol: string;
|
|
957
|
+
baseUri: string;
|
|
958
|
+
maxSupply: bigint | string;
|
|
959
|
+
initialConditions: ClaimConditions;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
declare class PopService {
|
|
963
|
+
private readonly factoryAddress;
|
|
964
|
+
constructor(_config: ResolvedConfig);
|
|
965
|
+
private _collection;
|
|
966
|
+
claim(account: AccountInterface, collectionAddress: string): Promise<TxResult>;
|
|
967
|
+
adminMint(account: AccountInterface, params: {
|
|
968
|
+
collection: string;
|
|
969
|
+
recipient: string;
|
|
970
|
+
customUri?: string;
|
|
971
|
+
}): Promise<TxResult>;
|
|
972
|
+
addToAllowlist(account: AccountInterface, params: {
|
|
973
|
+
collection: string;
|
|
974
|
+
address: string;
|
|
975
|
+
}): Promise<TxResult>;
|
|
976
|
+
batchAddToAllowlist(account: AccountInterface, params: {
|
|
977
|
+
collection: string;
|
|
978
|
+
addresses: string[];
|
|
979
|
+
}): Promise<TxResult>;
|
|
980
|
+
removeFromAllowlist(account: AccountInterface, params: {
|
|
981
|
+
collection: string;
|
|
982
|
+
address: string;
|
|
983
|
+
}): Promise<TxResult>;
|
|
984
|
+
setTokenUri(account: AccountInterface, params: {
|
|
985
|
+
collection: string;
|
|
986
|
+
tokenId: string | bigint;
|
|
987
|
+
uri: string;
|
|
988
|
+
}): Promise<TxResult>;
|
|
989
|
+
setPaused(account: AccountInterface, params: {
|
|
990
|
+
collection: string;
|
|
991
|
+
paused: boolean;
|
|
992
|
+
}): Promise<TxResult>;
|
|
993
|
+
createCollection(account: AccountInterface, params: CreatePopCollectionParams): Promise<TxResult>;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
declare class DropService {
|
|
997
|
+
private readonly factoryAddress;
|
|
998
|
+
constructor(_config: ResolvedConfig);
|
|
999
|
+
private _collection;
|
|
1000
|
+
claim(account: AccountInterface, collectionAddress: string, quantity?: bigint | string | number): Promise<TxResult>;
|
|
1001
|
+
adminMint(account: AccountInterface, params: {
|
|
1002
|
+
collection: string;
|
|
1003
|
+
recipient: string;
|
|
1004
|
+
quantity?: bigint | string | number;
|
|
1005
|
+
customUri?: string;
|
|
1006
|
+
}): Promise<TxResult>;
|
|
1007
|
+
setClaimConditions(account: AccountInterface, params: {
|
|
1008
|
+
collection: string;
|
|
1009
|
+
conditions: ClaimConditions;
|
|
1010
|
+
}): Promise<TxResult>;
|
|
1011
|
+
setAllowlistEnabled(account: AccountInterface, params: {
|
|
1012
|
+
collection: string;
|
|
1013
|
+
enabled: boolean;
|
|
1014
|
+
}): Promise<TxResult>;
|
|
1015
|
+
addToAllowlist(account: AccountInterface, params: {
|
|
1016
|
+
collection: string;
|
|
1017
|
+
address: string;
|
|
1018
|
+
}): Promise<TxResult>;
|
|
1019
|
+
batchAddToAllowlist(account: AccountInterface, params: {
|
|
1020
|
+
collection: string;
|
|
1021
|
+
addresses: string[];
|
|
1022
|
+
}): Promise<TxResult>;
|
|
1023
|
+
setPaused(account: AccountInterface, params: {
|
|
1024
|
+
collection: string;
|
|
1025
|
+
paused: boolean;
|
|
1026
|
+
}): Promise<TxResult>;
|
|
1027
|
+
withdrawPayments(account: AccountInterface, params: {
|
|
1028
|
+
collection: string;
|
|
1029
|
+
}): Promise<TxResult>;
|
|
1030
|
+
createDrop(account: AccountInterface, params: CreateDropParams): Promise<TxResult>;
|
|
899
1031
|
}
|
|
900
1032
|
|
|
901
1033
|
declare class MedialaneClient {
|
|
@@ -906,6 +1038,10 @@ declare class MedialaneClient {
|
|
|
906
1038
|
* Requires `backendUrl` in config; pass `apiKey` for authenticated routes.
|
|
907
1039
|
*/
|
|
908
1040
|
readonly api: ApiClient;
|
|
1041
|
+
readonly services: {
|
|
1042
|
+
readonly pop: PopService;
|
|
1043
|
+
readonly drop: DropService;
|
|
1044
|
+
};
|
|
909
1045
|
private readonly config;
|
|
910
1046
|
constructor(rawConfig?: MedialaneConfig);
|
|
911
1047
|
get network(): "mainnet" | "sepolia";
|
|
@@ -1282,63 +1418,132 @@ declare const IPMarketplaceABI: readonly [{
|
|
|
1282
1418
|
readonly kind: "nested";
|
|
1283
1419
|
}];
|
|
1284
1420
|
}];
|
|
1285
|
-
declare const
|
|
1421
|
+
declare const POPCollectionABI: readonly [{
|
|
1286
1422
|
readonly type: "struct";
|
|
1287
|
-
readonly name: "
|
|
1423
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1288
1424
|
readonly members: readonly [{
|
|
1289
|
-
readonly name: "
|
|
1290
|
-
readonly type: "core::
|
|
1291
|
-
}, {
|
|
1292
|
-
readonly name: "end_time";
|
|
1293
|
-
readonly type: "core::integer::u64";
|
|
1294
|
-
}, {
|
|
1295
|
-
readonly name: "price";
|
|
1296
|
-
readonly type: "core::integer::u256";
|
|
1425
|
+
readonly name: "data";
|
|
1426
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1297
1427
|
}, {
|
|
1298
|
-
readonly name: "
|
|
1299
|
-
readonly type: "core::
|
|
1428
|
+
readonly name: "pending_word";
|
|
1429
|
+
readonly type: "core::felt252";
|
|
1300
1430
|
}, {
|
|
1301
|
-
readonly name: "
|
|
1302
|
-
readonly type: "core::integer::
|
|
1431
|
+
readonly name: "pending_word_len";
|
|
1432
|
+
readonly type: "core::integer::u32";
|
|
1303
1433
|
}];
|
|
1304
1434
|
}, {
|
|
1305
1435
|
readonly type: "function";
|
|
1306
|
-
readonly name: "
|
|
1436
|
+
readonly name: "claim";
|
|
1437
|
+
readonly inputs: readonly [];
|
|
1438
|
+
readonly outputs: readonly [];
|
|
1439
|
+
readonly state_mutability: "external";
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly type: "function";
|
|
1442
|
+
readonly name: "admin_mint";
|
|
1307
1443
|
readonly inputs: readonly [{
|
|
1308
|
-
readonly name: "
|
|
1309
|
-
readonly type: "core::
|
|
1310
|
-
}, {
|
|
1311
|
-
readonly name: "symbol";
|
|
1312
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1444
|
+
readonly name: "recipient";
|
|
1445
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1313
1446
|
}, {
|
|
1314
|
-
readonly name: "
|
|
1447
|
+
readonly name: "custom_uri";
|
|
1315
1448
|
readonly type: "core::byte_array::ByteArray";
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1449
|
+
}];
|
|
1450
|
+
readonly outputs: readonly [];
|
|
1451
|
+
readonly state_mutability: "external";
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly type: "function";
|
|
1454
|
+
readonly name: "add_to_allowlist";
|
|
1455
|
+
readonly inputs: readonly [{
|
|
1456
|
+
readonly name: "address";
|
|
1457
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1458
|
+
}];
|
|
1459
|
+
readonly outputs: readonly [];
|
|
1460
|
+
readonly state_mutability: "external";
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly type: "function";
|
|
1463
|
+
readonly name: "batch_add_to_allowlist";
|
|
1464
|
+
readonly inputs: readonly [{
|
|
1465
|
+
readonly name: "addresses";
|
|
1466
|
+
readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
1467
|
+
}];
|
|
1468
|
+
readonly outputs: readonly [];
|
|
1469
|
+
readonly state_mutability: "external";
|
|
1470
|
+
}, {
|
|
1471
|
+
readonly type: "function";
|
|
1472
|
+
readonly name: "remove_from_allowlist";
|
|
1473
|
+
readonly inputs: readonly [{
|
|
1474
|
+
readonly name: "address";
|
|
1475
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1476
|
+
}];
|
|
1477
|
+
readonly outputs: readonly [];
|
|
1478
|
+
readonly state_mutability: "external";
|
|
1479
|
+
}, {
|
|
1480
|
+
readonly type: "function";
|
|
1481
|
+
readonly name: "set_token_uri";
|
|
1482
|
+
readonly inputs: readonly [{
|
|
1483
|
+
readonly name: "token_id";
|
|
1318
1484
|
readonly type: "core::integer::u256";
|
|
1319
1485
|
}, {
|
|
1320
|
-
readonly name: "
|
|
1321
|
-
readonly type: "
|
|
1486
|
+
readonly name: "uri";
|
|
1487
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1322
1488
|
}];
|
|
1323
|
-
readonly outputs: readonly [
|
|
1324
|
-
|
|
1489
|
+
readonly outputs: readonly [];
|
|
1490
|
+
readonly state_mutability: "external";
|
|
1491
|
+
}, {
|
|
1492
|
+
readonly type: "function";
|
|
1493
|
+
readonly name: "set_paused";
|
|
1494
|
+
readonly inputs: readonly [{
|
|
1495
|
+
readonly name: "paused";
|
|
1496
|
+
readonly type: "core::bool";
|
|
1325
1497
|
}];
|
|
1498
|
+
readonly outputs: readonly [];
|
|
1326
1499
|
readonly state_mutability: "external";
|
|
1327
1500
|
}, {
|
|
1328
1501
|
readonly type: "function";
|
|
1329
|
-
readonly name: "
|
|
1502
|
+
readonly name: "is_eligible";
|
|
1330
1503
|
readonly inputs: readonly [{
|
|
1331
|
-
readonly name: "
|
|
1504
|
+
readonly name: "address";
|
|
1505
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1506
|
+
}];
|
|
1507
|
+
readonly outputs: readonly [{
|
|
1508
|
+
readonly type: "core::bool";
|
|
1509
|
+
}];
|
|
1510
|
+
readonly state_mutability: "view";
|
|
1511
|
+
}, {
|
|
1512
|
+
readonly type: "function";
|
|
1513
|
+
readonly name: "has_claimed";
|
|
1514
|
+
readonly inputs: readonly [{
|
|
1515
|
+
readonly name: "address";
|
|
1332
1516
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1333
1517
|
}];
|
|
1334
1518
|
readonly outputs: readonly [{
|
|
1335
1519
|
readonly type: "core::bool";
|
|
1336
1520
|
}];
|
|
1337
1521
|
readonly state_mutability: "view";
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly type: "function";
|
|
1524
|
+
readonly name: "total_minted";
|
|
1525
|
+
readonly inputs: readonly [];
|
|
1526
|
+
readonly outputs: readonly [{
|
|
1527
|
+
readonly type: "core::integer::u256";
|
|
1528
|
+
}];
|
|
1529
|
+
readonly state_mutability: "view";
|
|
1338
1530
|
}];
|
|
1339
1531
|
declare const POPFactoryABI: readonly [{
|
|
1532
|
+
readonly type: "struct";
|
|
1533
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1534
|
+
readonly members: readonly [{
|
|
1535
|
+
readonly name: "data";
|
|
1536
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1537
|
+
}, {
|
|
1538
|
+
readonly name: "pending_word";
|
|
1539
|
+
readonly type: "core::felt252";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly name: "pending_word_len";
|
|
1542
|
+
readonly type: "core::integer::u32";
|
|
1543
|
+
}];
|
|
1544
|
+
}, {
|
|
1340
1545
|
readonly type: "enum";
|
|
1341
|
-
readonly name: "
|
|
1546
|
+
readonly name: "pop_protocol::types::EventType";
|
|
1342
1547
|
readonly variants: readonly [{
|
|
1343
1548
|
readonly name: "Conference";
|
|
1344
1549
|
readonly type: "()";
|
|
@@ -1378,7 +1583,7 @@ declare const POPFactoryABI: readonly [{
|
|
|
1378
1583
|
readonly type: "core::integer::u64";
|
|
1379
1584
|
}, {
|
|
1380
1585
|
readonly name: "event_type";
|
|
1381
|
-
readonly type: "
|
|
1586
|
+
readonly type: "pop_protocol::types::EventType";
|
|
1382
1587
|
}];
|
|
1383
1588
|
readonly outputs: readonly [{
|
|
1384
1589
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
@@ -1386,15 +1591,371 @@ declare const POPFactoryABI: readonly [{
|
|
|
1386
1591
|
readonly state_mutability: "external";
|
|
1387
1592
|
}, {
|
|
1388
1593
|
readonly type: "function";
|
|
1389
|
-
readonly name: "
|
|
1594
|
+
readonly name: "register_provider";
|
|
1390
1595
|
readonly inputs: readonly [{
|
|
1391
1596
|
readonly name: "provider";
|
|
1392
1597
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly name: "name";
|
|
1600
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1601
|
+
}, {
|
|
1602
|
+
readonly name: "website_url";
|
|
1603
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1604
|
+
}];
|
|
1605
|
+
readonly outputs: readonly [];
|
|
1606
|
+
readonly state_mutability: "external";
|
|
1607
|
+
}, {
|
|
1608
|
+
readonly type: "function";
|
|
1609
|
+
readonly name: "set_pop_collection_class_hash";
|
|
1610
|
+
readonly inputs: readonly [{
|
|
1611
|
+
readonly name: "new_class_hash";
|
|
1612
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1613
|
+
}];
|
|
1614
|
+
readonly outputs: readonly [];
|
|
1615
|
+
readonly state_mutability: "external";
|
|
1616
|
+
}];
|
|
1617
|
+
declare const DropCollectionABI: readonly [{
|
|
1618
|
+
readonly type: "struct";
|
|
1619
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1620
|
+
readonly members: readonly [{
|
|
1621
|
+
readonly name: "data";
|
|
1622
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1623
|
+
}, {
|
|
1624
|
+
readonly name: "pending_word";
|
|
1625
|
+
readonly type: "core::felt252";
|
|
1626
|
+
}, {
|
|
1627
|
+
readonly name: "pending_word_len";
|
|
1628
|
+
readonly type: "core::integer::u32";
|
|
1629
|
+
}];
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly type: "struct";
|
|
1632
|
+
readonly name: "collection_drop::types::ClaimConditions";
|
|
1633
|
+
readonly members: readonly [{
|
|
1634
|
+
readonly name: "start_time";
|
|
1635
|
+
readonly type: "core::integer::u64";
|
|
1636
|
+
}, {
|
|
1637
|
+
readonly name: "end_time";
|
|
1638
|
+
readonly type: "core::integer::u64";
|
|
1639
|
+
}, {
|
|
1640
|
+
readonly name: "price";
|
|
1641
|
+
readonly type: "core::integer::u256";
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly name: "payment_token";
|
|
1644
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly name: "max_quantity_per_wallet";
|
|
1647
|
+
readonly type: "core::integer::u256";
|
|
1648
|
+
}];
|
|
1649
|
+
}, {
|
|
1650
|
+
readonly type: "function";
|
|
1651
|
+
readonly name: "claim";
|
|
1652
|
+
readonly inputs: readonly [{
|
|
1653
|
+
readonly name: "quantity";
|
|
1654
|
+
readonly type: "core::integer::u256";
|
|
1655
|
+
}];
|
|
1656
|
+
readonly outputs: readonly [];
|
|
1657
|
+
readonly state_mutability: "external";
|
|
1658
|
+
}, {
|
|
1659
|
+
readonly type: "function";
|
|
1660
|
+
readonly name: "admin_mint";
|
|
1661
|
+
readonly inputs: readonly [{
|
|
1662
|
+
readonly name: "recipient";
|
|
1663
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1664
|
+
}, {
|
|
1665
|
+
readonly name: "quantity";
|
|
1666
|
+
readonly type: "core::integer::u256";
|
|
1667
|
+
}, {
|
|
1668
|
+
readonly name: "custom_uri";
|
|
1669
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1670
|
+
}];
|
|
1671
|
+
readonly outputs: readonly [];
|
|
1672
|
+
readonly state_mutability: "external";
|
|
1673
|
+
}, {
|
|
1674
|
+
readonly type: "function";
|
|
1675
|
+
readonly name: "set_claim_conditions";
|
|
1676
|
+
readonly inputs: readonly [{
|
|
1677
|
+
readonly name: "conditions";
|
|
1678
|
+
readonly type: "collection_drop::types::ClaimConditions";
|
|
1679
|
+
}];
|
|
1680
|
+
readonly outputs: readonly [];
|
|
1681
|
+
readonly state_mutability: "external";
|
|
1682
|
+
}, {
|
|
1683
|
+
readonly type: "function";
|
|
1684
|
+
readonly name: "get_claim_conditions";
|
|
1685
|
+
readonly inputs: readonly [];
|
|
1686
|
+
readonly outputs: readonly [{
|
|
1687
|
+
readonly type: "collection_drop::types::ClaimConditions";
|
|
1688
|
+
}];
|
|
1689
|
+
readonly state_mutability: "view";
|
|
1690
|
+
}, {
|
|
1691
|
+
readonly type: "function";
|
|
1692
|
+
readonly name: "set_allowlist_enabled";
|
|
1693
|
+
readonly inputs: readonly [{
|
|
1694
|
+
readonly name: "enabled";
|
|
1695
|
+
readonly type: "core::bool";
|
|
1696
|
+
}];
|
|
1697
|
+
readonly outputs: readonly [];
|
|
1698
|
+
readonly state_mutability: "external";
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly type: "function";
|
|
1701
|
+
readonly name: "is_allowlist_enabled";
|
|
1702
|
+
readonly inputs: readonly [];
|
|
1703
|
+
readonly outputs: readonly [{
|
|
1704
|
+
readonly type: "core::bool";
|
|
1705
|
+
}];
|
|
1706
|
+
readonly state_mutability: "view";
|
|
1707
|
+
}, {
|
|
1708
|
+
readonly type: "function";
|
|
1709
|
+
readonly name: "add_to_allowlist";
|
|
1710
|
+
readonly inputs: readonly [{
|
|
1711
|
+
readonly name: "address";
|
|
1712
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1713
|
+
}];
|
|
1714
|
+
readonly outputs: readonly [];
|
|
1715
|
+
readonly state_mutability: "external";
|
|
1716
|
+
}, {
|
|
1717
|
+
readonly type: "function";
|
|
1718
|
+
readonly name: "batch_add_to_allowlist";
|
|
1719
|
+
readonly inputs: readonly [{
|
|
1720
|
+
readonly name: "addresses";
|
|
1721
|
+
readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
1722
|
+
}];
|
|
1723
|
+
readonly outputs: readonly [];
|
|
1724
|
+
readonly state_mutability: "external";
|
|
1725
|
+
}, {
|
|
1726
|
+
readonly type: "function";
|
|
1727
|
+
readonly name: "remove_from_allowlist";
|
|
1728
|
+
readonly inputs: readonly [{
|
|
1729
|
+
readonly name: "address";
|
|
1730
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1731
|
+
}];
|
|
1732
|
+
readonly outputs: readonly [];
|
|
1733
|
+
readonly state_mutability: "external";
|
|
1734
|
+
}, {
|
|
1735
|
+
readonly type: "function";
|
|
1736
|
+
readonly name: "is_allowlisted";
|
|
1737
|
+
readonly inputs: readonly [{
|
|
1738
|
+
readonly name: "address";
|
|
1739
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1740
|
+
}];
|
|
1741
|
+
readonly outputs: readonly [{
|
|
1742
|
+
readonly type: "core::bool";
|
|
1743
|
+
}];
|
|
1744
|
+
readonly state_mutability: "view";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly type: "function";
|
|
1747
|
+
readonly name: "set_base_uri";
|
|
1748
|
+
readonly inputs: readonly [{
|
|
1749
|
+
readonly name: "new_uri";
|
|
1750
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1751
|
+
}];
|
|
1752
|
+
readonly outputs: readonly [];
|
|
1753
|
+
readonly state_mutability: "external";
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly type: "function";
|
|
1756
|
+
readonly name: "set_token_uri";
|
|
1757
|
+
readonly inputs: readonly [{
|
|
1758
|
+
readonly name: "token_id";
|
|
1759
|
+
readonly type: "core::integer::u256";
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly name: "uri";
|
|
1762
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1763
|
+
}];
|
|
1764
|
+
readonly outputs: readonly [];
|
|
1765
|
+
readonly state_mutability: "external";
|
|
1766
|
+
}, {
|
|
1767
|
+
readonly type: "function";
|
|
1768
|
+
readonly name: "set_paused";
|
|
1769
|
+
readonly inputs: readonly [{
|
|
1770
|
+
readonly name: "paused";
|
|
1771
|
+
readonly type: "core::bool";
|
|
1772
|
+
}];
|
|
1773
|
+
readonly outputs: readonly [];
|
|
1774
|
+
readonly state_mutability: "external";
|
|
1775
|
+
}, {
|
|
1776
|
+
readonly type: "function";
|
|
1777
|
+
readonly name: "withdraw_payments";
|
|
1778
|
+
readonly inputs: readonly [];
|
|
1779
|
+
readonly outputs: readonly [];
|
|
1780
|
+
readonly state_mutability: "external";
|
|
1781
|
+
}, {
|
|
1782
|
+
readonly type: "function";
|
|
1783
|
+
readonly name: "get_drop_id";
|
|
1784
|
+
readonly inputs: readonly [];
|
|
1785
|
+
readonly outputs: readonly [{
|
|
1786
|
+
readonly type: "core::integer::u256";
|
|
1787
|
+
}];
|
|
1788
|
+
readonly state_mutability: "view";
|
|
1789
|
+
}, {
|
|
1790
|
+
readonly type: "function";
|
|
1791
|
+
readonly name: "get_max_supply";
|
|
1792
|
+
readonly inputs: readonly [];
|
|
1793
|
+
readonly outputs: readonly [{
|
|
1794
|
+
readonly type: "core::integer::u256";
|
|
1795
|
+
}];
|
|
1796
|
+
readonly state_mutability: "view";
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly type: "function";
|
|
1799
|
+
readonly name: "total_minted";
|
|
1800
|
+
readonly inputs: readonly [];
|
|
1801
|
+
readonly outputs: readonly [{
|
|
1802
|
+
readonly type: "core::integer::u256";
|
|
1803
|
+
}];
|
|
1804
|
+
readonly state_mutability: "view";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly type: "function";
|
|
1807
|
+
readonly name: "remaining_supply";
|
|
1808
|
+
readonly inputs: readonly [];
|
|
1809
|
+
readonly outputs: readonly [{
|
|
1810
|
+
readonly type: "core::integer::u256";
|
|
1811
|
+
}];
|
|
1812
|
+
readonly state_mutability: "view";
|
|
1813
|
+
}, {
|
|
1814
|
+
readonly type: "function";
|
|
1815
|
+
readonly name: "minted_by_wallet";
|
|
1816
|
+
readonly inputs: readonly [{
|
|
1817
|
+
readonly name: "wallet";
|
|
1818
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1819
|
+
}];
|
|
1820
|
+
readonly outputs: readonly [{
|
|
1821
|
+
readonly type: "core::integer::u256";
|
|
1822
|
+
}];
|
|
1823
|
+
readonly state_mutability: "view";
|
|
1824
|
+
}, {
|
|
1825
|
+
readonly type: "function";
|
|
1826
|
+
readonly name: "is_paused";
|
|
1827
|
+
readonly inputs: readonly [];
|
|
1828
|
+
readonly outputs: readonly [{
|
|
1829
|
+
readonly type: "core::bool";
|
|
1830
|
+
}];
|
|
1831
|
+
readonly state_mutability: "view";
|
|
1832
|
+
}];
|
|
1833
|
+
declare const DropFactoryABI: readonly [{
|
|
1834
|
+
readonly type: "struct";
|
|
1835
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1836
|
+
readonly members: readonly [{
|
|
1837
|
+
readonly name: "data";
|
|
1838
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1839
|
+
}, {
|
|
1840
|
+
readonly name: "pending_word";
|
|
1841
|
+
readonly type: "core::felt252";
|
|
1842
|
+
}, {
|
|
1843
|
+
readonly name: "pending_word_len";
|
|
1844
|
+
readonly type: "core::integer::u32";
|
|
1845
|
+
}];
|
|
1846
|
+
}, {
|
|
1847
|
+
readonly type: "struct";
|
|
1848
|
+
readonly name: "collection_drop::types::ClaimConditions";
|
|
1849
|
+
readonly members: readonly [{
|
|
1850
|
+
readonly name: "start_time";
|
|
1851
|
+
readonly type: "core::integer::u64";
|
|
1852
|
+
}, {
|
|
1853
|
+
readonly name: "end_time";
|
|
1854
|
+
readonly type: "core::integer::u64";
|
|
1855
|
+
}, {
|
|
1856
|
+
readonly name: "price";
|
|
1857
|
+
readonly type: "core::integer::u256";
|
|
1858
|
+
}, {
|
|
1859
|
+
readonly name: "payment_token";
|
|
1860
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly name: "max_quantity_per_wallet";
|
|
1863
|
+
readonly type: "core::integer::u256";
|
|
1864
|
+
}];
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly type: "function";
|
|
1867
|
+
readonly name: "register_organizer";
|
|
1868
|
+
readonly inputs: readonly [{
|
|
1869
|
+
readonly name: "organizer";
|
|
1870
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly name: "name";
|
|
1873
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1874
|
+
}];
|
|
1875
|
+
readonly outputs: readonly [];
|
|
1876
|
+
readonly state_mutability: "external";
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly type: "function";
|
|
1879
|
+
readonly name: "revoke_organizer";
|
|
1880
|
+
readonly inputs: readonly [{
|
|
1881
|
+
readonly name: "organizer";
|
|
1882
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1883
|
+
}];
|
|
1884
|
+
readonly outputs: readonly [];
|
|
1885
|
+
readonly state_mutability: "external";
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly type: "function";
|
|
1888
|
+
readonly name: "is_active_organizer";
|
|
1889
|
+
readonly inputs: readonly [{
|
|
1890
|
+
readonly name: "organizer";
|
|
1891
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1393
1892
|
}];
|
|
1394
1893
|
readonly outputs: readonly [{
|
|
1395
1894
|
readonly type: "core::bool";
|
|
1396
1895
|
}];
|
|
1397
1896
|
readonly state_mutability: "view";
|
|
1897
|
+
}, {
|
|
1898
|
+
readonly type: "function";
|
|
1899
|
+
readonly name: "create_drop";
|
|
1900
|
+
readonly inputs: readonly [{
|
|
1901
|
+
readonly name: "name";
|
|
1902
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1903
|
+
}, {
|
|
1904
|
+
readonly name: "symbol";
|
|
1905
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1906
|
+
}, {
|
|
1907
|
+
readonly name: "base_uri";
|
|
1908
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly name: "max_supply";
|
|
1911
|
+
readonly type: "core::integer::u256";
|
|
1912
|
+
}, {
|
|
1913
|
+
readonly name: "initial_conditions";
|
|
1914
|
+
readonly type: "collection_drop::types::ClaimConditions";
|
|
1915
|
+
}];
|
|
1916
|
+
readonly outputs: readonly [{
|
|
1917
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1918
|
+
}];
|
|
1919
|
+
readonly state_mutability: "external";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly type: "function";
|
|
1922
|
+
readonly name: "get_drop_address";
|
|
1923
|
+
readonly inputs: readonly [{
|
|
1924
|
+
readonly name: "drop_id";
|
|
1925
|
+
readonly type: "core::integer::u256";
|
|
1926
|
+
}];
|
|
1927
|
+
readonly outputs: readonly [{
|
|
1928
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1929
|
+
}];
|
|
1930
|
+
readonly state_mutability: "view";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly type: "function";
|
|
1933
|
+
readonly name: "get_last_drop_id";
|
|
1934
|
+
readonly inputs: readonly [];
|
|
1935
|
+
readonly outputs: readonly [{
|
|
1936
|
+
readonly type: "core::integer::u256";
|
|
1937
|
+
}];
|
|
1938
|
+
readonly state_mutability: "view";
|
|
1939
|
+
}, {
|
|
1940
|
+
readonly type: "function";
|
|
1941
|
+
readonly name: "get_organizer_drop_count";
|
|
1942
|
+
readonly inputs: readonly [{
|
|
1943
|
+
readonly name: "organizer";
|
|
1944
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1945
|
+
}];
|
|
1946
|
+
readonly outputs: readonly [{
|
|
1947
|
+
readonly type: "core::integer::u32";
|
|
1948
|
+
}];
|
|
1949
|
+
readonly state_mutability: "view";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly type: "function";
|
|
1952
|
+
readonly name: "set_drop_collection_class_hash";
|
|
1953
|
+
readonly inputs: readonly [{
|
|
1954
|
+
readonly name: "new_class_hash";
|
|
1955
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1956
|
+
}];
|
|
1957
|
+
readonly outputs: readonly [];
|
|
1958
|
+
readonly state_mutability: "external";
|
|
1398
1959
|
}];
|
|
1399
1960
|
|
|
1400
1961
|
/**
|
|
@@ -1457,4 +2018,4 @@ declare function buildFulfillmentTypedData(message: Record<string, unknown>, cha
|
|
|
1457
2018
|
*/
|
|
1458
2019
|
declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
|
|
1459
2020
|
|
|
1460
|
-
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 ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, COLLECTION_CONTRACT_MAINNET, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreateRemixOfferParams, type CreateWebhookParams, DEFAULT_RPC_URLS, DROP_FACTORY_CONTRACT_MAINNET, DropFactoryABI, 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, POPFactoryABI, POP_FACTORY_CONTRACT_MAINNET, type PopEventType, 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 };
|
|
2021
|
+
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 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 };
|