@medialane/sdk 0.60.0 → 0.62.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.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { C as Chain, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, h as VenueSigner } from './types-Bx3ax9lW.js';
2
+ import { C as Chain, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams } from './types-V6imkXvR.js';
3
3
  import { AccountInterface, constants, TypedData, Call, ProviderInterface } from 'starknet';
4
4
 
5
5
  interface RetryOptions {
@@ -1388,20 +1388,25 @@ interface CreateDropParams {
1388
1388
  maxSupply: bigint | string;
1389
1389
  initialConditions: ClaimConditions;
1390
1390
  }
1391
- interface CreateTicketCollectionParams {
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; must be in the future. */
1397
- expiration: number;
1398
- /** Basis points, 0-10000. */
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
- /** Required (non-zero) when price > 0; omit for free tickets. */
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
- /** Deploys a new IPTicketCollection via the factory. Caller becomes its owner. */
1804
- deployTicketCollection(account: AccountInterface, params: {
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 ticket collection (event/tier) inside the caller's deployed IPTicketCollection. */
1810
- createTicketCollection(account: AccountInterface, params: CreateTicketCollectionParams): Promise<TxResult>;
1811
- /** Owner-only. Gates minting only existing tickets keep access/transfer/redeem. */
1812
- setCollectionActive(account: AccountInterface, params: {
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
- collectionId: bigint | string;
1824
+ tokenId: bigint | string;
1815
1825
  active: boolean;
1816
1826
  }): Promise<TxResult>;
1817
- /** Mints a ticket. Prepends an ERC-20 approve when the collection is paid. */
1818
- mintTicket(account: AccountInterface, params: {
1827
+ /** Read true if holder has balance > 0 and current time is within the event window. */
1828
+ isValid(params: {
1819
1829
  collection: string;
1820
- collectionId: bigint | string;
1821
- paymentToken?: string;
1822
- price?: bigint | string;
1823
- }): Promise<TxResult>;
1824
- /** Only the current token owner may redeem. */
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<TxResult>;
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 {
@@ -1973,43 +1991,34 @@ interface ResolvedOrder {
1973
1991
  */
1974
1992
  interface StarknetVenueDeps {
1975
1993
  config: ResolvedConfig;
1976
- /** Read provider for building (counter/approval reads) and the post-tx receipt. */
1977
1994
  provider: ProviderInterface;
1978
- /** Resolve a registered order (payment token, per-unit price, venue) from its digest. */
1995
+ /** Resolve a registered order (payment token, total, venue) from its digest. */
1979
1996
  resolveOrder: (orderRef: OrderRef) => Promise<ResolvedOrder>;
1980
1997
  /** Resolve a collection's token standard (from the indexer). */
1981
1998
  resolveStandard: (contract: string) => Promise<"ERC721" | "ERC1155">;
1982
1999
  }
1983
2000
  /**
1984
- * First-class Starknet venue adapter. It orchestrates the marketplace protocol
1985
- * over the chain-neutral {@link StarknetVenueSigner} capability port: it *builds*
1986
- * typed data + calldata via the pure marketplace builders and *reads* chain state
1987
- * (counter, approvals, receipt) on `deps.provider`, but it never signs or executes
1988
- * itself — the app's signer does that (sign + submit + confirm). This is what lets
1989
- * a single adapter drive every wallet (injected/Cartridge/Privy) and the AVNU
1990
- * paymaster without knowing they differ.
2001
+ * First-class Starknet venue adapter. Wraps the maintained `MarketplaceModule`
2002
+ * (721) and `Medialane1155Module` (1155) it does not reimplement SNIP-12
2003
+ * signing or calldata. `Signer` is a starknet.js `AccountInterface`.
1991
2004
  */
1992
- declare class StarknetVenue implements VenueAdapter<StarknetVenueSigner> {
2005
+ declare class StarknetVenue implements VenueAdapter<AccountInterface> {
1993
2006
  private readonly deps;
1994
2007
  readonly chain: "STARKNET";
2008
+ private readonly m721;
2009
+ private readonly m1155;
1995
2010
  constructor(deps: StarknetVenueDeps);
1996
- incrementCounter(signer: StarknetVenueSigner): Promise<AdapterTxResult>;
2011
+ incrementCounter(signer: AccountInterface): Promise<AdapterTxResult>;
1997
2012
  getOrderDetails(orderRef: OrderRef): Promise<unknown>;
1998
2013
  getCounter(address: string): Promise<bigint>;
1999
- fulfillOrder(signer: StarknetVenueSigner, orderRef: OrderRef, opts?: {
2014
+ fulfillOrder(signer: AccountInterface, orderRef: OrderRef, opts?: {
2000
2015
  quantity?: string;
2001
2016
  } & Record<string, string | undefined>): Promise<AdapterTxResult>;
2002
- cancelOrder(signer: StarknetVenueSigner, orderRef: OrderRef): Promise<AdapterTxResult>;
2003
- registerOrder(signer: StarknetVenueSigner, p: RegisterOrderParams): Promise<AdapterTxResult & {
2017
+ cancelOrder(signer: AccountInterface, orderRef: OrderRef): Promise<AdapterTxResult>;
2018
+ registerOrder(signer: AccountInterface, p: RegisterOrderParams): Promise<AdapterTxResult & {
2004
2019
  orderRef: OrderRef;
2005
2020
  }>;
2006
- private readCounter;
2007
- /** 721 listing approval: `get_approved(tokenId) == marketplace` ⇒ no approve. */
2008
- private approval721ForListing;
2009
- /** 1155 listing approval: `is_approved_for_all(owner, marketplace)`. */
2010
- private approval1155ForListing;
2011
- /** Offers always approve the ERC-20 spend (no read). */
2012
- private approvalForErc20;
2021
+ private durationSeconds;
2013
2022
  /** The canonical Starknet order id = the contract-emitted `OrderCreated`
2014
2023
  * hash (`keys[1]`), which is exactly what the indexer stores. */
2015
2024
  private orderRefFromReceipt;
@@ -6039,21 +6048,8 @@ declare const CreatorCoinFactoryABI: readonly [{
6039
6048
 
6040
6049
  declare const IPTicketCollectionABI: readonly [{
6041
6050
  readonly type: "impl";
6042
- readonly name: "ERC721MetadataImpl";
6043
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
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
- }];
6051
+ readonly name: "ERC1155MetadataURIImpl";
6052
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
6057
6053
  }, {
6058
6054
  readonly type: "struct";
6059
6055
  readonly name: "core::integer::u256";
@@ -6065,48 +6061,26 @@ declare const IPTicketCollectionABI: readonly [{
6065
6061
  readonly type: "core::integer::u128";
6066
6062
  }];
6067
6063
  }, {
6068
- readonly type: "interface";
6069
- readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
6070
- readonly items: readonly [{
6071
- readonly type: "function";
6072
- readonly name: "name";
6073
- readonly inputs: readonly [];
6074
- readonly outputs: readonly [{
6075
- readonly type: "core::byte_array::ByteArray";
6076
- }];
6077
- readonly state_mutability: "view";
6064
+ readonly type: "struct";
6065
+ readonly name: "core::byte_array::ByteArray";
6066
+ readonly members: readonly [{
6067
+ readonly name: "data";
6068
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
6078
6069
  }, {
6079
- readonly type: "function";
6080
- readonly name: "symbol";
6081
- readonly inputs: readonly [];
6082
- readonly outputs: readonly [{
6083
- readonly type: "core::byte_array::ByteArray";
6084
- }];
6085
- readonly state_mutability: "view";
6070
+ readonly name: "pending_word";
6071
+ readonly type: "core::felt252";
6086
6072
  }, {
6087
- readonly type: "function";
6088
- readonly name: "token_uri";
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";
6073
+ readonly name: "pending_word_len";
6074
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
6097
6075
  }];
6098
- }, {
6099
- readonly type: "impl";
6100
- readonly name: "ERC721MetadataCamelOnlyImpl";
6101
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
6102
6076
  }, {
6103
6077
  readonly type: "interface";
6104
- readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
6078
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
6105
6079
  readonly items: readonly [{
6106
6080
  readonly type: "function";
6107
- readonly name: "tokenURI";
6081
+ readonly name: "uri";
6108
6082
  readonly inputs: readonly [{
6109
- readonly name: "tokenId";
6083
+ readonly name: "token_id";
6110
6084
  readonly type: "core::integer::u256";
6111
6085
  }];
6112
6086
  readonly outputs: readonly [{
@@ -6116,14 +6090,14 @@ declare const IPTicketCollectionABI: readonly [{
6116
6090
  }];
6117
6091
  }, {
6118
6092
  readonly type: "impl";
6119
- readonly name: "IPTicketImpl";
6093
+ readonly name: "IPTicketCollectionImpl";
6120
6094
  readonly interface_name: "ip_ticket::interface::IIPTicketCollection";
6121
6095
  }, {
6122
6096
  readonly type: "enum";
6123
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6097
+ readonly name: "core::option::Option::<core::integer::u64>";
6124
6098
  readonly variants: readonly [{
6125
6099
  readonly name: "Some";
6126
- readonly type: "core::starknet::contract_address::ContractAddress";
6100
+ readonly type: "core::integer::u64";
6127
6101
  }, {
6128
6102
  readonly name: "None";
6129
6103
  readonly type: "()";
@@ -6140,13 +6114,10 @@ declare const IPTicketCollectionABI: readonly [{
6140
6114
  }];
6141
6115
  }, {
6142
6116
  readonly type: "struct";
6143
- readonly name: "ip_ticket::types::TicketCollection";
6117
+ readonly name: "ip_ticket::types::EventRecord";
6144
6118
  readonly members: readonly [{
6145
6119
  readonly name: "creator";
6146
6120
  readonly type: "core::starknet::contract_address::ContractAddress";
6147
- }, {
6148
- readonly name: "price";
6149
- readonly type: "core::integer::u256";
6150
6121
  }, {
6151
6122
  readonly name: "max_supply";
6152
6123
  readonly type: "core::integer::u256";
@@ -6154,14 +6125,14 @@ declare const IPTicketCollectionABI: readonly [{
6154
6125
  readonly name: "minted";
6155
6126
  readonly type: "core::integer::u256";
6156
6127
  }, {
6157
- readonly name: "expiration";
6158
- readonly type: "core::integer::u64";
6128
+ readonly name: "start_time";
6129
+ readonly type: "core::option::Option::<core::integer::u64>";
6159
6130
  }, {
6160
- readonly name: "royalty_bps";
6161
- readonly type: "core::integer::u256";
6131
+ readonly name: "end_time";
6132
+ readonly type: "core::option::Option::<core::integer::u64>";
6162
6133
  }, {
6163
- readonly name: "payment_token";
6164
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6134
+ readonly name: "royalty_bps";
6135
+ readonly type: "core::integer::u16";
6165
6136
  }, {
6166
6137
  readonly name: "metadata_uri";
6167
6138
  readonly type: "core::byte_array::ByteArray";
@@ -6169,55 +6140,24 @@ declare const IPTicketCollectionABI: readonly [{
6169
6140
  readonly name: "active";
6170
6141
  readonly type: "core::bool";
6171
6142
  }];
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
6143
  }, {
6201
6144
  readonly type: "interface";
6202
6145
  readonly name: "ip_ticket::interface::IIPTicketCollection";
6203
6146
  readonly items: readonly [{
6204
6147
  readonly type: "function";
6205
- readonly name: "create_ticket_collection";
6148
+ readonly name: "create_event";
6206
6149
  readonly inputs: readonly [{
6207
- readonly name: "price";
6208
- readonly type: "core::integer::u256";
6209
- }, {
6210
6150
  readonly name: "max_supply";
6211
6151
  readonly type: "core::integer::u256";
6212
6152
  }, {
6213
- readonly name: "expiration";
6214
- readonly type: "core::integer::u64";
6153
+ readonly name: "start_time";
6154
+ readonly type: "core::option::Option::<core::integer::u64>";
6215
6155
  }, {
6216
- readonly name: "royalty_bps";
6217
- readonly type: "core::integer::u256";
6156
+ readonly name: "end_time";
6157
+ readonly type: "core::option::Option::<core::integer::u64>";
6218
6158
  }, {
6219
- readonly name: "payment_token";
6220
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6159
+ readonly name: "royalty_bps";
6160
+ readonly type: "core::integer::u16";
6221
6161
  }, {
6222
6162
  readonly name: "metadata_uri";
6223
6163
  readonly type: "core::byte_array::ByteArray";
@@ -6228,45 +6168,40 @@ declare const IPTicketCollectionABI: readonly [{
6228
6168
  readonly state_mutability: "external";
6229
6169
  }, {
6230
6170
  readonly type: "function";
6231
- readonly name: "set_collection_active";
6171
+ readonly name: "mint";
6232
6172
  readonly inputs: readonly [{
6233
- readonly name: "collection_id";
6234
- readonly type: "core::integer::u256";
6173
+ readonly name: "to";
6174
+ readonly type: "core::starknet::contract_address::ContractAddress";
6235
6175
  }, {
6236
- readonly name: "active";
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";
6176
+ readonly name: "token_id";
6246
6177
  readonly type: "core::integer::u256";
6247
- }];
6248
- readonly outputs: readonly [{
6178
+ }, {
6179
+ readonly name: "amount";
6249
6180
  readonly type: "core::integer::u256";
6250
6181
  }];
6182
+ readonly outputs: readonly [];
6251
6183
  readonly state_mutability: "external";
6252
6184
  }, {
6253
6185
  readonly type: "function";
6254
- readonly name: "redeem_ticket";
6186
+ readonly name: "pause_event";
6255
6187
  readonly inputs: readonly [{
6256
6188
  readonly name: "token_id";
6257
6189
  readonly type: "core::integer::u256";
6190
+ }, {
6191
+ readonly name: "active";
6192
+ readonly type: "core::bool";
6258
6193
  }];
6259
6194
  readonly outputs: readonly [];
6260
6195
  readonly state_mutability: "external";
6261
6196
  }, {
6262
6197
  readonly type: "function";
6263
- readonly name: "has_valid_ticket";
6198
+ readonly name: "is_valid";
6264
6199
  readonly inputs: readonly [{
6265
- readonly name: "user";
6266
- readonly type: "core::starknet::contract_address::ContractAddress";
6267
- }, {
6268
- readonly name: "collection_id";
6200
+ readonly name: "token_id";
6269
6201
  readonly type: "core::integer::u256";
6202
+ }, {
6203
+ readonly name: "holder";
6204
+ readonly type: "core::starknet::contract_address::ContractAddress";
6270
6205
  }];
6271
6206
  readonly outputs: readonly [{
6272
6207
  readonly type: "core::bool";
@@ -6274,70 +6209,32 @@ declare const IPTicketCollectionABI: readonly [{
6274
6209
  readonly state_mutability: "view";
6275
6210
  }, {
6276
6211
  readonly type: "function";
6277
- readonly name: "get_ticket_collection";
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";
6212
+ readonly name: "get_event";
6289
6213
  readonly inputs: readonly [{
6290
6214
  readonly name: "token_id";
6291
6215
  readonly type: "core::integer::u256";
6292
6216
  }];
6293
6217
  readonly outputs: readonly [{
6294
- readonly type: "ip_ticket::types::TicketData";
6218
+ readonly type: "ip_ticket::types::EventRecord";
6295
6219
  }];
6296
6220
  readonly state_mutability: "view";
6297
6221
  }, {
6298
6222
  readonly type: "function";
6299
- readonly name: "get_ticket_collection_id";
6223
+ readonly name: "royalty_info";
6300
6224
  readonly inputs: readonly [{
6301
6225
  readonly name: "token_id";
6302
6226
  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
6227
  }, {
6315
- readonly name: "collection_id";
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 [{
6228
+ readonly name: "sale_price";
6327
6229
  readonly type: "core::integer::u256";
6328
6230
  }];
6329
- readonly state_mutability: "view";
6330
- }, {
6331
- readonly type: "function";
6332
- readonly name: "total_supply";
6333
- readonly inputs: readonly [];
6334
6231
  readonly outputs: readonly [{
6335
- readonly type: "core::integer::u256";
6232
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
6336
6233
  }];
6337
6234
  readonly state_mutability: "view";
6338
6235
  }, {
6339
6236
  readonly type: "function";
6340
- readonly name: "royalty_info";
6237
+ readonly name: "royaltyInfo";
6341
6238
  readonly inputs: readonly [{
6342
6239
  readonly name: "token_id";
6343
6240
  readonly type: "core::integer::u256";
@@ -6351,23 +6248,31 @@ declare const IPTicketCollectionABI: readonly [{
6351
6248
  readonly state_mutability: "view";
6352
6249
  }, {
6353
6250
  readonly type: "function";
6354
- readonly name: "royaltyInfo";
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
- }];
6251
+ readonly name: "version";
6252
+ readonly inputs: readonly [];
6362
6253
  readonly outputs: readonly [{
6363
- readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
6254
+ readonly type: "core::byte_array::ByteArray";
6364
6255
  }];
6365
6256
  readonly state_mutability: "view";
6366
6257
  }];
6367
6258
  }, {
6368
6259
  readonly type: "impl";
6369
- readonly name: "ERC721Impl";
6370
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
6260
+ readonly name: "ERC1155Impl";
6261
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155";
6262
+ }, {
6263
+ readonly type: "struct";
6264
+ readonly name: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
6265
+ readonly members: readonly [{
6266
+ readonly name: "snapshot";
6267
+ readonly type: "@core::array::Array::<core::starknet::contract_address::ContractAddress>";
6268
+ }];
6269
+ }, {
6270
+ readonly type: "struct";
6271
+ readonly name: "core::array::Span::<core::integer::u256>";
6272
+ readonly members: readonly [{
6273
+ readonly name: "snapshot";
6274
+ readonly type: "@core::array::Array::<core::integer::u256>";
6275
+ }];
6371
6276
  }, {
6372
6277
  readonly type: "struct";
6373
6278
  readonly name: "core::array::Span::<core::felt252>";
@@ -6377,13 +6282,16 @@ declare const IPTicketCollectionABI: readonly [{
6377
6282
  }];
6378
6283
  }, {
6379
6284
  readonly type: "interface";
6380
- readonly name: "openzeppelin_token::erc721::interface::IERC721";
6285
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155";
6381
6286
  readonly items: readonly [{
6382
6287
  readonly type: "function";
6383
6288
  readonly name: "balance_of";
6384
6289
  readonly inputs: readonly [{
6385
6290
  readonly name: "account";
6386
6291
  readonly type: "core::starknet::contract_address::ContractAddress";
6292
+ }, {
6293
+ readonly name: "token_id";
6294
+ readonly type: "core::integer::u256";
6387
6295
  }];
6388
6296
  readonly outputs: readonly [{
6389
6297
  readonly type: "core::integer::u256";
@@ -6391,13 +6299,16 @@ declare const IPTicketCollectionABI: readonly [{
6391
6299
  readonly state_mutability: "view";
6392
6300
  }, {
6393
6301
  readonly type: "function";
6394
- readonly name: "owner_of";
6302
+ readonly name: "balance_of_batch";
6395
6303
  readonly inputs: readonly [{
6396
- readonly name: "token_id";
6397
- readonly type: "core::integer::u256";
6304
+ readonly name: "accounts";
6305
+ readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
6306
+ }, {
6307
+ readonly name: "token_ids";
6308
+ readonly type: "core::array::Span::<core::integer::u256>";
6398
6309
  }];
6399
6310
  readonly outputs: readonly [{
6400
- readonly type: "core::starknet::contract_address::ContractAddress";
6311
+ readonly type: "core::array::Span::<core::integer::u256>";
6401
6312
  }];
6402
6313
  readonly state_mutability: "view";
6403
6314
  }, {
@@ -6412,6 +6323,9 @@ declare const IPTicketCollectionABI: readonly [{
6412
6323
  }, {
6413
6324
  readonly name: "token_id";
6414
6325
  readonly type: "core::integer::u256";
6326
+ }, {
6327
+ readonly name: "value";
6328
+ readonly type: "core::integer::u256";
6415
6329
  }, {
6416
6330
  readonly name: "data";
6417
6331
  readonly type: "core::array::Span::<core::felt252>";
@@ -6420,7 +6334,7 @@ declare const IPTicketCollectionABI: readonly [{
6420
6334
  readonly state_mutability: "external";
6421
6335
  }, {
6422
6336
  readonly type: "function";
6423
- readonly name: "transfer_from";
6337
+ readonly name: "safe_batch_transfer_from";
6424
6338
  readonly inputs: readonly [{
6425
6339
  readonly name: "from";
6426
6340
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -6428,74 +6342,60 @@ declare const IPTicketCollectionABI: readonly [{
6428
6342
  readonly name: "to";
6429
6343
  readonly type: "core::starknet::contract_address::ContractAddress";
6430
6344
  }, {
6431
- readonly name: "token_id";
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";
6345
+ readonly name: "token_ids";
6346
+ readonly type: "core::array::Span::<core::integer::u256>";
6442
6347
  }, {
6443
- readonly name: "token_id";
6444
- readonly type: "core::integer::u256";
6348
+ readonly name: "values";
6349
+ readonly type: "core::array::Span::<core::integer::u256>";
6350
+ }, {
6351
+ readonly name: "data";
6352
+ readonly type: "core::array::Span::<core::felt252>";
6445
6353
  }];
6446
6354
  readonly outputs: readonly [];
6447
6355
  readonly state_mutability: "external";
6448
6356
  }, {
6449
6357
  readonly type: "function";
6450
- readonly name: "set_approval_for_all";
6358
+ readonly name: "is_approved_for_all";
6451
6359
  readonly inputs: readonly [{
6452
- readonly name: "operator";
6360
+ readonly name: "owner";
6453
6361
  readonly type: "core::starknet::contract_address::ContractAddress";
6454
6362
  }, {
6455
- readonly name: "approved";
6456
- readonly type: "core::bool";
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";
6363
+ readonly name: "operator";
6364
+ readonly type: "core::starknet::contract_address::ContractAddress";
6466
6365
  }];
6467
6366
  readonly outputs: readonly [{
6468
- readonly type: "core::starknet::contract_address::ContractAddress";
6367
+ readonly type: "core::bool";
6469
6368
  }];
6470
6369
  readonly state_mutability: "view";
6471
6370
  }, {
6472
6371
  readonly type: "function";
6473
- readonly name: "is_approved_for_all";
6372
+ readonly name: "set_approval_for_all";
6474
6373
  readonly inputs: readonly [{
6475
- readonly name: "owner";
6476
- readonly type: "core::starknet::contract_address::ContractAddress";
6477
- }, {
6478
6374
  readonly name: "operator";
6479
6375
  readonly type: "core::starknet::contract_address::ContractAddress";
6480
- }];
6481
- readonly outputs: readonly [{
6376
+ }, {
6377
+ readonly name: "approved";
6482
6378
  readonly type: "core::bool";
6483
6379
  }];
6484
- readonly state_mutability: "view";
6380
+ readonly outputs: readonly [];
6381
+ readonly state_mutability: "external";
6485
6382
  }];
6486
6383
  }, {
6487
6384
  readonly type: "impl";
6488
- readonly name: "ERC721CamelOnly";
6489
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
6385
+ readonly name: "ERC1155CamelImpl";
6386
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
6490
6387
  }, {
6491
6388
  readonly type: "interface";
6492
- readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
6389
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
6493
6390
  readonly items: readonly [{
6494
6391
  readonly type: "function";
6495
6392
  readonly name: "balanceOf";
6496
6393
  readonly inputs: readonly [{
6497
6394
  readonly name: "account";
6498
6395
  readonly type: "core::starknet::contract_address::ContractAddress";
6396
+ }, {
6397
+ readonly name: "tokenId";
6398
+ readonly type: "core::integer::u256";
6499
6399
  }];
6500
6400
  readonly outputs: readonly [{
6501
6401
  readonly type: "core::integer::u256";
@@ -6503,13 +6403,16 @@ declare const IPTicketCollectionABI: readonly [{
6503
6403
  readonly state_mutability: "view";
6504
6404
  }, {
6505
6405
  readonly type: "function";
6506
- readonly name: "ownerOf";
6406
+ readonly name: "balanceOfBatch";
6507
6407
  readonly inputs: readonly [{
6508
- readonly name: "tokenId";
6509
- readonly type: "core::integer::u256";
6408
+ readonly name: "accounts";
6409
+ readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
6410
+ }, {
6411
+ readonly name: "tokenIds";
6412
+ readonly type: "core::array::Span::<core::integer::u256>";
6510
6413
  }];
6511
6414
  readonly outputs: readonly [{
6512
- readonly type: "core::starknet::contract_address::ContractAddress";
6415
+ readonly type: "core::array::Span::<core::integer::u256>";
6513
6416
  }];
6514
6417
  readonly state_mutability: "view";
6515
6418
  }, {
@@ -6524,6 +6427,9 @@ declare const IPTicketCollectionABI: readonly [{
6524
6427
  }, {
6525
6428
  readonly name: "tokenId";
6526
6429
  readonly type: "core::integer::u256";
6430
+ }, {
6431
+ readonly name: "value";
6432
+ readonly type: "core::integer::u256";
6527
6433
  }, {
6528
6434
  readonly name: "data";
6529
6435
  readonly type: "core::array::Span::<core::felt252>";
@@ -6532,7 +6438,7 @@ declare const IPTicketCollectionABI: readonly [{
6532
6438
  readonly state_mutability: "external";
6533
6439
  }, {
6534
6440
  readonly type: "function";
6535
- readonly name: "transferFrom";
6441
+ readonly name: "safeBatchTransferFrom";
6536
6442
  readonly inputs: readonly [{
6537
6443
  readonly name: "from";
6538
6444
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -6540,48 +6446,43 @@ declare const IPTicketCollectionABI: readonly [{
6540
6446
  readonly name: "to";
6541
6447
  readonly type: "core::starknet::contract_address::ContractAddress";
6542
6448
  }, {
6543
- readonly name: "tokenId";
6544
- readonly type: "core::integer::u256";
6449
+ readonly name: "tokenIds";
6450
+ readonly type: "core::array::Span::<core::integer::u256>";
6451
+ }, {
6452
+ readonly name: "values";
6453
+ readonly type: "core::array::Span::<core::integer::u256>";
6454
+ }, {
6455
+ readonly name: "data";
6456
+ readonly type: "core::array::Span::<core::felt252>";
6545
6457
  }];
6546
6458
  readonly outputs: readonly [];
6547
6459
  readonly state_mutability: "external";
6548
6460
  }, {
6549
6461
  readonly type: "function";
6550
- readonly name: "setApprovalForAll";
6462
+ readonly name: "isApprovedForAll";
6551
6463
  readonly inputs: readonly [{
6552
- readonly name: "operator";
6464
+ readonly name: "owner";
6553
6465
  readonly type: "core::starknet::contract_address::ContractAddress";
6554
6466
  }, {
6555
- readonly name: "approved";
6556
- readonly type: "core::bool";
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";
6467
+ readonly name: "operator";
6468
+ readonly type: "core::starknet::contract_address::ContractAddress";
6566
6469
  }];
6567
6470
  readonly outputs: readonly [{
6568
- readonly type: "core::starknet::contract_address::ContractAddress";
6471
+ readonly type: "core::bool";
6569
6472
  }];
6570
6473
  readonly state_mutability: "view";
6571
6474
  }, {
6572
6475
  readonly type: "function";
6573
- readonly name: "isApprovedForAll";
6476
+ readonly name: "setApprovalForAll";
6574
6477
  readonly inputs: readonly [{
6575
- readonly name: "owner";
6576
- readonly type: "core::starknet::contract_address::ContractAddress";
6577
- }, {
6578
6478
  readonly name: "operator";
6579
6479
  readonly type: "core::starknet::contract_address::ContractAddress";
6580
- }];
6581
- readonly outputs: readonly [{
6480
+ }, {
6481
+ readonly name: "approved";
6582
6482
  readonly type: "core::bool";
6583
6483
  }];
6584
- readonly state_mutability: "view";
6484
+ readonly outputs: readonly [];
6485
+ readonly state_mutability: "external";
6585
6486
  }];
6586
6487
  }, {
6587
6488
  readonly type: "impl";
@@ -6663,9 +6564,13 @@ declare const IPTicketCollectionABI: readonly [{
6663
6564
  }];
6664
6565
  }, {
6665
6566
  readonly type: "event";
6666
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
6567
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
6667
6568
  readonly kind: "struct";
6668
6569
  readonly members: readonly [{
6570
+ readonly name: "operator";
6571
+ readonly type: "core::starknet::contract_address::ContractAddress";
6572
+ readonly kind: "key";
6573
+ }, {
6669
6574
  readonly name: "from";
6670
6575
  readonly type: "core::starknet::contract_address::ContractAddress";
6671
6576
  readonly kind: "key";
@@ -6674,30 +6579,42 @@ declare const IPTicketCollectionABI: readonly [{
6674
6579
  readonly type: "core::starknet::contract_address::ContractAddress";
6675
6580
  readonly kind: "key";
6676
6581
  }, {
6677
- readonly name: "token_id";
6582
+ readonly name: "id";
6678
6583
  readonly type: "core::integer::u256";
6679
- readonly kind: "key";
6584
+ readonly kind: "data";
6585
+ }, {
6586
+ readonly name: "value";
6587
+ readonly type: "core::integer::u256";
6588
+ readonly kind: "data";
6680
6589
  }];
6681
6590
  }, {
6682
6591
  readonly type: "event";
6683
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
6592
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
6684
6593
  readonly kind: "struct";
6685
6594
  readonly members: readonly [{
6686
- readonly name: "owner";
6595
+ readonly name: "operator";
6687
6596
  readonly type: "core::starknet::contract_address::ContractAddress";
6688
6597
  readonly kind: "key";
6689
6598
  }, {
6690
- readonly name: "approved";
6599
+ readonly name: "from";
6691
6600
  readonly type: "core::starknet::contract_address::ContractAddress";
6692
6601
  readonly kind: "key";
6693
6602
  }, {
6694
- readonly name: "token_id";
6695
- readonly type: "core::integer::u256";
6603
+ readonly name: "to";
6604
+ readonly type: "core::starknet::contract_address::ContractAddress";
6696
6605
  readonly kind: "key";
6606
+ }, {
6607
+ readonly name: "ids";
6608
+ readonly type: "core::array::Span::<core::integer::u256>";
6609
+ readonly kind: "data";
6610
+ }, {
6611
+ readonly name: "values";
6612
+ readonly type: "core::array::Span::<core::integer::u256>";
6613
+ readonly kind: "data";
6697
6614
  }];
6698
6615
  }, {
6699
6616
  readonly type: "event";
6700
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
6617
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
6701
6618
  readonly kind: "struct";
6702
6619
  readonly members: readonly [{
6703
6620
  readonly name: "owner";
@@ -6714,19 +6631,36 @@ declare const IPTicketCollectionABI: readonly [{
6714
6631
  }];
6715
6632
  }, {
6716
6633
  readonly type: "event";
6717
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
6634
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
6635
+ readonly kind: "struct";
6636
+ readonly members: readonly [{
6637
+ readonly name: "value";
6638
+ readonly type: "core::byte_array::ByteArray";
6639
+ readonly kind: "data";
6640
+ }, {
6641
+ readonly name: "id";
6642
+ readonly type: "core::integer::u256";
6643
+ readonly kind: "key";
6644
+ }];
6645
+ }, {
6646
+ readonly type: "event";
6647
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
6718
6648
  readonly kind: "enum";
6719
6649
  readonly variants: readonly [{
6720
- readonly name: "Transfer";
6721
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
6650
+ readonly name: "TransferSingle";
6651
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
6722
6652
  readonly kind: "nested";
6723
6653
  }, {
6724
- readonly name: "Approval";
6725
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
6654
+ readonly name: "TransferBatch";
6655
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
6726
6656
  readonly kind: "nested";
6727
6657
  }, {
6728
6658
  readonly name: "ApprovalForAll";
6729
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
6659
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
6660
+ readonly kind: "nested";
6661
+ }, {
6662
+ readonly name: "URI";
6663
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
6730
6664
  readonly kind: "nested";
6731
6665
  }];
6732
6666
  }, {
@@ -6775,35 +6709,23 @@ declare const IPTicketCollectionABI: readonly [{
6775
6709
  }];
6776
6710
  }, {
6777
6711
  readonly type: "event";
6778
- readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketCollectionCreated";
6712
+ readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::EventCreated";
6779
6713
  readonly kind: "struct";
6780
6714
  readonly members: readonly [{
6781
- readonly name: "collection_id";
6715
+ readonly name: "token_id";
6782
6716
  readonly type: "core::integer::u256";
6783
6717
  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
6718
  }, {
6793
6719
  readonly name: "max_supply";
6794
6720
  readonly type: "core::integer::u256";
6795
6721
  readonly kind: "data";
6796
6722
  }, {
6797
- readonly name: "expiration";
6798
- readonly type: "core::integer::u64";
6799
- readonly kind: "data";
6800
- }, {
6801
- readonly name: "royalty_bps";
6802
- readonly type: "core::integer::u256";
6723
+ readonly name: "start_time";
6724
+ readonly type: "core::option::Option::<core::integer::u64>";
6803
6725
  readonly kind: "data";
6804
6726
  }, {
6805
- readonly name: "payment_token";
6806
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6727
+ readonly name: "end_time";
6728
+ readonly type: "core::option::Option::<core::integer::u64>";
6807
6729
  readonly kind: "data";
6808
6730
  }, {
6809
6731
  readonly name: "metadata_uri";
@@ -6816,70 +6738,24 @@ declare const IPTicketCollectionABI: readonly [{
6816
6738
  }];
6817
6739
  }, {
6818
6740
  readonly type: "event";
6819
- readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::CollectionStatusUpdated";
6741
+ readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::EventPaused";
6820
6742
  readonly kind: "struct";
6821
6743
  readonly members: readonly [{
6822
- readonly name: "collection_id";
6744
+ readonly name: "token_id";
6823
6745
  readonly type: "core::integer::u256";
6824
6746
  readonly kind: "key";
6825
6747
  }, {
6826
6748
  readonly name: "active";
6827
6749
  readonly type: "core::bool";
6828
6750
  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
6751
  }];
6876
6752
  }, {
6877
6753
  readonly type: "event";
6878
6754
  readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::Event";
6879
6755
  readonly kind: "enum";
6880
6756
  readonly variants: readonly [{
6881
- readonly name: "ERC721Event";
6882
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
6757
+ readonly name: "ERC1155Event";
6758
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
6883
6759
  readonly kind: "flat";
6884
6760
  }, {
6885
6761
  readonly name: "SRC5Event";
@@ -6890,20 +6766,12 @@ declare const IPTicketCollectionABI: readonly [{
6890
6766
  readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
6891
6767
  readonly kind: "flat";
6892
6768
  }, {
6893
- readonly name: "TicketCollectionCreated";
6894
- readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketCollectionCreated";
6769
+ readonly name: "EventCreated";
6770
+ readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::EventCreated";
6895
6771
  readonly kind: "nested";
6896
6772
  }, {
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";
6903
- readonly kind: "nested";
6904
- }, {
6905
- readonly name: "TicketRedeemed";
6906
- readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketRedeemed";
6773
+ readonly name: "EventPaused";
6774
+ readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::EventPaused";
6907
6775
  readonly kind: "nested";
6908
6776
  }];
6909
6777
  }];
@@ -6946,7 +6814,7 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6946
6814
  readonly state_mutability: "view";
6947
6815
  }, {
6948
6816
  readonly type: "function";
6949
- readonly name: "deploy_ticket_collection";
6817
+ readonly name: "deploy_collection";
6950
6818
  readonly inputs: readonly [{
6951
6819
  readonly name: "name";
6952
6820
  readonly type: "core::byte_array::ByteArray";
@@ -6959,6 +6827,35 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6959
6827
  }];
6960
6828
  readonly state_mutability: "external";
6961
6829
  }];
6830
+ }, {
6831
+ readonly type: "impl";
6832
+ readonly name: "SRC5Impl";
6833
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
6834
+ }, {
6835
+ readonly type: "enum";
6836
+ readonly name: "core::bool";
6837
+ readonly variants: readonly [{
6838
+ readonly name: "False";
6839
+ readonly type: "()";
6840
+ }, {
6841
+ readonly name: "True";
6842
+ readonly type: "()";
6843
+ }];
6844
+ }, {
6845
+ readonly type: "interface";
6846
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
6847
+ readonly items: readonly [{
6848
+ readonly type: "function";
6849
+ readonly name: "supports_interface";
6850
+ readonly inputs: readonly [{
6851
+ readonly name: "interface_id";
6852
+ readonly type: "core::felt252";
6853
+ }];
6854
+ readonly outputs: readonly [{
6855
+ readonly type: "core::bool";
6856
+ }];
6857
+ readonly state_mutability: "view";
6858
+ }];
6962
6859
  }, {
6963
6860
  readonly type: "constructor";
6964
6861
  readonly name: "constructor";
@@ -6966,6 +6863,11 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6966
6863
  readonly name: "collection_class_hash";
6967
6864
  readonly type: "core::starknet::class_hash::ClassHash";
6968
6865
  }];
6866
+ }, {
6867
+ readonly type: "event";
6868
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
6869
+ readonly kind: "enum";
6870
+ readonly variants: readonly [];
6969
6871
  }, {
6970
6872
  readonly type: "event";
6971
6873
  readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
@@ -6992,6 +6894,10 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6992
6894
  readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::Event";
6993
6895
  readonly kind: "enum";
6994
6896
  readonly variants: readonly [{
6897
+ readonly name: "SRC5Event";
6898
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
6899
+ readonly kind: "flat";
6900
+ }, {
6995
6901
  readonly name: "CollectionDeployed";
6996
6902
  readonly type: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
6997
6903
  readonly kind: "nested";
@@ -10382,6 +10288,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
10382
10288
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
10383
10289
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
10384
10290
 
10385
- type StarknetVenueSigner = VenueSigner<TypedData, Call>;
10386
-
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 CreateGrantOpts as aC, type CreateListing1155Params as aD, type CreateListingIntentParams as aE, type CreateListingParams as aF, type CreateMintIntentParams as aG, type CreatePopCollectionParams as aH, type CreateRemixOfferParams as aI, type CreateSponsorshipOfferParams as aJ, type CreateTicketCollectionParams 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, type StarknetVenueDeps 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, OPEN_LICENSES as bC, type OfferItem as bD, type OpenLicense as bE, type Order as bF, type OrderDetails as bG, type OrderParameters as bH, type OrderStatus as bI, POPCollectionABI as bJ, POPFactoryABI as bK, type ParsedAdminHeaders as bL, type PopBatchEligibilityItem as bM, type PopClaimStatus as bN, type PopEventType as bO, PopService as bP, type RemixOfferStatus as bQ, type RequestSiwsTokenArgs as bR, type ResolvedConfig as bS, type ResolvedFeeConfig as bT, type ResolvedOrder as bU, type RetryOptions as bV, type ServiceEventDeclaration as bW, type SiwsSigner as bX, type SortOrder as bY, SponsorshipService as bZ, StarknetVenue 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 StarknetVenueSigner as c0, type TenantPlan as c1, TicketService as c2, type TxResult as c3, VALIDATED_EKUBO_PARAMS as c4, type WebhookEventType as c5, type WebhookStatus as c6, adminRequestDigest as c7, build1155CancellationTypedData as c8, build1155OrderTypedData as c9, teamCoinsRaw as cA, validateName as cB, validateSupply as cC, validateSymbol as cD, verifyAdminRequestSig as cE, buildAdminSessionTypedData as ca, buildCancellationTypedData as cb, buildCreateCreatorCoinCall as cc, buildFeeCall as cd, buildLaunchOnEkuboCalls as ce, buildOrderTypedData as cf, buybackQuoteRaw as cg, toRaw as ch, createAdminSessionGrant as ci, encodeAdminHeaders as cj, encodeByteArray as ck, fdvHuman as cl, getCreatorCoinPrice as cm, getSiwsStorageKey as cn, getStoredSiwsToken as co, isSiwsTokenValid as cp, normalizeSiwsSignature as cq, parseAdminHeaders as cr, parseCreatorCoinCreated as cs, randomNonce as ct, requestSiwsToken as cu, resolveConfig as cv, resolveFeeConfig as cw, sessionKeyHashOf as cx, signAdminRequest as cy, storeSiwsToken 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 };
10291
+ 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 TenantPlan as c1, TicketService as c2, type TxResult as c3, VALIDATED_EKUBO_PARAMS as c4, type WebhookEventType as c5, type WebhookStatus as c6, adminRequestDigest as c7, build1155CancellationTypedData as c8, build1155OrderTypedData as c9, teamCoinsRaw as cA, validateName as cB, validateSupply as cC, validateSymbol as cD, verifyAdminRequestSig as cE, buildAdminSessionTypedData as ca, buildCancellationTypedData as cb, buildCreateCreatorCoinCall as cc, buildFeeCall as cd, buildLaunchOnEkuboCalls as ce, buildOrderTypedData as cf, buybackQuoteRaw as cg, toRaw as ch, createAdminSessionGrant as ci, encodeAdminHeaders as cj, encodeByteArray as ck, fdvHuman as cl, getCreatorCoinPrice as cm, getSiwsStorageKey as cn, getStoredSiwsToken as co, isSiwsTokenValid as cp, normalizeSiwsSignature as cq, parseAdminHeaders as cr, parseCreatorCoinCreated as cs, randomNonce as ct, requestSiwsToken as cu, resolveConfig as cv, resolveFeeConfig as cw, sessionKeyHashOf as cx, signAdminRequest as cy, storeSiwsToken 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 };