@medialane/sdk 0.68.0 → 0.70.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-2x30q_6p.js';
2
+ import { C as Chain, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, h as VenueSigner } from './types-Du_-QoQ1.cjs';
3
3
  import { AccountInterface, Call, ProviderInterface, TypedData, constants } from 'starknet';
4
4
 
5
5
  interface RetryOptions {
@@ -1296,32 +1296,24 @@ interface MintTicketsParams {
1296
1296
  to: string;
1297
1297
  amount: bigint | string;
1298
1298
  }
1299
- interface CreateClubParams {
1300
- name: string;
1301
- symbol: string;
1302
- /** ipfs:// or ar:// only — enforced on-chain. */
1299
+ interface CreateMembershipParams {
1300
+ /** Address of the deployed IPClubCollection contract. */
1301
+ collection: string;
1302
+ maxSupply: bigint | string;
1303
+ /** Unix timestamp (seconds). Omit for "valid immediately". Gates membership, never minting. */
1304
+ startTime?: number;
1305
+ /** Unix timestamp (seconds). Omit for "lifetime membership". */
1306
+ endTime?: number;
1307
+ /** Basis points, 0–10000. */
1308
+ royaltyBps: number;
1309
+ /** ipfs:// or ar:// — enforced on-chain. */
1303
1310
  metadataUri: string;
1304
- maxMembers?: number;
1305
- /** Required (non-zero) with paymentToken set; omit for a free club. */
1306
- entryFee?: bigint | string;
1307
- paymentToken?: string;
1308
1311
  }
1309
- /** Factory-pattern deploy — one ERC-721 collection per creator. */
1310
- interface DeployClubParams {
1311
- name: string;
1312
- symbol: string;
1313
- /** ipfs:// base URI for the collection. */
1314
- baseUri: string;
1315
- /** Max token supply; defaults to u128 max (effectively unlimited). */
1316
- maxSupply?: bigint | string;
1317
- /** Entry fee in payment token units; 0 = free. */
1318
- entryFee?: bigint | string;
1319
- /** Required when entryFee > 0. */
1320
- paymentToken?: string;
1321
- /** Royalty in basis points (0–10 000). */
1322
- royaltyBps?: bigint | string;
1323
- /** Override factory address. */
1324
- factoryAddress?: string;
1312
+ interface MintMembershipsParams {
1313
+ collection: string;
1314
+ tokenId: bigint | string;
1315
+ to: string;
1316
+ amount: bigint | string;
1325
1317
  }
1326
1318
  interface CreateSponsorshipOfferParams {
1327
1319
  nftContract: string;
@@ -1684,6 +1676,10 @@ declare class TicketService {
1684
1676
  tokenId: bigint | string;
1685
1677
  holder: string;
1686
1678
  }): Promise<boolean>;
1679
+ /** Read — number of tickets created so far (ids are sequential from 1). */
1680
+ getTicketCount(params: {
1681
+ collection: string;
1682
+ }): Promise<bigint>;
1687
1683
  /** Read — returns the Ticket record for a token ID. */
1688
1684
  getTicket(params: {
1689
1685
  collection: string;
@@ -1691,50 +1687,55 @@ declare class TicketService {
1691
1687
  }): Promise<TicketRecord>;
1692
1688
  }
1693
1689
 
1690
+ interface MembershipRecord {
1691
+ maxSupply: bigint;
1692
+ minted: bigint;
1693
+ startTime: number | null;
1694
+ endTime: number | null;
1695
+ royaltyBps: number;
1696
+ metadataUri: string;
1697
+ }
1694
1698
  declare class ClubService {
1695
- private readonly registryAddress?;
1696
1699
  private readonly factoryAddress?;
1700
+ private readonly config;
1697
1701
  constructor(config: ResolvedConfig);
1698
- private _registry;
1699
1702
  private _factory;
1700
1703
  private _collection;
1701
- /** Deploy a new per-creator membership ERC-721 collection via the factory. */
1702
- deployClub(account: AccountInterface, params: DeployClubParams): Promise<TxResult>;
1703
- /** Owner-only pause or resume new mints on a club collection. */
1704
- setOpen(account: AccountInterface, params: {
1705
- collectionAddress: string;
1706
- open: boolean;
1707
- }): Promise<TxResult>;
1708
- /** Public mint — caller pays entry fee (if any) and receives the membership NFT. */
1709
- mintMembership(account: AccountInterface, params: {
1710
- collectionAddress: string;
1711
- to?: string;
1712
- entryFee?: bigint | string;
1713
- paymentToken?: string;
1714
- }): Promise<TxResult>;
1715
- /** @deprecated Use deployClub — the factory pattern replaced the registry. */
1716
- createClub(account: AccountInterface, params: CreateClubParams & {
1717
- registryAddress?: string;
1718
- }): Promise<TxResult>;
1719
- /** @deprecated Legacy registry — use factory-deployed collection methods. */
1720
- setClubOpen(account: AccountInterface, params: {
1721
- clubId: bigint | string;
1722
- open: boolean;
1723
- registryAddress?: string;
1724
- }): Promise<TxResult>;
1725
- /** @deprecated Legacy registry — use mintMembership with factory-deployed collections. */
1726
- joinClub(account: AccountInterface, params: {
1727
- clubId: bigint | string;
1728
- entryFee?: bigint | string;
1729
- paymentToken?: string;
1730
- registryAddress?: string;
1704
+ private _collectionRead;
1705
+ /**
1706
+ * Deploys a new IPClubCollection via the factory. Caller becomes owner.
1707
+ * `baseUri` is the collection-level metadata URI, embedded on-chain in the
1708
+ * deploy transaction.
1709
+ */
1710
+ deployCollection(account: AccountInterface, params: {
1711
+ name: string;
1712
+ symbol: string;
1713
+ baseUri: string;
1714
+ factoryAddress?: string;
1731
1715
  }): Promise<TxResult>;
1732
- /** @deprecated Legacy registry use factory-deployed collection burn. */
1733
- leaveClub(account: AccountInterface, params: {
1734
- clubId: bigint | string;
1716
+ /** Owner-only. Creates a new membership tier inside the caller's deployed collection. */
1717
+ createMembership(account: AccountInterface, params: CreateMembershipParams): Promise<TxResult>;
1718
+ /**
1719
+ * Owner-only. Mints `amount` of `tokenId` to `to`. The validity window
1720
+ * gates membership, never minting — future-window tiers mint fine.
1721
+ */
1722
+ mint(account: AccountInterface, params: MintMembershipsParams): Promise<TxResult>;
1723
+ /** Read — true if holder holds any tier currently inside its validity window. */
1724
+ isMember(params: {
1725
+ collection: string;
1726
+ holder: string;
1727
+ }): Promise<boolean>;
1728
+ /** Read — true if holder holds `tokenId` and the current time is inside its window. */
1729
+ isMemberOf(params: {
1730
+ collection: string;
1735
1731
  tokenId: bigint | string;
1736
- registryAddress?: string;
1737
- }): Promise<TxResult>;
1732
+ holder: string;
1733
+ }): Promise<boolean>;
1734
+ /** Read — returns the Membership record for a token ID. */
1735
+ getMembership(params: {
1736
+ collection: string;
1737
+ tokenId: bigint | string;
1738
+ }): Promise<MembershipRecord>;
1738
1739
  }
1739
1740
 
1740
1741
  interface SponsorshipOfferRecord {
@@ -6138,6 +6139,14 @@ declare const IPTicketCollectionABI: readonly [{
6138
6139
  readonly type: "ip_ticket::types::Ticket";
6139
6140
  }];
6140
6141
  readonly state_mutability: "view";
6142
+ }, {
6143
+ readonly type: "function";
6144
+ readonly name: "ticket_count";
6145
+ readonly inputs: readonly [];
6146
+ readonly outputs: readonly [{
6147
+ readonly type: "core::integer::u256";
6148
+ }];
6149
+ readonly state_mutability: "view";
6141
6150
  }, {
6142
6151
  readonly type: "function";
6143
6152
  readonly name: "name";
@@ -6837,10 +6846,10 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6837
6846
  }];
6838
6847
  }];
6839
6848
 
6840
- declare const IPClubABI: readonly [{
6849
+ declare const IPClubFactoryABI: readonly [{
6841
6850
  readonly type: "impl";
6842
- readonly name: "IPClubImpl";
6843
- readonly interface_name: "ip_club::interfaces::IIPClub::IIPClub";
6851
+ readonly name: "IPClubCollectionFactoryImpl";
6852
+ readonly interface_name: "ip_club::interface::IIPClubCollectionFactory";
6844
6853
  }, {
6845
6854
  readonly type: "struct";
6846
6855
  readonly name: "core::byte_array::ByteArray";
@@ -6854,181 +6863,57 @@ declare const IPClubABI: readonly [{
6854
6863
  readonly name: "pending_word_len";
6855
6864
  readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
6856
6865
  }];
6857
- }, {
6858
- readonly type: "enum";
6859
- readonly name: "core::option::Option::<core::integer::u32>";
6860
- readonly variants: readonly [{
6861
- readonly name: "Some";
6862
- readonly type: "core::integer::u32";
6863
- }, {
6864
- readonly name: "None";
6865
- readonly type: "()";
6866
- }];
6867
- }, {
6868
- readonly type: "struct";
6869
- readonly name: "core::integer::u256";
6870
- readonly members: readonly [{
6871
- readonly name: "low";
6872
- readonly type: "core::integer::u128";
6873
- }, {
6874
- readonly name: "high";
6875
- readonly type: "core::integer::u128";
6876
- }];
6877
- }, {
6878
- readonly type: "enum";
6879
- readonly name: "core::option::Option::<core::integer::u256>";
6880
- readonly variants: readonly [{
6881
- readonly name: "Some";
6882
- readonly type: "core::integer::u256";
6883
- }, {
6884
- readonly name: "None";
6885
- readonly type: "()";
6886
- }];
6887
- }, {
6888
- readonly type: "enum";
6889
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6890
- readonly variants: readonly [{
6891
- readonly name: "Some";
6892
- readonly type: "core::starknet::contract_address::ContractAddress";
6893
- }, {
6894
- readonly name: "None";
6895
- readonly type: "()";
6896
- }];
6897
- }, {
6898
- readonly type: "enum";
6899
- readonly name: "core::bool";
6900
- readonly variants: readonly [{
6901
- readonly name: "False";
6902
- readonly type: "()";
6903
- }, {
6904
- readonly name: "True";
6905
- readonly type: "()";
6906
- }];
6907
- }, {
6908
- readonly type: "struct";
6909
- readonly name: "ip_club::types::ClubRecord";
6910
- readonly members: readonly [{
6911
- readonly name: "creator";
6912
- readonly type: "core::starknet::contract_address::ContractAddress";
6913
- }, {
6914
- readonly name: "club_nft";
6915
- readonly type: "core::starknet::contract_address::ContractAddress";
6916
- }, {
6917
- readonly name: "open";
6918
- readonly type: "core::bool";
6919
- }, {
6920
- readonly name: "num_members";
6921
- readonly type: "core::integer::u32";
6922
- }, {
6923
- readonly name: "max_members";
6924
- readonly type: "core::option::Option::<core::integer::u32>";
6925
- }, {
6926
- readonly name: "entry_fee";
6927
- readonly type: "core::option::Option::<core::integer::u256>";
6928
- }, {
6929
- readonly name: "payment_token";
6930
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6931
- }];
6932
6866
  }, {
6933
6867
  readonly type: "interface";
6934
- readonly name: "ip_club::interfaces::IIPClub::IIPClub";
6868
+ readonly name: "ip_club::interface::IIPClubCollectionFactory";
6935
6869
  readonly items: readonly [{
6936
6870
  readonly type: "function";
6937
- readonly name: "create_club";
6938
- readonly inputs: readonly [{
6939
- readonly name: "name";
6940
- readonly type: "core::byte_array::ByteArray";
6941
- }, {
6942
- readonly name: "symbol";
6943
- readonly type: "core::byte_array::ByteArray";
6944
- }, {
6945
- readonly name: "metadata_uri";
6946
- readonly type: "core::byte_array::ByteArray";
6947
- }, {
6948
- readonly name: "max_members";
6949
- readonly type: "core::option::Option::<core::integer::u32>";
6950
- }, {
6951
- readonly name: "entry_fee";
6952
- readonly type: "core::option::Option::<core::integer::u256>";
6953
- }, {
6954
- readonly name: "payment_token";
6955
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6956
- }];
6871
+ readonly name: "collection_class_hash";
6872
+ readonly inputs: readonly [];
6957
6873
  readonly outputs: readonly [{
6958
- readonly type: "core::integer::u256";
6959
- }];
6960
- readonly state_mutability: "external";
6961
- }, {
6962
- readonly type: "function";
6963
- readonly name: "set_club_open";
6964
- readonly inputs: readonly [{
6965
- readonly name: "club_id";
6966
- readonly type: "core::integer::u256";
6967
- }, {
6968
- readonly name: "open";
6969
- readonly type: "core::bool";
6970
- }];
6971
- readonly outputs: readonly [];
6972
- readonly state_mutability: "external";
6973
- }, {
6974
- readonly type: "function";
6975
- readonly name: "join_club";
6976
- readonly inputs: readonly [{
6977
- readonly name: "club_id";
6978
- readonly type: "core::integer::u256";
6979
- }];
6980
- readonly outputs: readonly [];
6981
- readonly state_mutability: "external";
6982
- }, {
6983
- readonly type: "function";
6984
- readonly name: "leave_club";
6985
- readonly inputs: readonly [{
6986
- readonly name: "club_id";
6987
- readonly type: "core::integer::u256";
6988
- }, {
6989
- readonly name: "token_id";
6990
- readonly type: "core::integer::u256";
6874
+ readonly type: "core::starknet::class_hash::ClassHash";
6991
6875
  }];
6992
- readonly outputs: readonly [];
6993
- readonly state_mutability: "external";
6876
+ readonly state_mutability: "view";
6994
6877
  }, {
6995
6878
  readonly type: "function";
6996
- readonly name: "get_club_record";
6997
- readonly inputs: readonly [{
6998
- readonly name: "club_id";
6999
- readonly type: "core::integer::u256";
7000
- }];
6879
+ readonly name: "version";
6880
+ readonly inputs: readonly [];
7001
6881
  readonly outputs: readonly [{
7002
- readonly type: "ip_club::types::ClubRecord";
6882
+ readonly type: "core::byte_array::ByteArray";
7003
6883
  }];
7004
6884
  readonly state_mutability: "view";
7005
6885
  }, {
7006
6886
  readonly type: "function";
7007
- readonly name: "is_member";
6887
+ readonly name: "deploy_collection";
7008
6888
  readonly inputs: readonly [{
7009
- readonly name: "club_id";
7010
- readonly type: "core::integer::u256";
6889
+ readonly name: "name";
6890
+ readonly type: "core::byte_array::ByteArray";
7011
6891
  }, {
7012
- readonly name: "user";
7013
- readonly type: "core::starknet::contract_address::ContractAddress";
7014
- }];
7015
- readonly outputs: readonly [{
7016
- readonly type: "core::bool";
6892
+ readonly name: "symbol";
6893
+ readonly type: "core::byte_array::ByteArray";
6894
+ }, {
6895
+ readonly name: "base_uri";
6896
+ readonly type: "core::byte_array::ByteArray";
7017
6897
  }];
7018
- readonly state_mutability: "view";
7019
- }, {
7020
- readonly type: "function";
7021
- readonly name: "get_last_club_id";
7022
- readonly inputs: readonly [];
7023
6898
  readonly outputs: readonly [{
7024
- readonly type: "core::integer::u256";
6899
+ readonly type: "core::starknet::contract_address::ContractAddress";
7025
6900
  }];
7026
- readonly state_mutability: "view";
6901
+ readonly state_mutability: "external";
7027
6902
  }];
7028
6903
  }, {
7029
6904
  readonly type: "impl";
7030
6905
  readonly name: "SRC5Impl";
7031
6906
  readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
6907
+ }, {
6908
+ readonly type: "enum";
6909
+ readonly name: "core::bool";
6910
+ readonly variants: readonly [{
6911
+ readonly name: "False";
6912
+ readonly type: "()";
6913
+ }, {
6914
+ readonly name: "True";
6915
+ readonly type: "()";
6916
+ }];
7032
6917
  }, {
7033
6918
  readonly type: "interface";
7034
6919
  readonly name: "openzeppelin_introspection::interface::ISRC5";
@@ -7048,7 +6933,7 @@ declare const IPClubABI: readonly [{
7048
6933
  readonly type: "constructor";
7049
6934
  readonly name: "constructor";
7050
6935
  readonly inputs: readonly [{
7051
- readonly name: "ip_club_nft_class_hash";
6936
+ readonly name: "collection_class_hash";
7052
6937
  readonly type: "core::starknet::class_hash::ClassHash";
7053
6938
  }];
7054
6939
  }, {
@@ -7058,749 +6943,54 @@ declare const IPClubABI: readonly [{
7058
6943
  readonly variants: readonly [];
7059
6944
  }, {
7060
6945
  readonly type: "event";
7061
- readonly name: "ip_club::events::NewClubCreated";
6946
+ readonly name: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::ClubDeployed";
7062
6947
  readonly kind: "struct";
7063
6948
  readonly members: readonly [{
7064
- readonly name: "club_id";
7065
- readonly type: "core::integer::u256";
7066
- readonly kind: "key";
7067
- }, {
7068
- readonly name: "creator";
6949
+ readonly name: "collection_address";
7069
6950
  readonly type: "core::starknet::contract_address::ContractAddress";
7070
6951
  readonly kind: "key";
7071
6952
  }, {
7072
- readonly name: "club_nft";
6953
+ readonly name: "owner";
7073
6954
  readonly type: "core::starknet::contract_address::ContractAddress";
7074
- readonly kind: "data";
6955
+ readonly kind: "key";
7075
6956
  }, {
7076
- readonly name: "metadata_uri";
6957
+ readonly name: "name";
7077
6958
  readonly type: "core::byte_array::ByteArray";
7078
6959
  readonly kind: "data";
7079
6960
  }, {
7080
- readonly name: "timestamp";
7081
- readonly type: "core::integer::u64";
6961
+ readonly name: "symbol";
6962
+ readonly type: "core::byte_array::ByteArray";
7082
6963
  readonly kind: "data";
7083
6964
  }];
7084
6965
  }, {
7085
6966
  readonly type: "event";
7086
- readonly name: "ip_club::events::ClubStatusUpdated";
7087
- readonly kind: "struct";
7088
- readonly members: readonly [{
7089
- readonly name: "club_id";
7090
- readonly type: "core::integer::u256";
7091
- readonly kind: "key";
7092
- }, {
7093
- readonly name: "open";
7094
- readonly type: "core::bool";
7095
- readonly kind: "data";
6967
+ readonly name: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::Event";
6968
+ readonly kind: "enum";
6969
+ readonly variants: readonly [{
6970
+ readonly name: "SRC5Event";
6971
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
6972
+ readonly kind: "flat";
7096
6973
  }, {
7097
- readonly name: "timestamp";
7098
- readonly type: "core::integer::u64";
7099
- readonly kind: "data";
6974
+ readonly name: "ClubDeployed";
6975
+ readonly type: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::ClubDeployed";
6976
+ readonly kind: "nested";
7100
6977
  }];
6978
+ }];
6979
+
6980
+ declare const IPClubCollectionABI: readonly [{
6981
+ readonly type: "impl";
6982
+ readonly name: "ERC1155MetadataURIImpl";
6983
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
7101
6984
  }, {
7102
- readonly type: "event";
7103
- readonly name: "ip_club::events::NewMember";
7104
- readonly kind: "struct";
7105
- readonly members: readonly [{
7106
- readonly name: "club_id";
7107
- readonly type: "core::integer::u256";
7108
- readonly kind: "key";
7109
- }, {
7110
- readonly name: "member";
7111
- readonly type: "core::starknet::contract_address::ContractAddress";
7112
- readonly kind: "key";
7113
- }, {
7114
- readonly name: "timestamp";
7115
- readonly type: "core::integer::u64";
7116
- readonly kind: "data";
7117
- }];
7118
- }, {
7119
- readonly type: "event";
7120
- readonly name: "ip_club::events::MemberLeft";
7121
- readonly kind: "struct";
7122
- readonly members: readonly [{
7123
- readonly name: "club_id";
7124
- readonly type: "core::integer::u256";
7125
- readonly kind: "key";
7126
- }, {
7127
- readonly name: "member";
7128
- readonly type: "core::starknet::contract_address::ContractAddress";
7129
- readonly kind: "key";
7130
- }, {
7131
- readonly name: "timestamp";
7132
- readonly type: "core::integer::u64";
7133
- readonly kind: "data";
7134
- }];
7135
- }, {
7136
- readonly type: "event";
7137
- readonly name: "ip_club::IPClub::IPClub::Event";
7138
- readonly kind: "enum";
7139
- readonly variants: readonly [{
7140
- readonly name: "SRC5Event";
7141
- readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7142
- readonly kind: "flat";
7143
- }, {
7144
- readonly name: "NewClubCreated";
7145
- readonly type: "ip_club::events::NewClubCreated";
7146
- readonly kind: "nested";
7147
- }, {
7148
- readonly name: "ClubStatusUpdated";
7149
- readonly type: "ip_club::events::ClubStatusUpdated";
7150
- readonly kind: "nested";
7151
- }, {
7152
- readonly name: "NewMember";
7153
- readonly type: "ip_club::events::NewMember";
7154
- readonly kind: "nested";
7155
- }, {
7156
- readonly name: "MemberLeft";
7157
- readonly type: "ip_club::events::MemberLeft";
7158
- readonly kind: "nested";
7159
- }];
7160
- }];
7161
-
7162
- declare const IPClubNFTABI: readonly [{
7163
- readonly type: "impl";
7164
- readonly name: "IIPClubNFTImpl";
7165
- readonly interface_name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
7166
- }, {
7167
- readonly type: "struct";
7168
- readonly name: "core::integer::u256";
7169
- readonly members: readonly [{
7170
- readonly name: "low";
7171
- readonly type: "core::integer::u128";
7172
- }, {
7173
- readonly name: "high";
7174
- readonly type: "core::integer::u128";
7175
- }];
7176
- }, {
7177
- readonly type: "enum";
7178
- readonly name: "core::bool";
7179
- readonly variants: readonly [{
7180
- readonly name: "False";
7181
- readonly type: "()";
7182
- }, {
7183
- readonly name: "True";
7184
- readonly type: "()";
7185
- }];
7186
- }, {
7187
- readonly type: "interface";
7188
- readonly name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
7189
- readonly items: readonly [{
7190
- readonly type: "function";
7191
- readonly name: "mint";
7192
- readonly inputs: readonly [{
7193
- readonly name: "recipient";
7194
- readonly type: "core::starknet::contract_address::ContractAddress";
7195
- }];
7196
- readonly outputs: readonly [];
7197
- readonly state_mutability: "external";
7198
- }, {
7199
- readonly type: "function";
7200
- readonly name: "burn";
7201
- readonly inputs: readonly [{
7202
- readonly name: "member";
7203
- readonly type: "core::starknet::contract_address::ContractAddress";
7204
- }, {
7205
- readonly name: "token_id";
7206
- readonly type: "core::integer::u256";
7207
- }];
7208
- readonly outputs: readonly [];
7209
- readonly state_mutability: "external";
7210
- }, {
7211
- readonly type: "function";
7212
- readonly name: "has_nft";
7213
- readonly inputs: readonly [{
7214
- readonly name: "user";
7215
- readonly type: "core::starknet::contract_address::ContractAddress";
7216
- }];
7217
- readonly outputs: readonly [{
7218
- readonly type: "core::bool";
7219
- }];
7220
- readonly state_mutability: "view";
7221
- }, {
7222
- readonly type: "function";
7223
- readonly name: "get_nft_creator";
7224
- readonly inputs: readonly [];
7225
- readonly outputs: readonly [{
7226
- readonly type: "core::starknet::contract_address::ContractAddress";
7227
- }];
7228
- readonly state_mutability: "view";
7229
- }, {
7230
- readonly type: "function";
7231
- readonly name: "get_ip_club_manager";
7232
- readonly inputs: readonly [];
7233
- readonly outputs: readonly [{
7234
- readonly type: "core::starknet::contract_address::ContractAddress";
7235
- }];
7236
- readonly state_mutability: "view";
7237
- }, {
7238
- readonly type: "function";
7239
- readonly name: "get_associated_club_id";
7240
- readonly inputs: readonly [];
7241
- readonly outputs: readonly [{
7242
- readonly type: "core::integer::u256";
7243
- }];
7244
- readonly state_mutability: "view";
7245
- }, {
7246
- readonly type: "function";
7247
- readonly name: "get_last_minted_id";
7248
- readonly inputs: readonly [];
7249
- readonly outputs: readonly [{
7250
- readonly type: "core::integer::u256";
7251
- }];
7252
- readonly state_mutability: "view";
7253
- }];
7254
- }, {
7255
- readonly type: "impl";
7256
- readonly name: "ERC721MixinImpl";
7257
- readonly interface_name: "openzeppelin_token::erc721::interface::ERC721ABI";
7258
- }, {
7259
- readonly type: "struct";
7260
- readonly name: "core::array::Span::<core::felt252>";
7261
- readonly members: readonly [{
7262
- readonly name: "snapshot";
7263
- readonly type: "@core::array::Array::<core::felt252>";
7264
- }];
7265
- }, {
7266
- readonly type: "struct";
7267
- readonly name: "core::byte_array::ByteArray";
7268
- readonly members: readonly [{
7269
- readonly name: "data";
7270
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7271
- }, {
7272
- readonly name: "pending_word";
7273
- readonly type: "core::felt252";
7274
- }, {
7275
- readonly name: "pending_word_len";
7276
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7277
- }];
7278
- }, {
7279
- readonly type: "interface";
7280
- readonly name: "openzeppelin_token::erc721::interface::ERC721ABI";
7281
- readonly items: readonly [{
7282
- readonly type: "function";
7283
- readonly name: "balance_of";
7284
- readonly inputs: readonly [{
7285
- readonly name: "account";
7286
- readonly type: "core::starknet::contract_address::ContractAddress";
7287
- }];
7288
- readonly outputs: readonly [{
7289
- readonly type: "core::integer::u256";
7290
- }];
7291
- readonly state_mutability: "view";
7292
- }, {
7293
- readonly type: "function";
7294
- readonly name: "owner_of";
7295
- readonly inputs: readonly [{
7296
- readonly name: "token_id";
7297
- readonly type: "core::integer::u256";
7298
- }];
7299
- readonly outputs: readonly [{
7300
- readonly type: "core::starknet::contract_address::ContractAddress";
7301
- }];
7302
- readonly state_mutability: "view";
7303
- }, {
7304
- readonly type: "function";
7305
- readonly name: "safe_transfer_from";
7306
- readonly inputs: readonly [{
7307
- readonly name: "from";
7308
- readonly type: "core::starknet::contract_address::ContractAddress";
7309
- }, {
7310
- readonly name: "to";
7311
- readonly type: "core::starknet::contract_address::ContractAddress";
7312
- }, {
7313
- readonly name: "token_id";
7314
- readonly type: "core::integer::u256";
7315
- }, {
7316
- readonly name: "data";
7317
- readonly type: "core::array::Span::<core::felt252>";
7318
- }];
7319
- readonly outputs: readonly [];
7320
- readonly state_mutability: "external";
7321
- }, {
7322
- readonly type: "function";
7323
- readonly name: "transfer_from";
7324
- readonly inputs: readonly [{
7325
- readonly name: "from";
7326
- readonly type: "core::starknet::contract_address::ContractAddress";
7327
- }, {
7328
- readonly name: "to";
7329
- readonly type: "core::starknet::contract_address::ContractAddress";
7330
- }, {
7331
- readonly name: "token_id";
7332
- readonly type: "core::integer::u256";
7333
- }];
7334
- readonly outputs: readonly [];
7335
- readonly state_mutability: "external";
7336
- }, {
7337
- readonly type: "function";
7338
- readonly name: "approve";
7339
- readonly inputs: readonly [{
7340
- readonly name: "to";
7341
- readonly type: "core::starknet::contract_address::ContractAddress";
7342
- }, {
7343
- readonly name: "token_id";
7344
- readonly type: "core::integer::u256";
7345
- }];
7346
- readonly outputs: readonly [];
7347
- readonly state_mutability: "external";
7348
- }, {
7349
- readonly type: "function";
7350
- readonly name: "set_approval_for_all";
7351
- readonly inputs: readonly [{
7352
- readonly name: "operator";
7353
- readonly type: "core::starknet::contract_address::ContractAddress";
7354
- }, {
7355
- readonly name: "approved";
7356
- readonly type: "core::bool";
7357
- }];
7358
- readonly outputs: readonly [];
7359
- readonly state_mutability: "external";
7360
- }, {
7361
- readonly type: "function";
7362
- readonly name: "get_approved";
7363
- readonly inputs: readonly [{
7364
- readonly name: "token_id";
7365
- readonly type: "core::integer::u256";
7366
- }];
7367
- readonly outputs: readonly [{
7368
- readonly type: "core::starknet::contract_address::ContractAddress";
7369
- }];
7370
- readonly state_mutability: "view";
7371
- }, {
7372
- readonly type: "function";
7373
- readonly name: "is_approved_for_all";
7374
- readonly inputs: readonly [{
7375
- readonly name: "owner";
7376
- readonly type: "core::starknet::contract_address::ContractAddress";
7377
- }, {
7378
- readonly name: "operator";
7379
- readonly type: "core::starknet::contract_address::ContractAddress";
7380
- }];
7381
- readonly outputs: readonly [{
7382
- readonly type: "core::bool";
7383
- }];
7384
- readonly state_mutability: "view";
7385
- }, {
7386
- readonly type: "function";
7387
- readonly name: "supports_interface";
7388
- readonly inputs: readonly [{
7389
- readonly name: "interface_id";
7390
- readonly type: "core::felt252";
7391
- }];
7392
- readonly outputs: readonly [{
7393
- readonly type: "core::bool";
7394
- }];
7395
- readonly state_mutability: "view";
7396
- }, {
7397
- readonly type: "function";
7398
- readonly name: "name";
7399
- readonly inputs: readonly [];
7400
- readonly outputs: readonly [{
7401
- readonly type: "core::byte_array::ByteArray";
7402
- }];
7403
- readonly state_mutability: "view";
7404
- }, {
7405
- readonly type: "function";
7406
- readonly name: "symbol";
7407
- readonly inputs: readonly [];
7408
- readonly outputs: readonly [{
7409
- readonly type: "core::byte_array::ByteArray";
7410
- }];
7411
- readonly state_mutability: "view";
7412
- }, {
7413
- readonly type: "function";
7414
- readonly name: "token_uri";
7415
- readonly inputs: readonly [{
7416
- readonly name: "token_id";
7417
- readonly type: "core::integer::u256";
7418
- }];
7419
- readonly outputs: readonly [{
7420
- readonly type: "core::byte_array::ByteArray";
7421
- }];
7422
- readonly state_mutability: "view";
7423
- }, {
7424
- readonly type: "function";
7425
- readonly name: "balanceOf";
7426
- readonly inputs: readonly [{
7427
- readonly name: "account";
7428
- readonly type: "core::starknet::contract_address::ContractAddress";
7429
- }];
7430
- readonly outputs: readonly [{
7431
- readonly type: "core::integer::u256";
7432
- }];
7433
- readonly state_mutability: "view";
7434
- }, {
7435
- readonly type: "function";
7436
- readonly name: "ownerOf";
7437
- readonly inputs: readonly [{
7438
- readonly name: "tokenId";
7439
- readonly type: "core::integer::u256";
7440
- }];
7441
- readonly outputs: readonly [{
7442
- readonly type: "core::starknet::contract_address::ContractAddress";
7443
- }];
7444
- readonly state_mutability: "view";
7445
- }, {
7446
- readonly type: "function";
7447
- readonly name: "safeTransferFrom";
7448
- readonly inputs: readonly [{
7449
- readonly name: "from";
7450
- readonly type: "core::starknet::contract_address::ContractAddress";
7451
- }, {
7452
- readonly name: "to";
7453
- readonly type: "core::starknet::contract_address::ContractAddress";
7454
- }, {
7455
- readonly name: "tokenId";
7456
- readonly type: "core::integer::u256";
7457
- }, {
7458
- readonly name: "data";
7459
- readonly type: "core::array::Span::<core::felt252>";
7460
- }];
7461
- readonly outputs: readonly [];
7462
- readonly state_mutability: "external";
7463
- }, {
7464
- readonly type: "function";
7465
- readonly name: "transferFrom";
7466
- readonly inputs: readonly [{
7467
- readonly name: "from";
7468
- readonly type: "core::starknet::contract_address::ContractAddress";
7469
- }, {
7470
- readonly name: "to";
7471
- readonly type: "core::starknet::contract_address::ContractAddress";
7472
- }, {
7473
- readonly name: "tokenId";
7474
- readonly type: "core::integer::u256";
7475
- }];
7476
- readonly outputs: readonly [];
7477
- readonly state_mutability: "external";
7478
- }, {
7479
- readonly type: "function";
7480
- readonly name: "setApprovalForAll";
7481
- readonly inputs: readonly [{
7482
- readonly name: "operator";
7483
- readonly type: "core::starknet::contract_address::ContractAddress";
7484
- }, {
7485
- readonly name: "approved";
7486
- readonly type: "core::bool";
7487
- }];
7488
- readonly outputs: readonly [];
7489
- readonly state_mutability: "external";
7490
- }, {
7491
- readonly type: "function";
7492
- readonly name: "getApproved";
7493
- readonly inputs: readonly [{
7494
- readonly name: "tokenId";
7495
- readonly type: "core::integer::u256";
7496
- }];
7497
- readonly outputs: readonly [{
7498
- readonly type: "core::starknet::contract_address::ContractAddress";
7499
- }];
7500
- readonly state_mutability: "view";
7501
- }, {
7502
- readonly type: "function";
7503
- readonly name: "isApprovedForAll";
7504
- readonly inputs: readonly [{
7505
- readonly name: "owner";
7506
- readonly type: "core::starknet::contract_address::ContractAddress";
7507
- }, {
7508
- readonly name: "operator";
7509
- readonly type: "core::starknet::contract_address::ContractAddress";
7510
- }];
7511
- readonly outputs: readonly [{
7512
- readonly type: "core::bool";
7513
- }];
7514
- readonly state_mutability: "view";
7515
- }, {
7516
- readonly type: "function";
7517
- readonly name: "tokenURI";
7518
- readonly inputs: readonly [{
7519
- readonly name: "tokenId";
7520
- readonly type: "core::integer::u256";
7521
- }];
7522
- readonly outputs: readonly [{
7523
- readonly type: "core::byte_array::ByteArray";
7524
- }];
7525
- readonly state_mutability: "view";
7526
- }];
7527
- }, {
7528
- readonly type: "constructor";
7529
- readonly name: "constructor";
7530
- readonly inputs: readonly [{
7531
- readonly name: "name";
7532
- readonly type: "core::byte_array::ByteArray";
7533
- }, {
7534
- readonly name: "symbol";
7535
- readonly type: "core::byte_array::ByteArray";
7536
- }, {
7537
- readonly name: "club_id";
7538
- readonly type: "core::integer::u256";
7539
- }, {
7540
- readonly name: "creator";
7541
- readonly type: "core::starknet::contract_address::ContractAddress";
7542
- }, {
7543
- readonly name: "ip_club_manager";
7544
- readonly type: "core::starknet::contract_address::ContractAddress";
7545
- }, {
7546
- readonly name: "metadata_uri";
7547
- readonly type: "core::byte_array::ByteArray";
7548
- }];
7549
- }, {
7550
- readonly type: "event";
7551
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7552
- readonly kind: "struct";
7553
- readonly members: readonly [{
7554
- readonly name: "from";
7555
- readonly type: "core::starknet::contract_address::ContractAddress";
7556
- readonly kind: "key";
7557
- }, {
7558
- readonly name: "to";
7559
- readonly type: "core::starknet::contract_address::ContractAddress";
7560
- readonly kind: "key";
7561
- }, {
7562
- readonly name: "token_id";
7563
- readonly type: "core::integer::u256";
7564
- readonly kind: "key";
7565
- }];
7566
- }, {
7567
- readonly type: "event";
7568
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7569
- readonly kind: "struct";
7570
- readonly members: readonly [{
7571
- readonly name: "owner";
7572
- readonly type: "core::starknet::contract_address::ContractAddress";
7573
- readonly kind: "key";
7574
- }, {
7575
- readonly name: "approved";
7576
- readonly type: "core::starknet::contract_address::ContractAddress";
7577
- readonly kind: "key";
7578
- }, {
7579
- readonly name: "token_id";
7580
- readonly type: "core::integer::u256";
7581
- readonly kind: "key";
7582
- }];
7583
- }, {
7584
- readonly type: "event";
7585
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7586
- readonly kind: "struct";
7587
- readonly members: readonly [{
7588
- readonly name: "owner";
7589
- readonly type: "core::starknet::contract_address::ContractAddress";
7590
- readonly kind: "key";
7591
- }, {
7592
- readonly name: "operator";
7593
- readonly type: "core::starknet::contract_address::ContractAddress";
7594
- readonly kind: "key";
7595
- }, {
7596
- readonly name: "approved";
7597
- readonly type: "core::bool";
7598
- readonly kind: "data";
7599
- }];
7600
- }, {
7601
- readonly type: "event";
7602
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7603
- readonly kind: "enum";
7604
- readonly variants: readonly [{
7605
- readonly name: "Transfer";
7606
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7607
- readonly kind: "nested";
7608
- }, {
7609
- readonly name: "Approval";
7610
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7611
- readonly kind: "nested";
7612
- }, {
7613
- readonly name: "ApprovalForAll";
7614
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7615
- readonly kind: "nested";
7616
- }];
7617
- }, {
7618
- readonly type: "event";
7619
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7620
- readonly kind: "enum";
7621
- readonly variants: readonly [];
7622
- }, {
7623
- readonly type: "event";
7624
- readonly name: "ip_club::IPClubNFT::IPClubNFT::Event";
7625
- readonly kind: "enum";
7626
- readonly variants: readonly [{
7627
- readonly name: "ERC721Event";
7628
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7629
- readonly kind: "flat";
7630
- }, {
7631
- readonly name: "SRC5Event";
7632
- readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7633
- readonly kind: "flat";
7634
- }];
7635
- }];
7636
-
7637
- declare const IPClubFactoryABI: readonly [{
7638
- readonly type: "impl";
7639
- readonly name: "IPClubFactoryImpl";
7640
- readonly interface_name: "ip_club::interface::IIPClubFactory";
7641
- }, {
7642
- readonly type: "struct";
7643
- readonly name: "core::byte_array::ByteArray";
7644
- readonly members: readonly [{
7645
- readonly name: "data";
7646
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7647
- }, {
7648
- readonly name: "pending_word";
7649
- readonly type: "core::felt252";
7650
- }, {
7651
- readonly name: "pending_word_len";
7652
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7653
- }];
7654
- }, {
7655
- readonly type: "struct";
7656
- readonly name: "core::integer::u256";
7657
- readonly members: readonly [{
7658
- readonly name: "low";
7659
- readonly type: "core::integer::u128";
7660
- }, {
7661
- readonly name: "high";
7662
- readonly type: "core::integer::u128";
7663
- }];
7664
- }, {
7665
- readonly type: "enum";
7666
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7667
- readonly variants: readonly [{
7668
- readonly name: "Some";
7669
- readonly type: "core::starknet::contract_address::ContractAddress";
7670
- }, {
7671
- readonly name: "None";
7672
- readonly type: "()";
7673
- }];
7674
- }, {
7675
- readonly type: "interface";
7676
- readonly name: "ip_club::interface::IIPClubFactory";
7677
- readonly items: readonly [{
7678
- readonly type: "function";
7679
- readonly name: "collection_class_hash";
7680
- readonly inputs: readonly [];
7681
- readonly outputs: readonly [{
7682
- readonly type: "core::starknet::class_hash::ClassHash";
7683
- }];
7684
- readonly state_mutability: "view";
7685
- }, {
7686
- readonly type: "function";
7687
- readonly name: "version";
7688
- readonly inputs: readonly [];
7689
- readonly outputs: readonly [{
7690
- readonly type: "core::byte_array::ByteArray";
7691
- }];
7692
- readonly state_mutability: "view";
7693
- }, {
7694
- readonly type: "function";
7695
- readonly name: "deploy_club";
7696
- readonly inputs: readonly [{
7697
- readonly name: "name";
7698
- readonly type: "core::byte_array::ByteArray";
7699
- }, {
7700
- readonly name: "symbol";
7701
- readonly type: "core::byte_array::ByteArray";
7702
- }, {
7703
- readonly name: "base_uri";
7704
- readonly type: "core::byte_array::ByteArray";
7705
- }, {
7706
- readonly name: "max_supply";
7707
- readonly type: "core::integer::u256";
7708
- }, {
7709
- readonly name: "entry_fee";
7710
- readonly type: "core::integer::u256";
7711
- }, {
7712
- readonly name: "payment_token";
7713
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7714
- }, {
7715
- readonly name: "royalty_bps";
7716
- readonly type: "core::integer::u256";
7717
- }];
7718
- readonly outputs: readonly [{
7719
- readonly type: "core::starknet::contract_address::ContractAddress";
7720
- }];
7721
- readonly state_mutability: "external";
7722
- }];
7723
- }, {
7724
- readonly type: "impl";
7725
- readonly name: "SRC5Impl";
7726
- readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
7727
- }, {
7728
- readonly type: "enum";
7729
- readonly name: "core::bool";
7730
- readonly variants: readonly [{
7731
- readonly name: "False";
7732
- readonly type: "()";
7733
- }, {
7734
- readonly name: "True";
7735
- readonly type: "()";
7736
- }];
7737
- }, {
7738
- readonly type: "interface";
7739
- readonly name: "openzeppelin_introspection::interface::ISRC5";
7740
- readonly items: readonly [{
7741
- readonly type: "function";
7742
- readonly name: "supports_interface";
7743
- readonly inputs: readonly [{
7744
- readonly name: "interface_id";
7745
- readonly type: "core::felt252";
7746
- }];
7747
- readonly outputs: readonly [{
7748
- readonly type: "core::bool";
7749
- }];
7750
- readonly state_mutability: "view";
7751
- }];
7752
- }, {
7753
- readonly type: "constructor";
7754
- readonly name: "constructor";
7755
- readonly inputs: readonly [{
7756
- readonly name: "collection_class_hash";
7757
- readonly type: "core::starknet::class_hash::ClassHash";
7758
- }];
7759
- }, {
7760
- readonly type: "event";
7761
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7762
- readonly kind: "enum";
7763
- readonly variants: readonly [];
7764
- }, {
7765
- readonly type: "event";
7766
- readonly name: "ip_club::IPClubFactory::IPClubFactory::ClubDeployed";
7767
- readonly kind: "struct";
6985
+ readonly type: "struct";
6986
+ readonly name: "core::integer::u256";
7768
6987
  readonly members: readonly [{
7769
- readonly name: "collection_address";
7770
- readonly type: "core::starknet::contract_address::ContractAddress";
7771
- readonly kind: "key";
7772
- }, {
7773
- readonly name: "owner";
7774
- readonly type: "core::starknet::contract_address::ContractAddress";
7775
- readonly kind: "key";
7776
- }, {
7777
- readonly name: "name";
7778
- readonly type: "core::byte_array::ByteArray";
7779
- readonly kind: "data";
7780
- }, {
7781
- readonly name: "symbol";
7782
- readonly type: "core::byte_array::ByteArray";
7783
- readonly kind: "data";
7784
- }];
7785
- }, {
7786
- readonly type: "event";
7787
- readonly name: "ip_club::IPClubFactory::IPClubFactory::Event";
7788
- readonly kind: "enum";
7789
- readonly variants: readonly [{
7790
- readonly name: "SRC5Event";
7791
- readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7792
- readonly kind: "flat";
6988
+ readonly name: "low";
6989
+ readonly type: "core::integer::u128";
7793
6990
  }, {
7794
- readonly name: "ClubDeployed";
7795
- readonly type: "ip_club::IPClubFactory::IPClubFactory::ClubDeployed";
7796
- readonly kind: "nested";
6991
+ readonly name: "high";
6992
+ readonly type: "core::integer::u128";
7797
6993
  }];
7798
- }];
7799
-
7800
- declare const IPClubCollectionABI: readonly [{
7801
- readonly type: "impl";
7802
- readonly name: "ERC721MetadataImpl";
7803
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
7804
6994
  }, {
7805
6995
  readonly type: "struct";
7806
6996
  readonly name: "core::byte_array::ByteArray";
@@ -7814,38 +7004,12 @@ declare const IPClubCollectionABI: readonly [{
7814
7004
  readonly name: "pending_word_len";
7815
7005
  readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7816
7006
  }];
7817
- }, {
7818
- readonly type: "struct";
7819
- readonly name: "core::integer::u256";
7820
- readonly members: readonly [{
7821
- readonly name: "low";
7822
- readonly type: "core::integer::u128";
7823
- }, {
7824
- readonly name: "high";
7825
- readonly type: "core::integer::u128";
7826
- }];
7827
7007
  }, {
7828
7008
  readonly type: "interface";
7829
- readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
7009
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
7830
7010
  readonly items: readonly [{
7831
7011
  readonly type: "function";
7832
- readonly name: "name";
7833
- readonly inputs: readonly [];
7834
- readonly outputs: readonly [{
7835
- readonly type: "core::byte_array::ByteArray";
7836
- }];
7837
- readonly state_mutability: "view";
7838
- }, {
7839
- readonly type: "function";
7840
- readonly name: "symbol";
7841
- readonly inputs: readonly [];
7842
- readonly outputs: readonly [{
7843
- readonly type: "core::byte_array::ByteArray";
7844
- }];
7845
- readonly state_mutability: "view";
7846
- }, {
7847
- readonly type: "function";
7848
- readonly name: "token_uri";
7012
+ readonly name: "uri";
7849
7013
  readonly inputs: readonly [{
7850
7014
  readonly name: "token_id";
7851
7015
  readonly type: "core::integer::u256";
@@ -7855,29 +7019,20 @@ declare const IPClubCollectionABI: readonly [{
7855
7019
  }];
7856
7020
  readonly state_mutability: "view";
7857
7021
  }];
7858
- }, {
7859
- readonly type: "impl";
7860
- readonly name: "ERC721MetadataCamelOnlyImpl";
7861
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
7862
- }, {
7863
- readonly type: "interface";
7864
- readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
7865
- readonly items: readonly [{
7866
- readonly type: "function";
7867
- readonly name: "tokenURI";
7868
- readonly inputs: readonly [{
7869
- readonly name: "tokenId";
7870
- readonly type: "core::integer::u256";
7871
- }];
7872
- readonly outputs: readonly [{
7873
- readonly type: "core::byte_array::ByteArray";
7874
- }];
7875
- readonly state_mutability: "view";
7876
- }];
7877
7022
  }, {
7878
7023
  readonly type: "impl";
7879
7024
  readonly name: "IPClubCollectionImpl";
7880
7025
  readonly interface_name: "ip_club::interface::IIPClubCollection";
7026
+ }, {
7027
+ readonly type: "enum";
7028
+ readonly name: "core::option::Option::<core::integer::u64>";
7029
+ readonly variants: readonly [{
7030
+ readonly name: "Some";
7031
+ readonly type: "core::integer::u64";
7032
+ }, {
7033
+ readonly name: "None";
7034
+ readonly type: "()";
7035
+ }];
7881
7036
  }, {
7882
7037
  readonly type: "enum";
7883
7038
  readonly name: "core::bool";
@@ -7889,24 +7044,48 @@ declare const IPClubCollectionABI: readonly [{
7889
7044
  readonly type: "()";
7890
7045
  }];
7891
7046
  }, {
7892
- readonly type: "enum";
7893
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7894
- readonly variants: readonly [{
7895
- readonly name: "Some";
7896
- readonly type: "core::starknet::contract_address::ContractAddress";
7047
+ readonly type: "struct";
7048
+ readonly name: "ip_club::types::Membership";
7049
+ readonly members: readonly [{
7050
+ readonly name: "max_supply";
7051
+ readonly type: "core::integer::u256";
7897
7052
  }, {
7898
- readonly name: "None";
7899
- readonly type: "()";
7053
+ readonly name: "minted";
7054
+ readonly type: "core::integer::u256";
7055
+ }, {
7056
+ readonly name: "start_time";
7057
+ readonly type: "core::option::Option::<core::integer::u64>";
7058
+ }, {
7059
+ readonly name: "end_time";
7060
+ readonly type: "core::option::Option::<core::integer::u64>";
7061
+ }, {
7062
+ readonly name: "royalty_bps";
7063
+ readonly type: "core::integer::u16";
7064
+ }, {
7065
+ readonly name: "metadata_uri";
7066
+ readonly type: "core::byte_array::ByteArray";
7900
7067
  }];
7901
7068
  }, {
7902
7069
  readonly type: "interface";
7903
7070
  readonly name: "ip_club::interface::IIPClubCollection";
7904
7071
  readonly items: readonly [{
7905
7072
  readonly type: "function";
7906
- readonly name: "mint";
7073
+ readonly name: "create_membership";
7907
7074
  readonly inputs: readonly [{
7908
- readonly name: "to";
7909
- readonly type: "core::starknet::contract_address::ContractAddress";
7075
+ readonly name: "max_supply";
7076
+ readonly type: "core::integer::u256";
7077
+ }, {
7078
+ readonly name: "start_time";
7079
+ readonly type: "core::option::Option::<core::integer::u64>";
7080
+ }, {
7081
+ readonly name: "end_time";
7082
+ readonly type: "core::option::Option::<core::integer::u64>";
7083
+ }, {
7084
+ readonly name: "royalty_bps";
7085
+ readonly type: "core::integer::u16";
7086
+ }, {
7087
+ readonly name: "metadata_uri";
7088
+ readonly type: "core::byte_array::ByteArray";
7910
7089
  }];
7911
7090
  readonly outputs: readonly [{
7912
7091
  readonly type: "core::integer::u256";
@@ -7914,59 +7093,77 @@ declare const IPClubCollectionABI: readonly [{
7914
7093
  readonly state_mutability: "external";
7915
7094
  }, {
7916
7095
  readonly type: "function";
7917
- readonly name: "set_open";
7096
+ readonly name: "mint";
7918
7097
  readonly inputs: readonly [{
7919
- readonly name: "open";
7920
- readonly type: "core::bool";
7098
+ readonly name: "to";
7099
+ readonly type: "core::starknet::contract_address::ContractAddress";
7100
+ }, {
7101
+ readonly name: "token_id";
7102
+ readonly type: "core::integer::u256";
7103
+ }, {
7104
+ readonly name: "amount";
7105
+ readonly type: "core::integer::u256";
7921
7106
  }];
7922
7107
  readonly outputs: readonly [];
7923
7108
  readonly state_mutability: "external";
7924
7109
  }, {
7925
7110
  readonly type: "function";
7926
- readonly name: "base_uri";
7927
- readonly inputs: readonly [];
7111
+ readonly name: "is_member";
7112
+ readonly inputs: readonly [{
7113
+ readonly name: "holder";
7114
+ readonly type: "core::starknet::contract_address::ContractAddress";
7115
+ }];
7928
7116
  readonly outputs: readonly [{
7929
- readonly type: "core::byte_array::ByteArray";
7117
+ readonly type: "core::bool";
7930
7118
  }];
7931
7119
  readonly state_mutability: "view";
7932
7120
  }, {
7933
7121
  readonly type: "function";
7934
- readonly name: "entry_fee";
7935
- readonly inputs: readonly [];
7936
- readonly outputs: readonly [{
7122
+ readonly name: "is_member_of";
7123
+ readonly inputs: readonly [{
7124
+ readonly name: "token_id";
7937
7125
  readonly type: "core::integer::u256";
7126
+ }, {
7127
+ readonly name: "holder";
7128
+ readonly type: "core::starknet::contract_address::ContractAddress";
7129
+ }];
7130
+ readonly outputs: readonly [{
7131
+ readonly type: "core::bool";
7938
7132
  }];
7939
7133
  readonly state_mutability: "view";
7940
7134
  }, {
7941
7135
  readonly type: "function";
7942
- readonly name: "payment_token";
7943
- readonly inputs: readonly [];
7136
+ readonly name: "get_membership";
7137
+ readonly inputs: readonly [{
7138
+ readonly name: "token_id";
7139
+ readonly type: "core::integer::u256";
7140
+ }];
7944
7141
  readonly outputs: readonly [{
7945
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7142
+ readonly type: "ip_club::types::Membership";
7946
7143
  }];
7947
7144
  readonly state_mutability: "view";
7948
7145
  }, {
7949
7146
  readonly type: "function";
7950
- readonly name: "max_supply";
7147
+ readonly name: "name";
7951
7148
  readonly inputs: readonly [];
7952
7149
  readonly outputs: readonly [{
7953
- readonly type: "core::integer::u256";
7150
+ readonly type: "core::byte_array::ByteArray";
7954
7151
  }];
7955
7152
  readonly state_mutability: "view";
7956
7153
  }, {
7957
7154
  readonly type: "function";
7958
- readonly name: "total_minted";
7155
+ readonly name: "symbol";
7959
7156
  readonly inputs: readonly [];
7960
7157
  readonly outputs: readonly [{
7961
- readonly type: "core::integer::u256";
7158
+ readonly type: "core::byte_array::ByteArray";
7962
7159
  }];
7963
7160
  readonly state_mutability: "view";
7964
7161
  }, {
7965
7162
  readonly type: "function";
7966
- readonly name: "is_open";
7163
+ readonly name: "base_uri";
7967
7164
  readonly inputs: readonly [];
7968
7165
  readonly outputs: readonly [{
7969
- readonly type: "core::bool";
7166
+ readonly type: "core::byte_array::ByteArray";
7970
7167
  }];
7971
7168
  readonly state_mutability: "view";
7972
7169
  }, {
@@ -8007,9 +7204,23 @@ declare const IPClubCollectionABI: readonly [{
8007
7204
  readonly state_mutability: "view";
8008
7205
  }];
8009
7206
  }, {
8010
- readonly type: "impl";
8011
- readonly name: "ERC721Impl";
8012
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
7207
+ readonly type: "impl";
7208
+ readonly name: "ERC1155Impl";
7209
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155";
7210
+ }, {
7211
+ readonly type: "struct";
7212
+ readonly name: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
7213
+ readonly members: readonly [{
7214
+ readonly name: "snapshot";
7215
+ readonly type: "@core::array::Array::<core::starknet::contract_address::ContractAddress>";
7216
+ }];
7217
+ }, {
7218
+ readonly type: "struct";
7219
+ readonly name: "core::array::Span::<core::integer::u256>";
7220
+ readonly members: readonly [{
7221
+ readonly name: "snapshot";
7222
+ readonly type: "@core::array::Array::<core::integer::u256>";
7223
+ }];
8013
7224
  }, {
8014
7225
  readonly type: "struct";
8015
7226
  readonly name: "core::array::Span::<core::felt252>";
@@ -8019,13 +7230,16 @@ declare const IPClubCollectionABI: readonly [{
8019
7230
  }];
8020
7231
  }, {
8021
7232
  readonly type: "interface";
8022
- readonly name: "openzeppelin_token::erc721::interface::IERC721";
7233
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155";
8023
7234
  readonly items: readonly [{
8024
7235
  readonly type: "function";
8025
7236
  readonly name: "balance_of";
8026
7237
  readonly inputs: readonly [{
8027
7238
  readonly name: "account";
8028
7239
  readonly type: "core::starknet::contract_address::ContractAddress";
7240
+ }, {
7241
+ readonly name: "token_id";
7242
+ readonly type: "core::integer::u256";
8029
7243
  }];
8030
7244
  readonly outputs: readonly [{
8031
7245
  readonly type: "core::integer::u256";
@@ -8033,13 +7247,16 @@ declare const IPClubCollectionABI: readonly [{
8033
7247
  readonly state_mutability: "view";
8034
7248
  }, {
8035
7249
  readonly type: "function";
8036
- readonly name: "owner_of";
7250
+ readonly name: "balance_of_batch";
8037
7251
  readonly inputs: readonly [{
8038
- readonly name: "token_id";
8039
- readonly type: "core::integer::u256";
7252
+ readonly name: "accounts";
7253
+ readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
7254
+ }, {
7255
+ readonly name: "token_ids";
7256
+ readonly type: "core::array::Span::<core::integer::u256>";
8040
7257
  }];
8041
7258
  readonly outputs: readonly [{
8042
- readonly type: "core::starknet::contract_address::ContractAddress";
7259
+ readonly type: "core::array::Span::<core::integer::u256>";
8043
7260
  }];
8044
7261
  readonly state_mutability: "view";
8045
7262
  }, {
@@ -8054,6 +7271,9 @@ declare const IPClubCollectionABI: readonly [{
8054
7271
  }, {
8055
7272
  readonly name: "token_id";
8056
7273
  readonly type: "core::integer::u256";
7274
+ }, {
7275
+ readonly name: "value";
7276
+ readonly type: "core::integer::u256";
8057
7277
  }, {
8058
7278
  readonly name: "data";
8059
7279
  readonly type: "core::array::Span::<core::felt252>";
@@ -8062,7 +7282,7 @@ declare const IPClubCollectionABI: readonly [{
8062
7282
  readonly state_mutability: "external";
8063
7283
  }, {
8064
7284
  readonly type: "function";
8065
- readonly name: "transfer_from";
7285
+ readonly name: "safe_batch_transfer_from";
8066
7286
  readonly inputs: readonly [{
8067
7287
  readonly name: "from";
8068
7288
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -8070,74 +7290,60 @@ declare const IPClubCollectionABI: readonly [{
8070
7290
  readonly name: "to";
8071
7291
  readonly type: "core::starknet::contract_address::ContractAddress";
8072
7292
  }, {
8073
- readonly name: "token_id";
8074
- readonly type: "core::integer::u256";
7293
+ readonly name: "token_ids";
7294
+ readonly type: "core::array::Span::<core::integer::u256>";
7295
+ }, {
7296
+ readonly name: "values";
7297
+ readonly type: "core::array::Span::<core::integer::u256>";
7298
+ }, {
7299
+ readonly name: "data";
7300
+ readonly type: "core::array::Span::<core::felt252>";
8075
7301
  }];
8076
7302
  readonly outputs: readonly [];
8077
7303
  readonly state_mutability: "external";
8078
7304
  }, {
8079
7305
  readonly type: "function";
8080
- readonly name: "approve";
7306
+ readonly name: "is_approved_for_all";
8081
7307
  readonly inputs: readonly [{
8082
- readonly name: "to";
7308
+ readonly name: "owner";
8083
7309
  readonly type: "core::starknet::contract_address::ContractAddress";
8084
7310
  }, {
8085
- readonly name: "token_id";
8086
- readonly type: "core::integer::u256";
8087
- }];
8088
- readonly outputs: readonly [];
8089
- readonly state_mutability: "external";
8090
- }, {
8091
- readonly type: "function";
8092
- readonly name: "set_approval_for_all";
8093
- readonly inputs: readonly [{
8094
7311
  readonly name: "operator";
8095
7312
  readonly type: "core::starknet::contract_address::ContractAddress";
8096
- }, {
8097
- readonly name: "approved";
8098
- readonly type: "core::bool";
8099
- }];
8100
- readonly outputs: readonly [];
8101
- readonly state_mutability: "external";
8102
- }, {
8103
- readonly type: "function";
8104
- readonly name: "get_approved";
8105
- readonly inputs: readonly [{
8106
- readonly name: "token_id";
8107
- readonly type: "core::integer::u256";
8108
7313
  }];
8109
7314
  readonly outputs: readonly [{
8110
- readonly type: "core::starknet::contract_address::ContractAddress";
7315
+ readonly type: "core::bool";
8111
7316
  }];
8112
7317
  readonly state_mutability: "view";
8113
7318
  }, {
8114
7319
  readonly type: "function";
8115
- readonly name: "is_approved_for_all";
7320
+ readonly name: "set_approval_for_all";
8116
7321
  readonly inputs: readonly [{
8117
- readonly name: "owner";
8118
- readonly type: "core::starknet::contract_address::ContractAddress";
8119
- }, {
8120
7322
  readonly name: "operator";
8121
7323
  readonly type: "core::starknet::contract_address::ContractAddress";
8122
- }];
8123
- readonly outputs: readonly [{
7324
+ }, {
7325
+ readonly name: "approved";
8124
7326
  readonly type: "core::bool";
8125
7327
  }];
8126
- readonly state_mutability: "view";
7328
+ readonly outputs: readonly [];
7329
+ readonly state_mutability: "external";
8127
7330
  }];
8128
7331
  }, {
8129
7332
  readonly type: "impl";
8130
- readonly name: "ERC721CamelOnly";
8131
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
7333
+ readonly name: "ERC1155CamelImpl";
7334
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
8132
7335
  }, {
8133
7336
  readonly type: "interface";
8134
- readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
7337
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
8135
7338
  readonly items: readonly [{
8136
7339
  readonly type: "function";
8137
7340
  readonly name: "balanceOf";
8138
7341
  readonly inputs: readonly [{
8139
7342
  readonly name: "account";
8140
7343
  readonly type: "core::starknet::contract_address::ContractAddress";
7344
+ }, {
7345
+ readonly name: "tokenId";
7346
+ readonly type: "core::integer::u256";
8141
7347
  }];
8142
7348
  readonly outputs: readonly [{
8143
7349
  readonly type: "core::integer::u256";
@@ -8145,13 +7351,16 @@ declare const IPClubCollectionABI: readonly [{
8145
7351
  readonly state_mutability: "view";
8146
7352
  }, {
8147
7353
  readonly type: "function";
8148
- readonly name: "ownerOf";
7354
+ readonly name: "balanceOfBatch";
8149
7355
  readonly inputs: readonly [{
8150
- readonly name: "tokenId";
8151
- readonly type: "core::integer::u256";
7356
+ readonly name: "accounts";
7357
+ readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
7358
+ }, {
7359
+ readonly name: "tokenIds";
7360
+ readonly type: "core::array::Span::<core::integer::u256>";
8152
7361
  }];
8153
7362
  readonly outputs: readonly [{
8154
- readonly type: "core::starknet::contract_address::ContractAddress";
7363
+ readonly type: "core::array::Span::<core::integer::u256>";
8155
7364
  }];
8156
7365
  readonly state_mutability: "view";
8157
7366
  }, {
@@ -8166,6 +7375,9 @@ declare const IPClubCollectionABI: readonly [{
8166
7375
  }, {
8167
7376
  readonly name: "tokenId";
8168
7377
  readonly type: "core::integer::u256";
7378
+ }, {
7379
+ readonly name: "value";
7380
+ readonly type: "core::integer::u256";
8169
7381
  }, {
8170
7382
  readonly name: "data";
8171
7383
  readonly type: "core::array::Span::<core::felt252>";
@@ -8174,7 +7386,7 @@ declare const IPClubCollectionABI: readonly [{
8174
7386
  readonly state_mutability: "external";
8175
7387
  }, {
8176
7388
  readonly type: "function";
8177
- readonly name: "transferFrom";
7389
+ readonly name: "safeBatchTransferFrom";
8178
7390
  readonly inputs: readonly [{
8179
7391
  readonly name: "from";
8180
7392
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -8182,48 +7394,43 @@ declare const IPClubCollectionABI: readonly [{
8182
7394
  readonly name: "to";
8183
7395
  readonly type: "core::starknet::contract_address::ContractAddress";
8184
7396
  }, {
8185
- readonly name: "tokenId";
8186
- readonly type: "core::integer::u256";
7397
+ readonly name: "tokenIds";
7398
+ readonly type: "core::array::Span::<core::integer::u256>";
7399
+ }, {
7400
+ readonly name: "values";
7401
+ readonly type: "core::array::Span::<core::integer::u256>";
7402
+ }, {
7403
+ readonly name: "data";
7404
+ readonly type: "core::array::Span::<core::felt252>";
8187
7405
  }];
8188
7406
  readonly outputs: readonly [];
8189
7407
  readonly state_mutability: "external";
8190
7408
  }, {
8191
7409
  readonly type: "function";
8192
- readonly name: "setApprovalForAll";
7410
+ readonly name: "isApprovedForAll";
8193
7411
  readonly inputs: readonly [{
8194
- readonly name: "operator";
7412
+ readonly name: "owner";
8195
7413
  readonly type: "core::starknet::contract_address::ContractAddress";
8196
7414
  }, {
8197
- readonly name: "approved";
8198
- readonly type: "core::bool";
8199
- }];
8200
- readonly outputs: readonly [];
8201
- readonly state_mutability: "external";
8202
- }, {
8203
- readonly type: "function";
8204
- readonly name: "getApproved";
8205
- readonly inputs: readonly [{
8206
- readonly name: "tokenId";
8207
- readonly type: "core::integer::u256";
7415
+ readonly name: "operator";
7416
+ readonly type: "core::starknet::contract_address::ContractAddress";
8208
7417
  }];
8209
7418
  readonly outputs: readonly [{
8210
- readonly type: "core::starknet::contract_address::ContractAddress";
7419
+ readonly type: "core::bool";
8211
7420
  }];
8212
7421
  readonly state_mutability: "view";
8213
7422
  }, {
8214
7423
  readonly type: "function";
8215
- readonly name: "isApprovedForAll";
7424
+ readonly name: "setApprovalForAll";
8216
7425
  readonly inputs: readonly [{
8217
- readonly name: "owner";
8218
- readonly type: "core::starknet::contract_address::ContractAddress";
8219
- }, {
8220
7426
  readonly name: "operator";
8221
7427
  readonly type: "core::starknet::contract_address::ContractAddress";
8222
- }];
8223
- readonly outputs: readonly [{
7428
+ }, {
7429
+ readonly name: "approved";
8224
7430
  readonly type: "core::bool";
8225
7431
  }];
8226
- readonly state_mutability: "view";
7432
+ readonly outputs: readonly [];
7433
+ readonly state_mutability: "external";
8227
7434
  }];
8228
7435
  }, {
8229
7436
  readonly type: "impl";
@@ -8302,27 +7509,19 @@ declare const IPClubCollectionABI: readonly [{
8302
7509
  }, {
8303
7510
  readonly name: "base_uri";
8304
7511
  readonly type: "core::byte_array::ByteArray";
8305
- }, {
8306
- readonly name: "max_supply";
8307
- readonly type: "core::integer::u256";
8308
- }, {
8309
- readonly name: "entry_fee";
8310
- readonly type: "core::integer::u256";
8311
- }, {
8312
- readonly name: "payment_token";
8313
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8314
- }, {
8315
- readonly name: "royalty_bps";
8316
- readonly type: "core::integer::u256";
8317
7512
  }, {
8318
7513
  readonly name: "owner";
8319
7514
  readonly type: "core::starknet::contract_address::ContractAddress";
8320
7515
  }];
8321
7516
  }, {
8322
7517
  readonly type: "event";
8323
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7518
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
8324
7519
  readonly kind: "struct";
8325
7520
  readonly members: readonly [{
7521
+ readonly name: "operator";
7522
+ readonly type: "core::starknet::contract_address::ContractAddress";
7523
+ readonly kind: "key";
7524
+ }, {
8326
7525
  readonly name: "from";
8327
7526
  readonly type: "core::starknet::contract_address::ContractAddress";
8328
7527
  readonly kind: "key";
@@ -8331,30 +7530,42 @@ declare const IPClubCollectionABI: readonly [{
8331
7530
  readonly type: "core::starknet::contract_address::ContractAddress";
8332
7531
  readonly kind: "key";
8333
7532
  }, {
8334
- readonly name: "token_id";
7533
+ readonly name: "id";
8335
7534
  readonly type: "core::integer::u256";
8336
- readonly kind: "key";
7535
+ readonly kind: "data";
7536
+ }, {
7537
+ readonly name: "value";
7538
+ readonly type: "core::integer::u256";
7539
+ readonly kind: "data";
8337
7540
  }];
8338
7541
  }, {
8339
7542
  readonly type: "event";
8340
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7543
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
8341
7544
  readonly kind: "struct";
8342
7545
  readonly members: readonly [{
8343
- readonly name: "owner";
7546
+ readonly name: "operator";
8344
7547
  readonly type: "core::starknet::contract_address::ContractAddress";
8345
7548
  readonly kind: "key";
8346
7549
  }, {
8347
- readonly name: "approved";
7550
+ readonly name: "from";
8348
7551
  readonly type: "core::starknet::contract_address::ContractAddress";
8349
7552
  readonly kind: "key";
8350
7553
  }, {
8351
- readonly name: "token_id";
8352
- readonly type: "core::integer::u256";
7554
+ readonly name: "to";
7555
+ readonly type: "core::starknet::contract_address::ContractAddress";
8353
7556
  readonly kind: "key";
7557
+ }, {
7558
+ readonly name: "ids";
7559
+ readonly type: "core::array::Span::<core::integer::u256>";
7560
+ readonly kind: "data";
7561
+ }, {
7562
+ readonly name: "values";
7563
+ readonly type: "core::array::Span::<core::integer::u256>";
7564
+ readonly kind: "data";
8354
7565
  }];
8355
7566
  }, {
8356
7567
  readonly type: "event";
8357
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7568
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
8358
7569
  readonly kind: "struct";
8359
7570
  readonly members: readonly [{
8360
7571
  readonly name: "owner";
@@ -8371,19 +7582,36 @@ declare const IPClubCollectionABI: readonly [{
8371
7582
  }];
8372
7583
  }, {
8373
7584
  readonly type: "event";
8374
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7585
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
7586
+ readonly kind: "struct";
7587
+ readonly members: readonly [{
7588
+ readonly name: "value";
7589
+ readonly type: "core::byte_array::ByteArray";
7590
+ readonly kind: "data";
7591
+ }, {
7592
+ readonly name: "id";
7593
+ readonly type: "core::integer::u256";
7594
+ readonly kind: "key";
7595
+ }];
7596
+ }, {
7597
+ readonly type: "event";
7598
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
8375
7599
  readonly kind: "enum";
8376
7600
  readonly variants: readonly [{
8377
- readonly name: "Transfer";
8378
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7601
+ readonly name: "TransferSingle";
7602
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
8379
7603
  readonly kind: "nested";
8380
7604
  }, {
8381
- readonly name: "Approval";
8382
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7605
+ readonly name: "TransferBatch";
7606
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
8383
7607
  readonly kind: "nested";
8384
7608
  }, {
8385
7609
  readonly name: "ApprovalForAll";
8386
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7610
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
7611
+ readonly kind: "nested";
7612
+ }, {
7613
+ readonly name: "URI";
7614
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
8387
7615
  readonly kind: "nested";
8388
7616
  }];
8389
7617
  }, {
@@ -8432,28 +7660,31 @@ declare const IPClubCollectionABI: readonly [{
8432
7660
  }];
8433
7661
  }, {
8434
7662
  readonly type: "event";
8435
- readonly name: "ip_club::IPClubCollection::IPClubCollection::MemberMinted";
7663
+ readonly name: "ip_club::IPClubCollection::IPClubCollection::MembershipCreated";
8436
7664
  readonly kind: "struct";
8437
7665
  readonly members: readonly [{
8438
7666
  readonly name: "token_id";
8439
7667
  readonly type: "core::integer::u256";
8440
7668
  readonly kind: "key";
8441
7669
  }, {
8442
- readonly name: "to";
8443
- readonly type: "core::starknet::contract_address::ContractAddress";
8444
- readonly kind: "key";
7670
+ readonly name: "max_supply";
7671
+ readonly type: "core::integer::u256";
7672
+ readonly kind: "data";
8445
7673
  }, {
8446
- readonly name: "payer";
8447
- readonly type: "core::starknet::contract_address::ContractAddress";
7674
+ readonly name: "start_time";
7675
+ readonly type: "core::option::Option::<core::integer::u64>";
8448
7676
  readonly kind: "data";
8449
- }];
8450
- }, {
8451
- readonly type: "event";
8452
- readonly name: "ip_club::IPClubCollection::IPClubCollection::OpenStatusChanged";
8453
- readonly kind: "struct";
8454
- readonly members: readonly [{
8455
- readonly name: "open";
8456
- readonly type: "core::bool";
7677
+ }, {
7678
+ readonly name: "end_time";
7679
+ readonly type: "core::option::Option::<core::integer::u64>";
7680
+ readonly kind: "data";
7681
+ }, {
7682
+ readonly name: "metadata_uri";
7683
+ readonly type: "core::byte_array::ByteArray";
7684
+ readonly kind: "data";
7685
+ }, {
7686
+ readonly name: "created_at";
7687
+ readonly type: "core::integer::u64";
8457
7688
  readonly kind: "data";
8458
7689
  }];
8459
7690
  }, {
@@ -8461,8 +7692,8 @@ declare const IPClubCollectionABI: readonly [{
8461
7692
  readonly name: "ip_club::IPClubCollection::IPClubCollection::Event";
8462
7693
  readonly kind: "enum";
8463
7694
  readonly variants: readonly [{
8464
- readonly name: "ERC721Event";
8465
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7695
+ readonly name: "ERC1155Event";
7696
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
8466
7697
  readonly kind: "flat";
8467
7698
  }, {
8468
7699
  readonly name: "SRC5Event";
@@ -8473,12 +7704,8 @@ declare const IPClubCollectionABI: readonly [{
8473
7704
  readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
8474
7705
  readonly kind: "flat";
8475
7706
  }, {
8476
- readonly name: "MemberMinted";
8477
- readonly type: "ip_club::IPClubCollection::IPClubCollection::MemberMinted";
8478
- readonly kind: "nested";
8479
- }, {
8480
- readonly name: "OpenStatusChanged";
8481
- readonly type: "ip_club::IPClubCollection::IPClubCollection::OpenStatusChanged";
7707
+ readonly name: "MembershipCreated";
7708
+ readonly type: "ip_club::IPClubCollection::IPClubCollection::MembershipCreated";
8482
7709
  readonly kind: "nested";
8483
7710
  }];
8484
7711
  }];
@@ -10211,4 +9438,4 @@ declare function build1155CancellationTypedData(message: Record<string, unknown>
10211
9438
 
10212
9439
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
10213
9440
 
10214
- 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, IPCollection1155ABI 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 CreatePopCollectionParams as aA, type CreateRemixOfferParams as aB, type CreateSponsorshipOfferParams as aC, type CreateTicketParams as aD, type CreateWebhookParams as aE, CreatorCoinFactoryABI as aF, type CreatorCoinPrice as aG, type CreatorCoinReceiptLike as aH, CreatorCoinService as aI, type DeployClubParams as aJ, type DeployCollectionParams as aK, DropCollectionABI as aL, DropFactoryABI as aM, type DropMintStatus as aN, DropService as aO, ERC1155CollectionService as aP, type EkuboLaunchParams as aQ, type EkuboPoolParams as aR, type EnforcementDeclaration as aS, type FeeConfig as aT, FeeConfigSchema as aU, type FeeSurface as aV, type FulfillOrderIntentParams as aW, IPClubABI as aX, IPClubCollectionABI as aY, IPClubFactoryABI as aZ, IPClubNFTABI 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 CancelOrderIntentParams as aj, type ChainFilter as ak, type ClaimConditions as al, ClubService as am, type CollectionSort as an, type CollectionTokensSort as ao, type ConfirmRemixOfferParams as ap, type ConfirmSelfRemixParams as aq, type ConsiderationItem as ar, type CreateClubParams as as, type CreateCollectionIntentParams as at, type CreateCounterOfferIntentParams as au, type CreateCreatorCoinParams as av, type CreateDropParams as aw, type CreateGrantOpts as ax, type CreateListingIntentParams as ay, type CreateMintIntentParams as az, ADMIN_SCOPE as b, buildCreateCreatorCoinCall as b$, IPCollection1155FactoryABI as b0, IPCollectionABI as b1, IPGenesisABI as b2, IPMarketplaceABI as b3, IPNftABI as b4, IPSponsorshipABI as b5, IPTicketCollectionABI as b6, IPTicketCollectionFactoryABI as b7, type IPType as b8, type IntentCall as b9, type PopEventType as bA, PopService as bB, type ProposeSponsorshipParams as bC, type RemixOfferStatus as bD, type RequestSiwsTokenArgs as bE, type ResolvedConfig as bF, type ResolvedFeeConfig as bG, type ResolvedOrder as bH, type RetryOptions as bI, type ServiceEventDeclaration as bJ, type SiwsSigner as bK, type SortOrder as bL, SponsorshipService as bM, StarknetVenue as bN, type StarknetVenueDeps as bO, type StarknetVenueSigner as bP, type TenantPlan as bQ, TicketService as bR, type TxResult as bS, VALIDATED_EKUBO_PARAMS as bT, type WebhookEventType as bU, type WebhookStatus as bV, adminRequestDigest as bW, build1155CancellationTypedData as bX, build1155OrderTypedData as bY, buildAdminSessionTypedData as bZ, buildCancellationTypedData as b_, type IntentStatus as ba, type IntentType as bb, type IpAttribute as bc, type IpNftMetadata as bd, LAUNCH_PRICE_QUOTE_PER_COIN as be, type MakeOfferIntentParams as bf, Medialane1155ABI as bg, MedialaneApiError as bh, MedialaneClient as bi, type MedialaneConfig as bj, MedialaneError as bk, type MedialaneErrorCode as bl, type MintEditionParams as bm, type MintTicketsParams as bn, OPEN_LICENSES as bo, type OfferItem as bp, type OpenLicense as bq, type Order as br, type OrderDetails as bs, type OrderParameters as bt, type OrderStatus as bu, POPCollectionABI as bv, POPFactoryABI as bw, type ParsedAdminHeaders as bx, type PopBatchEligibilityItem as by, type PopClaimStatus as bz, type ActivityType as c, buildFeeCall as c0, buildLaunchOnEkuboCalls as c1, buildOrderTypedData as c2, buybackQuoteRaw as c3, toRaw as c4, createAdminSessionGrant as c5, encodeAdminHeaders as c6, encodeByteArray as c7, fdvHuman as c8, getCounter as c9, getCounter1155 as ca, getCreatorCoinPrice as cb, getOrderDetails as cc, getOrderDetails1155 as cd, getSiwsStorageKey as ce, getStoredSiwsToken as cf, isSiwsTokenValid as cg, normalizeSiwsSignature as ch, parseAdminHeaders as ci, parseCreatorCoinCreated as cj, randomNonce as ck, requestSiwsToken as cl, resolveConfig as cm, resolveFeeConfig as cn, sessionKeyHashOf as co, signAdminRequest as cp, storeSiwsToken as cq, teamCoinsRaw as cr, validateName as cs, validateSupply as ct, validateSymbol as cu, verifyAdminRequestSig as cv, 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 };
9441
+ 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, IPGenesisABI 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 CreatePopCollectionParams as aA, type CreateRemixOfferParams as aB, type CreateSponsorshipOfferParams as aC, type CreateTicketParams as aD, type CreateWebhookParams as aE, CreatorCoinFactoryABI as aF, type CreatorCoinPrice as aG, type CreatorCoinReceiptLike as aH, CreatorCoinService as aI, type DeployCollectionParams as aJ, DropCollectionABI as aK, DropFactoryABI as aL, type DropMintStatus as aM, DropService as aN, ERC1155CollectionService as aO, type EkuboLaunchParams as aP, type EkuboPoolParams as aQ, type EnforcementDeclaration as aR, type FeeConfig as aS, FeeConfigSchema as aT, type FeeSurface as aU, type FulfillOrderIntentParams as aV, IPClubCollectionABI as aW, IPClubFactoryABI as aX, IPCollection1155ABI as aY, IPCollection1155FactoryABI as aZ, IPCollectionABI 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 CancelOrderIntentParams as aj, type ChainFilter as ak, type ClaimConditions as al, ClubService as am, type CollectionSort as an, type CollectionTokensSort as ao, type ConfirmRemixOfferParams as ap, type ConfirmSelfRemixParams as aq, type ConsiderationItem as ar, type CreateCollectionIntentParams as as, type CreateCounterOfferIntentParams as at, type CreateCreatorCoinParams as au, type CreateDropParams as av, type CreateGrantOpts as aw, type CreateListingIntentParams as ax, type CreateMembershipParams as ay, type CreateMintIntentParams as az, ADMIN_SCOPE as b, buildLaunchOnEkuboCalls as b$, IPMarketplaceABI as b0, IPNftABI as b1, IPSponsorshipABI as b2, IPTicketCollectionABI as b3, IPTicketCollectionFactoryABI as b4, type IPType as b5, type IntentCall as b6, type IntentStatus as b7, type IntentType as b8, type IpAttribute as b9, type ProposeSponsorshipParams as bA, type RemixOfferStatus as bB, type RequestSiwsTokenArgs as bC, type ResolvedConfig as bD, type ResolvedFeeConfig as bE, type ResolvedOrder as bF, type RetryOptions as bG, type ServiceEventDeclaration as bH, type SiwsSigner as bI, type SortOrder as bJ, SponsorshipService as bK, StarknetVenue as bL, type StarknetVenueDeps as bM, type StarknetVenueSigner as bN, type TenantPlan as bO, TicketService as bP, type TxResult as bQ, VALIDATED_EKUBO_PARAMS as bR, type WebhookEventType as bS, type WebhookStatus as bT, adminRequestDigest as bU, build1155CancellationTypedData as bV, build1155OrderTypedData as bW, buildAdminSessionTypedData as bX, buildCancellationTypedData as bY, buildCreateCreatorCoinCall as bZ, buildFeeCall as b_, type IpNftMetadata as ba, LAUNCH_PRICE_QUOTE_PER_COIN as bb, type MakeOfferIntentParams as bc, Medialane1155ABI as bd, MedialaneApiError as be, MedialaneClient as bf, type MedialaneConfig as bg, MedialaneError as bh, type MedialaneErrorCode as bi, type MintEditionParams as bj, type MintMembershipsParams as bk, type MintTicketsParams as bl, OPEN_LICENSES as bm, type OfferItem as bn, type OpenLicense as bo, type Order as bp, type OrderDetails as bq, type OrderParameters as br, type OrderStatus as bs, POPCollectionABI as bt, POPFactoryABI as bu, type ParsedAdminHeaders as bv, type PopBatchEligibilityItem as bw, type PopClaimStatus as bx, type PopEventType as by, PopService as bz, type ActivityType as c, buildOrderTypedData as c0, buybackQuoteRaw as c1, toRaw as c2, createAdminSessionGrant as c3, encodeAdminHeaders as c4, encodeByteArray as c5, fdvHuman as c6, getCounter as c7, getCounter1155 as c8, getCreatorCoinPrice as c9, getOrderDetails as ca, getOrderDetails1155 as cb, getSiwsStorageKey as cc, getStoredSiwsToken as cd, isSiwsTokenValid as ce, normalizeSiwsSignature as cf, parseAdminHeaders as cg, parseCreatorCoinCreated as ch, randomNonce as ci, requestSiwsToken as cj, resolveConfig as ck, resolveFeeConfig as cl, sessionKeyHashOf as cm, signAdminRequest as cn, storeSiwsToken as co, teamCoinsRaw as cp, validateName as cq, validateSupply as cr, validateSymbol as cs, verifyAdminRequestSig as ct, 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 };