@medialane/sdk 0.68.0 → 0.69.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;
@@ -1691,50 +1683,55 @@ declare class TicketService {
1691
1683
  }): Promise<TicketRecord>;
1692
1684
  }
1693
1685
 
1686
+ interface MembershipRecord {
1687
+ maxSupply: bigint;
1688
+ minted: bigint;
1689
+ startTime: number | null;
1690
+ endTime: number | null;
1691
+ royaltyBps: number;
1692
+ metadataUri: string;
1693
+ }
1694
1694
  declare class ClubService {
1695
- private readonly registryAddress?;
1696
1695
  private readonly factoryAddress?;
1696
+ private readonly config;
1697
1697
  constructor(config: ResolvedConfig);
1698
- private _registry;
1699
1698
  private _factory;
1700
1699
  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;
1700
+ private _collectionRead;
1701
+ /**
1702
+ * Deploys a new IPClubCollection via the factory. Caller becomes owner.
1703
+ * `baseUri` is the collection-level metadata URI, embedded on-chain in the
1704
+ * deploy transaction.
1705
+ */
1706
+ deployCollection(account: AccountInterface, params: {
1707
+ name: string;
1708
+ symbol: string;
1709
+ baseUri: string;
1710
+ factoryAddress?: string;
1731
1711
  }): Promise<TxResult>;
1732
- /** @deprecated Legacy registry use factory-deployed collection burn. */
1733
- leaveClub(account: AccountInterface, params: {
1734
- clubId: bigint | string;
1712
+ /** Owner-only. Creates a new membership tier inside the caller's deployed collection. */
1713
+ createMembership(account: AccountInterface, params: CreateMembershipParams): Promise<TxResult>;
1714
+ /**
1715
+ * Owner-only. Mints `amount` of `tokenId` to `to`. The validity window
1716
+ * gates membership, never minting — future-window tiers mint fine.
1717
+ */
1718
+ mint(account: AccountInterface, params: MintMembershipsParams): Promise<TxResult>;
1719
+ /** Read — true if holder holds any tier currently inside its validity window. */
1720
+ isMember(params: {
1721
+ collection: string;
1722
+ holder: string;
1723
+ }): Promise<boolean>;
1724
+ /** Read — true if holder holds `tokenId` and the current time is inside its window. */
1725
+ isMemberOf(params: {
1726
+ collection: string;
1735
1727
  tokenId: bigint | string;
1736
- registryAddress?: string;
1737
- }): Promise<TxResult>;
1728
+ holder: string;
1729
+ }): Promise<boolean>;
1730
+ /** Read — returns the Membership record for a token ID. */
1731
+ getMembership(params: {
1732
+ collection: string;
1733
+ tokenId: bigint | string;
1734
+ }): Promise<MembershipRecord>;
1738
1735
  }
1739
1736
 
1740
1737
  interface SponsorshipOfferRecord {
@@ -6837,10 +6834,10 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6837
6834
  }];
6838
6835
  }];
6839
6836
 
