@medialane/sdk 0.32.0 → 0.34.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 +106 -196
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +102 -165
- package/dist/index.d.ts +102 -165
- package/dist/index.js +105 -197
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,13 +56,20 @@ type Network = (typeof SUPPORTED_NETWORKS)[number];
|
|
|
56
56
|
declare const DEFAULT_RPC_URL = "https://rpc.starknet.lava.build";
|
|
57
57
|
declare const POP_COLLECTION_CLASS_HASH_MAINNET = "0x077c421686f10851872561953ea16898d933364b7f8937a5d7e2b1ba0a36263f";
|
|
58
58
|
declare const DROP_COLLECTION_CLASS_HASH_MAINNET = "0x00092e72cdb63067521e803aaf7d4101c3e3ce026ae6bc045ec4228027e58282";
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
declare const
|
|
62
|
-
/**
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
/** IPCollectionFactory v0.3.0 (deployed mainnet 2026-06-10): sequential on-chain
|
|
60
|
+
* edition ids, ownerless/immutable. New collections deploy from here. */
|
|
61
|
+
declare const COLLECTION_1155_CONTRACT_MAINNET = "0x0083543c3ee15040a419fc539fa6889f5b956e7d071bcfa97842cb0ae42ad6cc";
|
|
62
|
+
/** Prior ERC-1155 factory (v0.2.0, caller-supplied timestamp ids, mint_item).
|
|
63
|
+
* Kept so the indexer can still recognise collections deployed before cutover. */
|
|
64
|
+
declare const COLLECTION_1155_CONTRACT_LEGACY_MAINNET = "0x067064adcaaed61e17bf50ea802ea6482336126aec5b4d032b4ff8fbb5009131";
|
|
65
|
+
/** Class hash of the IPCollectionFactory v0.3.0 implementation. */
|
|
66
|
+
declare const COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET = "0x331a69da8655a882ba1fbcb55188b8fa09116521db901bbbaafc9fead0689f8";
|
|
67
|
+
/** Class hash of the IPCollection ERC-1155 v0.3.0 implementation. */
|
|
68
|
+
declare const COLLECTION_1155_CLASS_HASH_MAINNET = "0x4e110b59af240ae6c7742999964c4eae13fb2ed935c47fe97653ec017ebea34";
|
|
69
|
+
/** First mainnet block of the v0.3.0 ERC-1155 factory deployment. */
|
|
70
|
+
declare const COLLECTION_1155_START_BLOCK_MAINNET = 10665319;
|
|
71
|
+
/** First mainnet block of the prior (v0.2.0) ERC-1155 factory. */
|
|
72
|
+
declare const COLLECTION_1155_START_BLOCK_LEGACY_MAINNET = 10045611;
|
|
66
73
|
/** Creator Coin Factory — entrypoint: create_creator_coin + launch_on_ekubo. */
|
|
67
74
|
declare const CREATOR_COIN_FACTORY_CONTRACT_MAINNET = "0x50fa807b5274079fb19374673d7bab6d2dc3af7e1032ea43eb6e44bcbde4c3c";
|
|
68
75
|
/** EkuboLauncher — permanently holds (locks) each Creator Coin's LP position. */
|
|
@@ -1297,7 +1304,7 @@ declare class ApiClient {
|
|
|
1297
1304
|
*/
|
|
1298
1305
|
registerUser(params: {
|
|
1299
1306
|
walletAddress: string;
|
|
1300
|
-
walletType?:
|
|
1307
|
+
walletType?: string;
|
|
1301
1308
|
appSource?: ApiAppSource;
|
|
1302
1309
|
chain?: ApiChain;
|
|
1303
1310
|
}): Promise<{
|
|
@@ -1305,12 +1312,12 @@ declare class ApiClient {
|
|
|
1305
1312
|
publicId: string;
|
|
1306
1313
|
walletAddress: string;
|
|
1307
1314
|
chain: string;
|
|
1308
|
-
|
|
1315
|
+
provider: string;
|
|
1309
1316
|
appSource: ApiAppSource;
|
|
1310
1317
|
createdAt: string;
|
|
1311
1318
|
}>;
|
|
1312
1319
|
upsertMyWallet(clerkToken: string, options?: {
|
|
1313
|
-
walletType?:
|
|
1320
|
+
walletType?: string;
|
|
1314
1321
|
appSource?: ApiAppSource;
|
|
1315
1322
|
chain?: ApiChain;
|
|
1316
1323
|
}): Promise<ApiUserWallet>;
|
|
@@ -1488,32 +1495,41 @@ interface DeployCollectionParams {
|
|
|
1488
1495
|
*/
|
|
1489
1496
|
baseUri: string;
|
|
1490
1497
|
}
|
|
1491
|
-
interface
|
|
1498
|
+
interface MintEditionParams {
|
|
1492
1499
|
/** ERC-1155 collection contract address */
|
|
1493
1500
|
collection: string;
|
|
1494
1501
|
/** Recipient wallet address */
|
|
1495
1502
|
to: string;
|
|
1496
|
-
/**
|
|
1497
|
-
tokenId: bigint | string;
|
|
1498
|
-
/** Number of copies to mint */
|
|
1503
|
+
/** Number of copies of this new edition to mint */
|
|
1499
1504
|
value: bigint | string;
|
|
1500
1505
|
/**
|
|
1501
1506
|
* Metadata URI — must start with `ipfs://` or `ar://`.
|
|
1502
|
-
* Immutable: validated and stored
|
|
1507
|
+
* Immutable: validated and stored at mint. The token id is assigned on-chain
|
|
1508
|
+
* (sequential from 1); read it from the `IPMinted` event of the returned tx.
|
|
1503
1509
|
*/
|
|
1504
1510
|
tokenUri: string;
|
|
1505
1511
|
}
|
|
1506
|
-
interface
|
|
1512
|
+
interface BatchMintEditionParams {
|
|
1507
1513
|
/** ERC-1155 collection contract address */
|
|
1508
1514
|
collection: string;
|
|
1509
1515
|
/** Recipient wallet address */
|
|
1510
1516
|
to: string;
|
|
1517
|
+
/** New editions to create; ids are assigned sequentially on-chain. */
|
|
1511
1518
|
items: Array<{
|
|
1512
|
-
tokenId: bigint | string;
|
|
1513
1519
|
value: bigint | string;
|
|
1514
1520
|
tokenUri: string;
|
|
1515
1521
|
}>;
|
|
1516
1522
|
}
|
|
1523
|
+
interface AddSupplyParams {
|
|
1524
|
+
/** ERC-1155 collection contract address */
|
|
1525
|
+
collection: string;
|
|
1526
|
+
/** Recipient wallet address */
|
|
1527
|
+
to: string;
|
|
1528
|
+
/** Existing edition id to mint more copies of (reverts if it doesn't exist) */
|
|
1529
|
+
tokenId: bigint | string;
|
|
1530
|
+
/** Number of additional copies */
|
|
1531
|
+
value: bigint | string;
|
|
1532
|
+
}
|
|
1517
1533
|
declare class ERC1155CollectionService {
|
|
1518
1534
|
private readonly factoryAddress;
|
|
1519
1535
|
constructor(config: ResolvedConfig);
|
|
@@ -1527,17 +1543,24 @@ declare class ERC1155CollectionService {
|
|
|
1527
1543
|
*/
|
|
1528
1544
|
deployCollection(account: AccountInterface, params: DeployCollectionParams): Promise<TxResult>;
|
|
1529
1545
|
/**
|
|
1530
|
-
* Mint a
|
|
1531
|
-
* Caller must be the collection owner.
|
|
1532
|
-
*
|
|
1546
|
+
* Mint a new edition into an existing ERC-1155 collection.
|
|
1547
|
+
* Caller must be the collection owner. The token id is assigned on-chain
|
|
1548
|
+
* (sequential from 1) — read it from the `IPMinted` event of the returned tx.
|
|
1549
|
+
* The `tokenUri` is immutable.
|
|
1550
|
+
*/
|
|
1551
|
+
mintEdition(account: AccountInterface, params: MintEditionParams): Promise<TxResult>;
|
|
1552
|
+
/**
|
|
1553
|
+
* Batch-mint multiple new editions into an existing ERC-1155 collection.
|
|
1554
|
+
* All editions go to the same `to` address; ids are assigned sequentially
|
|
1555
|
+
* on-chain. Caller must be the collection owner.
|
|
1533
1556
|
*/
|
|
1534
|
-
|
|
1557
|
+
batchMintEdition(account: AccountInterface, params: BatchMintEditionParams): Promise<TxResult>;
|
|
1535
1558
|
/**
|
|
1536
|
-
*
|
|
1537
|
-
*
|
|
1559
|
+
* Mint additional copies of an EXISTING edition into an ERC-1155 collection.
|
|
1560
|
+
* Reverts on-chain if `tokenId` has never been minted. Provenance/URI unchanged.
|
|
1538
1561
|
* Caller must be the collection owner.
|
|
1539
1562
|
*/
|
|
1540
|
-
|
|
1563
|
+
addSupply(account: AccountInterface, params: AddSupplyParams): Promise<TxResult>;
|
|
1541
1564
|
/**
|
|
1542
1565
|
* Set the default ERC-2981 royalty for the entire collection.
|
|
1543
1566
|
* `feeNumerator` is out of 10 000 (e.g. 500 = 5%).
|
|
@@ -3022,15 +3045,6 @@ declare const IPCollection1155FactoryABI: readonly [{
|
|
|
3022
3045
|
readonly type: "core::byte_array::ByteArray";
|
|
3023
3046
|
}];
|
|
3024
3047
|
readonly state_mutability: "view";
|
|
3025
|
-
}, {
|
|
3026
|
-
readonly type: "function";
|
|
3027
|
-
readonly name: "update_collection_class_hash";
|
|
3028
|
-
readonly inputs: readonly [{
|
|
3029
|
-
readonly name: "new_class_hash";
|
|
3030
|
-
readonly type: "core::starknet::class_hash::ClassHash";
|
|
3031
|
-
}];
|
|
3032
|
-
readonly outputs: readonly [];
|
|
3033
|
-
readonly state_mutability: "external";
|
|
3034
3048
|
}, {
|
|
3035
3049
|
readonly type: "function";
|
|
3036
3050
|
readonly name: "deploy_collection";
|
|
@@ -3049,101 +3063,13 @@ declare const IPCollection1155FactoryABI: readonly [{
|
|
|
3049
3063
|
}];
|
|
3050
3064
|
readonly state_mutability: "external";
|
|
3051
3065
|
}];
|
|
3052
|
-
}, {
|
|
3053
|
-
readonly type: "impl";
|
|
3054
|
-
readonly name: "OwnableMixinImpl";
|
|
3055
|
-
readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
3056
|
-
}, {
|
|
3057
|
-
readonly type: "interface";
|
|
3058
|
-
readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
3059
|
-
readonly items: readonly [{
|
|
3060
|
-
readonly type: "function";
|
|
3061
|
-
readonly name: "owner";
|
|
3062
|
-
readonly inputs: readonly [];
|
|
3063
|
-
readonly outputs: readonly [{
|
|
3064
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3065
|
-
}];
|
|
3066
|
-
readonly state_mutability: "view";
|
|
3067
|
-
}, {
|
|
3068
|
-
readonly type: "function";
|
|
3069
|
-
readonly name: "transfer_ownership";
|
|
3070
|
-
readonly inputs: readonly [{
|
|
3071
|
-
readonly name: "new_owner";
|
|
3072
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3073
|
-
}];
|
|
3074
|
-
readonly outputs: readonly [];
|
|
3075
|
-
readonly state_mutability: "external";
|
|
3076
|
-
}, {
|
|
3077
|
-
readonly type: "function";
|
|
3078
|
-
readonly name: "renounce_ownership";
|
|
3079
|
-
readonly inputs: readonly [];
|
|
3080
|
-
readonly outputs: readonly [];
|
|
3081
|
-
readonly state_mutability: "external";
|
|
3082
|
-
}, {
|
|
3083
|
-
readonly type: "function";
|
|
3084
|
-
readonly name: "transferOwnership";
|
|
3085
|
-
readonly inputs: readonly [{
|
|
3086
|
-
readonly name: "newOwner";
|
|
3087
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3088
|
-
}];
|
|
3089
|
-
readonly outputs: readonly [];
|
|
3090
|
-
readonly state_mutability: "external";
|
|
3091
|
-
}, {
|
|
3092
|
-
readonly type: "function";
|
|
3093
|
-
readonly name: "renounceOwnership";
|
|
3094
|
-
readonly inputs: readonly [];
|
|
3095
|
-
readonly outputs: readonly [];
|
|
3096
|
-
readonly state_mutability: "external";
|
|
3097
|
-
}];
|
|
3098
3066
|
}, {
|
|
3099
3067
|
readonly type: "constructor";
|
|
3100
3068
|
readonly name: "constructor";
|
|
3101
3069
|
readonly inputs: readonly [{
|
|
3102
|
-
readonly name: "owner";
|
|
3103
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3104
|
-
}, {
|
|
3105
3070
|
readonly name: "collection_class_hash";
|
|
3106
3071
|
readonly type: "core::starknet::class_hash::ClassHash";
|
|
3107
3072
|
}];
|
|
3108
|
-
}, {
|
|
3109
|
-
readonly type: "event";
|
|
3110
|
-
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
3111
|
-
readonly kind: "struct";
|
|
3112
|
-
readonly members: readonly [{
|
|
3113
|
-
readonly name: "previous_owner";
|
|
3114
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3115
|
-
readonly kind: "key";
|
|
3116
|
-
}, {
|
|
3117
|
-
readonly name: "new_owner";
|
|
3118
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3119
|
-
readonly kind: "key";
|
|
3120
|
-
}];
|
|
3121
|
-
}, {
|
|
3122
|
-
readonly type: "event";
|
|
3123
|
-
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
3124
|
-
readonly kind: "struct";
|
|
3125
|
-
readonly members: readonly [{
|
|
3126
|
-
readonly name: "previous_owner";
|
|
3127
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3128
|
-
readonly kind: "key";
|
|
3129
|
-
}, {
|
|
3130
|
-
readonly name: "new_owner";
|
|
3131
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3132
|
-
readonly kind: "key";
|
|
3133
|
-
}];
|
|
3134
|
-
}, {
|
|
3135
|
-
readonly type: "event";
|
|
3136
|
-
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
3137
|
-
readonly kind: "enum";
|
|
3138
|
-
readonly variants: readonly [{
|
|
3139
|
-
readonly name: "OwnershipTransferred";
|
|
3140
|
-
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
3141
|
-
readonly kind: "nested";
|
|
3142
|
-
}, {
|
|
3143
|
-
readonly name: "OwnershipTransferStarted";
|
|
3144
|
-
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
3145
|
-
readonly kind: "nested";
|
|
3146
|
-
}];
|
|
3147
3073
|
}, {
|
|
3148
3074
|
readonly type: "event";
|
|
3149
3075
|
readonly name: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionDeployed";
|
|
@@ -3169,35 +3095,14 @@ declare const IPCollection1155FactoryABI: readonly [{
|
|
|
3169
3095
|
readonly type: "core::byte_array::ByteArray";
|
|
3170
3096
|
readonly kind: "data";
|
|
3171
3097
|
}];
|
|
3172
|
-
}, {
|
|
3173
|
-
readonly type: "event";
|
|
3174
|
-
readonly name: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionClassHashUpdated";
|
|
3175
|
-
readonly kind: "struct";
|
|
3176
|
-
readonly members: readonly [{
|
|
3177
|
-
readonly name: "previous_class_hash";
|
|
3178
|
-
readonly type: "core::starknet::class_hash::ClassHash";
|
|
3179
|
-
readonly kind: "data";
|
|
3180
|
-
}, {
|
|
3181
|
-
readonly name: "new_class_hash";
|
|
3182
|
-
readonly type: "core::starknet::class_hash::ClassHash";
|
|
3183
|
-
readonly kind: "data";
|
|
3184
|
-
}];
|
|
3185
3098
|
}, {
|
|
3186
3099
|
readonly type: "event";
|
|
3187
3100
|
readonly name: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::Event";
|
|
3188
3101
|
readonly kind: "enum";
|
|
3189
3102
|
readonly variants: readonly [{
|
|
3190
|
-
readonly name: "OwnableEvent";
|
|
3191
|
-
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
3192
|
-
readonly kind: "flat";
|
|
3193
|
-
}, {
|
|
3194
3103
|
readonly name: "CollectionDeployed";
|
|
3195
3104
|
readonly type: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionDeployed";
|
|
3196
3105
|
readonly kind: "nested";
|
|
3197
|
-
}, {
|
|
3198
|
-
readonly name: "CollectionClassHashUpdated";
|
|
3199
|
-
readonly type: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionClassHashUpdated";
|
|
3200
|
-
readonly kind: "nested";
|
|
3201
3106
|
}];
|
|
3202
3107
|
}];
|
|
3203
3108
|
|
|
@@ -3270,6 +3175,16 @@ declare const IPCollection1155ABI: readonly [{
|
|
|
3270
3175
|
readonly name: "registered_at";
|
|
3271
3176
|
readonly type: "core::integer::u64";
|
|
3272
3177
|
}];
|
|
3178
|
+
}, {
|
|
3179
|
+
readonly type: "enum";
|
|
3180
|
+
readonly name: "core::bool";
|
|
3181
|
+
readonly variants: readonly [{
|
|
3182
|
+
readonly name: "False";
|
|
3183
|
+
readonly type: "()";
|
|
3184
|
+
}, {
|
|
3185
|
+
readonly name: "True";
|
|
3186
|
+
readonly type: "()";
|
|
3187
|
+
}];
|
|
3273
3188
|
}, {
|
|
3274
3189
|
readonly type: "interface";
|
|
3275
3190
|
readonly name: "ip_programmable_erc1155_collections::interfaces::IIPCollection::IIPCollection";
|
|
@@ -3307,13 +3222,10 @@ declare const IPCollection1155ABI: readonly [{
|
|
|
3307
3222
|
readonly state_mutability: "view";
|
|
3308
3223
|
}, {
|
|
3309
3224
|
readonly type: "function";
|
|
3310
|
-
readonly name: "
|
|
3225
|
+
readonly name: "mint_edition";
|
|
3311
3226
|
readonly inputs: readonly [{
|
|
3312
3227
|
readonly name: "to";
|
|
3313
3228
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3314
|
-
}, {
|
|
3315
|
-
readonly name: "token_id";
|
|
3316
|
-
readonly type: "core::integer::u256";
|
|
3317
3229
|
}, {
|
|
3318
3230
|
readonly name: "value";
|
|
3319
3231
|
readonly type: "core::integer::u256";
|
|
@@ -3321,17 +3233,16 @@ declare const IPCollection1155ABI: readonly [{
|
|
|
3321
3233
|
readonly name: "token_uri";
|
|
3322
3234
|
readonly type: "core::byte_array::ByteArray";
|
|
3323
3235
|
}];
|
|
3324
|
-
readonly outputs: readonly [
|
|
3236
|
+
readonly outputs: readonly [{
|
|
3237
|
+
readonly type: "core::integer::u256";
|
|
3238
|
+
}];
|
|
3325
3239
|
readonly state_mutability: "external";
|
|
3326
3240
|
}, {
|
|
3327
3241
|
readonly type: "function";
|
|
3328
|
-
readonly name: "
|
|
3242
|
+
readonly name: "batch_mint_edition";
|
|
3329
3243
|
readonly inputs: readonly [{
|
|
3330
3244
|
readonly name: "to";
|
|
3331
3245
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3332
|
-
}, {
|
|
3333
|
-
readonly name: "token_ids";
|
|
3334
|
-
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3335
3246
|
}, {
|
|
3336
3247
|
readonly name: "values";
|
|
3337
3248
|
readonly type: "core::array::Span::<core::integer::u256>";
|
|
@@ -3339,6 +3250,23 @@ declare const IPCollection1155ABI: readonly [{
|
|
|
3339
3250
|
readonly name: "token_uris";
|
|
3340
3251
|
readonly type: "core::array::Array::<core::byte_array::ByteArray>";
|
|
3341
3252
|
}];
|
|
3253
|
+
readonly outputs: readonly [{
|
|
3254
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3255
|
+
}];
|
|
3256
|
+
readonly state_mutability: "external";
|
|
3257
|
+
}, {
|
|
3258
|
+
readonly type: "function";
|
|
3259
|
+
readonly name: "add_supply";
|
|
3260
|
+
readonly inputs: readonly [{
|
|
3261
|
+
readonly name: "to";
|
|
3262
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3263
|
+
}, {
|
|
3264
|
+
readonly name: "token_id";
|
|
3265
|
+
readonly type: "core::integer::u256";
|
|
3266
|
+
}, {
|
|
3267
|
+
readonly name: "value";
|
|
3268
|
+
readonly type: "core::integer::u256";
|
|
3269
|
+
}];
|
|
3342
3270
|
readonly outputs: readonly [];
|
|
3343
3271
|
readonly state_mutability: "external";
|
|
3344
3272
|
}, {
|
|
@@ -3382,6 +3310,25 @@ declare const IPCollection1155ABI: readonly [{
|
|
|
3382
3310
|
readonly type: "ip_programmable_erc1155_collections::types::TokenData";
|
|
3383
3311
|
}];
|
|
3384
3312
|
readonly state_mutability: "view";
|
|
3313
|
+
}, {
|
|
3314
|
+
readonly type: "function";
|
|
3315
|
+
readonly name: "total_editions";
|
|
3316
|
+
readonly inputs: readonly [];
|
|
3317
|
+
readonly outputs: readonly [{
|
|
3318
|
+
readonly type: "core::integer::u256";
|
|
3319
|
+
}];
|
|
3320
|
+
readonly state_mutability: "view";
|
|
3321
|
+
}, {
|
|
3322
|
+
readonly type: "function";
|
|
3323
|
+
readonly name: "token_exists";
|
|
3324
|
+
readonly inputs: readonly [{
|
|
3325
|
+
readonly name: "token_id";
|
|
3326
|
+
readonly type: "core::integer::u256";
|
|
3327
|
+
}];
|
|
3328
|
+
readonly outputs: readonly [{
|
|
3329
|
+
readonly type: "core::bool";
|
|
3330
|
+
}];
|
|
3331
|
+
readonly state_mutability: "view";
|
|
3385
3332
|
}];
|
|
3386
3333
|
}, {
|
|
3387
3334
|
readonly type: "impl";
|
|
@@ -3433,16 +3380,6 @@ declare const IPCollection1155ABI: readonly [{
|
|
|
3433
3380
|
readonly type: "impl";
|
|
3434
3381
|
readonly name: "SRC5Impl";
|
|
3435
3382
|
readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
|
|
3436
|
-
}, {
|
|
3437
|
-
readonly type: "enum";
|
|
3438
|
-
readonly name: "core::bool";
|
|
3439
|
-
readonly variants: readonly [{
|
|
3440
|
-
readonly name: "False";
|
|
3441
|
-
readonly type: "()";
|
|
3442
|
-
}, {
|
|
3443
|
-
readonly name: "True";
|
|
3444
|
-
readonly type: "()";
|
|
3445
|
-
}];
|
|
3446
3383
|
}, {
|
|
3447
3384
|
readonly type: "interface";
|
|
3448
3385
|
readonly name: "openzeppelin_introspection::interface::ISRC5";
|
|
@@ -5610,9 +5547,9 @@ declare const SERVICES: {
|
|
|
5610
5547
|
readonly standard: "ERC1155";
|
|
5611
5548
|
readonly provenance: "MEDIALANE";
|
|
5612
5549
|
readonly onchain: {
|
|
5613
|
-
readonly factoryAddress: "
|
|
5614
|
-
readonly classHash: "
|
|
5615
|
-
readonly startBlock:
|
|
5550
|
+
readonly factoryAddress: "0x0083543c3ee15040a419fc539fa6889f5b956e7d071bcfa97842cb0ae42ad6cc";
|
|
5551
|
+
readonly classHash: "0x4e110b59af240ae6c7742999964c4eae13fb2ed935c47fe97653ec017ebea34";
|
|
5552
|
+
readonly startBlock: 10665319;
|
|
5616
5553
|
};
|
|
5617
5554
|
readonly uiVariant: "edition";
|
|
5618
5555
|
readonly capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"];
|
|
@@ -5930,4 +5867,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
|
|
|
5930
5867
|
declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
5931
5868
|
declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
5932
5869
|
|
|
5933
|
-
export { type ActivityType, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type
|
|
5870
|
+
export { type ActivityType, type AddSupplyParams, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_LEGACY_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_LEGACY_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, CreatorCoinService, DEFAULT_RPC_URL, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, EKUBO_CORE_MAINNET, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, type Network, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, SUPPORTED_NETWORKS, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildFeeCall, buildOrderTypedData, createFailoverFetch, encodeByteArray, formatAmount, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, u256ToBigInt };
|