@medialane/sdk 0.61.0 → 0.63.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/evm/index.cjs +3 -3
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.js +3 -3
- package/dist/evm/index.js.map +1 -1
- package/dist/{index-DfgwOqxs.d.ts → index-7_t9LEnt.d.ts} +284 -369
- package/dist/{index-Dgw8Wl8U.d.cts → index-C94WNlgk.d.cts} +284 -369
- package/dist/index.cjs +337 -463
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +337 -463
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +3 -3
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.js +3 -3
- package/dist/solana/index.js.map +1 -1
- package/dist/starknet/index.cjs +337 -463
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +1 -1
- package/dist/starknet/index.d.ts +1 -1
- package/dist/starknet/index.js +337 -463
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +3 -3
- package/dist/stellar/index.cjs.map +1 -1
- package/dist/stellar/index.js +3 -3
- package/dist/stellar/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1388,20 +1388,25 @@ interface CreateDropParams {
|
|
|
1388
1388
|
maxSupply: bigint | string;
|
|
1389
1389
|
initialConditions: ClaimConditions;
|
|
1390
1390
|
}
|
|
1391
|
-
interface
|
|
1391
|
+
interface CreateEventParams {
|
|
1392
|
+
/** Address of the deployed IPTicketCollection contract. */
|
|
1392
1393
|
collection: string;
|
|
1393
|
-
/** 0 = free ticket; must be non-zero with paymentToken set otherwise. */
|
|
1394
|
-
price: bigint | string;
|
|
1395
1394
|
maxSupply: bigint | string;
|
|
1396
|
-
/** Unix timestamp
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1395
|
+
/** Unix timestamp (seconds). Omit for "open immediately". */
|
|
1396
|
+
startTime?: number;
|
|
1397
|
+
/** Unix timestamp (seconds). Omit for "never expires". */
|
|
1398
|
+
endTime?: number;
|
|
1399
|
+
/** Basis points, 0–10000. */
|
|
1399
1400
|
royaltyBps: number;
|
|
1400
|
-
/**
|
|
1401
|
-
paymentToken?: string;
|
|
1402
|
-
/** ipfs:// or ar:// only — enforced on-chain. */
|
|
1401
|
+
/** ipfs:// or ar:// — enforced on-chain. */
|
|
1403
1402
|
metadataUri: string;
|
|
1404
1403
|
}
|
|
1404
|
+
interface MintTicketsParams {
|
|
1405
|
+
collection: string;
|
|
1406
|
+
tokenId: bigint | string;
|
|
1407
|
+
to: string;
|
|
1408
|
+
amount: bigint | string;
|
|
1409
|
+
}
|
|
1405
1410
|
interface CreateClubParams {
|
|
1406
1411
|
name: string;
|
|
1407
1412
|
symbol: string;
|
|
@@ -1798,34 +1803,47 @@ declare class CreatorCoinService {
|
|
|
1798
1803
|
|
|
1799
1804
|
declare class TicketService {
|
|
1800
1805
|
private readonly factoryAddress?;
|
|
1806
|
+
private readonly config;
|
|
1801
1807
|
constructor(config: ResolvedConfig);
|
|
1808
|
+
private _factory;
|
|
1802
1809
|
private _collection;
|
|
1803
|
-
|
|
1804
|
-
|
|
1810
|
+
private _collectionRead;
|
|
1811
|
+
/** Deploys a new IPTicketCollection via the factory. Caller becomes owner. */
|
|
1812
|
+
deployCollection(account: AccountInterface, params: {
|
|
1805
1813
|
name: string;
|
|
1806
1814
|
symbol: string;
|
|
1807
1815
|
factoryAddress?: string;
|
|
1808
1816
|
}): Promise<TxResult>;
|
|
1809
|
-
/** Owner-only. Creates a new
|
|
1810
|
-
|
|
1811
|
-
/** Owner-only.
|
|
1812
|
-
|
|
1817
|
+
/** Owner-only. Creates a new event inside the caller's deployed collection. */
|
|
1818
|
+
createEvent(account: AccountInterface, params: CreateEventParams): Promise<TxResult>;
|
|
1819
|
+
/** Owner-only. Mints `amount` of `tokenId` to `to`. */
|
|
1820
|
+
mint(account: AccountInterface, params: MintTicketsParams): Promise<TxResult>;
|
|
1821
|
+
/** Owner-only. Pauses or resumes minting for one event. */
|
|
1822
|
+
pauseEvent(account: AccountInterface, params: {
|
|
1813
1823
|
collection: string;
|
|
1814
|
-
|
|
1824
|
+
tokenId: bigint | string;
|
|
1815
1825
|
active: boolean;
|
|
1816
1826
|
}): Promise<TxResult>;
|
|
1817
|
-
/**
|
|
1818
|
-
|
|
1827
|
+
/** Read — true if holder has balance > 0 and current time is within the event window. */
|
|
1828
|
+
isValid(params: {
|
|
1819
1829
|
collection: string;
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
redeemTicket(account: AccountInterface, params: {
|
|
1830
|
+
tokenId: bigint | string;
|
|
1831
|
+
holder: string;
|
|
1832
|
+
}): Promise<boolean>;
|
|
1833
|
+
/** Read — returns the EventRecord for a token ID. */
|
|
1834
|
+
getEvent(params: {
|
|
1826
1835
|
collection: string;
|
|
1827
1836
|
tokenId: bigint | string;
|
|
1828
|
-
}): Promise<
|
|
1837
|
+
}): Promise<{
|
|
1838
|
+
creator: string;
|
|
1839
|
+
maxSupply: bigint;
|
|
1840
|
+
minted: bigint;
|
|
1841
|
+
startTime: number | null;
|
|
1842
|
+
endTime: number | null;
|
|
1843
|
+
royaltyBps: number;
|
|
1844
|
+
metadataUri: string;
|
|
1845
|
+
active: boolean;
|
|
1846
|
+
}>;
|
|
1829
1847
|
}
|
|
1830
1848
|
|
|
1831
1849
|
declare class ClubService {
|
|
@@ -6039,21 +6057,8 @@ declare const CreatorCoinFactoryABI: readonly [{
|
|
|
6039
6057
|
|
|
6040
6058
|
declare const IPTicketCollectionABI: readonly [{
|
|
6041
6059
|
readonly type: "impl";
|
|
6042
|
-
readonly name: "
|
|
6043
|
-
readonly interface_name: "openzeppelin_token::
|
|
6044
|
-
}, {
|
|
6045
|
-
readonly type: "struct";
|
|
6046
|
-
readonly name: "core::byte_array::ByteArray";
|
|
6047
|
-
readonly members: readonly [{
|
|
6048
|
-
readonly name: "data";
|
|
6049
|
-
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
6050
|
-
}, {
|
|
6051
|
-
readonly name: "pending_word";
|
|
6052
|
-
readonly type: "core::felt252";
|
|
6053
|
-
}, {
|
|
6054
|
-
readonly name: "pending_word_len";
|
|
6055
|
-
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
6056
|
-
}];
|
|
6060
|
+
readonly name: "ERC1155MetadataURIImpl";
|
|
6061
|
+
readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
|
|
6057
6062
|
}, {
|
|
6058
6063
|
readonly type: "struct";
|
|
6059
6064
|
readonly name: "core::integer::u256";
|
|
@@ -6065,48 +6070,26 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6065
6070
|
readonly type: "core::integer::u128";
|
|
6066
6071
|
}];
|
|
6067
6072
|
}, {
|
|
6068
|
-
readonly type: "
|
|
6069
|
-
readonly name: "
|
|
6070
|
-
readonly
|
|
6071
|
-
readonly
|
|
6072
|
-
readonly
|
|
6073
|
-
readonly inputs: readonly [];
|
|
6074
|
-
readonly outputs: readonly [{
|
|
6075
|
-
readonly type: "core::byte_array::ByteArray";
|
|
6076
|
-
}];
|
|
6077
|
-
readonly state_mutability: "view";
|
|
6073
|
+
readonly type: "struct";
|
|
6074
|
+
readonly name: "core::byte_array::ByteArray";
|
|
6075
|
+
readonly members: readonly [{
|
|
6076
|
+
readonly name: "data";
|
|
6077
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
6078
6078
|
}, {
|
|
6079
|
-
readonly
|
|
6080
|
-
readonly
|
|
6081
|
-
readonly inputs: readonly [];
|
|
6082
|
-
readonly outputs: readonly [{
|
|
6083
|
-
readonly type: "core::byte_array::ByteArray";
|
|
6084
|
-
}];
|
|
6085
|
-
readonly state_mutability: "view";
|
|
6079
|
+
readonly name: "pending_word";
|
|
6080
|
+
readonly type: "core::felt252";
|
|
6086
6081
|
}, {
|
|
6087
|
-
readonly
|
|
6088
|
-
readonly
|
|
6089
|
-
readonly inputs: readonly [{
|
|
6090
|
-
readonly name: "token_id";
|
|
6091
|
-
readonly type: "core::integer::u256";
|
|
6092
|
-
}];
|
|
6093
|
-
readonly outputs: readonly [{
|
|
6094
|
-
readonly type: "core::byte_array::ByteArray";
|
|
6095
|
-
}];
|
|
6096
|
-
readonly state_mutability: "view";
|
|
6082
|
+
readonly name: "pending_word_len";
|
|
6083
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
6097
6084
|
}];
|
|
6098
|
-
}, {
|
|
6099
|
-
readonly type: "impl";
|
|
6100
|
-
readonly name: "ERC721MetadataCamelOnlyImpl";
|
|
6101
|
-
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
|
|
6102
6085
|
}, {
|
|
6103
6086
|
readonly type: "interface";
|
|
6104
|
-
readonly name: "openzeppelin_token::
|
|
6087
|
+
readonly name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
|
|
6105
6088
|
readonly items: readonly [{
|
|
6106
6089
|
readonly type: "function";
|
|
6107
|
-
readonly name: "
|
|
6090
|
+
readonly name: "uri";
|
|
6108
6091
|
readonly inputs: readonly [{
|
|
6109
|
-
readonly name: "
|
|
6092
|
+
readonly name: "token_id";
|
|
6110
6093
|
readonly type: "core::integer::u256";
|
|
6111
6094
|
}];
|
|
6112
6095
|
readonly outputs: readonly [{
|
|
@@ -6116,14 +6099,14 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6116
6099
|
}];
|
|
6117
6100
|
}, {
|
|
6118
6101
|
readonly type: "impl";
|
|
6119
|
-
readonly name: "
|
|
6102
|
+
readonly name: "IPTicketCollectionImpl";
|
|
6120
6103
|
readonly interface_name: "ip_ticket::interface::IIPTicketCollection";
|
|
6121
6104
|
}, {
|
|
6122
6105
|
readonly type: "enum";
|
|
6123
|
-
readonly name: "core::option::Option::<core::
|
|
6106
|
+
readonly name: "core::option::Option::<core::integer::u64>";
|
|
6124
6107
|
readonly variants: readonly [{
|
|
6125
6108
|
readonly name: "Some";
|
|
6126
|
-
readonly type: "core::
|
|
6109
|
+
readonly type: "core::integer::u64";
|
|
6127
6110
|
}, {
|
|
6128
6111
|
readonly name: "None";
|
|
6129
6112
|
readonly type: "()";
|
|
@@ -6140,13 +6123,10 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6140
6123
|
}];
|
|
6141
6124
|
}, {
|
|
6142
6125
|
readonly type: "struct";
|
|
6143
|
-
readonly name: "ip_ticket::types::
|
|
6126
|
+
readonly name: "ip_ticket::types::EventRecord";
|
|
6144
6127
|
readonly members: readonly [{
|
|
6145
6128
|
readonly name: "creator";
|
|
6146
6129
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6147
|
-
}, {
|
|
6148
|
-
readonly name: "price";
|
|
6149
|
-
readonly type: "core::integer::u256";
|
|
6150
6130
|
}, {
|
|
6151
6131
|
readonly name: "max_supply";
|
|
6152
6132
|
readonly type: "core::integer::u256";
|
|
@@ -6154,14 +6134,14 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6154
6134
|
readonly name: "minted";
|
|
6155
6135
|
readonly type: "core::integer::u256";
|
|
6156
6136
|
}, {
|
|
6157
|
-
readonly name: "
|
|
6158
|
-
readonly type: "core::integer::u64";
|
|
6137
|
+
readonly name: "start_time";
|
|
6138
|
+
readonly type: "core::option::Option::<core::integer::u64>";
|
|
6159
6139
|
}, {
|
|
6160
|
-
readonly name: "
|
|
6161
|
-
readonly type: "core::integer::
|
|
6140
|
+
readonly name: "end_time";
|
|
6141
|
+
readonly type: "core::option::Option::<core::integer::u64>";
|
|
6162
6142
|
}, {
|
|
6163
|
-
readonly name: "
|
|
6164
|
-
readonly type: "core::
|
|
6143
|
+
readonly name: "royalty_bps";
|
|
6144
|
+
readonly type: "core::integer::u16";
|
|
6165
6145
|
}, {
|
|
6166
6146
|
readonly name: "metadata_uri";
|
|
6167
6147
|
readonly type: "core::byte_array::ByteArray";
|
|
@@ -6169,55 +6149,24 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6169
6149
|
readonly name: "active";
|
|
6170
6150
|
readonly type: "core::bool";
|
|
6171
6151
|
}];
|
|
6172
|
-
}, {
|
|
6173
|
-
readonly type: "struct";
|
|
6174
|
-
readonly name: "ip_ticket::types::TicketData";
|
|
6175
|
-
readonly members: readonly [{
|
|
6176
|
-
readonly name: "token_id";
|
|
6177
|
-
readonly type: "core::integer::u256";
|
|
6178
|
-
}, {
|
|
6179
|
-
readonly name: "owner";
|
|
6180
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6181
|
-
}, {
|
|
6182
|
-
readonly name: "collection_id";
|
|
6183
|
-
readonly type: "core::integer::u256";
|
|
6184
|
-
}, {
|
|
6185
|
-
readonly name: "creator";
|
|
6186
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6187
|
-
}, {
|
|
6188
|
-
readonly name: "metadata_uri";
|
|
6189
|
-
readonly type: "core::byte_array::ByteArray";
|
|
6190
|
-
}, {
|
|
6191
|
-
readonly name: "expiration";
|
|
6192
|
-
readonly type: "core::integer::u64";
|
|
6193
|
-
}, {
|
|
6194
|
-
readonly name: "redeemed";
|
|
6195
|
-
readonly type: "core::bool";
|
|
6196
|
-
}, {
|
|
6197
|
-
readonly name: "valid";
|
|
6198
|
-
readonly type: "core::bool";
|
|
6199
|
-
}];
|
|
6200
6152
|
}, {
|
|
6201
6153
|
readonly type: "interface";
|
|
6202
6154
|
readonly name: "ip_ticket::interface::IIPTicketCollection";
|
|
6203
6155
|
readonly items: readonly [{
|
|
6204
6156
|
readonly type: "function";
|
|
6205
|
-
readonly name: "
|
|
6157
|
+
readonly name: "create_event";
|
|
6206
6158
|
readonly inputs: readonly [{
|
|
6207
|
-
readonly name: "price";
|
|
6208
|
-
readonly type: "core::integer::u256";
|
|
6209
|
-
}, {
|
|
6210
6159
|
readonly name: "max_supply";
|
|
6211
6160
|
readonly type: "core::integer::u256";
|
|
6212
6161
|
}, {
|
|
6213
|
-
readonly name: "
|
|
6214
|
-
readonly type: "core::integer::u64";
|
|
6162
|
+
readonly name: "start_time";
|
|
6163
|
+
readonly type: "core::option::Option::<core::integer::u64>";
|
|
6215
6164
|
}, {
|
|
6216
|
-
readonly name: "
|
|
6217
|
-
readonly type: "core::integer::
|
|
6165
|
+
readonly name: "end_time";
|
|
6166
|
+
readonly type: "core::option::Option::<core::integer::u64>";
|
|
6218
6167
|
}, {
|
|
6219
|
-
readonly name: "
|
|
6220
|
-
readonly type: "core::
|
|
6168
|
+
readonly name: "royalty_bps";
|
|
6169
|
+
readonly type: "core::integer::u16";
|
|
6221
6170
|
}, {
|
|
6222
6171
|
readonly name: "metadata_uri";
|
|
6223
6172
|
readonly type: "core::byte_array::ByteArray";
|
|
@@ -6228,45 +6177,40 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6228
6177
|
readonly state_mutability: "external";
|
|
6229
6178
|
}, {
|
|
6230
6179
|
readonly type: "function";
|
|
6231
|
-
readonly name: "
|
|
6180
|
+
readonly name: "mint";
|
|
6232
6181
|
readonly inputs: readonly [{
|
|
6233
|
-
readonly name: "
|
|
6234
|
-
readonly type: "core::
|
|
6182
|
+
readonly name: "to";
|
|
6183
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6235
6184
|
}, {
|
|
6236
|
-
readonly name: "
|
|
6237
|
-
readonly type: "core::bool";
|
|
6238
|
-
}];
|
|
6239
|
-
readonly outputs: readonly [];
|
|
6240
|
-
readonly state_mutability: "external";
|
|
6241
|
-
}, {
|
|
6242
|
-
readonly type: "function";
|
|
6243
|
-
readonly name: "mint_ticket";
|
|
6244
|
-
readonly inputs: readonly [{
|
|
6245
|
-
readonly name: "collection_id";
|
|
6185
|
+
readonly name: "token_id";
|
|
6246
6186
|
readonly type: "core::integer::u256";
|
|
6247
|
-
}
|
|
6248
|
-
|
|
6187
|
+
}, {
|
|
6188
|
+
readonly name: "amount";
|
|
6249
6189
|
readonly type: "core::integer::u256";
|
|
6250
6190
|
}];
|
|
6191
|
+
readonly outputs: readonly [];
|
|
6251
6192
|
readonly state_mutability: "external";
|
|
6252
6193
|
}, {
|
|
6253
6194
|
readonly type: "function";
|
|
6254
|
-
readonly name: "
|
|
6195
|
+
readonly name: "pause_event";
|
|
6255
6196
|
readonly inputs: readonly [{
|
|
6256
6197
|
readonly name: "token_id";
|
|
6257
6198
|
readonly type: "core::integer::u256";
|
|
6199
|
+
}, {
|
|
6200
|
+
readonly name: "active";
|
|
6201
|
+
readonly type: "core::bool";
|
|
6258
6202
|
}];
|
|
6259
6203
|
readonly outputs: readonly [];
|
|
6260
6204
|
readonly state_mutability: "external";
|
|
6261
6205
|
}, {
|
|
6262
6206
|
readonly type: "function";
|
|
6263
|
-
readonly name: "
|
|
6207
|
+
readonly name: "is_valid";
|
|
6264
6208
|
readonly inputs: readonly [{
|
|
6265
|
-
readonly name: "
|
|
6266
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6267
|
-
}, {
|
|
6268
|
-
readonly name: "collection_id";
|
|
6209
|
+
readonly name: "token_id";
|
|
6269
6210
|
readonly type: "core::integer::u256";
|
|
6211
|
+
}, {
|
|
6212
|
+
readonly name: "holder";
|
|
6213
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6270
6214
|
}];
|
|
6271
6215
|
readonly outputs: readonly [{
|
|
6272
6216
|
readonly type: "core::bool";
|
|
@@ -6274,70 +6218,32 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6274
6218
|
readonly state_mutability: "view";
|
|
6275
6219
|
}, {
|
|
6276
6220
|
readonly type: "function";
|
|
6277
|
-
readonly name: "
|
|
6278
|
-
readonly inputs: readonly [{
|
|
6279
|
-
readonly name: "collection_id";
|
|
6280
|
-
readonly type: "core::integer::u256";
|
|
6281
|
-
}];
|
|
6282
|
-
readonly outputs: readonly [{
|
|
6283
|
-
readonly type: "ip_ticket::types::TicketCollection";
|
|
6284
|
-
}];
|
|
6285
|
-
readonly state_mutability: "view";
|
|
6286
|
-
}, {
|
|
6287
|
-
readonly type: "function";
|
|
6288
|
-
readonly name: "get_ticket_data";
|
|
6221
|
+
readonly name: "get_event";
|
|
6289
6222
|
readonly inputs: readonly [{
|
|
6290
6223
|
readonly name: "token_id";
|
|
6291
6224
|
readonly type: "core::integer::u256";
|
|
6292
6225
|
}];
|
|
6293
6226
|
readonly outputs: readonly [{
|
|
6294
|
-
readonly type: "ip_ticket::types::
|
|
6227
|
+
readonly type: "ip_ticket::types::EventRecord";
|
|
6295
6228
|
}];
|
|
6296
6229
|
readonly state_mutability: "view";
|
|
6297
6230
|
}, {
|
|
6298
6231
|
readonly type: "function";
|
|
6299
|
-
readonly name: "
|
|
6232
|
+
readonly name: "royalty_info";
|
|
6300
6233
|
readonly inputs: readonly [{
|
|
6301
6234
|
readonly name: "token_id";
|
|
6302
6235
|
readonly type: "core::integer::u256";
|
|
6303
|
-
}];
|
|
6304
|
-
readonly outputs: readonly [{
|
|
6305
|
-
readonly type: "core::integer::u256";
|
|
6306
|
-
}];
|
|
6307
|
-
readonly state_mutability: "view";
|
|
6308
|
-
}, {
|
|
6309
|
-
readonly type: "function";
|
|
6310
|
-
readonly name: "get_active_ticket_balance";
|
|
6311
|
-
readonly inputs: readonly [{
|
|
6312
|
-
readonly name: "user";
|
|
6313
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6314
6236
|
}, {
|
|
6315
|
-
readonly name: "
|
|
6316
|
-
readonly type: "core::integer::u256";
|
|
6317
|
-
}];
|
|
6318
|
-
readonly outputs: readonly [{
|
|
6319
|
-
readonly type: "core::integer::u256";
|
|
6320
|
-
}];
|
|
6321
|
-
readonly state_mutability: "view";
|
|
6322
|
-
}, {
|
|
6323
|
-
readonly type: "function";
|
|
6324
|
-
readonly name: "get_last_collection_id";
|
|
6325
|
-
readonly inputs: readonly [];
|
|
6326
|
-
readonly outputs: readonly [{
|
|
6237
|
+
readonly name: "sale_price";
|
|
6327
6238
|
readonly type: "core::integer::u256";
|
|
6328
6239
|
}];
|
|
6329
|
-
readonly state_mutability: "view";
|
|
6330
|
-
}, {
|
|
6331
|
-
readonly type: "function";
|
|
6332
|
-
readonly name: "total_supply";
|
|
6333
|
-
readonly inputs: readonly [];
|
|
6334
6240
|
readonly outputs: readonly [{
|
|
6335
|
-
readonly type: "core::integer::u256";
|
|
6241
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
|
|
6336
6242
|
}];
|
|
6337
6243
|
readonly state_mutability: "view";
|
|
6338
6244
|
}, {
|
|
6339
6245
|
readonly type: "function";
|
|
6340
|
-
readonly name: "
|
|
6246
|
+
readonly name: "royaltyInfo";
|
|
6341
6247
|
readonly inputs: readonly [{
|
|
6342
6248
|
readonly name: "token_id";
|
|
6343
6249
|
readonly type: "core::integer::u256";
|
|
@@ -6351,23 +6257,31 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6351
6257
|
readonly state_mutability: "view";
|
|
6352
6258
|
}, {
|
|
6353
6259
|
readonly type: "function";
|
|
6354
|
-
readonly name: "
|
|
6355
|
-
readonly inputs: readonly [
|
|
6356
|
-
readonly name: "token_id";
|
|
6357
|
-
readonly type: "core::integer::u256";
|
|
6358
|
-
}, {
|
|
6359
|
-
readonly name: "sale_price";
|
|
6360
|
-
readonly type: "core::integer::u256";
|
|
6361
|
-
}];
|
|
6260
|
+
readonly name: "version";
|
|
6261
|
+
readonly inputs: readonly [];
|
|
6362
6262
|
readonly outputs: readonly [{
|
|
6363
|
-
readonly type: "
|
|
6263
|
+
readonly type: "core::byte_array::ByteArray";
|
|
6364
6264
|
}];
|
|
6365
6265
|
readonly state_mutability: "view";
|
|
6366
6266
|
}];
|
|
6367
6267
|
}, {
|
|
6368
6268
|
readonly type: "impl";
|
|
6369
|
-
readonly name: "
|
|
6370
|
-
readonly interface_name: "openzeppelin_token::
|
|
6269
|
+
readonly name: "ERC1155Impl";
|
|
6270
|
+
readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155";
|
|
6271
|
+
}, {
|
|
6272
|
+
readonly type: "struct";
|
|
6273
|
+
readonly name: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
6274
|
+
readonly members: readonly [{
|
|
6275
|
+
readonly name: "snapshot";
|
|
6276
|
+
readonly type: "@core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
6277
|
+
}];
|
|
6278
|
+
}, {
|
|
6279
|
+
readonly type: "struct";
|
|
6280
|
+
readonly name: "core::array::Span::<core::integer::u256>";
|
|
6281
|
+
readonly members: readonly [{
|
|
6282
|
+
readonly name: "snapshot";
|
|
6283
|
+
readonly type: "@core::array::Array::<core::integer::u256>";
|
|
6284
|
+
}];
|
|
6371
6285
|
}, {
|
|
6372
6286
|
readonly type: "struct";
|
|
6373
6287
|
readonly name: "core::array::Span::<core::felt252>";
|
|
@@ -6377,13 +6291,16 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6377
6291
|
}];
|
|
6378
6292
|
}, {
|
|
6379
6293
|
readonly type: "interface";
|
|
6380
|
-
readonly name: "openzeppelin_token::
|
|
6294
|
+
readonly name: "openzeppelin_token::erc1155::interface::IERC1155";
|
|
6381
6295
|
readonly items: readonly [{
|
|
6382
6296
|
readonly type: "function";
|
|
6383
6297
|
readonly name: "balance_of";
|
|
6384
6298
|
readonly inputs: readonly [{
|
|
6385
6299
|
readonly name: "account";
|
|
6386
6300
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6301
|
+
}, {
|
|
6302
|
+
readonly name: "token_id";
|
|
6303
|
+
readonly type: "core::integer::u256";
|
|
6387
6304
|
}];
|
|
6388
6305
|
readonly outputs: readonly [{
|
|
6389
6306
|
readonly type: "core::integer::u256";
|
|
@@ -6391,13 +6308,16 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6391
6308
|
readonly state_mutability: "view";
|
|
6392
6309
|
}, {
|
|
6393
6310
|
readonly type: "function";
|
|
6394
|
-
readonly name: "
|
|
6311
|
+
readonly name: "balance_of_batch";
|
|
6395
6312
|
readonly inputs: readonly [{
|
|
6396
|
-
readonly name: "
|
|
6397
|
-
readonly type: "core::
|
|
6313
|
+
readonly name: "accounts";
|
|
6314
|
+
readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
6315
|
+
}, {
|
|
6316
|
+
readonly name: "token_ids";
|
|
6317
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6398
6318
|
}];
|
|
6399
6319
|
readonly outputs: readonly [{
|
|
6400
|
-
readonly type: "core::
|
|
6320
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6401
6321
|
}];
|
|
6402
6322
|
readonly state_mutability: "view";
|
|
6403
6323
|
}, {
|
|
@@ -6412,6 +6332,9 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6412
6332
|
}, {
|
|
6413
6333
|
readonly name: "token_id";
|
|
6414
6334
|
readonly type: "core::integer::u256";
|
|
6335
|
+
}, {
|
|
6336
|
+
readonly name: "value";
|
|
6337
|
+
readonly type: "core::integer::u256";
|
|
6415
6338
|
}, {
|
|
6416
6339
|
readonly name: "data";
|
|
6417
6340
|
readonly type: "core::array::Span::<core::felt252>";
|
|
@@ -6420,7 +6343,7 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6420
6343
|
readonly state_mutability: "external";
|
|
6421
6344
|
}, {
|
|
6422
6345
|
readonly type: "function";
|
|
6423
|
-
readonly name: "
|
|
6346
|
+
readonly name: "safe_batch_transfer_from";
|
|
6424
6347
|
readonly inputs: readonly [{
|
|
6425
6348
|
readonly name: "from";
|
|
6426
6349
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
@@ -6428,74 +6351,60 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6428
6351
|
readonly name: "to";
|
|
6429
6352
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6430
6353
|
}, {
|
|
6431
|
-
readonly name: "
|
|
6432
|
-
readonly type: "core::integer::u256";
|
|
6433
|
-
}];
|
|
6434
|
-
readonly outputs: readonly [];
|
|
6435
|
-
readonly state_mutability: "external";
|
|
6436
|
-
}, {
|
|
6437
|
-
readonly type: "function";
|
|
6438
|
-
readonly name: "approve";
|
|
6439
|
-
readonly inputs: readonly [{
|
|
6440
|
-
readonly name: "to";
|
|
6441
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6354
|
+
readonly name: "token_ids";
|
|
6355
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6442
6356
|
}, {
|
|
6443
|
-
readonly name: "
|
|
6444
|
-
readonly type: "core::integer::u256";
|
|
6357
|
+
readonly name: "values";
|
|
6358
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6359
|
+
}, {
|
|
6360
|
+
readonly name: "data";
|
|
6361
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
6445
6362
|
}];
|
|
6446
6363
|
readonly outputs: readonly [];
|
|
6447
6364
|
readonly state_mutability: "external";
|
|
6448
6365
|
}, {
|
|
6449
6366
|
readonly type: "function";
|
|
6450
|
-
readonly name: "
|
|
6367
|
+
readonly name: "is_approved_for_all";
|
|
6451
6368
|
readonly inputs: readonly [{
|
|
6452
|
-
readonly name: "
|
|
6369
|
+
readonly name: "owner";
|
|
6453
6370
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6454
6371
|
}, {
|
|
6455
|
-
readonly name: "
|
|
6456
|
-
readonly type: "core::
|
|
6457
|
-
}];
|
|
6458
|
-
readonly outputs: readonly [];
|
|
6459
|
-
readonly state_mutability: "external";
|
|
6460
|
-
}, {
|
|
6461
|
-
readonly type: "function";
|
|
6462
|
-
readonly name: "get_approved";
|
|
6463
|
-
readonly inputs: readonly [{
|
|
6464
|
-
readonly name: "token_id";
|
|
6465
|
-
readonly type: "core::integer::u256";
|
|
6372
|
+
readonly name: "operator";
|
|
6373
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6466
6374
|
}];
|
|
6467
6375
|
readonly outputs: readonly [{
|
|
6468
|
-
readonly type: "core::
|
|
6376
|
+
readonly type: "core::bool";
|
|
6469
6377
|
}];
|
|
6470
6378
|
readonly state_mutability: "view";
|
|
6471
6379
|
}, {
|
|
6472
6380
|
readonly type: "function";
|
|
6473
|
-
readonly name: "
|
|
6381
|
+
readonly name: "set_approval_for_all";
|
|
6474
6382
|
readonly inputs: readonly [{
|
|
6475
|
-
readonly name: "owner";
|
|
6476
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6477
|
-
}, {
|
|
6478
6383
|
readonly name: "operator";
|
|
6479
6384
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6480
|
-
}
|
|
6481
|
-
|
|
6385
|
+
}, {
|
|
6386
|
+
readonly name: "approved";
|
|
6482
6387
|
readonly type: "core::bool";
|
|
6483
6388
|
}];
|
|
6484
|
-
readonly
|
|
6389
|
+
readonly outputs: readonly [];
|
|
6390
|
+
readonly state_mutability: "external";
|
|
6485
6391
|
}];
|
|
6486
6392
|
}, {
|
|
6487
6393
|
readonly type: "impl";
|
|
6488
|
-
readonly name: "
|
|
6489
|
-
readonly interface_name: "openzeppelin_token::
|
|
6394
|
+
readonly name: "ERC1155CamelImpl";
|
|
6395
|
+
readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
|
|
6490
6396
|
}, {
|
|
6491
6397
|
readonly type: "interface";
|
|
6492
|
-
readonly name: "openzeppelin_token::
|
|
6398
|
+
readonly name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
|
|
6493
6399
|
readonly items: readonly [{
|
|
6494
6400
|
readonly type: "function";
|
|
6495
6401
|
readonly name: "balanceOf";
|
|
6496
6402
|
readonly inputs: readonly [{
|
|
6497
6403
|
readonly name: "account";
|
|
6498
6404
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6405
|
+
}, {
|
|
6406
|
+
readonly name: "tokenId";
|
|
6407
|
+
readonly type: "core::integer::u256";
|
|
6499
6408
|
}];
|
|
6500
6409
|
readonly outputs: readonly [{
|
|
6501
6410
|
readonly type: "core::integer::u256";
|
|
@@ -6503,13 +6412,16 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6503
6412
|
readonly state_mutability: "view";
|
|
6504
6413
|
}, {
|
|
6505
6414
|
readonly type: "function";
|
|
6506
|
-
readonly name: "
|
|
6415
|
+
readonly name: "balanceOfBatch";
|
|
6507
6416
|
readonly inputs: readonly [{
|
|
6508
|
-
readonly name: "
|
|
6509
|
-
readonly type: "core::
|
|
6417
|
+
readonly name: "accounts";
|
|
6418
|
+
readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
6419
|
+
}, {
|
|
6420
|
+
readonly name: "tokenIds";
|
|
6421
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6510
6422
|
}];
|
|
6511
6423
|
readonly outputs: readonly [{
|
|
6512
|
-
readonly type: "core::
|
|
6424
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6513
6425
|
}];
|
|
6514
6426
|
readonly state_mutability: "view";
|
|
6515
6427
|
}, {
|
|
@@ -6524,6 +6436,9 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6524
6436
|
}, {
|
|
6525
6437
|
readonly name: "tokenId";
|
|
6526
6438
|
readonly type: "core::integer::u256";
|
|
6439
|
+
}, {
|
|
6440
|
+
readonly name: "value";
|
|
6441
|
+
readonly type: "core::integer::u256";
|
|
6527
6442
|
}, {
|
|
6528
6443
|
readonly name: "data";
|
|
6529
6444
|
readonly type: "core::array::Span::<core::felt252>";
|
|
@@ -6532,7 +6447,7 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6532
6447
|
readonly state_mutability: "external";
|
|
6533
6448
|
}, {
|
|
6534
6449
|
readonly type: "function";
|
|
6535
|
-
readonly name: "
|
|
6450
|
+
readonly name: "safeBatchTransferFrom";
|
|
6536
6451
|
readonly inputs: readonly [{
|
|
6537
6452
|
readonly name: "from";
|
|
6538
6453
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
@@ -6540,48 +6455,43 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6540
6455
|
readonly name: "to";
|
|
6541
6456
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6542
6457
|
}, {
|
|
6543
|
-
readonly name: "
|
|
6544
|
-
readonly type: "core::integer::u256";
|
|
6458
|
+
readonly name: "tokenIds";
|
|
6459
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6460
|
+
}, {
|
|
6461
|
+
readonly name: "values";
|
|
6462
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6463
|
+
}, {
|
|
6464
|
+
readonly name: "data";
|
|
6465
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
6545
6466
|
}];
|
|
6546
6467
|
readonly outputs: readonly [];
|
|
6547
6468
|
readonly state_mutability: "external";
|
|
6548
6469
|
}, {
|
|
6549
6470
|
readonly type: "function";
|
|
6550
|
-
readonly name: "
|
|
6471
|
+
readonly name: "isApprovedForAll";
|
|
6551
6472
|
readonly inputs: readonly [{
|
|
6552
|
-
readonly name: "
|
|
6473
|
+
readonly name: "owner";
|
|
6553
6474
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6554
6475
|
}, {
|
|
6555
|
-
readonly name: "
|
|
6556
|
-
readonly type: "core::
|
|
6557
|
-
}];
|
|
6558
|
-
readonly outputs: readonly [];
|
|
6559
|
-
readonly state_mutability: "external";
|
|
6560
|
-
}, {
|
|
6561
|
-
readonly type: "function";
|
|
6562
|
-
readonly name: "getApproved";
|
|
6563
|
-
readonly inputs: readonly [{
|
|
6564
|
-
readonly name: "tokenId";
|
|
6565
|
-
readonly type: "core::integer::u256";
|
|
6476
|
+
readonly name: "operator";
|
|
6477
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6566
6478
|
}];
|
|
6567
6479
|
readonly outputs: readonly [{
|
|
6568
|
-
readonly type: "core::
|
|
6480
|
+
readonly type: "core::bool";
|
|
6569
6481
|
}];
|
|
6570
6482
|
readonly state_mutability: "view";
|
|
6571
6483
|
}, {
|
|
6572
6484
|
readonly type: "function";
|
|
6573
|
-
readonly name: "
|
|
6485
|
+
readonly name: "setApprovalForAll";
|
|
6574
6486
|
readonly inputs: readonly [{
|
|
6575
|
-
readonly name: "owner";
|
|
6576
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6577
|
-
}, {
|
|
6578
6487
|
readonly name: "operator";
|
|
6579
6488
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6580
|
-
}
|
|
6581
|
-
|
|
6489
|
+
}, {
|
|
6490
|
+
readonly name: "approved";
|
|
6582
6491
|
readonly type: "core::bool";
|
|
6583
6492
|
}];
|
|
6584
|
-
readonly
|
|
6493
|
+
readonly outputs: readonly [];
|
|
6494
|
+
readonly state_mutability: "external";
|
|
6585
6495
|
}];
|
|
6586
6496
|
}, {
|
|
6587
6497
|
readonly type: "impl";
|
|
@@ -6663,9 +6573,13 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6663
6573
|
}];
|
|
6664
6574
|
}, {
|
|
6665
6575
|
readonly type: "event";
|
|
6666
|
-
readonly name: "openzeppelin_token::
|
|
6576
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
|
|
6667
6577
|
readonly kind: "struct";
|
|
6668
6578
|
readonly members: readonly [{
|
|
6579
|
+
readonly name: "operator";
|
|
6580
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6581
|
+
readonly kind: "key";
|
|
6582
|
+
}, {
|
|
6669
6583
|
readonly name: "from";
|
|
6670
6584
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6671
6585
|
readonly kind: "key";
|
|
@@ -6674,30 +6588,42 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6674
6588
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6675
6589
|
readonly kind: "key";
|
|
6676
6590
|
}, {
|
|
6677
|
-
readonly name: "
|
|
6591
|
+
readonly name: "id";
|
|
6678
6592
|
readonly type: "core::integer::u256";
|
|
6679
|
-
readonly kind: "
|
|
6593
|
+
readonly kind: "data";
|
|
6594
|
+
}, {
|
|
6595
|
+
readonly name: "value";
|
|
6596
|
+
readonly type: "core::integer::u256";
|
|
6597
|
+
readonly kind: "data";
|
|
6680
6598
|
}];
|
|
6681
6599
|
}, {
|
|
6682
6600
|
readonly type: "event";
|
|
6683
|
-
readonly name: "openzeppelin_token::
|
|
6601
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
|
|
6684
6602
|
readonly kind: "struct";
|
|
6685
6603
|
readonly members: readonly [{
|
|
6686
|
-
readonly name: "
|
|
6604
|
+
readonly name: "operator";
|
|
6687
6605
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6688
6606
|
readonly kind: "key";
|
|
6689
6607
|
}, {
|
|
6690
|
-
readonly name: "
|
|
6608
|
+
readonly name: "from";
|
|
6691
6609
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6692
6610
|
readonly kind: "key";
|
|
6693
6611
|
}, {
|
|
6694
|
-
readonly name: "
|
|
6695
|
-
readonly type: "core::
|
|
6612
|
+
readonly name: "to";
|
|
6613
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6696
6614
|
readonly kind: "key";
|
|
6615
|
+
}, {
|
|
6616
|
+
readonly name: "ids";
|
|
6617
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6618
|
+
readonly kind: "data";
|
|
6619
|
+
}, {
|
|
6620
|
+
readonly name: "values";
|
|
6621
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
6622
|
+
readonly kind: "data";
|
|
6697
6623
|
}];
|
|
6698
6624
|
}, {
|
|
6699
6625
|
readonly type: "event";
|
|
6700
|
-
readonly name: "openzeppelin_token::
|
|
6626
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
|
|
6701
6627
|
readonly kind: "struct";
|
|
6702
6628
|
readonly members: readonly [{
|
|
6703
6629
|
readonly name: "owner";
|
|
@@ -6714,19 +6640,36 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6714
6640
|
}];
|
|
6715
6641
|
}, {
|
|
6716
6642
|
readonly type: "event";
|
|
6717
|
-
readonly name: "openzeppelin_token::
|
|
6643
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
|
|
6644
|
+
readonly kind: "struct";
|
|
6645
|
+
readonly members: readonly [{
|
|
6646
|
+
readonly name: "value";
|
|
6647
|
+
readonly type: "core::byte_array::ByteArray";
|
|
6648
|
+
readonly kind: "data";
|
|
6649
|
+
}, {
|
|
6650
|
+
readonly name: "id";
|
|
6651
|
+
readonly type: "core::integer::u256";
|
|
6652
|
+
readonly kind: "key";
|
|
6653
|
+
}];
|
|
6654
|
+
}, {
|
|
6655
|
+
readonly type: "event";
|
|
6656
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
|
|
6718
6657
|
readonly kind: "enum";
|
|
6719
6658
|
readonly variants: readonly [{
|
|
6720
|
-
readonly name: "
|
|
6721
|
-
readonly type: "openzeppelin_token::
|
|
6659
|
+
readonly name: "TransferSingle";
|
|
6660
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
|
|
6722
6661
|
readonly kind: "nested";
|
|
6723
6662
|
}, {
|
|
6724
|
-
readonly name: "
|
|
6725
|
-
readonly type: "openzeppelin_token::
|
|
6663
|
+
readonly name: "TransferBatch";
|
|
6664
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
|
|
6726
6665
|
readonly kind: "nested";
|
|
6727
6666
|
}, {
|
|
6728
6667
|
readonly name: "ApprovalForAll";
|
|
6729
|
-
readonly type: "openzeppelin_token::
|
|
6668
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
|
|
6669
|
+
readonly kind: "nested";
|
|
6670
|
+
}, {
|
|
6671
|
+
readonly name: "URI";
|
|
6672
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
|
|
6730
6673
|
readonly kind: "nested";
|
|
6731
6674
|
}];
|
|
6732
6675
|
}, {
|
|
@@ -6775,35 +6718,23 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6775
6718
|
}];
|
|
6776
6719
|
}, {
|
|
6777
6720
|
readonly type: "event";
|
|
6778
|
-
readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::
|
|
6721
|
+
readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::EventCreated";
|
|
6779
6722
|
readonly kind: "struct";
|
|
6780
6723
|
readonly members: readonly [{
|
|
6781
|
-
readonly name: "
|
|
6724
|
+
readonly name: "token_id";
|
|
6782
6725
|
readonly type: "core::integer::u256";
|
|
6783
6726
|
readonly kind: "key";
|
|
6784
|
-
}, {
|
|
6785
|
-
readonly name: "creator";
|
|
6786
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6787
|
-
readonly kind: "key";
|
|
6788
|
-
}, {
|
|
6789
|
-
readonly name: "price";
|
|
6790
|
-
readonly type: "core::integer::u256";
|
|
6791
|
-
readonly kind: "data";
|
|
6792
6727
|
}, {
|
|
6793
6728
|
readonly name: "max_supply";
|
|
6794
6729
|
readonly type: "core::integer::u256";
|
|
6795
6730
|
readonly kind: "data";
|
|
6796
6731
|
}, {
|
|
6797
|
-
readonly name: "
|
|
6798
|
-
readonly type: "core::integer::u64";
|
|
6799
|
-
readonly kind: "data";
|
|
6800
|
-
}, {
|
|
6801
|
-
readonly name: "royalty_bps";
|
|
6802
|
-
readonly type: "core::integer::u256";
|
|
6732
|
+
readonly name: "start_time";
|
|
6733
|
+
readonly type: "core::option::Option::<core::integer::u64>";
|
|
6803
6734
|
readonly kind: "data";
|
|
6804
6735
|
}, {
|
|
6805
|
-
readonly name: "
|
|
6806
|
-
readonly type: "core::option::Option::<core::
|
|
6736
|
+
readonly name: "end_time";
|
|
6737
|
+
readonly type: "core::option::Option::<core::integer::u64>";
|
|
6807
6738
|
readonly kind: "data";
|
|
6808
6739
|
}, {
|
|
6809
6740
|
readonly name: "metadata_uri";
|
|
@@ -6816,70 +6747,24 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6816
6747
|
}];
|
|
6817
6748
|
}, {
|
|
6818
6749
|
readonly type: "event";
|
|
6819
|
-
readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::
|
|
6750
|
+
readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::EventPaused";
|
|
6820
6751
|
readonly kind: "struct";
|
|
6821
6752
|
readonly members: readonly [{
|
|
6822
|
-
readonly name: "
|
|
6753
|
+
readonly name: "token_id";
|
|
6823
6754
|
readonly type: "core::integer::u256";
|
|
6824
6755
|
readonly kind: "key";
|
|
6825
6756
|
}, {
|
|
6826
6757
|
readonly name: "active";
|
|
6827
6758
|
readonly type: "core::bool";
|
|
6828
6759
|
readonly kind: "data";
|
|
6829
|
-
}, {
|
|
6830
|
-
readonly name: "updated_at";
|
|
6831
|
-
readonly type: "core::integer::u64";
|
|
6832
|
-
readonly kind: "data";
|
|
6833
|
-
}];
|
|
6834
|
-
}, {
|
|
6835
|
-
readonly type: "event";
|
|
6836
|
-
readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketMinted";
|
|
6837
|
-
readonly kind: "struct";
|
|
6838
|
-
readonly members: readonly [{
|
|
6839
|
-
readonly name: "token_id";
|
|
6840
|
-
readonly type: "core::integer::u256";
|
|
6841
|
-
readonly kind: "key";
|
|
6842
|
-
}, {
|
|
6843
|
-
readonly name: "collection_id";
|
|
6844
|
-
readonly type: "core::integer::u256";
|
|
6845
|
-
readonly kind: "key";
|
|
6846
|
-
}, {
|
|
6847
|
-
readonly name: "owner";
|
|
6848
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6849
|
-
readonly kind: "key";
|
|
6850
|
-
}, {
|
|
6851
|
-
readonly name: "minted_at";
|
|
6852
|
-
readonly type: "core::integer::u64";
|
|
6853
|
-
readonly kind: "data";
|
|
6854
|
-
}];
|
|
6855
|
-
}, {
|
|
6856
|
-
readonly type: "event";
|
|
6857
|
-
readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketRedeemed";
|
|
6858
|
-
readonly kind: "struct";
|
|
6859
|
-
readonly members: readonly [{
|
|
6860
|
-
readonly name: "token_id";
|
|
6861
|
-
readonly type: "core::integer::u256";
|
|
6862
|
-
readonly kind: "key";
|
|
6863
|
-
}, {
|
|
6864
|
-
readonly name: "collection_id";
|
|
6865
|
-
readonly type: "core::integer::u256";
|
|
6866
|
-
readonly kind: "key";
|
|
6867
|
-
}, {
|
|
6868
|
-
readonly name: "owner";
|
|
6869
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
6870
|
-
readonly kind: "key";
|
|
6871
|
-
}, {
|
|
6872
|
-
readonly name: "redeemed_at";
|
|
6873
|
-
readonly type: "core::integer::u64";
|
|
6874
|
-
readonly kind: "data";
|
|
6875
6760
|
}];
|
|
6876
6761
|
}, {
|
|
6877
6762
|
readonly type: "event";
|
|
6878
6763
|
readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::Event";
|
|
6879
6764
|
readonly kind: "enum";
|
|
6880
6765
|
readonly variants: readonly [{
|
|
6881
|
-
readonly name: "
|
|
6882
|
-
readonly type: "openzeppelin_token::
|
|
6766
|
+
readonly name: "ERC1155Event";
|
|
6767
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
|
|
6883
6768
|
readonly kind: "flat";
|
|
6884
6769
|
}, {
|
|
6885
6770
|
readonly name: "SRC5Event";
|
|
@@ -6890,20 +6775,12 @@ declare const IPTicketCollectionABI: readonly [{
|
|
|
6890
6775
|
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
6891
6776
|
readonly kind: "flat";
|
|
6892
6777
|
}, {
|
|
6893
|
-
readonly name: "
|
|
6894
|
-
readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::
|
|
6895
|
-
readonly kind: "nested";
|
|
6896
|
-
}, {
|
|
6897
|
-
readonly name: "CollectionStatusUpdated";
|
|
6898
|
-
readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::CollectionStatusUpdated";
|
|
6899
|
-
readonly kind: "nested";
|
|
6900
|
-
}, {
|
|
6901
|
-
readonly name: "TicketMinted";
|
|
6902
|
-
readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketMinted";
|
|
6778
|
+
readonly name: "EventCreated";
|
|
6779
|
+
readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::EventCreated";
|
|
6903
6780
|
readonly kind: "nested";
|
|
6904
6781
|
}, {
|
|
6905
|
-
readonly name: "
|
|
6906
|
-
readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::
|
|
6782
|
+
readonly name: "EventPaused";
|
|
6783
|
+
readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::EventPaused";
|
|
6907
6784
|
readonly kind: "nested";
|
|
6908
6785
|
}];
|
|
6909
6786
|
}];
|
|
@@ -6946,7 +6823,7 @@ declare const IPTicketCollectionFactoryABI: readonly [{
|
|
|
6946
6823
|
readonly state_mutability: "view";
|
|
6947
6824
|
}, {
|
|
6948
6825
|
readonly type: "function";
|
|
6949
|
-
readonly name: "
|
|
6826
|
+
readonly name: "deploy_collection";
|
|
6950
6827
|
readonly inputs: readonly [{
|
|
6951
6828
|
readonly name: "name";
|
|
6952
6829
|
readonly type: "core::byte_array::ByteArray";
|
|
@@ -6959,6 +6836,35 @@ declare const IPTicketCollectionFactoryABI: readonly [{
|
|
|
6959
6836
|
}];
|
|
6960
6837
|
readonly state_mutability: "external";
|
|
6961
6838
|
}];
|
|
6839
|
+
}, {
|
|
6840
|
+
readonly type: "impl";
|
|
6841
|
+
readonly name: "SRC5Impl";
|
|
6842
|
+
readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
|
|
6843
|
+
}, {
|
|
6844
|
+
readonly type: "enum";
|
|
6845
|
+
readonly name: "core::bool";
|
|
6846
|
+
readonly variants: readonly [{
|
|
6847
|
+
readonly name: "False";
|
|
6848
|
+
readonly type: "()";
|
|
6849
|
+
}, {
|
|
6850
|
+
readonly name: "True";
|
|
6851
|
+
readonly type: "()";
|
|
6852
|
+
}];
|
|
6853
|
+
}, {
|
|
6854
|
+
readonly type: "interface";
|
|
6855
|
+
readonly name: "openzeppelin_introspection::interface::ISRC5";
|
|
6856
|
+
readonly items: readonly [{
|
|
6857
|
+
readonly type: "function";
|
|
6858
|
+
readonly name: "supports_interface";
|
|
6859
|
+
readonly inputs: readonly [{
|
|
6860
|
+
readonly name: "interface_id";
|
|
6861
|
+
readonly type: "core::felt252";
|
|
6862
|
+
}];
|
|
6863
|
+
readonly outputs: readonly [{
|
|
6864
|
+
readonly type: "core::bool";
|
|
6865
|
+
}];
|
|
6866
|
+
readonly state_mutability: "view";
|
|
6867
|
+
}];
|
|
6962
6868
|
}, {
|
|
6963
6869
|
readonly type: "constructor";
|
|
6964
6870
|
readonly name: "constructor";
|
|
@@ -6966,6 +6872,11 @@ declare const IPTicketCollectionFactoryABI: readonly [{
|
|
|
6966
6872
|
readonly name: "collection_class_hash";
|
|
6967
6873
|
readonly type: "core::starknet::class_hash::ClassHash";
|
|
6968
6874
|
}];
|
|
6875
|
+
}, {
|
|
6876
|
+
readonly type: "event";
|
|
6877
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
6878
|
+
readonly kind: "enum";
|
|
6879
|
+
readonly variants: readonly [];
|
|
6969
6880
|
}, {
|
|
6970
6881
|
readonly type: "event";
|
|
6971
6882
|
readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
|
|
@@ -6992,6 +6903,10 @@ declare const IPTicketCollectionFactoryABI: readonly [{
|
|
|
6992
6903
|
readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::Event";
|
|
6993
6904
|
readonly kind: "enum";
|
|
6994
6905
|
readonly variants: readonly [{
|
|
6906
|
+
readonly name: "SRC5Event";
|
|
6907
|
+
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
6908
|
+
readonly kind: "flat";
|
|
6909
|
+
}, {
|
|
6995
6910
|
readonly name: "CollectionDeployed";
|
|
6996
6911
|
readonly type: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
|
|
6997
6912
|
readonly kind: "nested";
|
|
@@ -10384,4 +10299,4 @@ declare function build1155CancellationTypedData(message: Record<string, unknown>
|
|
|
10384
10299
|
|
|
10385
10300
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
10386
10301
|
|
|
10387
|
-
export { type ApiRewardsConfig as $, ADMIN_HEADERS as A, type ApiCreatorProfile as B, type ApiIntent as C, type ApiIntentCreated as D, type ApiKeyStatus as E, type ApiMeta as F, type ApiMetadataSignedUrl as G, type ApiMetadataUpload as H, type ApiOrder as I, type ApiOrderConsideration as J, type ApiOrderOffer as K, type ApiOrderPrice as L, type ApiOrderTokenMeta as M, type ApiOrderTxHash as N, type ApiOrdersQuery as O, type ApiPointEvent as P, type ApiPortalKey as Q, type ApiPortalKeyCreated as R, type ServiceDefinition as S, type ApiPortalMe as T, type ApiPublicRemix as U, type ApiRemixOffer as V, type ApiRemixOfferPrice as W, type ApiRemixOffersQuery as X, type ApiResponse as Y, type ApiRewardsBadge as Z, type ApiRewardsBatchEntry as _, type ServiceCapability as a, FeeConfigSchema as a$, type ApiRewardsLeaderboardEntry as a0, type ApiRewardsLevel as a1, type ApiSearchCollectionResult as a2, type ApiSearchCreatorResult as a3, type ApiSearchResult as a4, type ApiSearchTokenResult as a5, type ApiToken as a6, type ApiTokenBalance as a7, type ApiTokenMetadata as a8, type ApiUsageDay as a9, type CreateCreatorCoinParams as aA, type CreateDropParams as aB, type
|
|
10302
|
+
export { type ApiRewardsConfig as $, ADMIN_HEADERS as A, type ApiCreatorProfile as B, type ApiIntent as C, type ApiIntentCreated as D, type ApiKeyStatus as E, type ApiMeta as F, type ApiMetadataSignedUrl as G, type ApiMetadataUpload as H, type ApiOrder as I, type ApiOrderConsideration as J, type ApiOrderOffer as K, type ApiOrderPrice as L, type ApiOrderTokenMeta as M, type ApiOrderTxHash as N, type ApiOrdersQuery as O, type ApiPointEvent as P, type ApiPortalKey as Q, type ApiPortalKeyCreated as R, type ServiceDefinition as S, type ApiPortalMe as T, type ApiPublicRemix as U, type ApiRemixOffer as V, type ApiRemixOfferPrice as W, type ApiRemixOffersQuery as X, type ApiResponse as Y, type ApiRewardsBadge as Z, type ApiRewardsBatchEntry as _, type ServiceCapability as a, FeeConfigSchema as a$, type ApiRewardsLeaderboardEntry as a0, type ApiRewardsLevel as a1, type ApiSearchCollectionResult as a2, type ApiSearchCreatorResult as a3, type ApiSearchResult as a4, type ApiSearchTokenResult as a5, type ApiToken as a6, type ApiTokenBalance as a7, type ApiTokenMetadata as a8, type ApiUsageDay as a9, type CreateCreatorCoinParams as aA, type CreateDropParams as aB, type CreateEventParams as aC, type CreateGrantOpts as aD, type CreateListing1155Params as aE, type CreateListingIntentParams as aF, type CreateListingParams as aG, type CreateMintIntentParams as aH, type CreatePopCollectionParams as aI, type CreateRemixOfferParams as aJ, type CreateSponsorshipOfferParams as aK, type CreateWebhookParams as aL, CreatorCoinFactoryABI as aM, type CreatorCoinPrice as aN, type CreatorCoinReceiptLike as aO, CreatorCoinService as aP, type DeployClubParams as aQ, type DeployCollectionParams as aR, DropCollectionABI as aS, DropFactoryABI as aT, type DropMintStatus as aU, DropService as aV, ERC1155CollectionService as aW, type EkuboLaunchParams as aX, type EkuboPoolParams as aY, type EnforcementDeclaration as aZ, type FeeConfig as a_, type ApiUserRewards as aa, type ApiUserWallet as ab, type ApiWebhookCreated as ac, type ApiWebhookEndpoint as ad, type AutoRemixOfferParams as ae, type BatchMintEditionParams as af, type BuildFeeCallParams as ag, MAX_SUPPLY as ah, MIN_SUPPLY as ai, type CancelOrder1155Params as aj, type CancelOrderIntentParams as ak, type CancelOrderParams as al, type Cancelation as am, type CartItem as an, type ChainFilter as ao, type ClaimConditions as ap, ClubService as aq, type CollectionSort as ar, type CollectionTokensSort as as, type ConfirmRemixOfferParams as at, type ConfirmSelfRemixParams as au, type ConsiderationItem as av, type CreateClubParams as aw, type CreateCollectionIntentParams as ax, type CreateCollectionParams as ay, type CreateCounterOfferIntentParams as az, ADMIN_SCOPE as b, StarknetVenue as b$, type FeeSurface as b0, type FulfillOrder1155Params as b1, type FulfillOrderIntentParams as b2, type FulfillOrderParams as b3, IPClubABI as b4, IPClubCollectionABI as b5, IPClubFactoryABI as b6, IPClubNFTABI as b7, IPCollection1155ABI as b8, IPCollection1155FactoryABI as b9, type MintEditionParams as bA, type MintParams as bB, type MintTicketsParams as bC, OPEN_LICENSES as bD, type OfferItem as bE, type OpenLicense as bF, type Order as bG, type OrderDetails as bH, type OrderParameters as bI, type OrderStatus as bJ, POPCollectionABI as bK, POPFactoryABI as bL, type ParsedAdminHeaders as bM, type PopBatchEligibilityItem as bN, type PopClaimStatus as bO, type PopEventType as bP, PopService as bQ, type RemixOfferStatus as bR, type RequestSiwsTokenArgs as bS, type ResolvedConfig as bT, type ResolvedFeeConfig as bU, type ResolvedOrder as bV, type RetryOptions as bW, type ServiceEventDeclaration as bX, type SiwsSigner as bY, type SortOrder as bZ, SponsorshipService as b_, IPCollectionABI as ba, IPGenesisABI as bb, IPMarketplaceABI as bc, IPNftABI as bd, IPSponsorshipABI as be, IPSponsorshipLicenseABI as bf, IPTicketCollectionABI as bg, IPTicketCollectionFactoryABI as bh, type IPType as bi, type IntentCall as bj, type IntentStatus as bk, type IntentType as bl, type IpAttribute as bm, type IpNftMetadata as bn, LAUNCH_PRICE_QUOTE_PER_COIN as bo, type MakeOffer1155Params as bp, type MakeOfferIntentParams as bq, type MakeOfferParams as br, MarketplaceModule as bs, Medialane1155ABI as bt, Medialane1155Module as bu, MedialaneApiError as bv, MedialaneClient as bw, type MedialaneConfig as bx, MedialaneError as by, type MedialaneErrorCode as bz, type ActivityType as c, type StarknetVenueDeps as c0, type StarknetVenueSigner as c1, type TenantPlan as c2, TicketService as c3, type TxResult as c4, VALIDATED_EKUBO_PARAMS as c5, type WebhookEventType as c6, type WebhookStatus as c7, adminRequestDigest as c8, build1155CancellationTypedData as c9, storeSiwsToken as cA, teamCoinsRaw as cB, validateName as cC, validateSupply as cD, validateSymbol as cE, verifyAdminRequestSig as cF, build1155OrderTypedData as ca, buildAdminSessionTypedData as cb, buildCancellationTypedData as cc, buildCreateCreatorCoinCall as cd, buildFeeCall as ce, buildLaunchOnEkuboCalls as cf, buildOrderTypedData as cg, buybackQuoteRaw as ch, toRaw as ci, createAdminSessionGrant as cj, encodeAdminHeaders as ck, encodeByteArray as cl, fdvHuman as cm, getCreatorCoinPrice as cn, getSiwsStorageKey as co, getStoredSiwsToken as cp, isSiwsTokenValid as cq, normalizeSiwsSignature as cr, parseAdminHeaders as cs, parseCreatorCoinCreated as ct, randomNonce as cu, requestSiwsToken as cv, resolveConfig as cw, resolveFeeConfig as cx, sessionKeyHashOf as cy, signAdminRequest as cz, type AddSupplyParams as d, type AdminGrant as e, type AdminRequest as f, type AdminRequestSig as g, type AdminSession as h, type AdminSessionTypedDataInput as i, type ApiActivitiesQuery as j, type ApiActivity as k, type ApiActivityPrice as l, type ApiAdminCollectionClaim as m, type ApiAppSource as n, type ApiChain as o, ApiClient as p, type ApiCoin as q, type ApiCoinsQuery as r, type ApiCollection as s, type ApiCollectionClaim as t, type ApiCollectionProfile as u, type ApiCollectionSlugClaim as v, type ApiCollectionsQuery as w, type ApiComment as x, type ApiCounterOffersQuery as y, type ApiCreatorListResult as z };
|