@medialane/sdk 0.40.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +29 -117
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -105
- package/dist/index.d.ts +4 -105
- package/dist/index.js +29 -92
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1109,44 +1109,6 @@ var DropFactoryABI = [
|
|
|
1109
1109
|
}
|
|
1110
1110
|
];
|
|
1111
1111
|
|
|
1112
|
-
// src/abis/collectionRegistry.ts
|
|
1113
|
-
var CollectionRegistryABI = [
|
|
1114
|
-
{
|
|
1115
|
-
type: "struct",
|
|
1116
|
-
name: "core::byte_array::ByteArray",
|
|
1117
|
-
members: [
|
|
1118
|
-
{ name: "data", type: "core::array::Array::<core::felt252>" },
|
|
1119
|
-
{ name: "pending_word", type: "core::felt252" },
|
|
1120
|
-
{ name: "pending_word_len", type: "core::integer::u32" }
|
|
1121
|
-
]
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
type: "struct",
|
|
1125
|
-
name: "ip_collection_erc_721::types::Collection",
|
|
1126
|
-
members: [
|
|
1127
|
-
{ name: "name", type: "core::byte_array::ByteArray" },
|
|
1128
|
-
{ name: "symbol", type: "core::byte_array::ByteArray" },
|
|
1129
|
-
{ name: "base_uri", type: "core::byte_array::ByteArray" },
|
|
1130
|
-
{ name: "owner", type: "core::starknet::contract_address::ContractAddress" },
|
|
1131
|
-
{ name: "ip_nft", type: "core::starknet::contract_address::ContractAddress" }
|
|
1132
|
-
]
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
type: "function",
|
|
1136
|
-
name: "list_user_collections",
|
|
1137
|
-
inputs: [{ name: "user", type: "core::starknet::contract_address::ContractAddress" }],
|
|
1138
|
-
outputs: [{ type: "core::array::Span::<core::integer::u256>" }],
|
|
1139
|
-
state_mutability: "view"
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
type: "function",
|
|
1143
|
-
name: "get_collection",
|
|
1144
|
-
inputs: [{ name: "collection_id", type: "core::integer::u256" }],
|
|
1145
|
-
outputs: [{ type: "ip_collection_erc_721::types::Collection" }],
|
|
1146
|
-
state_mutability: "view"
|
|
1147
|
-
}
|
|
1148
|
-
];
|
|
1149
|
-
|
|
1150
1112
|
// src/abis/medialane1155.ts
|
|
1151
1113
|
var Medialane1155ABI = [
|
|
1152
1114
|
{
|
|
@@ -4672,20 +4634,6 @@ var IPNftABI = [
|
|
|
4672
4634
|
var CreatorCoinFactoryABI = [{ "type": "impl", "name": "FactoryImpl", "interface_name": "creator_coin::factory::interface::IFactory" }, { "type": "struct", "name": "core::integer::u256", "members": [{ "name": "low", "type": "core::integer::u128" }, { "name": "high", "type": "core::integer::u128" }] }, { "type": "struct", "name": "core::array::Span::<core::starknet::contract_address::ContractAddress>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<core::starknet::contract_address::ContractAddress>" }] }, { "type": "struct", "name": "core::array::Span::<core::integer::u256>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<core::integer::u256>" }] }, { "type": "struct", "name": "creator_coin::factory::LaunchParameters", "members": [{ "name": "creator_coin_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "transfer_restriction_delay", "type": "core::integer::u64" }, { "name": "max_percentage_buy_launch", "type": "core::integer::u16" }, { "name": "quote_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "initial_holders", "type": "core::array::Span::<core::starknet::contract_address::ContractAddress>" }, { "name": "initial_holders_amounts", "type": "core::array::Span::<core::integer::u256>" }] }, { "type": "enum", "name": "core::bool", "variants": [{ "name": "False", "type": "()" }, { "name": "True", "type": "()" }] }, { "type": "struct", "name": "ekubo::types::i129::i129", "members": [{ "name": "mag", "type": "core::integer::u128" }, { "name": "sign", "type": "core::bool" }] }, { "type": "struct", "name": "creator_coin::exchanges::ekubo::ekubo_adapter::EkuboPoolParameters", "members": [{ "name": "fee", "type": "core::integer::u128" }, { "name": "tick_spacing", "type": "core::integer::u128" }, { "name": "starting_price", "type": "ekubo::types::i129::i129" }, { "name": "bound", "type": "core::integer::u128" }] }, { "type": "struct", "name": "ekubo::types::keys::PoolKey", "members": [{ "name": "token0", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "token1", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "fee", "type": "core::integer::u128" }, { "name": "tick_spacing", "type": "core::integer::u128" }, { "name": "extension", "type": "core::starknet::contract_address::ContractAddress" }] }, { "type": "struct", "name": "ekubo::types::bounds::Bounds", "members": [{ "name": "lower", "type": "ekubo::types::i129::i129" }, { "name": "upper", "type": "ekubo::types::i129::i129" }] }, { "type": "struct", "name": "creator_coin::exchanges::ekubo::launcher::EkuboLP", "members": [{ "name": "owner", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "quote_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "pool_key", "type": "ekubo::types::keys::PoolKey" }, { "name": "bounds", "type": "ekubo::types::bounds::Bounds" }] }, { "type": "enum", "name": "creator_coin::exchanges::SupportedExchanges", "variants": [{ "name": "Jediswap", "type": "()" }, { "name": "Ekubo", "type": "()" }, { "name": "Starkdefi", "type": "()" }] }, { "type": "enum", "name": "creator_coin::token::creator_coin::LiquidityType", "variants": [{ "name": "JediERC20", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "StarkDeFiERC20", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "EkuboNFT", "type": "core::integer::u64" }] }, { "type": "enum", "name": "core::option::Option::<(core::starknet::contract_address::ContractAddress, creator_coin::token::creator_coin::LiquidityType)>", "variants": [{ "name": "Some", "type": "(core::starknet::contract_address::ContractAddress, creator_coin::token::creator_coin::LiquidityType)" }, { "name": "None", "type": "()" }] }, { "type": "interface", "name": "creator_coin::factory::interface::IFactory", "items": [{ "type": "function", "name": "create_creator_coin", "inputs": [{ "name": "owner", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "name", "type": "core::felt252" }, { "name": "symbol", "type": "core::felt252" }, { "name": "initial_supply", "type": "core::integer::u256" }, { "name": "contract_address_salt", "type": "core::felt252" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "external" }, { "type": "function", "name": "launch_on_jediswap", "inputs": [{ "name": "launch_parameters", "type": "creator_coin::factory::LaunchParameters" }, { "name": "quote_amount", "type": "core::integer::u256" }, { "name": "unlock_time", "type": "core::integer::u64" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "external" }, { "type": "function", "name": "launch_on_ekubo", "inputs": [{ "name": "launch_parameters", "type": "creator_coin::factory::LaunchParameters" }, { "name": "ekubo_parameters", "type": "creator_coin::exchanges::ekubo::ekubo_adapter::EkuboPoolParameters" }], "outputs": [{ "type": "(core::integer::u64, creator_coin::exchanges::ekubo::launcher::EkuboLP)" }], "state_mutability": "external" }, { "type": "function", "name": "launch_on_starkdefi", "inputs": [{ "name": "launch_parameters", "type": "creator_coin::factory::LaunchParameters" }, { "name": "quote_amount", "type": "core::integer::u256" }, { "name": "unlock_time", "type": "core::integer::u64" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "external" }, { "type": "function", "name": "exchange_address", "inputs": [{ "name": "exchange", "type": "creator_coin::exchanges::SupportedExchanges" }], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "view" }, { "type": "function", "name": "lock_manager_address", "inputs": [], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "view" }, { "type": "function", "name": "locked_liquidity", "inputs": [{ "name": "token", "type": "core::starknet::contract_address::ContractAddress" }], "outputs": [{ "type": "core::option::Option::<(core::starknet::contract_address::ContractAddress, creator_coin::token::creator_coin::LiquidityType)>" }], "state_mutability": "view" }, { "type": "function", "name": "is_creator_coin", "inputs": [{ "name": "address", "type": "core::starknet::contract_address::ContractAddress" }], "outputs": [{ "type": "core::bool" }], "state_mutability": "view" }, { "type": "function", "name": "ekubo_core_address", "inputs": [], "outputs": [{ "type": "core::starknet::contract_address::ContractAddress" }], "state_mutability": "view" }] }, { "type": "struct", "name": "core::array::Span::<(creator_coin::exchanges::SupportedExchanges, core::starknet::contract_address::ContractAddress)>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<(creator_coin::exchanges::SupportedExchanges, core::starknet::contract_address::ContractAddress)>" }] }, { "type": "struct", "name": "core::array::Span::<(core::starknet::contract_address::ContractAddress, core::starknet::contract_address::ContractAddress)>", "members": [{ "name": "snapshot", "type": "@core::array::Array::<(core::starknet::contract_address::ContractAddress, core::starknet::contract_address::ContractAddress)>" }] }, { "type": "constructor", "name": "constructor", "inputs": [{ "name": "creator_coin_class_hash", "type": "core::starknet::class_hash::ClassHash" }, { "name": "lock_manager_address", "type": "core::starknet::contract_address::ContractAddress" }, { "name": "exchanges", "type": "core::array::Span::<(creator_coin::exchanges::SupportedExchanges, core::starknet::contract_address::ContractAddress)>" }, { "name": "migrated_tokens", "type": "core::array::Span::<(core::starknet::contract_address::ContractAddress, core::starknet::contract_address::ContractAddress)>" }] }, { "type": "event", "name": "creator_coin::factory::factory::Factory::CreatorCoinCreated", "kind": "struct", "members": [{ "name": "owner", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }, { "name": "name", "type": "core::felt252", "kind": "data" }, { "name": "symbol", "type": "core::felt252", "kind": "data" }, { "name": "initial_supply", "type": "core::integer::u256", "kind": "data" }, { "name": "creator_coin_address", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }] }, { "type": "event", "name": "creator_coin::factory::factory::Factory::CreatorCoinLaunched", "kind": "struct", "members": [{ "name": "creator_coin_address", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }, { "name": "quote_token", "type": "core::starknet::contract_address::ContractAddress", "kind": "data" }, { "name": "exchange_name", "type": "core::felt252", "kind": "data" }] }, { "type": "event", "name": "creator_coin::factory::factory::Factory::Event", "kind": "enum", "variants": [{ "name": "CreatorCoinCreated", "type": "creator_coin::factory::factory::Factory::CreatorCoinCreated", "kind": "nested" }, { "name": "CreatorCoinLaunched", "type": "creator_coin::factory::factory::Factory::CreatorCoinLaunched", "kind": "nested" }] }];
|
|
4673
4635
|
|
|
4674
4636
|
// src/constants.ts
|
|
4675
|
-
var SN = getCoordinates("STARKNET");
|
|
4676
|
-
var MARKETPLACE_721_CONTRACT_MAINNET = SN.marketplace721;
|
|
4677
|
-
var MARKETPLACE_721_CLASS_HASH_MAINNET = SN.marketplace721ClassHash;
|
|
4678
|
-
var MARKETPLACE_721_START_BLOCK_MAINNET = SN.marketplace721StartBlock;
|
|
4679
|
-
var MARKETPLACE_1155_CONTRACT_MAINNET = SN.marketplace1155;
|
|
4680
|
-
var MARKETPLACE_1155_CLASS_HASH_MAINNET = SN.marketplace1155ClassHash;
|
|
4681
|
-
var MARKETPLACE_1155_START_BLOCK_MAINNET = SN.marketplace1155StartBlock;
|
|
4682
|
-
var COLLECTION_721_CONTRACT_MAINNET = SN.collection721;
|
|
4683
|
-
var IPNFT_CLASS_HASH_MAINNET = SN.ipNftClassHash;
|
|
4684
|
-
var IPCOLLECTION_CLASS_HASH_MAINNET = SN.ipCollectionClassHash;
|
|
4685
|
-
var COLLECTION_721_START_BLOCK_MAINNET = SN.collection721StartBlock;
|
|
4686
|
-
var DROP_FACTORY_CONTRACT_MAINNET = SN.dropFactory;
|
|
4687
|
-
var POP_FACTORY_CONTRACT_MAINNET = SN.popFactory;
|
|
4688
|
-
var NFTCOMMENTS_CONTRACT_MAINNET = SN.nftComments;
|
|
4689
4637
|
var SUPPORTED_TOKENS = [
|
|
4690
4638
|
{
|
|
4691
4639
|
// Circle-native USDC on Starknet (canonical)
|
|
@@ -4720,18 +4668,6 @@ var SUPPORTED_TOKENS = [
|
|
|
4720
4668
|
}
|
|
4721
4669
|
];
|
|
4722
4670
|
var DEFAULT_CURRENCY = "USDC";
|
|
4723
|
-
var POP_COLLECTION_CLASS_HASH_MAINNET = SN.popCollectionClassHash;
|
|
4724
|
-
var DROP_COLLECTION_CLASS_HASH_MAINNET = SN.dropCollectionClassHash;
|
|
4725
|
-
var COLLECTION_1155_CONTRACT_MAINNET = SN.collection1155;
|
|
4726
|
-
var COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET = SN.collection1155FactoryClassHash;
|
|
4727
|
-
var COLLECTION_1155_CLASS_HASH_MAINNET = SN.collection1155ClassHash;
|
|
4728
|
-
var COLLECTION_1155_START_BLOCK_MAINNET = SN.collection1155StartBlock;
|
|
4729
|
-
var CREATOR_COIN_FACTORY_CONTRACT_MAINNET = SN.creatorCoinFactory;
|
|
4730
|
-
var CREATOR_COIN_EKUBO_LAUNCHER_MAINNET = SN.creatorCoinEkuboLauncher;
|
|
4731
|
-
var CREATOR_COIN_CLASS_HASH_MAINNET = SN.creatorCoinClassHash;
|
|
4732
|
-
var CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET = SN.creatorCoinFactoryClassHash;
|
|
4733
|
-
var CREATOR_COIN_START_BLOCK_MAINNET = SN.creatorCoinStartBlock;
|
|
4734
|
-
var EKUBO_CORE_MAINNET = SN.ekuboCore;
|
|
4735
4671
|
|
|
4736
4672
|
// src/utils/bigint.ts
|
|
4737
4673
|
function stringifyBigInts(obj) {
|
|
@@ -6273,8 +6209,8 @@ var ApiClient = class {
|
|
|
6273
6209
|
}
|
|
6274
6210
|
};
|
|
6275
6211
|
var PopService = class {
|
|
6276
|
-
constructor(
|
|
6277
|
-
this.factoryAddress =
|
|
6212
|
+
constructor(config) {
|
|
6213
|
+
this.factoryAddress = getCoordinates(config.chain).popFactory;
|
|
6278
6214
|
}
|
|
6279
6215
|
_collection(address, account) {
|
|
6280
6216
|
return new starknet.Contract(POPCollectionABI, normalizeAddress("STARKNET", address), account);
|
|
@@ -6349,7 +6285,7 @@ function toContractConditions(c) {
|
|
|
6349
6285
|
}
|
|
6350
6286
|
var DropService = class {
|
|
6351
6287
|
constructor(config) {
|
|
6352
|
-
this.factoryAddress =
|
|
6288
|
+
this.factoryAddress = getCoordinates(config.chain).dropFactory;
|
|
6353
6289
|
this.config = config;
|
|
6354
6290
|
}
|
|
6355
6291
|
_collection(address, account) {
|
|
@@ -6431,7 +6367,7 @@ var DropService = class {
|
|
|
6431
6367
|
};
|
|
6432
6368
|
var ERC1155CollectionService = class {
|
|
6433
6369
|
constructor(config) {
|
|
6434
|
-
this.factoryAddress = config.collection1155Contract ??
|
|
6370
|
+
this.factoryAddress = config.collection1155Contract ?? getCoordinates(config.chain).collection1155;
|
|
6435
6371
|
}
|
|
6436
6372
|
_factory(account) {
|
|
6437
6373
|
return new starknet.Contract(
|
|
@@ -6573,7 +6509,7 @@ async function getCreatorCoinPrice(coinAddress, provider) {
|
|
|
6573
6509
|
const [t0, t1] = ci < qi ? [coinAddress, quoteToken] : [quoteToken, coinAddress];
|
|
6574
6510
|
const quoteIsToken0 = qi === BigInt(t0);
|
|
6575
6511
|
const pp = await provider.callContract({
|
|
6576
|
-
contractAddress:
|
|
6512
|
+
contractAddress: getCoordinates("STARKNET").ekuboCore,
|
|
6577
6513
|
entrypoint: "get_pool_price",
|
|
6578
6514
|
calldata: [t0, t1, fee, tickSpacing, "0x0"]
|
|
6579
6515
|
});
|
|
@@ -6588,7 +6524,7 @@ function factoryContract() {
|
|
|
6588
6524
|
if (!_factoryContract) {
|
|
6589
6525
|
_factoryContract = new starknet.Contract(
|
|
6590
6526
|
CreatorCoinFactoryABI,
|
|
6591
|
-
|
|
6527
|
+
getCoordinates("STARKNET").creatorCoinFactory
|
|
6592
6528
|
);
|
|
6593
6529
|
}
|
|
6594
6530
|
return _factoryContract;
|
|
@@ -6625,7 +6561,7 @@ function buildLaunchOnEkuboCalls(params) {
|
|
|
6625
6561
|
calls.push({
|
|
6626
6562
|
contractAddress: params.quoteToken,
|
|
6627
6563
|
entrypoint: "transfer",
|
|
6628
|
-
calldata: [
|
|
6564
|
+
calldata: [getCoordinates("STARKNET").creatorCoinFactory, amt.low, amt.high]
|
|
6629
6565
|
});
|
|
6630
6566
|
}
|
|
6631
6567
|
calls.push(factoryContract().populate("launch_on_ekubo", [launchParameters, ekuboParameters]));
|
|
@@ -6633,7 +6569,7 @@ function buildLaunchOnEkuboCalls(params) {
|
|
|
6633
6569
|
}
|
|
6634
6570
|
var CREATOR_COIN_CREATED_SELECTOR = starknet.hash.getSelectorFromName("CreatorCoinCreated");
|
|
6635
6571
|
function parseCreatorCoinCreated(receipt) {
|
|
6636
|
-
const factory = normalizeAddress("STARKNET",
|
|
6572
|
+
const factory = normalizeAddress("STARKNET", getCoordinates("STARKNET").creatorCoinFactory);
|
|
6637
6573
|
for (const ev of receipt?.events ?? []) {
|
|
6638
6574
|
let from;
|
|
6639
6575
|
try {
|
|
@@ -6652,7 +6588,7 @@ function parseCreatorCoinCreated(receipt) {
|
|
|
6652
6588
|
}
|
|
6653
6589
|
var CreatorCoinService = class {
|
|
6654
6590
|
constructor(config) {
|
|
6655
|
-
this.factoryAddress =
|
|
6591
|
+
this.factoryAddress = getCoordinates(config.chain).creatorCoinFactory;
|
|
6656
6592
|
this.config = config;
|
|
6657
6593
|
}
|
|
6658
6594
|
_factory(account) {
|
|
@@ -6903,6 +6839,7 @@ function fdvHuman(supplyHuman) {
|
|
|
6903
6839
|
}
|
|
6904
6840
|
|
|
6905
6841
|
// src/services/registry.ts
|
|
6842
|
+
var SN = getCoordinates("STARKNET");
|
|
6906
6843
|
var SERVICES = {
|
|
6907
6844
|
"mip-erc721": {
|
|
6908
6845
|
id: "mip-erc721",
|
|
@@ -6912,8 +6849,8 @@ var SERVICES = {
|
|
|
6912
6849
|
provenance: "MEDIALANE",
|
|
6913
6850
|
onchain: {
|
|
6914
6851
|
STARKNET: {
|
|
6915
|
-
factoryAddress:
|
|
6916
|
-
startBlock:
|
|
6852
|
+
factoryAddress: SN.collection721,
|
|
6853
|
+
startBlock: SN.collection721StartBlock
|
|
6917
6854
|
}
|
|
6918
6855
|
},
|
|
6919
6856
|
uiVariant: "standard",
|
|
@@ -6947,9 +6884,9 @@ var SERVICES = {
|
|
|
6947
6884
|
provenance: "MEDIALANE",
|
|
6948
6885
|
onchain: {
|
|
6949
6886
|
STARKNET: {
|
|
6950
|
-
factoryAddress:
|
|
6951
|
-
classHash:
|
|
6952
|
-
startBlock:
|
|
6887
|
+
factoryAddress: SN.collection1155,
|
|
6888
|
+
classHash: SN.collection1155ClassHash,
|
|
6889
|
+
startBlock: SN.collection1155StartBlock
|
|
6953
6890
|
}
|
|
6954
6891
|
},
|
|
6955
6892
|
uiVariant: "edition",
|
|
@@ -6967,8 +6904,8 @@ var SERVICES = {
|
|
|
6967
6904
|
provenance: "MEDIALANE",
|
|
6968
6905
|
onchain: {
|
|
6969
6906
|
STARKNET: {
|
|
6970
|
-
factoryAddress:
|
|
6971
|
-
classHash:
|
|
6907
|
+
factoryAddress: SN.popFactory,
|
|
6908
|
+
classHash: SN.popCollectionClassHash
|
|
6972
6909
|
}
|
|
6973
6910
|
},
|
|
6974
6911
|
uiVariant: "pop",
|
|
@@ -6987,8 +6924,8 @@ var SERVICES = {
|
|
|
6987
6924
|
provenance: "MEDIALANE",
|
|
6988
6925
|
onchain: {
|
|
6989
6926
|
STARKNET: {
|
|
6990
|
-
factoryAddress:
|
|
6991
|
-
classHash:
|
|
6927
|
+
factoryAddress: SN.dropFactory,
|
|
6928
|
+
classHash: SN.dropCollectionClassHash
|
|
6992
6929
|
}
|
|
6993
6930
|
},
|
|
6994
6931
|
uiVariant: "drop",
|
|
@@ -7007,9 +6944,9 @@ var SERVICES = {
|
|
|
7007
6944
|
provenance: "MEDIALANE",
|
|
7008
6945
|
onchain: {
|
|
7009
6946
|
STARKNET: {
|
|
7010
|
-
factoryAddress:
|
|
7011
|
-
classHash:
|
|
7012
|
-
startBlock:
|
|
6947
|
+
factoryAddress: SN.creatorCoinFactory,
|
|
6948
|
+
classHash: SN.creatorCoinFactoryClassHash,
|
|
6949
|
+
startBlock: SN.creatorCoinStartBlock
|
|
7013
6950
|
}
|
|
7014
6951
|
},
|
|
7015
6952
|
uiVariant: "coin",
|
|
@@ -7031,9 +6968,9 @@ var SERVICES = {
|
|
|
7031
6968
|
provenance: "MEDIALANE",
|
|
7032
6969
|
onchain: {
|
|
7033
6970
|
STARKNET: {
|
|
7034
|
-
factoryAddress:
|
|
7035
|
-
classHash:
|
|
7036
|
-
startBlock:
|
|
6971
|
+
factoryAddress: SN.marketplace721,
|
|
6972
|
+
classHash: SN.marketplace721ClassHash,
|
|
6973
|
+
startBlock: SN.marketplace721StartBlock
|
|
7037
6974
|
}
|
|
7038
6975
|
},
|
|
7039
6976
|
uiVariant: "standard",
|
|
@@ -7052,9 +6989,9 @@ var SERVICES = {
|
|
|
7052
6989
|
provenance: "MEDIALANE",
|
|
7053
6990
|
onchain: {
|
|
7054
6991
|
STARKNET: {
|
|
7055
|
-
factoryAddress:
|
|
7056
|
-
classHash:
|
|
7057
|
-
startBlock:
|
|
6992
|
+
factoryAddress: SN.marketplace1155,
|
|
6993
|
+
classHash: SN.marketplace1155ClassHash,
|
|
6994
|
+
startBlock: SN.marketplace1155StartBlock
|
|
7058
6995
|
}
|
|
7059
6996
|
},
|
|
7060
6997
|
uiVariant: "edition",
|
|
@@ -7114,55 +7051,30 @@ exports.ApiClient = ApiClient;
|
|
|
7114
7051
|
exports.CHAINS = CHAINS;
|
|
7115
7052
|
exports.COIN_MAX_SUPPLY = MAX_SUPPLY;
|
|
7116
7053
|
exports.COIN_MIN_SUPPLY = MIN_SUPPLY;
|
|
7117
|
-
exports.COLLECTION_1155_CLASS_HASH_MAINNET = COLLECTION_1155_CLASS_HASH_MAINNET;
|
|
7118
|
-
exports.COLLECTION_1155_CONTRACT_MAINNET = COLLECTION_1155_CONTRACT_MAINNET;
|
|
7119
|
-
exports.COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET = COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET;
|
|
7120
|
-
exports.COLLECTION_1155_START_BLOCK_MAINNET = COLLECTION_1155_START_BLOCK_MAINNET;
|
|
7121
|
-
exports.COLLECTION_721_CONTRACT_MAINNET = COLLECTION_721_CONTRACT_MAINNET;
|
|
7122
|
-
exports.COLLECTION_721_START_BLOCK_MAINNET = COLLECTION_721_START_BLOCK_MAINNET;
|
|
7123
|
-
exports.CREATOR_COIN_CLASS_HASH_MAINNET = CREATOR_COIN_CLASS_HASH_MAINNET;
|
|
7124
|
-
exports.CREATOR_COIN_EKUBO_LAUNCHER_MAINNET = CREATOR_COIN_EKUBO_LAUNCHER_MAINNET;
|
|
7125
|
-
exports.CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET = CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET;
|
|
7126
|
-
exports.CREATOR_COIN_FACTORY_CONTRACT_MAINNET = CREATOR_COIN_FACTORY_CONTRACT_MAINNET;
|
|
7127
|
-
exports.CREATOR_COIN_START_BLOCK_MAINNET = CREATOR_COIN_START_BLOCK_MAINNET;
|
|
7128
|
-
exports.CollectionRegistryABI = CollectionRegistryABI;
|
|
7129
7054
|
exports.CreatorCoinFactoryABI = CreatorCoinFactoryABI;
|
|
7130
7055
|
exports.CreatorCoinService = CreatorCoinService;
|
|
7131
7056
|
exports.DEFAULT_CHAIN = DEFAULT_CHAIN;
|
|
7132
|
-
exports.
|
|
7133
|
-
exports.DROP_FACTORY_CONTRACT_MAINNET = DROP_FACTORY_CONTRACT_MAINNET;
|
|
7057
|
+
exports.DEFAULT_CURRENCY = DEFAULT_CURRENCY;
|
|
7134
7058
|
exports.DropCollectionABI = DropCollectionABI;
|
|
7135
7059
|
exports.DropFactoryABI = DropFactoryABI;
|
|
7136
7060
|
exports.DropService = DropService;
|
|
7137
|
-
exports.EKUBO_CORE_MAINNET = EKUBO_CORE_MAINNET;
|
|
7138
7061
|
exports.ERC1155CollectionService = ERC1155CollectionService;
|
|
7139
7062
|
exports.FeeConfigSchema = FeeConfigSchema;
|
|
7140
|
-
exports.IPCOLLECTION_CLASS_HASH_MAINNET = IPCOLLECTION_CLASS_HASH_MAINNET;
|
|
7141
7063
|
exports.IPCollection1155ABI = IPCollection1155ABI;
|
|
7142
7064
|
exports.IPCollection1155FactoryABI = IPCollection1155FactoryABI;
|
|
7143
7065
|
exports.IPCollectionABI = IPCollectionABI;
|
|
7144
7066
|
exports.IPMarketplaceABI = IPMarketplaceABI;
|
|
7145
|
-
exports.IPNFT_CLASS_HASH_MAINNET = IPNFT_CLASS_HASH_MAINNET;
|
|
7146
7067
|
exports.IPNftABI = IPNftABI;
|
|
7147
7068
|
exports.LAUNCH_PRICE_QUOTE_PER_COIN = LAUNCH_PRICE_QUOTE_PER_COIN;
|
|
7148
|
-
exports.MARKETPLACE_1155_CLASS_HASH_MAINNET = MARKETPLACE_1155_CLASS_HASH_MAINNET;
|
|
7149
|
-
exports.MARKETPLACE_1155_CONTRACT_MAINNET = MARKETPLACE_1155_CONTRACT_MAINNET;
|
|
7150
|
-
exports.MARKETPLACE_1155_START_BLOCK_MAINNET = MARKETPLACE_1155_START_BLOCK_MAINNET;
|
|
7151
|
-
exports.MARKETPLACE_721_CLASS_HASH_MAINNET = MARKETPLACE_721_CLASS_HASH_MAINNET;
|
|
7152
|
-
exports.MARKETPLACE_721_CONTRACT_MAINNET = MARKETPLACE_721_CONTRACT_MAINNET;
|
|
7153
|
-
exports.MARKETPLACE_721_START_BLOCK_MAINNET = MARKETPLACE_721_START_BLOCK_MAINNET;
|
|
7154
7069
|
exports.MarketplaceModule = MarketplaceModule;
|
|
7155
7070
|
exports.Medialane1155ABI = Medialane1155ABI;
|
|
7156
7071
|
exports.Medialane1155Module = Medialane1155Module;
|
|
7157
7072
|
exports.MedialaneApiError = MedialaneApiError;
|
|
7158
7073
|
exports.MedialaneClient = MedialaneClient;
|
|
7159
7074
|
exports.MedialaneError = MedialaneError;
|
|
7160
|
-
exports.NFTCOMMENTS_CONTRACT_MAINNET = NFTCOMMENTS_CONTRACT_MAINNET;
|
|
7161
7075
|
exports.OPEN_LICENSES = OPEN_LICENSES;
|
|
7162
7076
|
exports.POPCollectionABI = POPCollectionABI;
|
|
7163
7077
|
exports.POPFactoryABI = POPFactoryABI;
|
|
7164
|
-
exports.POP_COLLECTION_CLASS_HASH_MAINNET = POP_COLLECTION_CLASS_HASH_MAINNET;
|
|
7165
|
-
exports.POP_FACTORY_CONTRACT_MAINNET = POP_FACTORY_CONTRACT_MAINNET;
|
|
7166
7078
|
exports.PUBLIC_RPC_FALLBACKS = PUBLIC_RPC_FALLBACKS;
|
|
7167
7079
|
exports.PopService = PopService;
|
|
7168
7080
|
exports.SUPPORTED_TOKENS = SUPPORTED_TOKENS;
|