6840
- declare const IPClubABI: readonly [{
6837
+ declare const IPClubFactoryABI: readonly [{
6841
6838
  readonly type: "impl";
6842
- readonly name: "IPClubImpl";
6843
- readonly interface_name: "ip_club::interfaces::IIPClub::IIPClub";
6839
+ readonly name: "IPClubCollectionFactoryImpl";
6840
+ readonly interface_name: "ip_club::interface::IIPClubCollectionFactory";
6844
6841
  }, {
6845
6842
  readonly type: "struct";
6846
6843
  readonly name: "core::byte_array::ByteArray";
@@ -6854,16 +6851,124 @@ declare const IPClubABI: readonly [{
6854
6851
  readonly name: "pending_word_len";
6855
6852
  readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
6856
6853
  }];
6854
+ }, {
6855
+ readonly type: "interface";
6856
+ readonly name: "ip_club::interface::IIPClubCollectionFactory";
6857
+ readonly items: readonly [{
6858
+ readonly type: "function";
6859
+ readonly name: "collection_class_hash";
6860
+ readonly inputs: readonly [];
6861
+ readonly outputs: readonly [{
6862
+ readonly type: "core::starknet::class_hash::ClassHash";
6863
+ }];
6864
+ readonly state_mutability: "view";
6865
+ }, {
6866
+ readonly type: "function";
6867
+ readonly name: "version";
6868
+ readonly inputs: readonly [];
6869
+ readonly outputs: readonly [{
6870
+ readonly type: "core::byte_array::ByteArray";
6871
+ }];
6872
+ readonly state_mutability: "view";
6873
+ }, {
6874
+ readonly type: "function";
6875
+ readonly name: "deploy_collection";
6876
+ readonly inputs: readonly [{
6877
+ readonly name: "name";
6878
+ readonly type: "core::byte_array::ByteArray";
6879
+ }, {
6880
+ readonly name: "symbol";
6881
+ readonly type: "core::byte_array::ByteArray";
6882
+ }, {
6883
+ readonly name: "base_uri";
6884
+ readonly type: "core::byte_array::ByteArray";
6885
+ }];
6886
+ readonly outputs: readonly [{
6887
+ readonly type: "core::starknet::contract_address::ContractAddress";
6888
+ }];
6889
+ readonly state_mutability: "external";
6890
+ }];
6891
+ }, {
6892
+ readonly type: "impl";
6893
+ readonly name: "SRC5Impl";
6894
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
6857
6895
  }, {
6858
6896
  readonly type: "enum";
6859
- readonly name: "core::option::Option::<core::integer::u32>";
6897
+ readonly name: "core::bool";
6860
6898
  readonly variants: readonly [{
6861
- readonly name: "Some";
6862
- readonly type: "core::integer::u32";
6899
+ readonly name: "False";
6900
+ readonly type: "()";
6863
6901
  }, {
6864
- readonly name: "None";
6902
+ readonly name: "True";
6865
6903
  readonly type: "()";
6866
6904
  }];
6905
+ }, {
6906
+ readonly type: "interface";
6907
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
6908
+ readonly items: readonly [{
6909
+ readonly type: "function";
6910
+ readonly name: "supports_interface";
6911
+ readonly inputs: readonly [{
6912
+ readonly name: "interface_id";
6913
+ readonly type: "core::felt252";
6914
+ }];
6915
+ readonly outputs: readonly [{
6916
+ readonly type: "core::bool";
6917
+ }];
6918
+ readonly state_mutability: "view";
6919
+ }];
6920
+ }, {
6921
+ readonly type: "constructor";
6922
+ readonly name: "constructor";
6923
+ readonly inputs: readonly [{
6924
+ readonly name: "collection_class_hash";
6925
+ readonly type: "core::starknet::class_hash::ClassHash";
6926
+ }];
6927
+ }, {
6928
+ readonly type: "event";
6929
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
6930
+ readonly kind: "enum";
6931
+ readonly variants: readonly [];
6932
+ }, {
6933
+ readonly type: "event";
6934
+ readonly name: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::ClubDeployed";
6935
+ readonly kind: "struct";
6936
+ readonly members: readonly [{
6937
+ readonly name: "collection_address";
6938
+ readonly type: "core::starknet::contract_address::ContractAddress";
6939
+ readonly kind: "key";
6940
+ }, {
6941
+ readonly name: "owner";
6942
+ readonly type: "core::starknet::contract_address::ContractAddress";
6943
+ readonly kind: "key";
6944
+ }, {
6945
+ readonly name: "name";
6946
+ readonly type: "core::byte_array::ByteArray";
6947
+ readonly kind: "data";
6948
+ }, {
6949
+ readonly name: "symbol";
6950
+ readonly type: "core::byte_array::ByteArray";
6951
+ readonly kind: "data";
6952
+ }];
6953
+ }, {
6954
+ readonly type: "event";
6955
+ readonly name: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::Event";
6956
+ readonly kind: "enum";
6957
+ readonly variants: readonly [{
6958
+ readonly name: "SRC5Event";
6959
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
6960
+ readonly kind: "flat";
6961
+ }, {
6962
+ readonly name: "ClubDeployed";
6963
+ readonly type: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::ClubDeployed";
6964
+ readonly kind: "nested";
6965
+ }];
6966
+ }];
6967
+
6968
+ declare const IPClubCollectionABI: readonly [{
6969
+ readonly type: "impl";
6970
+ readonly name: "ERC1155MetadataURIImpl";
6971
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
6867
6972
  }, {
6868
6973
  readonly type: "struct";
6869
6974
  readonly name: "core::integer::u256";
@@ -6875,21 +6980,43 @@ declare const IPClubABI: readonly [{
6875
6980
  readonly type: "core::integer::u128";
6876
6981
  }];
6877
6982
  }, {
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";
6983
+ readonly type: "struct";
6984
+ readonly name: "core::byte_array::ByteArray";
6985
+ readonly members: readonly [{
6986
+ readonly name: "data";
6987
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
6883
6988
  }, {
6884
- readonly name: "None";
6885
- readonly type: "()";
6989
+ readonly name: "pending_word";
6990
+ readonly type: "core::felt252";
6991
+ }, {
6992
+ readonly name: "pending_word_len";
6993
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
6994
+ }];
6995
+ }, {
6996
+ readonly type: "interface";
6997
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
6998
+ readonly items: readonly [{
6999
+ readonly type: "function";
7000
+ readonly name: "uri";
7001
+ readonly inputs: readonly [{
7002
+ readonly name: "token_id";
7003
+ readonly type: "core::integer::u256";
7004
+ }];
7005
+ readonly outputs: readonly [{
7006
+ readonly type: "core::byte_array::ByteArray";
7007
+ }];
7008
+ readonly state_mutability: "view";
6886
7009
  }];
7010
+ }, {
7011
+ readonly type: "impl";
7012
+ readonly name: "IPClubCollectionImpl";
7013
+ readonly interface_name: "ip_club::interface::IIPClubCollection";
6887
7014
  }, {
6888
7015
  readonly type: "enum";
6889
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7016
+ readonly name: "core::option::Option::<core::integer::u64>";
6890
7017
  readonly variants: readonly [{
6891
7018
  readonly name: "Some";
6892
- readonly type: "core::starknet::contract_address::ContractAddress";
7019
+ readonly type: "core::integer::u64";
6893
7020
  }, {
6894
7021
  readonly name: "None";
6895
7022
  readonly type: "()";
@@ -6906,53 +7033,47 @@ declare const IPClubABI: readonly [{
6906
7033
  }];
6907
7034
  }, {
6908
7035
  readonly type: "struct";
6909
- readonly name: "ip_club::types::ClubRecord";
7036
+ readonly name: "ip_club::types::Membership";
6910
7037
  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";
7038
+ readonly name: "max_supply";
7039
+ readonly type: "core::integer::u256";
6916
7040
  }, {
6917
- readonly name: "open";
6918
- readonly type: "core::bool";
7041
+ readonly name: "minted";
7042
+ readonly type: "core::integer::u256";
6919
7043
  }, {
6920
- readonly name: "num_members";
6921
- readonly type: "core::integer::u32";
7044
+ readonly name: "start_time";
7045
+ readonly type: "core::option::Option::<core::integer::u64>";
6922
7046
  }, {
6923
- readonly name: "max_members";
6924
- readonly type: "core::option::Option::<core::integer::u32>";
7047
+ readonly name: "end_time";
7048
+ readonly type: "core::option::Option::<core::integer::u64>";
6925
7049
  }, {
6926
- readonly name: "entry_fee";
6927
- readonly type: "core::option::Option::<core::integer::u256>";
7050
+ readonly name: "royalty_bps";
7051
+ readonly type: "core::integer::u16";
6928
7052
  }, {
6929
- readonly name: "payment_token";
6930
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7053
+ readonly name: "metadata_uri";
7054
+ readonly type: "core::byte_array::ByteArray";
6931
7055
  }];
6932
7056
  }, {
6933
7057
  readonly type: "interface";
6934
- readonly name: "ip_club::interfaces::IIPClub::IIPClub";
7058
+ readonly name: "ip_club::interface::IIPClubCollection";
6935
7059
  readonly items: readonly [{
6936
7060
  readonly type: "function";
6937
- readonly name: "create_club";
7061
+ readonly name: "create_membership";
6938
7062
  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";
7063
+ readonly name: "max_supply";
7064
+ readonly type: "core::integer::u256";
6944
7065
  }, {
6945
- readonly name: "metadata_uri";
6946
- readonly type: "core::byte_array::ByteArray";
7066
+ readonly name: "start_time";
7067
+ readonly type: "core::option::Option::<core::integer::u64>";
6947
7068
  }, {
6948
- readonly name: "max_members";
6949
- readonly type: "core::option::Option::<core::integer::u32>";
7069
+ readonly name: "end_time";
7070
+ readonly type: "core::option::Option::<core::integer::u64>";
6950
7071
  }, {
6951
- readonly name: "entry_fee";
6952
- readonly type: "core::option::Option::<core::integer::u256>";
7072
+ readonly name: "royalty_bps";
7073
+ readonly type: "core::integer::u16";
6953
7074
  }, {
6954
- readonly name: "payment_token";
6955
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7075
+ readonly name: "metadata_uri";
7076
+ readonly type: "core::byte_array::ByteArray";
6956
7077
  }];
6957
7078
  readonly outputs: readonly [{
6958
7079
  readonly type: "core::integer::u256";
@@ -6960,970 +7081,58 @@ declare const IPClubABI: readonly [{
6960
7081
  readonly state_mutability: "external";
6961
7082
  }, {
6962
7083
  readonly type: "function";
6963
- readonly name: "set_club_open";
7084
+ readonly name: "mint";
6964
7085
  readonly inputs: readonly [{
6965
- readonly name: "club_id";
7086
+ readonly name: "to";
7087
+ readonly type: "core::starknet::contract_address::ContractAddress";
7088
+ }, {
7089
+ readonly name: "token_id";
6966
7090
  readonly type: "core::integer::u256";
6967
7091
  }, {
6968
- readonly name: "open";
6969
- readonly type: "core::bool";
7092
+ readonly name: "amount";
7093
+ readonly type: "core::integer::u256";
6970
7094
  }];
6971
7095
  readonly outputs: readonly [];
6972
7096
  readonly state_mutability: "external";
6973
7097
  }, {
6974
7098
  readonly type: "function";
6975
- readonly name: "join_club";
7099
+ readonly name: "is_member";
6976
7100
  readonly inputs: readonly [{
6977
- readonly name: "club_id";
6978
- readonly type: "core::integer::u256";
7101
+ readonly name: "holder";
7102
+ readonly type: "core::starknet::contract_address::ContractAddress";
6979
7103
  }];
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";
6991
- }];
6992
- readonly outputs: readonly [];
6993
- readonly state_mutability: "external";
6994
- }, {
6995
- 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
- }];
7001
- readonly outputs: readonly [{
7002
- readonly type: "ip_club::types::ClubRecord";
7003
- }];
7004
- readonly state_mutability: "view";
7005
- }, {
7006
- readonly type: "function";
7007
- readonly name: "is_member";
7008
- readonly inputs: readonly [{
7009
- readonly name: "club_id";
7010
- readonly type: "core::integer::u256";
7011
- }, {
7012
- readonly name: "user";
7013
- readonly type: "core::starknet::contract_address::ContractAddress";
7014
- }];
7015
- readonly outputs: readonly [{
7016
- readonly type: "core::bool";
7017
- }];
7018
- readonly state_mutability: "view";
7019
- }, {
7020
- readonly type: "function";
7021
- readonly name: "get_last_club_id";
7022
- readonly inputs: readonly [];
7023
- readonly outputs: readonly [{
7024
- readonly type: "core::integer::u256";
7025
- }];
7026
- readonly state_mutability: "view";
7027
- }];
7028
- }, {
7029
- readonly type: "impl";
7030
- readonly name: "SRC5Impl";
7031
- readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
7032
- }, {
7033
- readonly type: "interface";
7034
- readonly name: "openzeppelin_introspection::interface::ISRC5";
7035
- readonly items: readonly [{
7036
- readonly type: "function";
7037
- readonly name: "supports_interface";
7038
- readonly inputs: readonly [{
7039
- readonly name: "interface_id";
7040
- readonly type: "core::felt252";
7041
- }];
7042
- readonly outputs: readonly [{
7043
- readonly type: "core::bool";
7044
- }];
7045
- readonly state_mutability: "view";
7046
- }];
7047
- }, {
7048
- readonly type: "constructor";
7049
- readonly name: "constructor";
7050
- readonly inputs: readonly [{
7051
- readonly name: "ip_club_nft_class_hash";
7052
- readonly type: "core::starknet::class_hash::ClassHash";
7053
- }];
7054
- }, {
7055
- readonly type: "event";
7056
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7057
- readonly kind: "enum";
7058
- readonly variants: readonly [];
7059
- }, {
7060
- readonly type: "event";
7061
- readonly name: "ip_club::events::NewClubCreated";
7062
- readonly kind: "struct";
7063
- readonly members: readonly [{
7064
- readonly name: "club_id";
7065
- readonly type: "core::integer::u256";
7066
- readonly kind: "key";
7067
- }, {
7068
- readonly name: "creator";
7069
- readonly type: "core::starknet::contract_address::ContractAddress";
7070
- readonly kind: "key";
7071
- }, {
7072
- readonly name: "club_nft";
7073
- readonly type: "core::starknet::contract_address::ContractAddress";
7074
- readonly kind: "data";
7075
- }, {
7076
- readonly name: "metadata_uri";
7077
- readonly type: "core::byte_array::ByteArray";
7078
- readonly kind: "data";
7079
- }, {
7080
- readonly name: "timestamp";
7081
- readonly type: "core::integer::u64";
7082
- readonly kind: "data";
7083
- }];
7084
- }, {
7085
- 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";
7096
- }, {
7097
- readonly name: "timestamp";
7098
- readonly type: "core::integer::u64";
7099
- readonly kind: "data";
7100
- }];
7101
- }, {
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
7104
  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";
7105
+ readonly type: "core::bool";
7691
7106
  }];
