@medialane/sdk 0.5.7 → 0.6.1
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 +4 -0
- package/dist/index.cjs +606 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +673 -3
- package/dist/index.d.ts +673 -3
- package/dist/index.js +598 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ type SupportedTokenSymbol = (typeof SUPPORTED_TOKENS)[number]["symbol"];
|
|
|
33
33
|
declare const SUPPORTED_NETWORKS: readonly ["mainnet", "sepolia"];
|
|
34
34
|
type Network = (typeof SUPPORTED_NETWORKS)[number];
|
|
35
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";
|
|
36
40
|
|
|
37
41
|
interface RetryOptions {
|
|
38
42
|
maxAttempts?: number;
|
|
@@ -205,12 +209,14 @@ declare class MarketplaceModule {
|
|
|
205
209
|
|
|
206
210
|
type IPType = "Audio" | "Art" | "Documents" | "NFT" | "Video" | "Photography" | "Patents" | "Posts" | "Publications" | "RWA" | "Software" | "Custom";
|
|
207
211
|
type CollectionSort = "recent" | "supply" | "floor" | "volume" | "name";
|
|
212
|
+
type CollectionSource = "MEDIALANE_REGISTRY" | "EXTERNAL" | "PARTNERSHIP" | "IP_TICKET" | "IP_CLUB" | "GAME" | "POP_PROTOCOL" | "COLLECTION_DROP";
|
|
208
213
|
interface ApiCollectionsQuery {
|
|
209
214
|
page?: number;
|
|
210
215
|
limit?: number;
|
|
211
216
|
isKnown?: boolean;
|
|
212
217
|
sort?: CollectionSort;
|
|
213
218
|
owner?: string;
|
|
219
|
+
source?: CollectionSource;
|
|
214
220
|
}
|
|
215
221
|
type OrderStatus = "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED" | "COUNTER_OFFERED";
|
|
216
222
|
type SortOrder = "price_asc" | "price_desc" | "recent";
|
|
@@ -371,7 +377,7 @@ interface ApiCollection {
|
|
|
371
377
|
startBlock: string;
|
|
372
378
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
373
379
|
isKnown: boolean;
|
|
374
|
-
source:
|
|
380
|
+
source: CollectionSource;
|
|
375
381
|
claimedBy: string | null;
|
|
376
382
|
profile?: ApiCollectionProfile | null;
|
|
377
383
|
floorPrice: string | null;
|
|
@@ -727,6 +733,19 @@ interface ApiAdminCollectionClaim extends ApiCollectionClaim {
|
|
|
727
733
|
reviewedAt: string | null;
|
|
728
734
|
updatedAt: string;
|
|
729
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
|
+
}
|
|
730
749
|
|
|
731
750
|
declare class MedialaneApiError extends Error {
|
|
732
751
|
readonly status: number;
|
|
@@ -750,7 +769,7 @@ declare class ApiClient {
|
|
|
750
769
|
getToken(contract: string, tokenId: string, wait?: boolean): Promise<ApiResponse<ApiToken>>;
|
|
751
770
|
getTokensByOwner(address: string, page?: number, limit?: number): Promise<ApiResponse<ApiToken[]>>;
|
|
752
771
|
getTokenHistory(contract: string, tokenId: string, page?: number, limit?: number): Promise<ApiResponse<ApiActivity[]>>;
|
|
753
|
-
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[]>>;
|
|
754
773
|
getCollectionsByOwner(owner: string, page?: number, limit?: number): Promise<ApiResponse<ApiCollection[]>>;
|
|
755
774
|
getCollection(contract: string): Promise<ApiResponse<ApiCollection>>;
|
|
756
775
|
getCollectionTokens(contract: string, page?: number, limit?: number): Promise<ApiResponse<ApiToken[]>>;
|
|
@@ -826,6 +845,11 @@ declare class ApiClient {
|
|
|
826
845
|
* Update collection profile. Requires Clerk JWT for ownership check.
|
|
827
846
|
*/
|
|
828
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>;
|
|
829
853
|
/** List all creators with an approved username. */
|
|
830
854
|
getCreators(opts?: {
|
|
831
855
|
search?: string;
|
|
@@ -893,6 +917,109 @@ declare class ApiClient {
|
|
|
893
917
|
* Requires Clerk JWT.
|
|
894
918
|
*/
|
|
895
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
|
+
declare class PopService {
|
|
943
|
+
private readonly factoryAddress;
|
|
944
|
+
constructor(_config: ResolvedConfig);
|
|
945
|
+
claim(account: AccountInterface, collectionAddress: string): Promise<TxResult>;
|
|
946
|
+
adminMint(account: AccountInterface, params: {
|
|
947
|
+
collection: string;
|
|
948
|
+
recipient: string;
|
|
949
|
+
customUri?: string;
|
|
950
|
+
}): Promise<TxResult>;
|
|
951
|
+
addToAllowlist(account: AccountInterface, params: {
|
|
952
|
+
collection: string;
|
|
953
|
+
address: string;
|
|
954
|
+
}): Promise<TxResult>;
|
|
955
|
+
batchAddToAllowlist(account: AccountInterface, params: {
|
|
956
|
+
collection: string;
|
|
957
|
+
addresses: string[];
|
|
958
|
+
}): Promise<TxResult>;
|
|
959
|
+
removeFromAllowlist(account: AccountInterface, params: {
|
|
960
|
+
collection: string;
|
|
961
|
+
address: string;
|
|
962
|
+
}): Promise<TxResult>;
|
|
963
|
+
setTokenUri(account: AccountInterface, params: {
|
|
964
|
+
collection: string;
|
|
965
|
+
tokenId: string | bigint;
|
|
966
|
+
uri: string;
|
|
967
|
+
}): Promise<TxResult>;
|
|
968
|
+
setPaused(account: AccountInterface, params: {
|
|
969
|
+
collection: string;
|
|
970
|
+
paused: boolean;
|
|
971
|
+
}): Promise<TxResult>;
|
|
972
|
+
createCollection(account: AccountInterface, params: CreatePopCollectionParams): Promise<TxResult>;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
interface ClaimConditions {
|
|
976
|
+
startTime: number;
|
|
977
|
+
endTime: number;
|
|
978
|
+
price: bigint | string;
|
|
979
|
+
paymentToken: string;
|
|
980
|
+
maxQuantityPerWallet: bigint | string;
|
|
981
|
+
}
|
|
982
|
+
interface CreateDropParams {
|
|
983
|
+
name: string;
|
|
984
|
+
symbol: string;
|
|
985
|
+
baseUri: string;
|
|
986
|
+
maxSupply: bigint | string;
|
|
987
|
+
initialConditions: ClaimConditions;
|
|
988
|
+
}
|
|
989
|
+
declare class DropService {
|
|
990
|
+
private readonly factoryAddress;
|
|
991
|
+
constructor(_config: ResolvedConfig);
|
|
992
|
+
claim(account: AccountInterface, collectionAddress: string, quantity?: bigint | string | number): Promise<TxResult>;
|
|
993
|
+
adminMint(account: AccountInterface, params: {
|
|
994
|
+
collection: string;
|
|
995
|
+
recipient: string;
|
|
996
|
+
quantity?: bigint | string | number;
|
|
997
|
+
customUri?: string;
|
|
998
|
+
}): Promise<TxResult>;
|
|
999
|
+
setClaimConditions(account: AccountInterface, params: {
|
|
1000
|
+
collection: string;
|
|
1001
|
+
conditions: ClaimConditions;
|
|
1002
|
+
}): Promise<TxResult>;
|
|
1003
|
+
setAllowlistEnabled(account: AccountInterface, params: {
|
|
1004
|
+
collection: string;
|
|
1005
|
+
enabled: boolean;
|
|
1006
|
+
}): Promise<TxResult>;
|
|
1007
|
+
addToAllowlist(account: AccountInterface, params: {
|
|
1008
|
+
collection: string;
|
|
1009
|
+
address: string;
|
|
1010
|
+
}): Promise<TxResult>;
|
|
1011
|
+
batchAddToAllowlist(account: AccountInterface, params: {
|
|
1012
|
+
collection: string;
|
|
1013
|
+
addresses: string[];
|
|
1014
|
+
}): Promise<TxResult>;
|
|
1015
|
+
setPaused(account: AccountInterface, params: {
|
|
1016
|
+
collection: string;
|
|
1017
|
+
paused: boolean;
|
|
1018
|
+
}): Promise<TxResult>;
|
|
1019
|
+
withdrawPayments(account: AccountInterface, params: {
|
|
1020
|
+
collection: string;
|
|
1021
|
+
}): Promise<TxResult>;
|
|
1022
|
+
createDrop(account: AccountInterface, params: CreateDropParams): Promise<TxResult>;
|
|
896
1023
|
}
|
|
897
1024
|
|
|
898
1025
|
declare class MedialaneClient {
|
|
@@ -903,6 +1030,10 @@ declare class MedialaneClient {
|
|
|
903
1030
|
* Requires `backendUrl` in config; pass `apiKey` for authenticated routes.
|
|
904
1031
|
*/
|
|
905
1032
|
readonly api: ApiClient;
|
|
1033
|
+
readonly services: {
|
|
1034
|
+
readonly pop: PopService;
|
|
1035
|
+
readonly drop: DropService;
|
|
1036
|
+
};
|
|
906
1037
|
private readonly config;
|
|
907
1038
|
constructor(rawConfig?: MedialaneConfig);
|
|
908
1039
|
get network(): "mainnet" | "sepolia";
|
|
@@ -1279,6 +1410,545 @@ declare const IPMarketplaceABI: readonly [{
|
|
|
1279
1410
|
readonly kind: "nested";
|
|
1280
1411
|
}];
|
|
1281
1412
|
}];
|
|
1413
|
+
declare const POPCollectionABI: readonly [{
|
|
1414
|
+
readonly type: "struct";
|
|
1415
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1416
|
+
readonly members: readonly [{
|
|
1417
|
+
readonly name: "data";
|
|
1418
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1419
|
+
}, {
|
|
1420
|
+
readonly name: "pending_word";
|
|
1421
|
+
readonly type: "core::felt252";
|
|
1422
|
+
}, {
|
|
1423
|
+
readonly name: "pending_word_len";
|
|
1424
|
+
readonly type: "core::integer::u32";
|
|
1425
|
+
}];
|
|
1426
|
+
}, {
|
|
1427
|
+
readonly type: "function";
|
|
1428
|
+
readonly name: "claim";
|
|
1429
|
+
readonly inputs: readonly [];
|
|
1430
|
+
readonly outputs: readonly [];
|
|
1431
|
+
readonly state_mutability: "external";
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly type: "function";
|
|
1434
|
+
readonly name: "admin_mint";
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly name: "recipient";
|
|
1437
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly name: "custom_uri";
|
|
1440
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1441
|
+
}];
|
|
1442
|
+
readonly outputs: readonly [];
|
|
1443
|
+
readonly state_mutability: "external";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly type: "function";
|
|
1446
|
+
readonly name: "add_to_allowlist";
|
|
1447
|
+
readonly inputs: readonly [{
|
|
1448
|
+
readonly name: "address";
|
|
1449
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1450
|
+
}];
|
|
1451
|
+
readonly outputs: readonly [];
|
|
1452
|
+
readonly state_mutability: "external";
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly type: "function";
|
|
1455
|
+
readonly name: "batch_add_to_allowlist";
|
|
1456
|
+
readonly inputs: readonly [{
|
|
1457
|
+
readonly name: "addresses";
|
|
1458
|
+
readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
1459
|
+
}];
|
|
1460
|
+
readonly outputs: readonly [];
|
|
1461
|
+
readonly state_mutability: "external";
|
|
1462
|
+
}, {
|
|
1463
|
+
readonly type: "function";
|
|
1464
|
+
readonly name: "remove_from_allowlist";
|
|
1465
|
+
readonly inputs: readonly [{
|
|
1466
|
+
readonly name: "address";
|
|
1467
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1468
|
+
}];
|
|
1469
|
+
readonly outputs: readonly [];
|
|
1470
|
+
readonly state_mutability: "external";
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly type: "function";
|
|
1473
|
+
readonly name: "set_token_uri";
|
|
1474
|
+
readonly inputs: readonly [{
|
|
1475
|
+
readonly name: "token_id";
|
|
1476
|
+
readonly type: "core::integer::u256";
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly name: "uri";
|
|
1479
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1480
|
+
}];
|
|
1481
|
+
readonly outputs: readonly [];
|
|
1482
|
+
readonly state_mutability: "external";
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly type: "function";
|
|
1485
|
+
readonly name: "set_paused";
|
|
1486
|
+
readonly inputs: readonly [{
|
|
1487
|
+
readonly name: "paused";
|
|
1488
|
+
readonly type: "core::bool";
|
|
1489
|
+
}];
|
|
1490
|
+
readonly outputs: readonly [];
|
|
1491
|
+
readonly state_mutability: "external";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly type: "function";
|
|
1494
|
+
readonly name: "is_eligible";
|
|
1495
|
+
readonly inputs: readonly [{
|
|
1496
|
+
readonly name: "address";
|
|
1497
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1498
|
+
}];
|
|
1499
|
+
readonly outputs: readonly [{
|
|
1500
|
+
readonly type: "core::bool";
|
|
1501
|
+
}];
|
|
1502
|
+
readonly state_mutability: "view";
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly type: "function";
|
|
1505
|
+
readonly name: "has_claimed";
|
|
1506
|
+
readonly inputs: readonly [{
|
|
1507
|
+
readonly name: "address";
|
|
1508
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1509
|
+
}];
|
|
1510
|
+
readonly outputs: readonly [{
|
|
1511
|
+
readonly type: "core::bool";
|
|
1512
|
+
}];
|
|
1513
|
+
readonly state_mutability: "view";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly type: "function";
|
|
1516
|
+
readonly name: "total_minted";
|
|
1517
|
+
readonly inputs: readonly [];
|
|
1518
|
+
readonly outputs: readonly [{
|
|
1519
|
+
readonly type: "core::integer::u256";
|
|
1520
|
+
}];
|
|
1521
|
+
readonly state_mutability: "view";
|
|
1522
|
+
}];
|
|
1523
|
+
declare const POPFactoryABI: readonly [{
|
|
1524
|
+
readonly type: "struct";
|
|
1525
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1526
|
+
readonly members: readonly [{
|
|
1527
|
+
readonly name: "data";
|
|
1528
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly name: "pending_word";
|
|
1531
|
+
readonly type: "core::felt252";
|
|
1532
|
+
}, {
|
|
1533
|
+
readonly name: "pending_word_len";
|
|
1534
|
+
readonly type: "core::integer::u32";
|
|
1535
|
+
}];
|
|
1536
|
+
}, {
|
|
1537
|
+
readonly type: "enum";
|
|
1538
|
+
readonly name: "pop_protocol::types::EventType";
|
|
1539
|
+
readonly variants: readonly [{
|
|
1540
|
+
readonly name: "Conference";
|
|
1541
|
+
readonly type: "()";
|
|
1542
|
+
}, {
|
|
1543
|
+
readonly name: "Bootcamp";
|
|
1544
|
+
readonly type: "()";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly name: "Workshop";
|
|
1547
|
+
readonly type: "()";
|
|
1548
|
+
}, {
|
|
1549
|
+
readonly name: "Hackathon";
|
|
1550
|
+
readonly type: "()";
|
|
1551
|
+
}, {
|
|
1552
|
+
readonly name: "Meetup";
|
|
1553
|
+
readonly type: "()";
|
|
1554
|
+
}, {
|
|
1555
|
+
readonly name: "Course";
|
|
1556
|
+
readonly type: "()";
|
|
1557
|
+
}, {
|
|
1558
|
+
readonly name: "Other";
|
|
1559
|
+
readonly type: "()";
|
|
1560
|
+
}];
|
|
1561
|
+
}, {
|
|
1562
|
+
readonly type: "function";
|
|
1563
|
+
readonly name: "create_collection";
|
|
1564
|
+
readonly inputs: readonly [{
|
|
1565
|
+
readonly name: "name";
|
|
1566
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1567
|
+
}, {
|
|
1568
|
+
readonly name: "symbol";
|
|
1569
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1570
|
+
}, {
|
|
1571
|
+
readonly name: "base_uri";
|
|
1572
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly name: "claim_end_time";
|
|
1575
|
+
readonly type: "core::integer::u64";
|
|
1576
|
+
}, {
|
|
1577
|
+
readonly name: "event_type";
|
|
1578
|
+
readonly type: "pop_protocol::types::EventType";
|
|
1579
|
+
}];
|
|
1580
|
+
readonly outputs: readonly [{
|
|
1581
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1582
|
+
}];
|
|
1583
|
+
readonly state_mutability: "external";
|
|
1584
|
+
}, {
|
|
1585
|
+
readonly type: "function";
|
|
1586
|
+
readonly name: "register_provider";
|
|
1587
|
+
readonly inputs: readonly [{
|
|
1588
|
+
readonly name: "provider";
|
|
1589
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly name: "name";
|
|
1592
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1593
|
+
}, {
|
|
1594
|
+
readonly name: "website_url";
|
|
1595
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1596
|
+
}];
|
|
1597
|
+
readonly outputs: readonly [];
|
|
1598
|
+
readonly state_mutability: "external";
|
|
1599
|
+
}, {
|
|
1600
|
+
readonly type: "function";
|
|
1601
|
+
readonly name: "set_pop_collection_class_hash";
|
|
1602
|
+
readonly inputs: readonly [{
|
|
1603
|
+
readonly name: "new_class_hash";
|
|
1604
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1605
|
+
}];
|
|
1606
|
+
readonly outputs: readonly [];
|
|
1607
|
+
readonly state_mutability: "external";
|
|
1608
|
+
}];
|
|
1609
|
+
declare const DropCollectionABI: readonly [{
|
|
1610
|
+
readonly type: "struct";
|
|
1611
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1612
|
+
readonly members: readonly [{
|
|
1613
|
+
readonly name: "data";
|
|
1614
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1615
|
+
}, {
|
|
1616
|
+
readonly name: "pending_word";
|
|
1617
|
+
readonly type: "core::felt252";
|
|
1618
|
+
}, {
|
|
1619
|
+
readonly name: "pending_word_len";
|
|
1620
|
+
readonly type: "core::integer::u32";
|
|
1621
|
+
}];
|
|
1622
|
+
}, {
|
|
1623
|
+
readonly type: "struct";
|
|
1624
|
+
readonly name: "collection_drop::types::ClaimConditions";
|
|
1625
|
+
readonly members: readonly [{
|
|
1626
|
+
readonly name: "start_time";
|
|
1627
|
+
readonly type: "core::integer::u64";
|
|
1628
|
+
}, {
|
|
1629
|
+
readonly name: "end_time";
|
|
1630
|
+
readonly type: "core::integer::u64";
|
|
1631
|
+
}, {
|
|
1632
|
+
readonly name: "price";
|
|
1633
|
+
readonly type: "core::integer::u256";
|
|
1634
|
+
}, {
|
|
1635
|
+
readonly name: "payment_token";
|
|
1636
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1637
|
+
}, {
|
|
1638
|
+
readonly name: "max_quantity_per_wallet";
|
|
1639
|
+
readonly type: "core::integer::u256";
|
|
1640
|
+
}];
|
|
1641
|
+
}, {
|
|
1642
|
+
readonly type: "function";
|
|
1643
|
+
readonly name: "claim";
|
|
1644
|
+
readonly inputs: readonly [{
|
|
1645
|
+
readonly name: "quantity";
|
|
1646
|
+
readonly type: "core::integer::u256";
|
|
1647
|
+
}];
|
|
1648
|
+
readonly outputs: readonly [];
|
|
1649
|
+
readonly state_mutability: "external";
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly type: "function";
|
|
1652
|
+
readonly name: "admin_mint";
|
|
1653
|
+
readonly inputs: readonly [{
|
|
1654
|
+
readonly name: "recipient";
|
|
1655
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly name: "quantity";
|
|
1658
|
+
readonly type: "core::integer::u256";
|
|
1659
|
+
}, {
|
|
1660
|
+
readonly name: "custom_uri";
|
|
1661
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1662
|
+
}];
|
|
1663
|
+
readonly outputs: readonly [];
|
|
1664
|
+
readonly state_mutability: "external";
|
|
1665
|
+
}, {
|
|
1666
|
+
readonly type: "function";
|
|
1667
|
+
readonly name: "set_claim_conditions";
|
|
1668
|
+
readonly inputs: readonly [{
|
|
1669
|
+
readonly name: "conditions";
|
|
1670
|
+
readonly type: "collection_drop::types::ClaimConditions";
|
|
1671
|
+
}];
|
|
1672
|
+
readonly outputs: readonly [];
|
|
1673
|
+
readonly state_mutability: "external";
|
|
1674
|
+
}, {
|
|
1675
|
+
readonly type: "function";
|
|
1676
|
+
readonly name: "get_claim_conditions";
|
|
1677
|
+
readonly inputs: readonly [];
|
|
1678
|
+
readonly outputs: readonly [{
|
|
1679
|
+
readonly type: "collection_drop::types::ClaimConditions";
|
|
1680
|
+
}];
|
|
1681
|
+
readonly state_mutability: "view";
|
|
1682
|
+
}, {
|
|
1683
|
+
readonly type: "function";
|
|
1684
|
+
readonly name: "set_allowlist_enabled";
|
|
1685
|
+
readonly inputs: readonly [{
|
|
1686
|
+
readonly name: "enabled";
|
|
1687
|
+
readonly type: "core::bool";
|
|
1688
|
+
}];
|
|
1689
|
+
readonly outputs: readonly [];
|
|
1690
|
+
readonly state_mutability: "external";
|
|
1691
|
+
}, {
|
|
1692
|
+
readonly type: "function";
|
|
1693
|
+
readonly name: "is_allowlist_enabled";
|
|
1694
|
+
readonly inputs: readonly [];
|
|
1695
|
+
readonly outputs: readonly [{
|
|
1696
|
+
readonly type: "core::bool";
|
|
1697
|
+
}];
|
|
1698
|
+
readonly state_mutability: "view";
|
|
1699
|
+
}, {
|
|
1700
|
+
readonly type: "function";
|
|
1701
|
+
readonly name: "add_to_allowlist";
|
|
1702
|
+
readonly inputs: readonly [{
|
|
1703
|
+
readonly name: "address";
|
|
1704
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1705
|
+
}];
|
|
1706
|
+
readonly outputs: readonly [];
|
|
1707
|
+
readonly state_mutability: "external";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly type: "function";
|
|
1710
|
+
readonly name: "batch_add_to_allowlist";
|
|
1711
|
+
readonly inputs: readonly [{
|
|
1712
|
+
readonly name: "addresses";
|
|
1713
|
+
readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
1714
|
+
}];
|
|
1715
|
+
readonly outputs: readonly [];
|
|
1716
|
+
readonly state_mutability: "external";
|
|
1717
|
+
}, {
|
|
1718
|
+
readonly type: "function";
|
|
1719
|
+
readonly name: "remove_from_allowlist";
|
|
1720
|
+
readonly inputs: readonly [{
|
|
1721
|
+
readonly name: "address";
|
|
1722
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1723
|
+
}];
|
|
1724
|
+
readonly outputs: readonly [];
|
|
1725
|
+
readonly state_mutability: "external";
|
|
1726
|
+
}, {
|
|
1727
|
+
readonly type: "function";
|
|
1728
|
+
readonly name: "is_allowlisted";
|
|
1729
|
+
readonly inputs: readonly [{
|
|
1730
|
+
readonly name: "address";
|
|
1731
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1732
|
+
}];
|
|
1733
|
+
readonly outputs: readonly [{
|
|
1734
|
+
readonly type: "core::bool";
|
|
1735
|
+
}];
|
|
1736
|
+
readonly state_mutability: "view";
|
|
1737
|
+
}, {
|
|
1738
|
+
readonly type: "function";
|
|
1739
|
+
readonly name: "set_base_uri";
|
|
1740
|
+
readonly inputs: readonly [{
|
|
1741
|
+
readonly name: "new_uri";
|
|
1742
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1743
|
+
}];
|
|
1744
|
+
readonly outputs: readonly [];
|
|
1745
|
+
readonly state_mutability: "external";
|
|
1746
|
+
}, {
|
|
1747
|
+
readonly type: "function";
|
|
1748
|
+
readonly name: "set_token_uri";
|
|
1749
|
+
readonly inputs: readonly [{
|
|
1750
|
+
readonly name: "token_id";
|
|
1751
|
+
readonly type: "core::integer::u256";
|
|
1752
|
+
}, {
|
|
1753
|
+
readonly name: "uri";
|
|
1754
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1755
|
+
}];
|
|
1756
|
+
readonly outputs: readonly [];
|
|
1757
|
+
readonly state_mutability: "external";
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly type: "function";
|
|
1760
|
+
readonly name: "set_paused";
|
|
1761
|
+
readonly inputs: readonly [{
|
|
1762
|
+
readonly name: "paused";
|
|
1763
|
+
readonly type: "core::bool";
|
|
1764
|
+
}];
|
|
1765
|
+
readonly outputs: readonly [];
|
|
1766
|
+
readonly state_mutability: "external";
|
|
1767
|
+
}, {
|
|
1768
|
+
readonly type: "function";
|
|
1769
|
+
readonly name: "withdraw_payments";
|
|
1770
|
+
readonly inputs: readonly [];
|
|
1771
|
+
readonly outputs: readonly [];
|
|
1772
|
+
readonly state_mutability: "external";
|
|
1773
|
+
}, {
|
|
1774
|
+
readonly type: "function";
|
|
1775
|
+
readonly name: "get_drop_id";
|
|
1776
|
+
readonly inputs: readonly [];
|
|
1777
|
+
readonly outputs: readonly [{
|
|
1778
|
+
readonly type: "core::integer::u256";
|
|
1779
|
+
}];
|
|
1780
|
+
readonly state_mutability: "view";
|
|
1781
|
+
}, {
|
|
1782
|
+
readonly type: "function";
|
|
1783
|
+
readonly name: "get_max_supply";
|
|
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: "total_minted";
|
|
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: "remaining_supply";
|
|
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: "minted_by_wallet";
|
|
1808
|
+
readonly inputs: readonly [{
|
|
1809
|
+
readonly name: "wallet";
|
|
1810
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1811
|
+
}];
|
|
1812
|
+
readonly outputs: readonly [{
|
|
1813
|
+
readonly type: "core::integer::u256";
|
|
1814
|
+
}];
|
|
1815
|
+
readonly state_mutability: "view";
|
|
1816
|
+
}, {
|
|
1817
|
+
readonly type: "function";
|
|
1818
|
+
readonly name: "is_paused";
|
|
1819
|
+
readonly inputs: readonly [];
|
|
1820
|
+
readonly outputs: readonly [{
|
|
1821
|
+
readonly type: "core::bool";
|
|
1822
|
+
}];
|
|
1823
|
+
readonly state_mutability: "view";
|
|
1824
|
+
}];
|
|
1825
|
+
declare const DropFactoryABI: readonly [{
|
|
1826
|
+
readonly type: "struct";
|
|
1827
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1828
|
+
readonly members: readonly [{
|
|
1829
|
+
readonly name: "data";
|
|
1830
|
+
readonly type: "core::array::Array::<core::felt252>";
|
|
1831
|
+
}, {
|
|
1832
|
+
readonly name: "pending_word";
|
|
1833
|
+
readonly type: "core::felt252";
|
|
1834
|
+
}, {
|
|
1835
|
+
readonly name: "pending_word_len";
|
|
1836
|
+
readonly type: "core::integer::u32";
|
|
1837
|
+
}];
|
|
1838
|
+
}, {
|
|
1839
|
+
readonly type: "struct";
|
|
1840
|
+
readonly name: "collection_drop::types::ClaimConditions";
|
|
1841
|
+
readonly members: readonly [{
|
|
1842
|
+
readonly name: "start_time";
|
|
1843
|
+
readonly type: "core::integer::u64";
|
|
1844
|
+
}, {
|
|
1845
|
+
readonly name: "end_time";
|
|
1846
|
+
readonly type: "core::integer::u64";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly name: "price";
|
|
1849
|
+
readonly type: "core::integer::u256";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly name: "payment_token";
|
|
1852
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1853
|
+
}, {
|
|
1854
|
+
readonly name: "max_quantity_per_wallet";
|
|
1855
|
+
readonly type: "core::integer::u256";
|
|
1856
|
+
}];
|
|
1857
|
+
}, {
|
|
1858
|
+
readonly type: "function";
|
|
1859
|
+
readonly name: "register_organizer";
|
|
1860
|
+
readonly inputs: readonly [{
|
|
1861
|
+
readonly name: "organizer";
|
|
1862
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1863
|
+
}, {
|
|
1864
|
+
readonly name: "name";
|
|
1865
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1866
|
+
}];
|
|
1867
|
+
readonly outputs: readonly [];
|
|
1868
|
+
readonly state_mutability: "external";
|
|
1869
|
+
}, {
|
|
1870
|
+
readonly type: "function";
|
|
1871
|
+
readonly name: "revoke_organizer";
|
|
1872
|
+
readonly inputs: readonly [{
|
|
1873
|
+
readonly name: "organizer";
|
|
1874
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1875
|
+
}];
|
|
1876
|
+
readonly outputs: readonly [];
|
|
1877
|
+
readonly state_mutability: "external";
|
|
1878
|
+
}, {
|
|
1879
|
+
readonly type: "function";
|
|
1880
|
+
readonly name: "is_active_organizer";
|
|
1881
|
+
readonly inputs: readonly [{
|
|
1882
|
+
readonly name: "organizer";
|
|
1883
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1884
|
+
}];
|
|
1885
|
+
readonly outputs: readonly [{
|
|
1886
|
+
readonly type: "core::bool";
|
|
1887
|
+
}];
|
|
1888
|
+
readonly state_mutability: "view";
|
|
1889
|
+
}, {
|
|
1890
|
+
readonly type: "function";
|
|
1891
|
+
readonly name: "create_drop";
|
|
1892
|
+
readonly inputs: readonly [{
|
|
1893
|
+
readonly name: "name";
|
|
1894
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1895
|
+
}, {
|
|
1896
|
+
readonly name: "symbol";
|
|
1897
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1898
|
+
}, {
|
|
1899
|
+
readonly name: "base_uri";
|
|
1900
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly name: "max_supply";
|
|
1903
|
+
readonly type: "core::integer::u256";
|
|
1904
|
+
}, {
|
|
1905
|
+
readonly name: "initial_conditions";
|
|
1906
|
+
readonly type: "collection_drop::types::ClaimConditions";
|
|
1907
|
+
}];
|
|
1908
|
+
readonly outputs: readonly [{
|
|
1909
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1910
|
+
}];
|
|
1911
|
+
readonly state_mutability: "external";
|
|
1912
|
+
}, {
|
|
1913
|
+
readonly type: "function";
|
|
1914
|
+
readonly name: "get_drop_address";
|
|
1915
|
+
readonly inputs: readonly [{
|
|
1916
|
+
readonly name: "drop_id";
|
|
1917
|
+
readonly type: "core::integer::u256";
|
|
1918
|
+
}];
|
|
1919
|
+
readonly outputs: readonly [{
|
|
1920
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1921
|
+
}];
|
|
1922
|
+
readonly state_mutability: "view";
|
|
1923
|
+
}, {
|
|
1924
|
+
readonly type: "function";
|
|
1925
|
+
readonly name: "get_last_drop_id";
|
|
1926
|
+
readonly inputs: readonly [];
|
|
1927
|
+
readonly outputs: readonly [{
|
|
1928
|
+
readonly type: "core::integer::u256";
|
|
1929
|
+
}];
|
|
1930
|
+
readonly state_mutability: "view";
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly type: "function";
|
|
1933
|
+
readonly name: "get_organizer_drop_count";
|
|
1934
|
+
readonly inputs: readonly [{
|
|
1935
|
+
readonly name: "organizer";
|
|
1936
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1937
|
+
}];
|
|
1938
|
+
readonly outputs: readonly [{
|
|
1939
|
+
readonly type: "core::integer::u32";
|
|
1940
|
+
}];
|
|
1941
|
+
readonly state_mutability: "view";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly type: "function";
|
|
1944
|
+
readonly name: "set_drop_collection_class_hash";
|
|
1945
|
+
readonly inputs: readonly [{
|
|
1946
|
+
readonly name: "new_class_hash";
|
|
1947
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1948
|
+
}];
|
|
1949
|
+
readonly outputs: readonly [];
|
|
1950
|
+
readonly state_mutability: "external";
|
|
1951
|
+
}];
|
|
1282
1952
|
|
|
1283
1953
|
/**
|
|
1284
1954
|
* Normalize a Starknet address to a 0x-prefixed 64-character hex string.
|
|
@@ -1340,4 +2010,4 @@ declare function buildFulfillmentTypedData(message: Record<string, unknown>, cha
|
|
|
1340
2010
|
*/
|
|
1341
2011
|
declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId): TypedData;
|
|
1342
2012
|
|
|
1343
|
-
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, 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, 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 };
|
|
2013
|
+
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 };
|