7692
7107
  readonly state_mutability: "view";
7693
7108
  }, {
7694
7109
  readonly type: "function";
7695
- readonly name: "deploy_club";
7110
+ readonly name: "is_member_of";
7696
7111
  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";
7112
+ readonly name: "token_id";
7710
7113
  readonly type: "core::integer::u256";
7711
7114
  }, {
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 [{
7115
+ readonly name: "holder";
7719
7116
  readonly type: "core::starknet::contract_address::ContractAddress";
7720
7117
  }];
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
7118
  readonly outputs: readonly [{
7748
7119
  readonly type: "core::bool";
7749
7120
  }];
7750
7121
  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";
7768
- 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";
7793
- }, {
7794
- readonly name: "ClubDeployed";
7795
- readonly type: "ip_club::IPClubFactory::IPClubFactory::ClubDeployed";
7796
- readonly kind: "nested";
7797
- }];
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
- }, {
7805
- readonly type: "struct";
7806
- readonly name: "core::byte_array::ByteArray";
7807
- readonly members: readonly [{
7808
- readonly name: "data";
7809
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7810
- }, {
7811
- readonly name: "pending_word";
7812
- readonly type: "core::felt252";
7813
- }, {
7814
- readonly name: "pending_word_len";
7815
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7816
- }];
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
- }, {
7828
- readonly type: "interface";
7829
- readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
7830
- readonly items: readonly [{
7831
- 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
7122
  }, {
7847
7123
  readonly type: "function";
7848
- readonly name: "token_uri";
7124
+ readonly name: "get_membership";
7849
7125
  readonly inputs: readonly [{
7850
7126
  readonly name: "token_id";
7851
7127
  readonly type: "core::integer::u256";
7852
7128
  }];
7853
7129
  readonly outputs: readonly [{
7854
- readonly type: "core::byte_array::ByteArray";
7855
- }];
7856
- readonly state_mutability: "view";
7857
- }];
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";
7130
+ readonly type: "ip_club::types::Membership";
7874
7131
  }];
7875
7132
  readonly state_mutability: "view";
7876
- }];
7877
- }, {
7878
- readonly type: "impl";
7879
- readonly name: "IPClubCollectionImpl";
7880
- readonly interface_name: "ip_club::interface::IIPClubCollection";
7881
- }, {
7882
- readonly type: "enum";
7883
- readonly name: "core::bool";
7884
- readonly variants: readonly [{
7885
- readonly name: "False";
7886
- readonly type: "()";
7887
- }, {
7888
- readonly name: "True";
7889
- readonly type: "()";
7890
- }];
7891
- }, {
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";
7897
- }, {
7898
- readonly name: "None";
7899
- readonly type: "()";
7900
- }];
7901
- }, {
7902
- readonly type: "interface";
7903
- readonly name: "ip_club::interface::IIPClubCollection";
7904
- readonly items: readonly [{
7905
- readonly type: "function";
7906
- readonly name: "mint";
7907
- readonly inputs: readonly [{
7908
- readonly name: "to";
7909
- readonly type: "core::starknet::contract_address::ContractAddress";
7910
- }];
7911
- readonly outputs: readonly [{
7912
- readonly type: "core::integer::u256";
7913
- }];
7914
- readonly state_mutability: "external";
7915
- }, {
7916
- readonly type: "function";
7917
- readonly name: "set_open";
7918
- readonly inputs: readonly [{
7919
- readonly name: "open";
7920
- readonly type: "core::bool";
7921
- }];
7922
- readonly outputs: readonly [];
7923
- readonly state_mutability: "external";
7924
7133
  }, {
7925
7134
  readonly type: "function";
7926
- readonly name: "base_uri";
7135
+ readonly name: "name";
7927
7136
  readonly inputs: readonly [];
7928
7137
  readonly outputs: readonly [{
7929
7138
  readonly type: "core::byte_array::ByteArray";
@@ -7931,42 +7140,18 @@ declare const IPClubCollectionABI: readonly [{
7931
7140
  readonly state_mutability: "view";
7932
7141
  }, {
7933
7142
  readonly type: "function";
7934
- readonly name: "entry_fee";
7935
- readonly inputs: readonly [];
7936
- readonly outputs: readonly [{
7937
- readonly type: "core::integer::u256";
7938
- }];
7939
- readonly state_mutability: "view";
7940
- }, {
7941
- readonly type: "function";
7942
- readonly name: "payment_token";
7943
- readonly inputs: readonly [];
7944
- readonly outputs: readonly [{
7945
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7946
- }];
7947
- readonly state_mutability: "view";
7948
- }, {
7949
- readonly type: "function";
7950
- readonly name: "max_supply";
7951
- readonly inputs: readonly [];
7952
- readonly outputs: readonly [{
7953
- readonly type: "core::integer::u256";
7954
- }];
7955
- readonly state_mutability: "view";
7956
- }, {
7957
- readonly type: "function";
7958
- readonly name: "total_minted";
7143
+ readonly name: "symbol";
7959
7144
  readonly inputs: readonly [];
7960
7145
  readonly outputs: readonly [{
7961
- readonly type: "core::integer::u256";
7146
+ readonly type: "core::byte_array::ByteArray";
7962
7147
  }];
7963
7148
  readonly state_mutability: "view";
7964
7149
  }, {
7965
7150
  readonly type: "function";
7966
- readonly name: "is_open";
7151
+ readonly name: "base_uri";
7967
7152
  readonly inputs: readonly [];
7968
7153
  readonly outputs: readonly [{
7969
- readonly type: "core::bool";
7154
+ readonly type: "core::byte_array::ByteArray";
7970
7155
  }];
7971
7156
  readonly state_mutability: "view";
7972
7157
  }, {
@@ -8007,9 +7192,23 @@ declare const IPClubCollectionABI: readonly [{
8007
7192
  readonly state_mutability: "view";
8008
7193
  }];
8009
7194
  }, {
8010
- readonly type: "impl";
8011
- readonly name: "ERC721Impl";
8012
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
7195
+ readonly type: "impl";
7196
+ readonly name: "ERC1155Impl";
7197
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155";
7198
+ }, {
7199
+ readonly type: "struct";
7200
+ readonly name: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
7201
+ readonly members: readonly [{
7202
+ readonly name: "snapshot";
7203
+ readonly type: "@core::array::Array::<core::starknet::contract_address::ContractAddress>";
7204
+ }];
7205
+ }, {
7206
+ readonly type: "struct";
7207
+ readonly name: "core::array::Span::<core::integer::u256>";
7208
+ readonly members: readonly [{
7209
+ readonly name: "snapshot";
7210
+ readonly type: "@core::array::Array::<core::integer::u256>";
7211
+ }];
8013
7212
  }, {
8014
7213
  readonly type: "struct";
8015
7214
  readonly name: "core::array::Span::<core::felt252>";
@@ -8019,13 +7218,16 @@ declare const IPClubCollectionABI: readonly [{
8019
7218
  }];
8020
7219
  }, {
8021
7220
  readonly type: "interface";
8022
- readonly name: "openzeppelin_token::erc721::interface::IERC721";
7221
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155";
8023
7222
  readonly items: readonly [{
8024
7223
  readonly type: "function";
8025
7224
  readonly name: "balance_of";
8026
7225
  readonly inputs: readonly [{
8027
7226
  readonly name: "account";
8028
7227
  readonly type: "core::starknet::contract_address::ContractAddress";
7228
+ }, {
7229
+ readonly name: "token_id";
7230
+ readonly type: "core::integer::u256";
8029
7231
  }];
8030
7232
  readonly outputs: readonly [{
8031
7233
  readonly type: "core::integer::u256";
@@ -8033,13 +7235,16 @@ declare const IPClubCollectionABI: readonly [{
8033
7235
  readonly state_mutability: "view";
8034
7236
  }, {
8035
7237
  readonly type: "function";
8036
- readonly name: "owner_of";
7238
+ readonly name: "balance_of_batch";
8037
7239
  readonly inputs: readonly [{
8038
- readonly name: "token_id";
8039
- readonly type: "core::integer::u256";
7240
+ readonly name: "accounts";
7241
+ readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
7242
+ }, {
7243
+ readonly name: "token_ids";
7244
+ readonly type: "core::array::Span::<core::integer::u256>";
8040
7245
  }];
8041
7246
  readonly outputs: readonly [{
8042
- readonly type: "core::starknet::contract_address::ContractAddress";
7247
+ readonly type: "core::array::Span::<core::integer::u256>";
8043
7248
  }];
8044
7249
  readonly state_mutability: "view";
8045
7250
  }, {
@@ -8054,6 +7259,9 @@ declare const IPClubCollectionABI: readonly [{
8054
7259
  }, {
8055
7260
  readonly name: "token_id";
8056
7261
  readonly type: "core::integer::u256";
7262
+ }, {
7263
+ readonly name: "value";
7264
+ readonly type: "core::integer::u256";
8057
7265
  }, {
8058
7266
  readonly name: "data";
8059
7267
  readonly type: "core::array::Span::<core::felt252>";
@@ -8062,7 +7270,7 @@ declare const IPClubCollectionABI: readonly [{
8062
7270
  readonly state_mutability: "external";
8063
7271
  }, {
8064
7272
  readonly type: "function";
8065
- readonly name: "transfer_from";
7273
+ readonly name: "safe_batch_transfer_from";
8066
7274
  readonly inputs: readonly [{
8067
7275
  readonly name: "from";
8068
7276
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -8070,74 +7278,60 @@ declare const IPClubCollectionABI: readonly [{
8070
7278
  readonly name: "to";
8071
7279
  readonly type: "core::starknet::contract_address::ContractAddress";
8072
7280
  }, {
8073
- readonly name: "token_id";
8074
- readonly type: "core::integer::u256";
7281
+ readonly name: "token_ids";
7282
+ readonly type: "core::array::Span::<core::integer::u256>";
7283
+ }, {
7284
+ readonly name: "values";
7285
+ readonly type: "core::array::Span::<core::integer::u256>";
7286
+ }, {
7287
+ readonly name: "data";
7288
+ readonly type: "core::array::Span::<core::felt252>";
8075
7289
  }];
8076
7290
  readonly outputs: readonly [];
8077
7291
  readonly state_mutability: "external";
8078
7292
  }, {
8079
7293
  readonly type: "function";
8080
- readonly name: "approve";
7294
+ readonly name: "is_approved_for_all";
8081
7295
  readonly inputs: readonly [{
8082
- readonly name: "to";
7296
+ readonly name: "owner";
8083
7297
  readonly type: "core::starknet::contract_address::ContractAddress";
8084
7298
  }, {
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
7299
  readonly name: "operator";
8095
7300
  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
7301
  }];
8109
7302
  readonly outputs: readonly [{
8110
- readonly type: "core::starknet::contract_address::ContractAddress";
7303
+ readonly type: "core::bool";
8111
7304
  }];
8112
7305
  readonly state_mutability: "view";
8113
7306
  }, {
8114
7307
  readonly type: "function";
8115
- readonly name: "is_approved_for_all";
7308
+ readonly name: "set_approval_for_all";
8116
7309
  readonly inputs: readonly [{
8117
- readonly name: "owner";
8118
- readonly type: "core::starknet::contract_address::ContractAddress";
8119
- }, {
8120
7310
  readonly name: "operator";
8121
7311
  readonly type: "core::starknet::contract_address::ContractAddress";
8122
- }];
8123
- readonly outputs: readonly [{
7312
+ }, {
7313
+ readonly name: "approved";
8124
7314
  readonly type: "core::bool";
8125
7315
  }];
8126
- readonly state_mutability: "view";
7316
+ readonly outputs: readonly [];
7317
+ readonly state_mutability: "external";
8127
7318
  }];
8128
7319
  }, {
8129
7320
  readonly type: "impl";
8130
- readonly name: "ERC721CamelOnly";
8131
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
7321
+ readonly name: "ERC1155CamelImpl";
7322
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
8132
7323
  }, {
8133
7324
  readonly type: "interface";
8134
- readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
7325
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
8135
7326
  readonly items: readonly [{
8136
7327
  readonly type: "function";
8137
7328
  readonly name: "balanceOf";
8138
7329
  readonly inputs: readonly [{
8139
7330
  readonly name: "account";
8140
7331
  readonly type: "core::starknet::contract_address::ContractAddress";
7332
+ }, {
7333
+ readonly name: "tokenId";
7334
+ readonly type: "core::integer::u256";
8141
7335
  }];
8142
7336
  readonly outputs: readonly [{
8143
7337
  readonly type: "core::integer::u256";
@@ -8145,13 +7339,16 @@ declare const IPClubCollectionABI: readonly [{
8145
7339
  readonly state_mutability: "view";
8146
7340
  }, {
8147
7341
  readonly type: "function";
8148
- readonly name: "ownerOf";
7342
+ readonly name: "balanceOfBatch";
8149
7343
  readonly inputs: readonly [{
8150
- readonly name: "tokenId";
8151
- readonly type: "core::integer::u256";
7344
+ readonly name: "accounts";
7345
+ readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
7346
+ }, {
7347
+ readonly name: "tokenIds";
7348
+ readonly type: "core::array::Span::<core::integer::u256>";
8152
7349
  }];
8153
7350
  readonly outputs: readonly [{
8154
- readonly type: "core::starknet::contract_address::ContractAddress";
7351
+ readonly type: "core::array::Span::<core::integer::u256>";
8155
7352
  }];
8156
7353
  readonly state_mutability: "view";
8157
7354
  }, {
@@ -8166,6 +7363,9 @@ declare const IPClubCollectionABI: readonly [{
8166
7363
  }, {
8167
7364
  readonly name: "tokenId";
8168
7365
  readonly type: "core::integer::u256";
7366
+ }, {
7367
+ readonly name: "value";
7368
+ readonly type: "core::integer::u256";
8169
7369
  }, {
8170
7370
  readonly name: "data";
8171
7371
  readonly type: "core::array::Span::<core::felt252>";
@@ -8174,7 +7374,7 @@ declare const IPClubCollectionABI: readonly [{
8174
7374
  readonly state_mutability: "external";
8175
7375
  }, {
8176
7376
  readonly type: "function";
8177
- readonly name: "transferFrom";
7377
+ readonly name: "safeBatchTransferFrom";
8178
7378
  readonly inputs: readonly [{
8179
7379
  readonly name: "from";
8180
7380
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -8182,48 +7382,43 @@ declare const IPClubCollectionABI: readonly [{
8182
7382
  readonly name: "to";
8183
7383
  readonly type: "core::starknet::contract_address::ContractAddress";
8184
7384
  }, {
8185
- readonly name: "tokenId";
8186
- readonly type: "core::integer::u256";
7385
+ readonly name: "tokenIds";
7386
+ readonly type: "core::array::Span::<core::integer::u256>";
7387
+ }, {
7388
+ readonly name: "values";
7389
+ readonly type: "core::array::Span::<core::integer::u256>";
7390
+ }, {
7391
+ readonly name: "data";
7392
+ readonly type: "core::array::Span::<core::felt252>";
8187
7393
  }];
8188
7394
  readonly outputs: readonly [];
8189
7395
  readonly state_mutability: "external";
8190
7396
  }, {
8191
7397
  readonly type: "function";
8192
- readonly name: "setApprovalForAll";
7398
+ readonly name: "isApprovedForAll";
8193
7399
  readonly inputs: readonly [{
8194
- readonly name: "operator";
7400
+ readonly name: "owner";
8195
7401
  readonly type: "core::starknet::contract_address::ContractAddress";
8196
7402
  }, {
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";
7403
+ readonly name: "operator";
7404
+ readonly type: "core::starknet::contract_address::ContractAddress";
8208
7405
  }];
8209
7406
  readonly outputs: readonly [{
8210
- readonly type: "core::starknet::contract_address::ContractAddress";
7407
+ readonly type: "core::bool";
8211
7408
  }];
8212
7409
  readonly state_mutability: "view";
8213
7410
  }, {
8214
7411
  readonly type: "function";
8215
- readonly name: "isApprovedForAll";
7412
+ readonly name: "setApprovalForAll";
8216
7413
  readonly inputs: readonly [{
8217
- readonly name: "owner";
8218
- readonly type: "core::starknet::contract_address::ContractAddress";
8219
- }, {
8220
7414
  readonly name: "operator";
8221
7415
  readonly type: "core::starknet::contract_address::ContractAddress";
8222
- }];
8223
- readonly outputs: readonly [{
7416
+ }, {
7417
+ readonly name: "approved";
8224
7418
  readonly type: "core::bool";
8225
7419
  }];
8226
- readonly state_mutability: "view";
7420
+ readonly outputs: readonly [];
7421
+ readonly state_mutability: "external";
8227
7422
  }];
8228
7423
  }, {
8229
7424
  readonly type: "impl";
@@ -8302,27 +7497,19 @@ declare const IPClubCollectionABI: readonly [{
8302
7497
  }, {
8303
7498
  readonly name: "base_uri";
8304
7499
  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
7500
  }, {
8318
7501
  readonly name: "owner";
8319
7502
  readonly type: "core::starknet::contract_address::ContractAddress";
8320
7503
  }];
8321
7504
  }, {
8322
7505
  readonly type: "event";
8323
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7506
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
8324
7507
  readonly kind: "struct";
8325
7508
  readonly members: readonly [{
7509
+ readonly name: "operator";
7510
+ readonly type: "core::starknet::contract_address::ContractAddress";
7511
+ readonly kind: "key";
7512
+ }, {
8326
7513
  readonly name: "from";
8327
7514
  readonly type: "core::starknet::contract_address::ContractAddress";
8328
7515
  readonly kind: "key";
@@ -8331,30 +7518,42 @@ declare const IPClubCollectionABI: readonly [{
8331
7518
  readonly type: "core::starknet::contract_address::ContractAddress";
8332
7519
  readonly kind: "key";
8333
7520
  }, {
8334
- readonly name: "token_id";
7521
+ readonly name: "id";
8335
7522
  readonly type: "core::integer::u256";
8336
- readonly kind: "key";
7523
+ readonly kind: "data";
7524
+ }, {
7525
+ readonly name: "value";
7526
+ readonly type: "core::integer::u256";
7527
+ readonly kind: "data";
8337
7528
  }];
8338
7529
  }, {
8339
7530
  readonly type: "event";
8340
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7531
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
8341
7532
  readonly kind: "struct";
8342
7533
  readonly members: readonly [{
8343
- readonly name: "owner";
7534
+ readonly name: "operator";
8344
7535
  readonly type: "core::starknet::contract_address::ContractAddress";
8345
7536
  readonly kind: "key";
8346
7537
  }, {
8347
- readonly name: "approved";
7538
+ readonly name: "from";
8348
7539
  readonly type: "core::starknet::contract_address::ContractAddress";
8349
7540
  readonly kind: "key";
8350
7541
  }, {
8351
- readonly name: "token_id";
8352
- readonly type: "core::integer::u256";
7542
+ readonly name: "to";
7543
+ readonly type: "core::starknet::contract_address::ContractAddress";
8353
7544
  readonly kind: "key";
7545
+ }, {
7546
+ readonly name: "ids";
7547
+ readonly type: "core::array::Span::<core::integer::u256>";
7548
+ readonly kind: "data";
7549
+ }, {
7550
+ readonly name: "values";
7551
+ readonly type: "core::array::Span::<core::integer::u256>";
7552
+ readonly kind: "data";
8354
7553
  }];
8355
7554
  }, {
8356
7555
  readonly type: "event";
8357
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7556
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
8358
7557
  readonly kind: "struct";
8359
7558
  readonly members: readonly [{
8360
7559
  readonly name: "owner";
@@ -8371,19 +7570,36 @@ declare const IPClubCollectionABI: readonly [{
8371
7570
  }];
8372
7571
  }, {
8373
7572
  readonly type: "event";
8374
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7573
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
7574
+ readonly kind: "struct";
7575
+ readonly members: readonly [{
7576
+ readonly name: "value";
7577
+ readonly type: "core::byte_array::ByteArray";
7578
+ readonly kind: "data";
7579
+ }, {
7580
+ readonly name: "id";
7581
+ readonly type: "core::integer::u256";
7582
+ readonly kind: "key";
7583
+ }];
7584
+ }, {
7585
+ readonly type: "event";
7586
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
8375
7587
  readonly kind: "enum";
8376
7588
  readonly variants: readonly [{
8377
- readonly name: "Transfer";
8378
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7589
+ readonly name: "TransferSingle";
7590
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
8379
7591
  readonly kind: "nested";
8380
7592
  }, {
8381
- readonly name: "Approval";
8382
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7593
+ readonly name: "TransferBatch";
7594
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
8383
7595
  readonly kind: "nested";
8384
7596
  }, {
8385
7597
  readonly name: "ApprovalForAll";
8386
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7598
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
7599
+ readonly kind: "nested";
7600
+ }, {
7601
+ readonly name: "URI";
7602
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
8387
7603
  readonly kind: "nested";
8388
7604
  }];
8389
7605
  }, {
@@ -8432,28 +7648,31 @@ declare const IPClubCollectionABI: readonly [{
8432
7648
  }];
8433
7649
  }, {
8434
7650
  readonly type: "event";
8435
- readonly name: "ip_club::IPClubCollection::IPClubCollection::MemberMinted";
7651
+ readonly name: "ip_club::IPClubCollection::IPClubCollection::MembershipCreated";
8436
7652
  readonly kind: "struct";
8437
7653
  readonly members: readonly [{
8438
7654
  readonly name: "token_id";
8439
7655
  readonly type: "core::integer::u256";
8440
7656
  readonly kind: "key";
8441
7657
  }, {
8442
- readonly name: "to";
8443
- readonly type: "core::starknet::contract_address::ContractAddress";
8444
- readonly kind: "key";
7658
+ readonly name: "max_supply";
7659
+ readonly type: "core::integer::u256";
7660
+ readonly kind: "data";
8445
7661
  }, {
8446
- readonly name: "payer";
8447
- readonly type: "core::starknet::contract_address::ContractAddress";
7662
+ readonly name: "start_time";
7663
+ readonly type: "core::option::Option::<core::integer::u64>";
8448
7664
  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";
7665
+ }, {
7666
+ readonly name: "end_time";
7667
+ readonly type: "core::option::Option::<core::integer::u64>";
7668
+ readonly kind: "data";
7669
+ }, {
7670
+ readonly name: "metadata_uri";
7671
+ readonly type: "core::byte_array::ByteArray";
7672
+ readonly kind: "data";
7673
+ }, {
7674
+ readonly name: "created_at";
7675
+ readonly type: "core::integer::u64";
8457
7676
  readonly kind: "data";
8458
7677
  }];
8459
7678
  }, {
@@ -8461,8 +7680,8 @@ declare const IPClubCollectionABI: readonly [{
8461
7680
  readonly name: "ip_club::IPClubCollection::IPClubCollection::Event";
8462
7681
  readonly kind: "enum";
8463
7682
  readonly variants: readonly [{
8464
- readonly name: "ERC721Event";
8465
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7683
+ readonly name: "ERC1155Event";
7684
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
8466
7685
  readonly kind: "flat";
8467
7686
  }, {
8468
7687
  readonly name: "SRC5Event";
@@ -8473,12 +7692,8 @@ declare const IPClubCollectionABI: readonly [{
8473
7692
  readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
8474
7693
  readonly kind: "flat";
8475
7694
  }, {
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";
7695
+ readonly name: "MembershipCreated";
7696
+ readonly type: "ip_club::IPClubCollection::IPClubCollection::MembershipCreated";
8482
7697
  readonly kind: "nested";
8483
7698
  }];
8484
7699
  }];
@@ -10211,4 +9426,4 @@ declare function build1155CancellationTypedData(message: Record<string, unknown>
10211
9426
 
10212
9427
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
10213
9428
 
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 };
9429
+ 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 };