@medialane/sdk 0.67.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-CIR6H6ul.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.js';
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;
@@ -1332,9 +1324,26 @@ interface CreateSponsorshipOfferParams {
1332
1324
  paymentToken: string;
1333
1325
  licenseTermsUri: string;
1334
1326
  transferable: boolean;
1327
+ /** Basis points, 0–10000. EIP-2981 royalty to the author on license resale. */
1328
+ royaltyBps: bigint | string;
1335
1329
  /** Restricts acceptance to one sponsor address; omit for open bidding. */
1336
1330
  specificSponsor?: string;
1337
1331
  }
1332
+ /** Sponsor-initiated — the symmetric counterpart to CreateSponsorshipOfferParams. */
1333
+ interface ProposeSponsorshipParams {
1334
+ nftContract: string;
1335
+ tokenId: bigint | string;
1336
+ /** Fixed take-it-or-leave-it amount (not a bid floor). */
1337
+ amount: bigint | string;
1338
+ duration: number;
1339
+ /** Unix seconds; the deadline for the asset owner to accept. 0 = no deadline. */
1340
+ validUntil?: number;
1341
+ paymentToken: string;
1342
+ licenseTermsUri: string;
1343
+ transferable: boolean;
1344
+ /** Basis points, 0–10000. */
1345
+ royaltyBps: bigint | string;
1346
+ }
1338
1347
 
1339
1348
  declare class PopService {
1340
1349
  private readonly factoryAddress;
@@ -1674,57 +1683,101 @@ declare class TicketService {
1674
1683
  }): Promise<TicketRecord>;
1675
1684
  }
1676
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
+ }
1677
1694
  declare class ClubService {
1678
- private readonly registryAddress?;
1679
1695
  private readonly factoryAddress?;
1696
+ private readonly config;
1680
1697
  constructor(config: ResolvedConfig);
1681
- private _registry;
1682
1698
  private _factory;
1683
1699
  private _collection;
1684
- /** Deploy a new per-creator membership ERC-721 collection via the factory. */
1685
- deployClub(account: AccountInterface, params: DeployClubParams): Promise<TxResult>;
1686
- /** Owner-only pause or resume new mints on a club collection. */
1687
- setOpen(account: AccountInterface, params: {
1688
- collectionAddress: string;
1689
- open: boolean;
1690
- }): Promise<TxResult>;
1691
- /** Public mint — caller pays entry fee (if any) and receives the membership NFT. */
1692
- mintMembership(account: AccountInterface, params: {
1693
- collectionAddress: string;
1694
- to?: string;
1695
- entryFee?: bigint | string;
1696
- paymentToken?: string;
1697
- }): Promise<TxResult>;
1698
- /** @deprecated Use deployClub — the factory pattern replaced the registry. */
1699
- createClub(account: AccountInterface, params: CreateClubParams & {
1700
- registryAddress?: string;
1701
- }): Promise<TxResult>;
1702
- /** @deprecated Legacy registry — use factory-deployed collection methods. */
1703
- setClubOpen(account: AccountInterface, params: {
1704
- clubId: bigint | string;
1705
- open: boolean;
1706
- registryAddress?: string;
1707
- }): Promise<TxResult>;
1708
- /** @deprecated Legacy registry — use mintMembership with factory-deployed collections. */
1709
- joinClub(account: AccountInterface, params: {
1710
- clubId: bigint | string;
1711
- entryFee?: bigint | string;
1712
- paymentToken?: string;
1713
- 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;
1714
1711
  }): Promise<TxResult>;
1715
- /** @deprecated Legacy registry use factory-deployed collection burn. */
1716
- leaveClub(account: AccountInterface, params: {
1717
- 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;
1718
1727
  tokenId: bigint | string;
1719
- registryAddress?: string;
1720
- }): 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>;
1721
1735
  }
1722
1736
 
1737
+ interface SponsorshipOfferRecord {
1738
+ author: string;
1739
+ nftContract: string;
1740
+ tokenId: bigint;
1741
+ minAmount: bigint;
1742
+ duration: number;
1743
+ paymentToken: string;
1744
+ licenseTermsUri: string;
1745
+ transferable: boolean;
1746
+ specificSponsor: string | null;
1747
+ open: boolean;
1748
+ royaltyBps: bigint;
1749
+ }
1750
+ interface SponsorshipProposalRecord {
1751
+ proposer: string;
1752
+ nftContract: string;
1753
+ tokenId: bigint;
1754
+ amount: bigint;
1755
+ duration: number;
1756
+ /** Unix seconds; 0 = no deadline. */
1757
+ validUntil: number;
1758
+ paymentToken: string;
1759
+ licenseTermsUri: string;
1760
+ transferable: boolean;
1761
+ open: boolean;
1762
+ royaltyBps: bigint;
1763
+ }
1764
+ /**
1765
+ * IP Sponsorship v3 — one contract is both the offer/bid/proposal registry
1766
+ * AND the issued license collection (a standard ERC-721; embeds
1767
+ * ERC721Component directly, no separate receipt contract, no `set_minter`
1768
+ * bootstrap). `transferable`/expiry are declarative terms only — never
1769
+ * contract-enforced against a transfer — carried in `license_terms_uri`
1770
+ * metadata and the `LicenseMinted` event; the indexer, not this contract,
1771
+ * derives validity. A license moves through the standard ERC-721
1772
+ * `transfer_from`/`safe_transfer_from` on this same contract address, so
1773
+ * there is no bespoke transfer wrapper here.
1774
+ */
1723
1775
  declare class SponsorshipService {
1724
1776
  private readonly sponsorshipAddress?;
1725
- private readonly licenseReceiptAddress?;
1777
+ private readonly config;
1726
1778
  constructor(config: ResolvedConfig);
1727
- private _sponsorship;
1779
+ private _contract;
1780
+ private _contractRead;
1728
1781
  /** The offer author must currently own (nftContract, tokenId) — enforced on-chain at create and accept. */
1729
1782
  createOffer(account: AccountInterface, params: CreateSponsorshipOfferParams & {
1730
1783
  sponsorshipAddress?: string;
@@ -1747,32 +1800,69 @@ declare class SponsorshipService {
1747
1800
  sponsorshipAddress?: string;
1748
1801
  }): Promise<TxResult>;
1749
1802
  /**
1750
- * Author-only. Settles the sponsor's payment (allowance pull, no escrow) and
1751
- * mints a non-authoritative receipt NFT to the sponsor via the dedicated
1752
- * sponsorship-license IPGenesis instancenever the genesis-mint instance.
1753
- * `is_license_valid()` on IPSponsorship remains the sole authority for
1754
- * gating/perks; the receipt is a wallet-visible courtesy only.
1803
+ * Author-only. Re-verifies IP ownership, settles the sponsor's payment
1804
+ * (allowance pull, no escrow), and mints the license a real ERC-721 on
1805
+ * this same contractto the sponsor, all atomically in one call.
1755
1806
  */
1756
1807
  acceptBid(account: AccountInterface, params: {
1757
1808
  offerId: bigint | string;
1758
1809
  sponsor: string;
1759
- licenseTermsUri: string;
1760
1810
  sponsorshipAddress?: string;
1761
- licenseReceiptAddress?: string;
1811
+ }): Promise<TxResult>;
1812
+ proposeSponsorship(account: AccountInterface, params: ProposeSponsorshipParams & {
1813
+ sponsorshipAddress?: string;
1814
+ }): Promise<TxResult>;
1815
+ /** Proposer-only. Advisory against an acceptance in flight in the same block. */
1816
+ withdrawProposal(account: AccountInterface, params: {
1817
+ proposalId: bigint | string;
1818
+ sponsorshipAddress?: string;
1762
1819
  }): Promise<TxResult>;
1763
1820
  /**
1764
- * Best-effortbundles a receipt-NFT transfer alongside `transfer_license`
1765
- * when both `licenseReceiptAddress` and `receiptTokenId` are supplied.
1766
- * IPSponsorship's own license ownership stays authoritative regardless of
1767
- * whether the receipt NFT is kept in sync.
1821
+ * Asset-owner-only (re-verified on-chain — a proposal binds to the asset,
1822
+ * not a person: whoever owns it at acceptance time is paid and issues the
1823
+ * license). Settles payment and mints the license atomically, same as
1824
+ * `acceptBid`.
1768
1825
  */
1769
- transferLicense(account: AccountInterface, params: {
1770
- licenseId: bigint | string;
1771
- to: string;
1826
+ acceptProposal(account: AccountInterface, params: {
1827
+ proposalId: bigint | string;
1828
+ sponsorshipAddress?: string;
1829
+ }): Promise<TxResult>;
1830
+ /** Asset-owner-only. */
1831
+ rejectProposal(account: AccountInterface, params: {
1832
+ proposalId: bigint | string;
1772
1833
  sponsorshipAddress?: string;
1773
- licenseReceiptAddress?: string;
1774
- receiptTokenId?: bigint | string;
1775
1834
  }): Promise<TxResult>;
1835
+ getOffer(params: {
1836
+ offerId: bigint | string;
1837
+ sponsorshipAddress?: string;
1838
+ }): Promise<SponsorshipOfferRecord>;
1839
+ getBid(params: {
1840
+ offerId: bigint | string;
1841
+ sponsor: string;
1842
+ sponsorshipAddress?: string;
1843
+ }): Promise<bigint>;
1844
+ getProposal(params: {
1845
+ proposalId: bigint | string;
1846
+ sponsorshipAddress?: string;
1847
+ }): Promise<SponsorshipProposalRecord>;
1848
+ getLastOfferId(params?: {
1849
+ sponsorshipAddress?: string;
1850
+ }): Promise<bigint>;
1851
+ getLastProposalId(params?: {
1852
+ sponsorshipAddress?: string;
1853
+ }): Promise<bigint>;
1854
+ getLastLicenseId(params?: {
1855
+ sponsorshipAddress?: string;
1856
+ }): Promise<bigint>;
1857
+ /** EIP-2981 — royalty recipient (the license's issuing author) and amount owed on a resale at `salePrice`. */
1858
+ royaltyInfo(params: {
1859
+ licenseId: bigint | string;
1860
+ salePrice: bigint | string;
1861
+ sponsorshipAddress?: string;
1862
+ }): Promise<{
1863
+ recipient: string;
1864
+ amount: bigint;
1865
+ }>;
1776
1866
  }
1777
1867
 
1778
1868
  declare class MedialaneClient {
@@ -6744,10 +6834,10 @@ declare const IPTicketCollectionFactoryABI: readonly [{
6744
6834
  }];
6745
6835
  }];
6746
6836
 
6747
- declare const IPClubABI: readonly [{
6837
+ declare const IPClubFactoryABI: readonly [{
6748
6838
  readonly type: "impl";
6749
- readonly name: "IPClubImpl";
6750
- readonly interface_name: "ip_club::interfaces::IIPClub::IIPClub";
6839
+ readonly name: "IPClubCollectionFactoryImpl";
6840
+ readonly interface_name: "ip_club::interface::IIPClubCollectionFactory";
6751
6841
  }, {
6752
6842
  readonly type: "struct";
6753
6843
  readonly name: "core::byte_array::ByteArray";
@@ -6761,181 +6851,57 @@ declare const IPClubABI: readonly [{
6761
6851
  readonly name: "pending_word_len";
6762
6852
  readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
6763
6853
  }];
6764
- }, {
6765
- readonly type: "enum";
6766
- readonly name: "core::option::Option::<core::integer::u32>";
6767
- readonly variants: readonly [{
6768
- readonly name: "Some";
6769
- readonly type: "core::integer::u32";
6770
- }, {
6771
- readonly name: "None";
6772
- readonly type: "()";
6773
- }];
6774
- }, {
6775
- readonly type: "struct";
6776
- readonly name: "core::integer::u256";
6777
- readonly members: readonly [{
6778
- readonly name: "low";
6779
- readonly type: "core::integer::u128";
6780
- }, {
6781
- readonly name: "high";
6782
- readonly type: "core::integer::u128";
6783
- }];
6784
- }, {
6785
- readonly type: "enum";
6786
- readonly name: "core::option::Option::<core::integer::u256>";
6787
- readonly variants: readonly [{
6788
- readonly name: "Some";
6789
- readonly type: "core::integer::u256";
6790
- }, {
6791
- readonly name: "None";
6792
- readonly type: "()";
6793
- }];
6794
- }, {
6795
- readonly type: "enum";
6796
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6797
- readonly variants: readonly [{
6798
- readonly name: "Some";
6799
- readonly type: "core::starknet::contract_address::ContractAddress";
6800
- }, {
6801
- readonly name: "None";
6802
- readonly type: "()";
6803
- }];
6804
- }, {
6805
- readonly type: "enum";
6806
- readonly name: "core::bool";
6807
- readonly variants: readonly [{
6808
- readonly name: "False";
6809
- readonly type: "()";
6810
- }, {
6811
- readonly name: "True";
6812
- readonly type: "()";
6813
- }];
6814
- }, {
6815
- readonly type: "struct";
6816
- readonly name: "ip_club::types::ClubRecord";
6817
- readonly members: readonly [{
6818
- readonly name: "creator";
6819
- readonly type: "core::starknet::contract_address::ContractAddress";
6820
- }, {
6821
- readonly name: "club_nft";
6822
- readonly type: "core::starknet::contract_address::ContractAddress";
6823
- }, {
6824
- readonly name: "open";
6825
- readonly type: "core::bool";
6826
- }, {
6827
- readonly name: "num_members";
6828
- readonly type: "core::integer::u32";
6829
- }, {
6830
- readonly name: "max_members";
6831
- readonly type: "core::option::Option::<core::integer::u32>";
6832
- }, {
6833
- readonly name: "entry_fee";
6834
- readonly type: "core::option::Option::<core::integer::u256>";
6835
- }, {
6836
- readonly name: "payment_token";
6837
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6838
- }];
6839
6854
  }, {
6840
6855
  readonly type: "interface";
6841
- readonly name: "ip_club::interfaces::IIPClub::IIPClub";
6856
+ readonly name: "ip_club::interface::IIPClubCollectionFactory";
6842
6857
  readonly items: readonly [{
6843
6858
  readonly type: "function";
6844
- readonly name: "create_club";
6845
- readonly inputs: readonly [{
6846
- readonly name: "name";
6847
- readonly type: "core::byte_array::ByteArray";
6848
- }, {
6849
- readonly name: "symbol";
6850
- readonly type: "core::byte_array::ByteArray";
6851
- }, {
6852
- readonly name: "metadata_uri";
6853
- readonly type: "core::byte_array::ByteArray";
6854
- }, {
6855
- readonly name: "max_members";
6856
- readonly type: "core::option::Option::<core::integer::u32>";
6857
- }, {
6858
- readonly name: "entry_fee";
6859
- readonly type: "core::option::Option::<core::integer::u256>";
6860
- }, {
6861
- readonly name: "payment_token";
6862
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6863
- }];
6859
+ readonly name: "collection_class_hash";
6860
+ readonly inputs: readonly [];
6864
6861
  readonly outputs: readonly [{
6865
- readonly type: "core::integer::u256";
6866
- }];
6867
- readonly state_mutability: "external";
6868
- }, {
6869
- readonly type: "function";
6870
- readonly name: "set_club_open";
6871
- readonly inputs: readonly [{
6872
- readonly name: "club_id";
6873
- readonly type: "core::integer::u256";
6874
- }, {
6875
- readonly name: "open";
6876
- readonly type: "core::bool";
6877
- }];
6878
- readonly outputs: readonly [];
6879
- readonly state_mutability: "external";
6880
- }, {
6881
- readonly type: "function";
6882
- readonly name: "join_club";
6883
- readonly inputs: readonly [{
6884
- readonly name: "club_id";
6885
- readonly type: "core::integer::u256";
6886
- }];
6887
- readonly outputs: readonly [];
6888
- readonly state_mutability: "external";
6889
- }, {
6890
- readonly type: "function";
6891
- readonly name: "leave_club";
6892
- readonly inputs: readonly [{
6893
- readonly name: "club_id";
6894
- readonly type: "core::integer::u256";
6895
- }, {
6896
- readonly name: "token_id";
6897
- readonly type: "core::integer::u256";
6862
+ readonly type: "core::starknet::class_hash::ClassHash";
6898
6863
  }];
6899
- readonly outputs: readonly [];
6900
- readonly state_mutability: "external";
6864
+ readonly state_mutability: "view";
6901
6865
  }, {
6902
6866
  readonly type: "function";
6903
- readonly name: "get_club_record";
6904
- readonly inputs: readonly [{
6905
- readonly name: "club_id";
6906
- readonly type: "core::integer::u256";
6907
- }];
6867
+ readonly name: "version";
6868
+ readonly inputs: readonly [];
6908
6869
  readonly outputs: readonly [{
6909
- readonly type: "ip_club::types::ClubRecord";
6870
+ readonly type: "core::byte_array::ByteArray";
6910
6871
  }];
6911
6872
  readonly state_mutability: "view";
6912
6873
  }, {
6913
6874
  readonly type: "function";
6914
- readonly name: "is_member";
6875
+ readonly name: "deploy_collection";
6915
6876
  readonly inputs: readonly [{
6916
- readonly name: "club_id";
6917
- readonly type: "core::integer::u256";
6877
+ readonly name: "name";
6878
+ readonly type: "core::byte_array::ByteArray";
6918
6879
  }, {
6919
- readonly name: "user";
6920
- readonly type: "core::starknet::contract_address::ContractAddress";
6921
- }];
6922
- readonly outputs: readonly [{
6923
- readonly type: "core::bool";
6880
+ readonly name: "symbol";
6881
+ readonly type: "core::byte_array::ByteArray";
6882
+ }, {
6883
+ readonly name: "base_uri";
6884
+ readonly type: "core::byte_array::ByteArray";
6924
6885
  }];
6925
- readonly state_mutability: "view";
6926
- }, {
6927
- readonly type: "function";
6928
- readonly name: "get_last_club_id";
6929
- readonly inputs: readonly [];
6930
6886
  readonly outputs: readonly [{
6931
- readonly type: "core::integer::u256";
6887
+ readonly type: "core::starknet::contract_address::ContractAddress";
6932
6888
  }];
6933
- readonly state_mutability: "view";
6889
+ readonly state_mutability: "external";
6934
6890
  }];
6935
6891
  }, {
6936
6892
  readonly type: "impl";
6937
6893
  readonly name: "SRC5Impl";
6938
6894
  readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
6895
+ }, {
6896
+ readonly type: "enum";
6897
+ readonly name: "core::bool";
6898
+ readonly variants: readonly [{
6899
+ readonly name: "False";
6900
+ readonly type: "()";
6901
+ }, {
6902
+ readonly name: "True";
6903
+ readonly type: "()";
6904
+ }];
6939
6905
  }, {
6940
6906
  readonly type: "interface";
6941
6907
  readonly name: "openzeppelin_introspection::interface::ISRC5";
@@ -6955,7 +6921,7 @@ declare const IPClubABI: readonly [{
6955
6921
  readonly type: "constructor";
6956
6922
  readonly name: "constructor";
6957
6923
  readonly inputs: readonly [{
6958
- readonly name: "ip_club_nft_class_hash";
6924
+ readonly name: "collection_class_hash";
6959
6925
  readonly type: "core::starknet::class_hash::ClassHash";
6960
6926
  }];
6961
6927
  }, {
@@ -6965,111 +6931,44 @@ declare const IPClubABI: readonly [{
6965
6931
  readonly variants: readonly [];
6966
6932
  }, {
6967
6933
  readonly type: "event";
6968
- readonly name: "ip_club::events::NewClubCreated";
6934
+ readonly name: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::ClubDeployed";
6969
6935
  readonly kind: "struct";
6970
6936
  readonly members: readonly [{
6971
- readonly name: "club_id";
6972
- readonly type: "core::integer::u256";
6937
+ readonly name: "collection_address";
6938
+ readonly type: "core::starknet::contract_address::ContractAddress";
6973
6939
  readonly kind: "key";
6974
6940
  }, {
6975
- readonly name: "creator";
6941
+ readonly name: "owner";
6976
6942
  readonly type: "core::starknet::contract_address::ContractAddress";
6977
6943
  readonly kind: "key";
6978
6944
  }, {
6979
- readonly name: "club_nft";
6980
- readonly type: "core::starknet::contract_address::ContractAddress";
6981
- readonly kind: "data";
6982
- }, {
6983
- readonly name: "metadata_uri";
6945
+ readonly name: "name";
6984
6946
  readonly type: "core::byte_array::ByteArray";
6985
6947
  readonly kind: "data";
6986
6948
  }, {
6987
- readonly name: "timestamp";
6988
- readonly type: "core::integer::u64";
6989
- readonly kind: "data";
6990
- }];
6991
- }, {
6992
- readonly type: "event";
6993
- readonly name: "ip_club::events::ClubStatusUpdated";
6994
- readonly kind: "struct";
6995
- readonly members: readonly [{
6996
- readonly name: "club_id";
6997
- readonly type: "core::integer::u256";
6998
- readonly kind: "key";
6999
- }, {
7000
- readonly name: "open";
7001
- readonly type: "core::bool";
7002
- readonly kind: "data";
7003
- }, {
7004
- readonly name: "timestamp";
7005
- readonly type: "core::integer::u64";
7006
- readonly kind: "data";
7007
- }];
7008
- }, {
7009
- readonly type: "event";
7010
- readonly name: "ip_club::events::NewMember";
7011
- readonly kind: "struct";
7012
- readonly members: readonly [{
7013
- readonly name: "club_id";
7014
- readonly type: "core::integer::u256";
7015
- readonly kind: "key";
7016
- }, {
7017
- readonly name: "member";
7018
- readonly type: "core::starknet::contract_address::ContractAddress";
7019
- readonly kind: "key";
7020
- }, {
7021
- readonly name: "timestamp";
7022
- readonly type: "core::integer::u64";
7023
- readonly kind: "data";
7024
- }];
7025
- }, {
7026
- readonly type: "event";
7027
- readonly name: "ip_club::events::MemberLeft";
7028
- readonly kind: "struct";
7029
- readonly members: readonly [{
7030
- readonly name: "club_id";
7031
- readonly type: "core::integer::u256";
7032
- readonly kind: "key";
7033
- }, {
7034
- readonly name: "member";
7035
- readonly type: "core::starknet::contract_address::ContractAddress";
7036
- readonly kind: "key";
7037
- }, {
7038
- readonly name: "timestamp";
7039
- readonly type: "core::integer::u64";
6949
+ readonly name: "symbol";
6950
+ readonly type: "core::byte_array::ByteArray";
7040
6951
  readonly kind: "data";
7041
6952
  }];
7042
6953
  }, {
7043
6954
  readonly type: "event";
7044
- readonly name: "ip_club::IPClub::IPClub::Event";
6955
+ readonly name: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::Event";
7045
6956
  readonly kind: "enum";
7046
6957
  readonly variants: readonly [{
7047
6958
  readonly name: "SRC5Event";
7048
6959
  readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7049
6960
  readonly kind: "flat";
7050
6961
  }, {
7051
- readonly name: "NewClubCreated";
7052
- readonly type: "ip_club::events::NewClubCreated";
7053
- readonly kind: "nested";
7054
- }, {
7055
- readonly name: "ClubStatusUpdated";
7056
- readonly type: "ip_club::events::ClubStatusUpdated";
7057
- readonly kind: "nested";
7058
- }, {
7059
- readonly name: "NewMember";
7060
- readonly type: "ip_club::events::NewMember";
7061
- readonly kind: "nested";
7062
- }, {
7063
- readonly name: "MemberLeft";
7064
- readonly type: "ip_club::events::MemberLeft";
6962
+ readonly name: "ClubDeployed";
6963
+ readonly type: "ip_club::IPClubCollectionFactory::IPClubCollectionFactory::ClubDeployed";
7065
6964
  readonly kind: "nested";
7066
6965
  }];
7067
6966
  }];
7068
6967
 
7069
- declare const IPClubNFTABI: readonly [{
6968
+ declare const IPClubCollectionABI: readonly [{
7070
6969
  readonly type: "impl";
7071
- readonly name: "IIPClubNFTImpl";
7072
- readonly interface_name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
6970
+ readonly name: "ERC1155MetadataURIImpl";
6971
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
7073
6972
  }, {
7074
6973
  readonly type: "struct";
7075
6974
  readonly name: "core::integer::u256";
@@ -7080,6 +6979,48 @@ declare const IPClubNFTABI: readonly [{
7080
6979
  readonly name: "high";
7081
6980
  readonly type: "core::integer::u128";
7082
6981
  }];
6982
+ }, {
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>";
6988
+ }, {
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";
7009
+ }];
7010
+ }, {
7011
+ readonly type: "impl";
7012
+ readonly name: "IPClubCollectionImpl";
7013
+ readonly interface_name: "ip_club::interface::IIPClubCollection";
7014
+ }, {
7015
+ readonly type: "enum";
7016
+ readonly name: "core::option::Option::<core::integer::u64>";
7017
+ readonly variants: readonly [{
7018
+ readonly name: "Some";
7019
+ readonly type: "core::integer::u64";
7020
+ }, {
7021
+ readonly name: "None";
7022
+ readonly type: "()";
7023
+ }];
7083
7024
  }, {
7084
7025
  readonly type: "enum";
7085
7026
  readonly name: "core::bool";
@@ -7090,35 +7031,88 @@ declare const IPClubNFTABI: readonly [{
7090
7031
  readonly name: "True";
7091
7032
  readonly type: "()";
7092
7033
  }];
7034
+ }, {
7035
+ readonly type: "struct";
7036
+ readonly name: "ip_club::types::Membership";
7037
+ readonly members: readonly [{
7038
+ readonly name: "max_supply";
7039
+ readonly type: "core::integer::u256";
7040
+ }, {
7041
+ readonly name: "minted";
7042
+ readonly type: "core::integer::u256";
7043
+ }, {
7044
+ readonly name: "start_time";
7045
+ readonly type: "core::option::Option::<core::integer::u64>";
7046
+ }, {
7047
+ readonly name: "end_time";
7048
+ readonly type: "core::option::Option::<core::integer::u64>";
7049
+ }, {
7050
+ readonly name: "royalty_bps";
7051
+ readonly type: "core::integer::u16";
7052
+ }, {
7053
+ readonly name: "metadata_uri";
7054
+ readonly type: "core::byte_array::ByteArray";
7055
+ }];
7093
7056
  }, {
7094
7057
  readonly type: "interface";
7095
- readonly name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
7058
+ readonly name: "ip_club::interface::IIPClubCollection";
7096
7059
  readonly items: readonly [{
7097
7060
  readonly type: "function";
7098
- readonly name: "mint";
7061
+ readonly name: "create_membership";
7099
7062
  readonly inputs: readonly [{
7100
- readonly name: "recipient";
7101
- readonly type: "core::starknet::contract_address::ContractAddress";
7063
+ readonly name: "max_supply";
7064
+ readonly type: "core::integer::u256";
7065
+ }, {
7066
+ readonly name: "start_time";
7067
+ readonly type: "core::option::Option::<core::integer::u64>";
7068
+ }, {
7069
+ readonly name: "end_time";
7070
+ readonly type: "core::option::Option::<core::integer::u64>";
7071
+ }, {
7072
+ readonly name: "royalty_bps";
7073
+ readonly type: "core::integer::u16";
7074
+ }, {
7075
+ readonly name: "metadata_uri";
7076
+ readonly type: "core::byte_array::ByteArray";
7077
+ }];
7078
+ readonly outputs: readonly [{
7079
+ readonly type: "core::integer::u256";
7102
7080
  }];
7103
- readonly outputs: readonly [];
7104
7081
  readonly state_mutability: "external";
7105
7082
  }, {
7106
7083
  readonly type: "function";
7107
- readonly name: "burn";
7084
+ readonly name: "mint";
7108
7085
  readonly inputs: readonly [{
7109
- readonly name: "member";
7086
+ readonly name: "to";
7110
7087
  readonly type: "core::starknet::contract_address::ContractAddress";
7111
7088
  }, {
7112
7089
  readonly name: "token_id";
7113
7090
  readonly type: "core::integer::u256";
7091
+ }, {
7092
+ readonly name: "amount";
7093
+ readonly type: "core::integer::u256";
7114
7094
  }];
7115
7095
  readonly outputs: readonly [];
7116
7096
  readonly state_mutability: "external";
7117
7097
  }, {
7118
7098
  readonly type: "function";
7119
- readonly name: "has_nft";
7099
+ readonly name: "is_member";
7120
7100
  readonly inputs: readonly [{
7121
- readonly name: "user";
7101
+ readonly name: "holder";
7102
+ readonly type: "core::starknet::contract_address::ContractAddress";
7103
+ }];
7104
+ readonly outputs: readonly [{
7105
+ readonly type: "core::bool";
7106
+ }];
7107
+ readonly state_mutability: "view";
7108
+ }, {
7109
+ readonly type: "function";
7110
+ readonly name: "is_member_of";
7111
+ readonly inputs: readonly [{
7112
+ readonly name: "token_id";
7113
+ readonly type: "core::integer::u256";
7114
+ }, {
7115
+ readonly name: "holder";
7122
7116
  readonly type: "core::starknet::contract_address::ContractAddress";
7123
7117
  }];
7124
7118
  readonly outputs: readonly [{
@@ -7127,70 +7121,113 @@ declare const IPClubNFTABI: readonly [{
7127
7121
  readonly state_mutability: "view";
7128
7122
  }, {
7129
7123
  readonly type: "function";
7130
- readonly name: "get_nft_creator";
7124
+ readonly name: "get_membership";
7125
+ readonly inputs: readonly [{
7126
+ readonly name: "token_id";
7127
+ readonly type: "core::integer::u256";
7128
+ }];
7129
+ readonly outputs: readonly [{
7130
+ readonly type: "ip_club::types::Membership";
7131
+ }];
7132
+ readonly state_mutability: "view";
7133
+ }, {
7134
+ readonly type: "function";
7135
+ readonly name: "name";
7131
7136
  readonly inputs: readonly [];
7132
7137
  readonly outputs: readonly [{
7133
- readonly type: "core::starknet::contract_address::ContractAddress";
7138
+ readonly type: "core::byte_array::ByteArray";
7134
7139
  }];
7135
7140
  readonly state_mutability: "view";
7136
7141
  }, {
7137
7142
  readonly type: "function";
7138
- readonly name: "get_ip_club_manager";
7143
+ readonly name: "symbol";
7139
7144
  readonly inputs: readonly [];
7140
7145
  readonly outputs: readonly [{
7141
- readonly type: "core::starknet::contract_address::ContractAddress";
7146
+ readonly type: "core::byte_array::ByteArray";
7142
7147
  }];
7143
7148
  readonly state_mutability: "view";
7144
7149
  }, {
7145
7150
  readonly type: "function";
7146
- readonly name: "get_associated_club_id";
7151
+ readonly name: "base_uri";
7147
7152
  readonly inputs: readonly [];
7148
7153
  readonly outputs: readonly [{
7154
+ readonly type: "core::byte_array::ByteArray";
7155
+ }];
7156
+ readonly state_mutability: "view";
7157
+ }, {
7158
+ readonly type: "function";
7159
+ readonly name: "royalty_info";
7160
+ readonly inputs: readonly [{
7161
+ readonly name: "token_id";
7162
+ readonly type: "core::integer::u256";
7163
+ }, {
7164
+ readonly name: "sale_price";
7165
+ readonly type: "core::integer::u256";
7166
+ }];
7167
+ readonly outputs: readonly [{
7168
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
7169
+ }];
7170
+ readonly state_mutability: "view";
7171
+ }, {
7172
+ readonly type: "function";
7173
+ readonly name: "royaltyInfo";
7174
+ readonly inputs: readonly [{
7175
+ readonly name: "token_id";
7176
+ readonly type: "core::integer::u256";
7177
+ }, {
7178
+ readonly name: "sale_price";
7149
7179
  readonly type: "core::integer::u256";
7150
7180
  }];
7181
+ readonly outputs: readonly [{
7182
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
7183
+ }];
7151
7184
  readonly state_mutability: "view";
7152
7185
  }, {
7153
7186
  readonly type: "function";
7154
- readonly name: "get_last_minted_id";
7187
+ readonly name: "version";
7155
7188
  readonly inputs: readonly [];
7156
7189
  readonly outputs: readonly [{
7157
- readonly type: "core::integer::u256";
7190
+ readonly type: "core::byte_array::ByteArray";
7158
7191
  }];
7159
7192
  readonly state_mutability: "view";
7160
7193
  }];
7161
7194
  }, {
7162
7195
  readonly type: "impl";
7163
- readonly name: "ERC721MixinImpl";
7164
- readonly interface_name: "openzeppelin_token::erc721::interface::ERC721ABI";
7196
+ readonly name: "ERC1155Impl";
7197
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155";
7165
7198
  }, {
7166
7199
  readonly type: "struct";
7167
- readonly name: "core::array::Span::<core::felt252>";
7200
+ readonly name: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
7168
7201
  readonly members: readonly [{
7169
7202
  readonly name: "snapshot";
7170
- readonly type: "@core::array::Array::<core::felt252>";
7203
+ readonly type: "@core::array::Array::<core::starknet::contract_address::ContractAddress>";
7171
7204
  }];
7172
7205
  }, {
7173
7206
  readonly type: "struct";
7174
- readonly name: "core::byte_array::ByteArray";
7207
+ readonly name: "core::array::Span::<core::integer::u256>";
7175
7208
  readonly members: readonly [{
7176
- readonly name: "data";
7177
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7178
- }, {
7179
- readonly name: "pending_word";
7180
- readonly type: "core::felt252";
7181
- }, {
7182
- readonly name: "pending_word_len";
7183
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7209
+ readonly name: "snapshot";
7210
+ readonly type: "@core::array::Array::<core::integer::u256>";
7211
+ }];
7212
+ }, {
7213
+ readonly type: "struct";
7214
+ readonly name: "core::array::Span::<core::felt252>";
7215
+ readonly members: readonly [{
7216
+ readonly name: "snapshot";
7217
+ readonly type: "@core::array::Array::<core::felt252>";
7184
7218
  }];
7185
7219
  }, {
7186
7220
  readonly type: "interface";
7187
- readonly name: "openzeppelin_token::erc721::interface::ERC721ABI";
7221
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155";
7188
7222
  readonly items: readonly [{
7189
7223
  readonly type: "function";
7190
7224
  readonly name: "balance_of";
7191
7225
  readonly inputs: readonly [{
7192
7226
  readonly name: "account";
7193
7227
  readonly type: "core::starknet::contract_address::ContractAddress";
7228
+ }, {
7229
+ readonly name: "token_id";
7230
+ readonly type: "core::integer::u256";
7194
7231
  }];
7195
7232
  readonly outputs: readonly [{
7196
7233
  readonly type: "core::integer::u256";
@@ -7198,14 +7235,17 @@ declare const IPClubNFTABI: readonly [{
7198
7235
  readonly state_mutability: "view";
7199
7236
  }, {
7200
7237
  readonly type: "function";
7201
- readonly name: "owner_of";
7238
+ readonly name: "balance_of_batch";
7202
7239
  readonly inputs: readonly [{
7203
- readonly name: "token_id";
7204
- readonly type: "core::integer::u256";
7205
- }];
7206
- readonly outputs: readonly [{
7207
- readonly type: "core::starknet::contract_address::ContractAddress";
7208
- }];
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>";
7245
+ }];
7246
+ readonly outputs: readonly [{
7247
+ readonly type: "core::array::Span::<core::integer::u256>";
7248
+ }];
7209
7249
  readonly state_mutability: "view";
7210
7250
  }, {
7211
7251
  readonly type: "function";
@@ -7219,6 +7259,9 @@ declare const IPClubNFTABI: readonly [{
7219
7259
  }, {
7220
7260
  readonly name: "token_id";
7221
7261
  readonly type: "core::integer::u256";
7262
+ }, {
7263
+ readonly name: "value";
7264
+ readonly type: "core::integer::u256";
7222
7265
  }, {
7223
7266
  readonly name: "data";
7224
7267
  readonly type: "core::array::Span::<core::felt252>";
@@ -7227,7 +7270,7 @@ declare const IPClubNFTABI: readonly [{
7227
7270
  readonly state_mutability: "external";
7228
7271
  }, {
7229
7272
  readonly type: "function";
7230
- readonly name: "transfer_from";
7273
+ readonly name: "safe_batch_transfer_from";
7231
7274
  readonly inputs: readonly [{
7232
7275
  readonly name: "from";
7233
7276
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -7235,46 +7278,17 @@ declare const IPClubNFTABI: readonly [{
7235
7278
  readonly name: "to";
7236
7279
  readonly type: "core::starknet::contract_address::ContractAddress";
7237
7280
  }, {
7238
- readonly name: "token_id";
7239
- readonly type: "core::integer::u256";
7240
- }];
7241
- readonly outputs: readonly [];
7242
- readonly state_mutability: "external";
7243
- }, {
7244
- readonly type: "function";
7245
- readonly name: "approve";
7246
- readonly inputs: readonly [{
7247
- readonly name: "to";
7248
- readonly type: "core::starknet::contract_address::ContractAddress";
7281
+ readonly name: "token_ids";
7282
+ readonly type: "core::array::Span::<core::integer::u256>";
7249
7283
  }, {
7250
- readonly name: "token_id";
7251
- readonly type: "core::integer::u256";
7252
- }];
7253
- readonly outputs: readonly [];
7254
- readonly state_mutability: "external";
7255
- }, {
7256
- readonly type: "function";
7257
- readonly name: "set_approval_for_all";
7258
- readonly inputs: readonly [{
7259
- readonly name: "operator";
7260
- readonly type: "core::starknet::contract_address::ContractAddress";
7284
+ readonly name: "values";
7285
+ readonly type: "core::array::Span::<core::integer::u256>";
7261
7286
  }, {
7262
- readonly name: "approved";
7263
- readonly type: "core::bool";
7287
+ readonly name: "data";
7288
+ readonly type: "core::array::Span::<core::felt252>";
7264
7289
  }];
7265
7290
  readonly outputs: readonly [];
7266
7291
  readonly state_mutability: "external";
7267
- }, {
7268
- readonly type: "function";
7269
- readonly name: "get_approved";
7270
- readonly inputs: readonly [{
7271
- readonly name: "token_id";
7272
- readonly type: "core::integer::u256";
7273
- }];
7274
- readonly outputs: readonly [{
7275
- readonly type: "core::starknet::contract_address::ContractAddress";
7276
- }];
7277
- readonly state_mutability: "view";
7278
7292
  }, {
7279
7293
  readonly type: "function";
7280
7294
  readonly name: "is_approved_for_all";
@@ -7291,48 +7305,33 @@ declare const IPClubNFTABI: readonly [{
7291
7305
  readonly state_mutability: "view";
7292
7306
  }, {
7293
7307
  readonly type: "function";
7294
- readonly name: "supports_interface";
7308
+ readonly name: "set_approval_for_all";
7295
7309
  readonly inputs: readonly [{
7296
- readonly name: "interface_id";
7297
- readonly type: "core::felt252";
7298
- }];
7299
- readonly outputs: readonly [{
7310
+ readonly name: "operator";
7311
+ readonly type: "core::starknet::contract_address::ContractAddress";
7312
+ }, {
7313
+ readonly name: "approved";
7300
7314
  readonly type: "core::bool";
7301
7315
  }];
7302
- readonly state_mutability: "view";
7303
- }, {
7304
- readonly type: "function";
7305
- readonly name: "name";
7306
- readonly inputs: readonly [];
7307
- readonly outputs: readonly [{
7308
- readonly type: "core::byte_array::ByteArray";
7309
- }];
7310
- readonly state_mutability: "view";
7311
- }, {
7312
- readonly type: "function";
7313
- readonly name: "symbol";
7314
- readonly inputs: readonly [];
7315
- readonly outputs: readonly [{
7316
- readonly type: "core::byte_array::ByteArray";
7317
- }];
7318
- readonly state_mutability: "view";
7319
- }, {
7320
- readonly type: "function";
7321
- readonly name: "token_uri";
7322
- readonly inputs: readonly [{
7323
- readonly name: "token_id";
7324
- readonly type: "core::integer::u256";
7325
- }];
7326
- readonly outputs: readonly [{
7327
- readonly type: "core::byte_array::ByteArray";
7328
- }];
7329
- readonly state_mutability: "view";
7330
- }, {
7316
+ readonly outputs: readonly [];
7317
+ readonly state_mutability: "external";
7318
+ }];
7319
+ }, {
7320
+ readonly type: "impl";
7321
+ readonly name: "ERC1155CamelImpl";
7322
+ readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
7323
+ }, {
7324
+ readonly type: "interface";
7325
+ readonly name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
7326
+ readonly items: readonly [{
7331
7327
  readonly type: "function";
7332
7328
  readonly name: "balanceOf";
7333
7329
  readonly inputs: readonly [{
7334
7330
  readonly name: "account";
7335
7331
  readonly type: "core::starknet::contract_address::ContractAddress";
7332
+ }, {
7333
+ readonly name: "tokenId";
7334
+ readonly type: "core::integer::u256";
7336
7335
  }];
7337
7336
  readonly outputs: readonly [{
7338
7337
  readonly type: "core::integer::u256";
@@ -7340,13 +7339,16 @@ declare const IPClubNFTABI: readonly [{
7340
7339
  readonly state_mutability: "view";
7341
7340
  }, {
7342
7341
  readonly type: "function";
7343
- readonly name: "ownerOf";
7342
+ readonly name: "balanceOfBatch";
7344
7343
  readonly inputs: readonly [{
7345
- readonly name: "tokenId";
7346
- 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>";
7347
7349
  }];
7348
7350
  readonly outputs: readonly [{
7349
- readonly type: "core::starknet::contract_address::ContractAddress";
7351
+ readonly type: "core::array::Span::<core::integer::u256>";
7350
7352
  }];
7351
7353
  readonly state_mutability: "view";
7352
7354
  }, {
@@ -7361,6 +7363,9 @@ declare const IPClubNFTABI: readonly [{
7361
7363
  }, {
7362
7364
  readonly name: "tokenId";
7363
7365
  readonly type: "core::integer::u256";
7366
+ }, {
7367
+ readonly name: "value";
7368
+ readonly type: "core::integer::u256";
7364
7369
  }, {
7365
7370
  readonly name: "data";
7366
7371
  readonly type: "core::array::Span::<core::felt252>";
@@ -7369,7 +7374,7 @@ declare const IPClubNFTABI: readonly [{
7369
7374
  readonly state_mutability: "external";
7370
7375
  }, {
7371
7376
  readonly type: "function";
7372
- readonly name: "transferFrom";
7377
+ readonly name: "safeBatchTransferFrom";
7373
7378
  readonly inputs: readonly [{
7374
7379
  readonly name: "from";
7375
7380
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -7377,11 +7382,31 @@ declare const IPClubNFTABI: readonly [{
7377
7382
  readonly name: "to";
7378
7383
  readonly type: "core::starknet::contract_address::ContractAddress";
7379
7384
  }, {
7380
- readonly name: "tokenId";
7381
- 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>";
7382
7393
  }];
7383
7394
  readonly outputs: readonly [];
7384
7395
  readonly state_mutability: "external";
7396
+ }, {
7397
+ readonly type: "function";
7398
+ readonly name: "isApprovedForAll";
7399
+ readonly inputs: readonly [{
7400
+ readonly name: "owner";
7401
+ readonly type: "core::starknet::contract_address::ContractAddress";
7402
+ }, {
7403
+ readonly name: "operator";
7404
+ readonly type: "core::starknet::contract_address::ContractAddress";
7405
+ }];
7406
+ readonly outputs: readonly [{
7407
+ readonly type: "core::bool";
7408
+ }];
7409
+ readonly state_mutability: "view";
7385
7410
  }, {
7386
7411
  readonly type: "function";
7387
7412
  readonly name: "setApprovalForAll";
@@ -7394,42 +7419,71 @@ declare const IPClubNFTABI: readonly [{
7394
7419
  }];
7395
7420
  readonly outputs: readonly [];
7396
7421
  readonly state_mutability: "external";
7397
- }, {
7422
+ }];
7423
+ }, {
7424
+ readonly type: "impl";
7425
+ readonly name: "SRC5Impl";
7426
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
7427
+ }, {
7428
+ readonly type: "interface";
7429
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
7430
+ readonly items: readonly [{
7398
7431
  readonly type: "function";
7399
- readonly name: "getApproved";
7432
+ readonly name: "supports_interface";
7400
7433
  readonly inputs: readonly [{
7401
- readonly name: "tokenId";
7402
- readonly type: "core::integer::u256";
7434
+ readonly name: "interface_id";
7435
+ readonly type: "core::felt252";
7403
7436
  }];
7437
+ readonly outputs: readonly [{
7438
+ readonly type: "core::bool";
7439
+ }];
7440
+ readonly state_mutability: "view";
7441
+ }];
7442
+ }, {
7443
+ readonly type: "impl";
7444
+ readonly name: "OwnableMixinImpl";
7445
+ readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
7446
+ }, {
7447
+ readonly type: "interface";
7448
+ readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
7449
+ readonly items: readonly [{
7450
+ readonly type: "function";
7451
+ readonly name: "owner";
7452
+ readonly inputs: readonly [];
7404
7453
  readonly outputs: readonly [{
7405
7454
  readonly type: "core::starknet::contract_address::ContractAddress";
7406
7455
  }];
7407
7456
  readonly state_mutability: "view";
7408
7457
  }, {
7409
7458
  readonly type: "function";
7410
- readonly name: "isApprovedForAll";
7459
+ readonly name: "transfer_ownership";
7411
7460
  readonly inputs: readonly [{
7412
- readonly name: "owner";
7413
- readonly type: "core::starknet::contract_address::ContractAddress";
7414
- }, {
7415
- readonly name: "operator";
7461
+ readonly name: "new_owner";
7416
7462
  readonly type: "core::starknet::contract_address::ContractAddress";
7417
7463
  }];
7418
- readonly outputs: readonly [{
7419
- readonly type: "core::bool";
7420
- }];
7421
- readonly state_mutability: "view";
7464
+ readonly outputs: readonly [];
7465
+ readonly state_mutability: "external";
7422
7466
  }, {
7423
7467
  readonly type: "function";
7424
- readonly name: "tokenURI";
7468
+ readonly name: "renounce_ownership";
7469
+ readonly inputs: readonly [];
7470
+ readonly outputs: readonly [];
7471
+ readonly state_mutability: "external";
7472
+ }, {
7473
+ readonly type: "function";
7474
+ readonly name: "transferOwnership";
7425
7475
  readonly inputs: readonly [{
7426
- readonly name: "tokenId";
7427
- readonly type: "core::integer::u256";
7428
- }];
7429
- readonly outputs: readonly [{
7430
- readonly type: "core::byte_array::ByteArray";
7476
+ readonly name: "newOwner";
7477
+ readonly type: "core::starknet::contract_address::ContractAddress";
7431
7478
  }];
7432
- readonly state_mutability: "view";
7479
+ readonly outputs: readonly [];
7480
+ readonly state_mutability: "external";
7481
+ }, {
7482
+ readonly type: "function";
7483
+ readonly name: "renounceOwnership";
7484
+ readonly inputs: readonly [];
7485
+ readonly outputs: readonly [];
7486
+ readonly state_mutability: "external";
7433
7487
  }];
7434
7488
  }, {
7435
7489
  readonly type: "constructor";
@@ -7441,23 +7495,21 @@ declare const IPClubNFTABI: readonly [{
7441
7495
  readonly name: "symbol";
7442
7496
  readonly type: "core::byte_array::ByteArray";
7443
7497
  }, {
7444
- readonly name: "club_id";
7445
- readonly type: "core::integer::u256";
7446
- }, {
7447
- readonly name: "creator";
7448
- readonly type: "core::starknet::contract_address::ContractAddress";
7498
+ readonly name: "base_uri";
7499
+ readonly type: "core::byte_array::ByteArray";
7449
7500
  }, {
7450
- readonly name: "ip_club_manager";
7501
+ readonly name: "owner";
7451
7502
  readonly type: "core::starknet::contract_address::ContractAddress";
7452
- }, {
7453
- readonly name: "metadata_uri";
7454
- readonly type: "core::byte_array::ByteArray";
7455
7503
  }];
7456
7504
  }, {
7457
7505
  readonly type: "event";
7458
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7506
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
7459
7507
  readonly kind: "struct";
7460
7508
  readonly members: readonly [{
7509
+ readonly name: "operator";
7510
+ readonly type: "core::starknet::contract_address::ContractAddress";
7511
+ readonly kind: "key";
7512
+ }, {
7461
7513
  readonly name: "from";
7462
7514
  readonly type: "core::starknet::contract_address::ContractAddress";
7463
7515
  readonly kind: "key";
@@ -7466,1415 +7518,187 @@ declare const IPClubNFTABI: readonly [{
7466
7518
  readonly type: "core::starknet::contract_address::ContractAddress";
7467
7519
  readonly kind: "key";
7468
7520
  }, {
7469
- readonly name: "token_id";
7521
+ readonly name: "id";
7470
7522
  readonly type: "core::integer::u256";
7471
- readonly kind: "key";
7523
+ readonly kind: "data";
7524
+ }, {
7525
+ readonly name: "value";
7526
+ readonly type: "core::integer::u256";
7527
+ readonly kind: "data";
7472
7528
  }];
7473
7529
  }, {
7474
7530
  readonly type: "event";
7475
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7531
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
7476
7532
  readonly kind: "struct";
7477
7533
  readonly members: readonly [{
7478
- readonly name: "owner";
7534
+ readonly name: "operator";
7479
7535
  readonly type: "core::starknet::contract_address::ContractAddress";
7480
7536
  readonly kind: "key";
7481
7537
  }, {
7482
- readonly name: "approved";
7538
+ readonly name: "from";
7483
7539
  readonly type: "core::starknet::contract_address::ContractAddress";
7484
7540
  readonly kind: "key";
7485
7541
  }, {
7486
- readonly name: "token_id";
7487
- readonly type: "core::integer::u256";
7542
+ readonly name: "to";
7543
+ readonly type: "core::starknet::contract_address::ContractAddress";
7488
7544
  readonly kind: "key";
7489
- }];
7490
- }, {
7491
- readonly type: "event";
7492
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7493
- readonly kind: "struct";
7494
- readonly members: readonly [{
7495
- readonly name: "owner";
7496
- readonly type: "core::starknet::contract_address::ContractAddress";
7497
- readonly kind: "key";
7498
- }, {
7499
- readonly name: "operator";
7500
- readonly type: "core::starknet::contract_address::ContractAddress";
7501
- readonly kind: "key";
7502
- }, {
7503
- readonly name: "approved";
7504
- readonly type: "core::bool";
7505
- readonly kind: "data";
7506
- }];
7507
- }, {
7508
- readonly type: "event";
7509
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7510
- readonly kind: "enum";
7511
- readonly variants: readonly [{
7512
- readonly name: "Transfer";
7513
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7514
- readonly kind: "nested";
7515
- }, {
7516
- readonly name: "Approval";
7517
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7518
- readonly kind: "nested";
7519
- }, {
7520
- readonly name: "ApprovalForAll";
7521
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7522
- readonly kind: "nested";
7523
- }];
7524
- }, {
7525
- readonly type: "event";
7526
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7527
- readonly kind: "enum";
7528
- readonly variants: readonly [];
7529
- }, {
7530
- readonly type: "event";
7531
- readonly name: "ip_club::IPClubNFT::IPClubNFT::Event";
7532
- readonly kind: "enum";
7533
- readonly variants: readonly [{
7534
- readonly name: "ERC721Event";
7535
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7536
- readonly kind: "flat";
7537
- }, {
7538
- readonly name: "SRC5Event";
7539
- readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7540
- readonly kind: "flat";
7541
- }];
7542
- }];
7543
-
7544
- declare const IPClubFactoryABI: readonly [{
7545
- readonly type: "impl";
7546
- readonly name: "IPClubFactoryImpl";
7547
- readonly interface_name: "ip_club::interface::IIPClubFactory";
7548
- }, {
7549
- readonly type: "struct";
7550
- readonly name: "core::byte_array::ByteArray";
7551
- readonly members: readonly [{
7552
- readonly name: "data";
7553
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7554
- }, {
7555
- readonly name: "pending_word";
7556
- readonly type: "core::felt252";
7557
- }, {
7558
- readonly name: "pending_word_len";
7559
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7560
- }];
7561
- }, {
7562
- readonly type: "struct";
7563
- readonly name: "core::integer::u256";
7564
- readonly members: readonly [{
7565
- readonly name: "low";
7566
- readonly type: "core::integer::u128";
7567
- }, {
7568
- readonly name: "high";
7569
- readonly type: "core::integer::u128";
7570
- }];
7571
- }, {
7572
- readonly type: "enum";
7573
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7574
- readonly variants: readonly [{
7575
- readonly name: "Some";
7576
- readonly type: "core::starknet::contract_address::ContractAddress";
7577
- }, {
7578
- readonly name: "None";
7579
- readonly type: "()";
7580
- }];
7581
- }, {
7582
- readonly type: "interface";
7583
- readonly name: "ip_club::interface::IIPClubFactory";
7584
- readonly items: readonly [{
7585
- readonly type: "function";
7586
- readonly name: "collection_class_hash";
7587
- readonly inputs: readonly [];
7588
- readonly outputs: readonly [{
7589
- readonly type: "core::starknet::class_hash::ClassHash";
7590
- }];
7591
- readonly state_mutability: "view";
7592
- }, {
7593
- readonly type: "function";
7594
- readonly name: "version";
7595
- readonly inputs: readonly [];
7596
- readonly outputs: readonly [{
7597
- readonly type: "core::byte_array::ByteArray";
7598
- }];
7599
- readonly state_mutability: "view";
7600
- }, {
7601
- readonly type: "function";
7602
- readonly name: "deploy_club";
7603
- readonly inputs: readonly [{
7604
- readonly name: "name";
7605
- readonly type: "core::byte_array::ByteArray";
7606
- }, {
7607
- readonly name: "symbol";
7608
- readonly type: "core::byte_array::ByteArray";
7609
- }, {
7610
- readonly name: "base_uri";
7611
- readonly type: "core::byte_array::ByteArray";
7612
- }, {
7613
- readonly name: "max_supply";
7614
- readonly type: "core::integer::u256";
7615
- }, {
7616
- readonly name: "entry_fee";
7617
- readonly type: "core::integer::u256";
7618
- }, {
7619
- readonly name: "payment_token";
7620
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7621
- }, {
7622
- readonly name: "royalty_bps";
7623
- readonly type: "core::integer::u256";
7624
- }];
7625
- readonly outputs: readonly [{
7626
- readonly type: "core::starknet::contract_address::ContractAddress";
7627
- }];
7628
- readonly state_mutability: "external";
7629
- }];
7630
- }, {
7631
- readonly type: "impl";
7632
- readonly name: "SRC5Impl";
7633
- readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
7634
- }, {
7635
- readonly type: "enum";
7636
- readonly name: "core::bool";
7637
- readonly variants: readonly [{
7638
- readonly name: "False";
7639
- readonly type: "()";
7640
- }, {
7641
- readonly name: "True";
7642
- readonly type: "()";
7643
- }];
7644
- }, {
7645
- readonly type: "interface";
7646
- readonly name: "openzeppelin_introspection::interface::ISRC5";
7647
- readonly items: readonly [{
7648
- readonly type: "function";
7649
- readonly name: "supports_interface";
7650
- readonly inputs: readonly [{
7651
- readonly name: "interface_id";
7652
- readonly type: "core::felt252";
7653
- }];
7654
- readonly outputs: readonly [{
7655
- readonly type: "core::bool";
7656
- }];
7657
- readonly state_mutability: "view";
7658
- }];
7659
- }, {
7660
- readonly type: "constructor";
7661
- readonly name: "constructor";
7662
- readonly inputs: readonly [{
7663
- readonly name: "collection_class_hash";
7664
- readonly type: "core::starknet::class_hash::ClassHash";
7665
- }];
7666
- }, {
7667
- readonly type: "event";
7668
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7669
- readonly kind: "enum";
7670
- readonly variants: readonly [];
7671
- }, {
7672
- readonly type: "event";
7673
- readonly name: "ip_club::IPClubFactory::IPClubFactory::ClubDeployed";
7674
- readonly kind: "struct";
7675
- readonly members: readonly [{
7676
- readonly name: "collection_address";
7677
- readonly type: "core::starknet::contract_address::ContractAddress";
7678
- readonly kind: "key";
7679
- }, {
7680
- readonly name: "owner";
7681
- readonly type: "core::starknet::contract_address::ContractAddress";
7682
- readonly kind: "key";
7683
- }, {
7684
- readonly name: "name";
7685
- readonly type: "core::byte_array::ByteArray";
7686
- readonly kind: "data";
7687
- }, {
7688
- readonly name: "symbol";
7689
- readonly type: "core::byte_array::ByteArray";
7690
- readonly kind: "data";
7691
- }];
7692
- }, {
7693
- readonly type: "event";
7694
- readonly name: "ip_club::IPClubFactory::IPClubFactory::Event";
7695
- readonly kind: "enum";
7696
- readonly variants: readonly [{
7697
- readonly name: "SRC5Event";
7698
- readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7699
- readonly kind: "flat";
7700
- }, {
7701
- readonly name: "ClubDeployed";
7702
- readonly type: "ip_club::IPClubFactory::IPClubFactory::ClubDeployed";
7703
- readonly kind: "nested";
7704
- }];
7705
- }];
7706
-
7707
- declare const IPClubCollectionABI: readonly [{
7708
- readonly type: "impl";
7709
- readonly name: "ERC721MetadataImpl";
7710
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
7711
- }, {
7712
- readonly type: "struct";
7713
- readonly name: "core::byte_array::ByteArray";
7714
- readonly members: readonly [{
7715
- readonly name: "data";
7716
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7717
- }, {
7718
- readonly name: "pending_word";
7719
- readonly type: "core::felt252";
7720
- }, {
7721
- readonly name: "pending_word_len";
7722
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7723
- }];
7724
- }, {
7725
- readonly type: "struct";
7726
- readonly name: "core::integer::u256";
7727
- readonly members: readonly [{
7728
- readonly name: "low";
7729
- readonly type: "core::integer::u128";
7730
- }, {
7731
- readonly name: "high";
7732
- readonly type: "core::integer::u128";
7733
- }];
7734
- }, {
7735
- readonly type: "interface";
7736
- readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
7737
- readonly items: readonly [{
7738
- readonly type: "function";
7739
- readonly name: "name";
7740
- readonly inputs: readonly [];
7741
- readonly outputs: readonly [{
7742
- readonly type: "core::byte_array::ByteArray";
7743
- }];
7744
- readonly state_mutability: "view";
7745
- }, {
7746
- readonly type: "function";
7747
- readonly name: "symbol";
7748
- readonly inputs: readonly [];
7749
- readonly outputs: readonly [{
7750
- readonly type: "core::byte_array::ByteArray";
7751
- }];
7752
- readonly state_mutability: "view";
7753
- }, {
7754
- readonly type: "function";
7755
- readonly name: "token_uri";
7756
- readonly inputs: readonly [{
7757
- readonly name: "token_id";
7758
- readonly type: "core::integer::u256";
7759
- }];
7760
- readonly outputs: readonly [{
7761
- readonly type: "core::byte_array::ByteArray";
7762
- }];
7763
- readonly state_mutability: "view";
7764
- }];
7765
- }, {
7766
- readonly type: "impl";
7767
- readonly name: "ERC721MetadataCamelOnlyImpl";
7768
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
7769
- }, {
7770
- readonly type: "interface";
7771
- readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
7772
- readonly items: readonly [{
7773
- readonly type: "function";
7774
- readonly name: "tokenURI";
7775
- readonly inputs: readonly [{
7776
- readonly name: "tokenId";
7777
- readonly type: "core::integer::u256";
7778
- }];
7779
- readonly outputs: readonly [{
7780
- readonly type: "core::byte_array::ByteArray";
7781
- }];
7782
- readonly state_mutability: "view";
7783
- }];
7784
- }, {
7785
- readonly type: "impl";
7786
- readonly name: "IPClubCollectionImpl";
7787
- readonly interface_name: "ip_club::interface::IIPClubCollection";
7788
- }, {
7789
- readonly type: "enum";
7790
- readonly name: "core::bool";
7791
- readonly variants: readonly [{
7792
- readonly name: "False";
7793
- readonly type: "()";
7794
- }, {
7795
- readonly name: "True";
7796
- readonly type: "()";
7797
- }];
7798
- }, {
7799
- readonly type: "enum";
7800
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7801
- readonly variants: readonly [{
7802
- readonly name: "Some";
7803
- readonly type: "core::starknet::contract_address::ContractAddress";
7804
- }, {
7805
- readonly name: "None";
7806
- readonly type: "()";
7807
- }];
7808
- }, {
7809
- readonly type: "interface";
7810
- readonly name: "ip_club::interface::IIPClubCollection";
7811
- readonly items: readonly [{
7812
- readonly type: "function";
7813
- readonly name: "mint";
7814
- readonly inputs: readonly [{
7815
- readonly name: "to";
7816
- readonly type: "core::starknet::contract_address::ContractAddress";
7817
- }];
7818
- readonly outputs: readonly [{
7819
- readonly type: "core::integer::u256";
7820
- }];
7821
- readonly state_mutability: "external";
7822
- }, {
7823
- readonly type: "function";
7824
- readonly name: "set_open";
7825
- readonly inputs: readonly [{
7826
- readonly name: "open";
7827
- readonly type: "core::bool";
7828
- }];
7829
- readonly outputs: readonly [];
7830
- readonly state_mutability: "external";
7831
- }, {
7832
- readonly type: "function";
7833
- readonly name: "base_uri";
7834
- readonly inputs: readonly [];
7835
- readonly outputs: readonly [{
7836
- readonly type: "core::byte_array::ByteArray";
7837
- }];
7838
- readonly state_mutability: "view";
7839
- }, {
7840
- readonly type: "function";
7841
- readonly name: "entry_fee";
7842
- readonly inputs: readonly [];
7843
- readonly outputs: readonly [{
7844
- readonly type: "core::integer::u256";
7845
- }];
7846
- readonly state_mutability: "view";
7847
- }, {
7848
- readonly type: "function";
7849
- readonly name: "payment_token";
7850
- readonly inputs: readonly [];
7851
- readonly outputs: readonly [{
7852
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7853
- }];
7854
- readonly state_mutability: "view";
7855
- }, {
7856
- readonly type: "function";
7857
- readonly name: "max_supply";
7858
- readonly inputs: readonly [];
7859
- readonly outputs: readonly [{
7860
- readonly type: "core::integer::u256";
7861
- }];
7862
- readonly state_mutability: "view";
7863
- }, {
7864
- readonly type: "function";
7865
- readonly name: "total_minted";
7866
- readonly inputs: readonly [];
7867
- readonly outputs: readonly [{
7868
- readonly type: "core::integer::u256";
7869
- }];
7870
- readonly state_mutability: "view";
7871
- }, {
7872
- readonly type: "function";
7873
- readonly name: "is_open";
7874
- readonly inputs: readonly [];
7875
- readonly outputs: readonly [{
7876
- readonly type: "core::bool";
7877
- }];
7878
- readonly state_mutability: "view";
7879
- }, {
7880
- readonly type: "function";
7881
- readonly name: "royalty_info";
7882
- readonly inputs: readonly [{
7883
- readonly name: "token_id";
7884
- readonly type: "core::integer::u256";
7885
- }, {
7886
- readonly name: "sale_price";
7887
- readonly type: "core::integer::u256";
7888
- }];
7889
- readonly outputs: readonly [{
7890
- readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
7891
- }];
7892
- readonly state_mutability: "view";
7893
- }, {
7894
- readonly type: "function";
7895
- readonly name: "royaltyInfo";
7896
- readonly inputs: readonly [{
7897
- readonly name: "token_id";
7898
- readonly type: "core::integer::u256";
7899
- }, {
7900
- readonly name: "sale_price";
7901
- readonly type: "core::integer::u256";
7902
- }];
7903
- readonly outputs: readonly [{
7904
- readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
7905
- }];
7906
- readonly state_mutability: "view";
7907
- }, {
7908
- readonly type: "function";
7909
- readonly name: "version";
7910
- readonly inputs: readonly [];
7911
- readonly outputs: readonly [{
7912
- readonly type: "core::byte_array::ByteArray";
7913
- }];
7914
- readonly state_mutability: "view";
7915
- }];
7916
- }, {
7917
- readonly type: "impl";
7918
- readonly name: "ERC721Impl";
7919
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
7920
- }, {
7921
- readonly type: "struct";
7922
- readonly name: "core::array::Span::<core::felt252>";
7923
- readonly members: readonly [{
7924
- readonly name: "snapshot";
7925
- readonly type: "@core::array::Array::<core::felt252>";
7926
- }];
7927
- }, {
7928
- readonly type: "interface";
7929
- readonly name: "openzeppelin_token::erc721::interface::IERC721";
7930
- readonly items: readonly [{
7931
- readonly type: "function";
7932
- readonly name: "balance_of";
7933
- readonly inputs: readonly [{
7934
- readonly name: "account";
7935
- readonly type: "core::starknet::contract_address::ContractAddress";
7936
- }];
7937
- readonly outputs: readonly [{
7938
- readonly type: "core::integer::u256";
7939
- }];
7940
- readonly state_mutability: "view";
7941
- }, {
7942
- readonly type: "function";
7943
- readonly name: "owner_of";
7944
- readonly inputs: readonly [{
7945
- readonly name: "token_id";
7946
- readonly type: "core::integer::u256";
7947
- }];
7948
- readonly outputs: readonly [{
7949
- readonly type: "core::starknet::contract_address::ContractAddress";
7950
- }];
7951
- readonly state_mutability: "view";
7952
- }, {
7953
- readonly type: "function";
7954
- readonly name: "safe_transfer_from";
7955
- readonly inputs: readonly [{
7956
- readonly name: "from";
7957
- readonly type: "core::starknet::contract_address::ContractAddress";
7958
- }, {
7959
- readonly name: "to";
7960
- readonly type: "core::starknet::contract_address::ContractAddress";
7961
- }, {
7962
- readonly name: "token_id";
7963
- readonly type: "core::integer::u256";
7964
- }, {
7965
- readonly name: "data";
7966
- readonly type: "core::array::Span::<core::felt252>";
7967
- }];
7968
- readonly outputs: readonly [];
7969
- readonly state_mutability: "external";
7970
- }, {
7971
- readonly type: "function";
7972
- readonly name: "transfer_from";
7973
- readonly inputs: readonly [{
7974
- readonly name: "from";
7975
- readonly type: "core::starknet::contract_address::ContractAddress";
7976
- }, {
7977
- readonly name: "to";
7978
- readonly type: "core::starknet::contract_address::ContractAddress";
7979
- }, {
7980
- readonly name: "token_id";
7981
- readonly type: "core::integer::u256";
7982
- }];
7983
- readonly outputs: readonly [];
7984
- readonly state_mutability: "external";
7985
- }, {
7986
- readonly type: "function";
7987
- readonly name: "approve";
7988
- readonly inputs: readonly [{
7989
- readonly name: "to";
7990
- readonly type: "core::starknet::contract_address::ContractAddress";
7991
- }, {
7992
- readonly name: "token_id";
7993
- readonly type: "core::integer::u256";
7994
- }];
7995
- readonly outputs: readonly [];
7996
- readonly state_mutability: "external";
7997
- }, {
7998
- readonly type: "function";
7999
- readonly name: "set_approval_for_all";
8000
- readonly inputs: readonly [{
8001
- readonly name: "operator";
8002
- readonly type: "core::starknet::contract_address::ContractAddress";
8003
- }, {
8004
- readonly name: "approved";
8005
- readonly type: "core::bool";
8006
- }];
8007
- readonly outputs: readonly [];
8008
- readonly state_mutability: "external";
8009
- }, {
8010
- readonly type: "function";
8011
- readonly name: "get_approved";
8012
- readonly inputs: readonly [{
8013
- readonly name: "token_id";
8014
- readonly type: "core::integer::u256";
8015
- }];
8016
- readonly outputs: readonly [{
8017
- readonly type: "core::starknet::contract_address::ContractAddress";
8018
- }];
8019
- readonly state_mutability: "view";
8020
- }, {
8021
- readonly type: "function";
8022
- readonly name: "is_approved_for_all";
8023
- readonly inputs: readonly [{
8024
- readonly name: "owner";
8025
- readonly type: "core::starknet::contract_address::ContractAddress";
8026
- }, {
8027
- readonly name: "operator";
8028
- readonly type: "core::starknet::contract_address::ContractAddress";
8029
- }];
8030
- readonly outputs: readonly [{
8031
- readonly type: "core::bool";
8032
- }];
8033
- readonly state_mutability: "view";
8034
- }];
8035
- }, {
8036
- readonly type: "impl";
8037
- readonly name: "ERC721CamelOnly";
8038
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
8039
- }, {
8040
- readonly type: "interface";
8041
- readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
8042
- readonly items: readonly [{
8043
- readonly type: "function";
8044
- readonly name: "balanceOf";
8045
- readonly inputs: readonly [{
8046
- readonly name: "account";
8047
- readonly type: "core::starknet::contract_address::ContractAddress";
8048
- }];
8049
- readonly outputs: readonly [{
8050
- readonly type: "core::integer::u256";
8051
- }];
8052
- readonly state_mutability: "view";
8053
- }, {
8054
- readonly type: "function";
8055
- readonly name: "ownerOf";
8056
- readonly inputs: readonly [{
8057
- readonly name: "tokenId";
8058
- readonly type: "core::integer::u256";
8059
- }];
8060
- readonly outputs: readonly [{
8061
- readonly type: "core::starknet::contract_address::ContractAddress";
8062
- }];
8063
- readonly state_mutability: "view";
8064
- }, {
8065
- readonly type: "function";
8066
- readonly name: "safeTransferFrom";
8067
- readonly inputs: readonly [{
8068
- readonly name: "from";
8069
- readonly type: "core::starknet::contract_address::ContractAddress";
8070
- }, {
8071
- readonly name: "to";
8072
- readonly type: "core::starknet::contract_address::ContractAddress";
8073
- }, {
8074
- readonly name: "tokenId";
8075
- readonly type: "core::integer::u256";
8076
- }, {
8077
- readonly name: "data";
8078
- readonly type: "core::array::Span::<core::felt252>";
8079
- }];
8080
- readonly outputs: readonly [];
8081
- readonly state_mutability: "external";
8082
- }, {
8083
- readonly type: "function";
8084
- readonly name: "transferFrom";
8085
- readonly inputs: readonly [{
8086
- readonly name: "from";
8087
- readonly type: "core::starknet::contract_address::ContractAddress";
8088
- }, {
8089
- readonly name: "to";
8090
- readonly type: "core::starknet::contract_address::ContractAddress";
8091
- }, {
8092
- readonly name: "tokenId";
8093
- readonly type: "core::integer::u256";
8094
- }];
8095
- readonly outputs: readonly [];
8096
- readonly state_mutability: "external";
8097
- }, {
8098
- readonly type: "function";
8099
- readonly name: "setApprovalForAll";
8100
- readonly inputs: readonly [{
8101
- readonly name: "operator";
8102
- readonly type: "core::starknet::contract_address::ContractAddress";
8103
- }, {
8104
- readonly name: "approved";
8105
- readonly type: "core::bool";
8106
- }];
8107
- readonly outputs: readonly [];
8108
- readonly state_mutability: "external";
8109
- }, {
8110
- readonly type: "function";
8111
- readonly name: "getApproved";
8112
- readonly inputs: readonly [{
8113
- readonly name: "tokenId";
8114
- readonly type: "core::integer::u256";
8115
- }];
8116
- readonly outputs: readonly [{
8117
- readonly type: "core::starknet::contract_address::ContractAddress";
8118
- }];
8119
- readonly state_mutability: "view";
8120
- }, {
8121
- readonly type: "function";
8122
- readonly name: "isApprovedForAll";
8123
- readonly inputs: readonly [{
8124
- readonly name: "owner";
8125
- readonly type: "core::starknet::contract_address::ContractAddress";
8126
- }, {
8127
- readonly name: "operator";
8128
- readonly type: "core::starknet::contract_address::ContractAddress";
8129
- }];
8130
- readonly outputs: readonly [{
8131
- readonly type: "core::bool";
8132
- }];
8133
- readonly state_mutability: "view";
8134
- }];
8135
- }, {
8136
- readonly type: "impl";
8137
- readonly name: "SRC5Impl";
8138
- readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
8139
- }, {
8140
- readonly type: "interface";
8141
- readonly name: "openzeppelin_introspection::interface::ISRC5";
8142
- readonly items: readonly [{
8143
- readonly type: "function";
8144
- readonly name: "supports_interface";
8145
- readonly inputs: readonly [{
8146
- readonly name: "interface_id";
8147
- readonly type: "core::felt252";
8148
- }];
8149
- readonly outputs: readonly [{
8150
- readonly type: "core::bool";
8151
- }];
8152
- readonly state_mutability: "view";
8153
- }];
8154
- }, {
8155
- readonly type: "impl";
8156
- readonly name: "OwnableMixinImpl";
8157
- readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
8158
- }, {
8159
- readonly type: "interface";
8160
- readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
8161
- readonly items: readonly [{
8162
- readonly type: "function";
8163
- readonly name: "owner";
8164
- readonly inputs: readonly [];
8165
- readonly outputs: readonly [{
8166
- readonly type: "core::starknet::contract_address::ContractAddress";
8167
- }];
8168
- readonly state_mutability: "view";
8169
- }, {
8170
- readonly type: "function";
8171
- readonly name: "transfer_ownership";
8172
- readonly inputs: readonly [{
8173
- readonly name: "new_owner";
8174
- readonly type: "core::starknet::contract_address::ContractAddress";
8175
- }];
8176
- readonly outputs: readonly [];
8177
- readonly state_mutability: "external";
8178
- }, {
8179
- readonly type: "function";
8180
- readonly name: "renounce_ownership";
8181
- readonly inputs: readonly [];
8182
- readonly outputs: readonly [];
8183
- readonly state_mutability: "external";
8184
- }, {
8185
- readonly type: "function";
8186
- readonly name: "transferOwnership";
8187
- readonly inputs: readonly [{
8188
- readonly name: "newOwner";
8189
- readonly type: "core::starknet::contract_address::ContractAddress";
8190
- }];
8191
- readonly outputs: readonly [];
8192
- readonly state_mutability: "external";
8193
- }, {
8194
- readonly type: "function";
8195
- readonly name: "renounceOwnership";
8196
- readonly inputs: readonly [];
8197
- readonly outputs: readonly [];
8198
- readonly state_mutability: "external";
8199
- }];
8200
- }, {
8201
- readonly type: "constructor";
8202
- readonly name: "constructor";
8203
- readonly inputs: readonly [{
8204
- readonly name: "name";
8205
- readonly type: "core::byte_array::ByteArray";
8206
- }, {
8207
- readonly name: "symbol";
8208
- readonly type: "core::byte_array::ByteArray";
8209
- }, {
8210
- readonly name: "base_uri";
8211
- readonly type: "core::byte_array::ByteArray";
8212
- }, {
8213
- readonly name: "max_supply";
8214
- readonly type: "core::integer::u256";
8215
- }, {
8216
- readonly name: "entry_fee";
8217
- readonly type: "core::integer::u256";
8218
- }, {
8219
- readonly name: "payment_token";
8220
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8221
- }, {
8222
- readonly name: "royalty_bps";
8223
- readonly type: "core::integer::u256";
8224
- }, {
8225
- readonly name: "owner";
8226
- readonly type: "core::starknet::contract_address::ContractAddress";
8227
- }];
8228
- }, {
8229
- readonly type: "event";
8230
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
8231
- readonly kind: "struct";
8232
- readonly members: readonly [{
8233
- readonly name: "from";
8234
- readonly type: "core::starknet::contract_address::ContractAddress";
8235
- readonly kind: "key";
8236
- }, {
8237
- readonly name: "to";
8238
- readonly type: "core::starknet::contract_address::ContractAddress";
8239
- readonly kind: "key";
8240
- }, {
8241
- readonly name: "token_id";
8242
- readonly type: "core::integer::u256";
8243
- readonly kind: "key";
8244
- }];
8245
- }, {
8246
- readonly type: "event";
8247
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
8248
- readonly kind: "struct";
8249
- readonly members: readonly [{
8250
- readonly name: "owner";
8251
- readonly type: "core::starknet::contract_address::ContractAddress";
8252
- readonly kind: "key";
8253
- }, {
8254
- readonly name: "approved";
8255
- readonly type: "core::starknet::contract_address::ContractAddress";
8256
- readonly kind: "key";
8257
- }, {
8258
- readonly name: "token_id";
8259
- readonly type: "core::integer::u256";
8260
- readonly kind: "key";
8261
- }];
8262
- }, {
8263
- readonly type: "event";
8264
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
8265
- readonly kind: "struct";
8266
- readonly members: readonly [{
8267
- readonly name: "owner";
8268
- readonly type: "core::starknet::contract_address::ContractAddress";
8269
- readonly kind: "key";
8270
- }, {
8271
- readonly name: "operator";
8272
- readonly type: "core::starknet::contract_address::ContractAddress";
8273
- readonly kind: "key";
8274
- }, {
8275
- readonly name: "approved";
8276
- readonly type: "core::bool";
8277
- readonly kind: "data";
8278
- }];
8279
- }, {
8280
- readonly type: "event";
8281
- readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
8282
- readonly kind: "enum";
8283
- readonly variants: readonly [{
8284
- readonly name: "Transfer";
8285
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
8286
- readonly kind: "nested";
8287
- }, {
8288
- readonly name: "Approval";
8289
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
8290
- readonly kind: "nested";
8291
- }, {
8292
- readonly name: "ApprovalForAll";
8293
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
8294
- readonly kind: "nested";
8295
- }];
8296
- }, {
8297
- readonly type: "event";
8298
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
8299
- readonly kind: "enum";
8300
- readonly variants: readonly [];
8301
- }, {
8302
- readonly type: "event";
8303
- readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
8304
- readonly kind: "struct";
8305
- readonly members: readonly [{
8306
- readonly name: "previous_owner";
8307
- readonly type: "core::starknet::contract_address::ContractAddress";
8308
- readonly kind: "key";
8309
- }, {
8310
- readonly name: "new_owner";
8311
- readonly type: "core::starknet::contract_address::ContractAddress";
8312
- readonly kind: "key";
8313
- }];
8314
- }, {
8315
- readonly type: "event";
8316
- readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
8317
- readonly kind: "struct";
8318
- readonly members: readonly [{
8319
- readonly name: "previous_owner";
8320
- readonly type: "core::starknet::contract_address::ContractAddress";
8321
- readonly kind: "key";
8322
- }, {
8323
- readonly name: "new_owner";
8324
- readonly type: "core::starknet::contract_address::ContractAddress";
8325
- readonly kind: "key";
8326
- }];
8327
- }, {
8328
- readonly type: "event";
8329
- readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
8330
- readonly kind: "enum";
8331
- readonly variants: readonly [{
8332
- readonly name: "OwnershipTransferred";
8333
- readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
8334
- readonly kind: "nested";
8335
- }, {
8336
- readonly name: "OwnershipTransferStarted";
8337
- readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
8338
- readonly kind: "nested";
8339
- }];
8340
- }, {
8341
- readonly type: "event";
8342
- readonly name: "ip_club::IPClubCollection::IPClubCollection::MemberMinted";
8343
- readonly kind: "struct";
8344
- readonly members: readonly [{
8345
- readonly name: "token_id";
8346
- readonly type: "core::integer::u256";
8347
- readonly kind: "key";
8348
- }, {
8349
- readonly name: "to";
8350
- readonly type: "core::starknet::contract_address::ContractAddress";
8351
- readonly kind: "key";
8352
- }, {
8353
- readonly name: "payer";
8354
- readonly type: "core::starknet::contract_address::ContractAddress";
8355
- readonly kind: "data";
8356
- }];
8357
- }, {
8358
- readonly type: "event";
8359
- readonly name: "ip_club::IPClubCollection::IPClubCollection::OpenStatusChanged";
8360
- readonly kind: "struct";
8361
- readonly members: readonly [{
8362
- readonly name: "open";
8363
- readonly type: "core::bool";
8364
- readonly kind: "data";
8365
- }];
8366
- }, {
8367
- readonly type: "event";
8368
- readonly name: "ip_club::IPClubCollection::IPClubCollection::Event";
8369
- readonly kind: "enum";
8370
- readonly variants: readonly [{
8371
- readonly name: "ERC721Event";
8372
- readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
8373
- readonly kind: "flat";
8374
- }, {
8375
- readonly name: "SRC5Event";
8376
- readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
8377
- readonly kind: "flat";
8378
- }, {
8379
- readonly name: "OwnableEvent";
8380
- readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
8381
- readonly kind: "flat";
8382
- }, {
8383
- readonly name: "MemberMinted";
8384
- readonly type: "ip_club::IPClubCollection::IPClubCollection::MemberMinted";
8385
- readonly kind: "nested";
8386
- }, {
8387
- readonly name: "OpenStatusChanged";
8388
- readonly type: "ip_club::IPClubCollection::IPClubCollection::OpenStatusChanged";
8389
- readonly kind: "nested";
8390
- }];
8391
- }];
8392
-
8393
- declare const IPSponsorshipABI: readonly [{
8394
- readonly type: "impl";
8395
- readonly name: "IPSponsorshipImpl";
8396
- readonly interface_name: "ip_sponsorship::interface::IIPSponsorship";
8397
- }, {
8398
- readonly type: "struct";
8399
- readonly name: "core::integer::u256";
8400
- readonly members: readonly [{
8401
- readonly name: "low";
8402
- readonly type: "core::integer::u128";
8403
- }, {
8404
- readonly name: "high";
8405
- readonly type: "core::integer::u128";
8406
- }];
8407
- }, {
8408
- readonly type: "struct";
8409
- readonly name: "core::byte_array::ByteArray";
8410
- readonly members: readonly [{
8411
- readonly name: "data";
8412
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
8413
- }, {
8414
- readonly name: "pending_word";
8415
- readonly type: "core::felt252";
8416
- }, {
8417
- readonly name: "pending_word_len";
8418
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
8419
- }];
8420
- }, {
8421
- readonly type: "enum";
8422
- readonly name: "core::bool";
8423
- readonly variants: readonly [{
8424
- readonly name: "False";
8425
- readonly type: "()";
8426
- }, {
8427
- readonly name: "True";
8428
- readonly type: "()";
8429
- }];
8430
- }, {
8431
- readonly type: "enum";
8432
- readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8433
- readonly variants: readonly [{
8434
- readonly name: "Some";
8435
- readonly type: "core::starknet::contract_address::ContractAddress";
8436
- }, {
8437
- readonly name: "None";
8438
- readonly type: "()";
8439
- }];
8440
- }, {
8441
- readonly type: "struct";
8442
- readonly name: "ip_sponsorship::types::SponsorshipOffer";
8443
- readonly members: readonly [{
8444
- readonly name: "author";
8445
- readonly type: "core::starknet::contract_address::ContractAddress";
8446
- }, {
8447
- readonly name: "nft_contract";
8448
- readonly type: "core::starknet::contract_address::ContractAddress";
8449
- }, {
8450
- readonly name: "token_id";
8451
- readonly type: "core::integer::u256";
8452
- }, {
8453
- readonly name: "min_amount";
8454
- readonly type: "core::integer::u256";
8455
- }, {
8456
- readonly name: "duration";
8457
- readonly type: "core::integer::u64";
8458
- }, {
8459
- readonly name: "payment_token";
8460
- readonly type: "core::starknet::contract_address::ContractAddress";
8461
- }, {
8462
- readonly name: "license_terms_uri";
8463
- readonly type: "core::byte_array::ByteArray";
8464
- }, {
8465
- readonly name: "transferable";
8466
- readonly type: "core::bool";
8467
- }, {
8468
- readonly name: "specific_sponsor";
8469
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8470
- }, {
8471
- readonly name: "open";
8472
- readonly type: "core::bool";
8473
- }];
8474
- }, {
8475
- readonly type: "struct";
8476
- readonly name: "ip_sponsorship::types::License";
8477
- readonly members: readonly [{
8478
- readonly name: "author";
8479
- readonly type: "core::starknet::contract_address::ContractAddress";
8480
- }, {
8481
- readonly name: "sponsor";
8482
- readonly type: "core::starknet::contract_address::ContractAddress";
8483
- }, {
8484
- readonly name: "nft_contract";
8485
- readonly type: "core::starknet::contract_address::ContractAddress";
8486
- }, {
8487
- readonly name: "token_id";
8488
- readonly type: "core::integer::u256";
8489
- }, {
8490
- readonly name: "amount_paid";
8491
- readonly type: "core::integer::u256";
8492
- }, {
8493
- readonly name: "expires_at";
8494
- readonly type: "core::integer::u64";
8495
- }, {
8496
- readonly name: "transferable";
8497
- readonly type: "core::bool";
8498
- }, {
8499
- readonly name: "license_terms_uri";
8500
- readonly type: "core::byte_array::ByteArray";
8501
- }];
8502
- }, {
8503
- readonly type: "interface";
8504
- readonly name: "ip_sponsorship::interface::IIPSponsorship";
8505
- readonly items: readonly [{
8506
- readonly type: "function";
8507
- readonly name: "create_offer";
8508
- readonly inputs: readonly [{
8509
- readonly name: "nft_contract";
8510
- readonly type: "core::starknet::contract_address::ContractAddress";
8511
- }, {
8512
- readonly name: "token_id";
8513
- readonly type: "core::integer::u256";
8514
- }, {
8515
- readonly name: "min_amount";
8516
- readonly type: "core::integer::u256";
8517
- }, {
8518
- readonly name: "duration";
8519
- readonly type: "core::integer::u64";
8520
- }, {
8521
- readonly name: "payment_token";
8522
- readonly type: "core::starknet::contract_address::ContractAddress";
8523
- }, {
8524
- readonly name: "license_terms_uri";
8525
- readonly type: "core::byte_array::ByteArray";
8526
- }, {
8527
- readonly name: "transferable";
8528
- readonly type: "core::bool";
8529
- }, {
8530
- readonly name: "specific_sponsor";
8531
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8532
- }];
8533
- readonly outputs: readonly [{
8534
- readonly type: "core::integer::u256";
8535
- }];
8536
- readonly state_mutability: "external";
8537
- }, {
8538
- readonly type: "function";
8539
- readonly name: "set_offer_open";
8540
- readonly inputs: readonly [{
8541
- readonly name: "offer_id";
8542
- readonly type: "core::integer::u256";
8543
- }, {
8544
- readonly name: "open";
8545
- readonly type: "core::bool";
8546
- }];
8547
- readonly outputs: readonly [];
8548
- readonly state_mutability: "external";
8549
- }, {
8550
- readonly type: "function";
8551
- readonly name: "place_bid";
8552
- readonly inputs: readonly [{
8553
- readonly name: "offer_id";
8554
- readonly type: "core::integer::u256";
8555
- }, {
8556
- readonly name: "amount";
8557
- readonly type: "core::integer::u256";
8558
- }];
8559
- readonly outputs: readonly [];
8560
- readonly state_mutability: "external";
8561
- }, {
8562
- readonly type: "function";
8563
- readonly name: "retract_bid";
8564
- readonly inputs: readonly [{
8565
- readonly name: "offer_id";
8566
- readonly type: "core::integer::u256";
8567
- }];
8568
- readonly outputs: readonly [];
8569
- readonly state_mutability: "external";
8570
- }, {
8571
- readonly type: "function";
8572
- readonly name: "accept_bid";
8573
- readonly inputs: readonly [{
8574
- readonly name: "offer_id";
8575
- readonly type: "core::integer::u256";
8576
- }, {
8577
- readonly name: "sponsor";
8578
- readonly type: "core::starknet::contract_address::ContractAddress";
8579
- }];
8580
- readonly outputs: readonly [{
8581
- readonly type: "core::integer::u256";
8582
- }];
8583
- readonly state_mutability: "external";
8584
- }, {
8585
- readonly type: "function";
8586
- readonly name: "transfer_license";
8587
- readonly inputs: readonly [{
8588
- readonly name: "license_id";
8589
- readonly type: "core::integer::u256";
8590
- }, {
8591
- readonly name: "to";
8592
- readonly type: "core::starknet::contract_address::ContractAddress";
8593
- }];
8594
- readonly outputs: readonly [];
8595
- readonly state_mutability: "external";
8596
- }, {
8597
- readonly type: "function";
8598
- readonly name: "get_offer";
8599
- readonly inputs: readonly [{
8600
- readonly name: "offer_id";
8601
- readonly type: "core::integer::u256";
8602
- }];
8603
- readonly outputs: readonly [{
8604
- readonly type: "ip_sponsorship::types::SponsorshipOffer";
8605
- }];
8606
- readonly state_mutability: "view";
8607
- }, {
8608
- readonly type: "function";
8609
- readonly name: "get_bid";
8610
- readonly inputs: readonly [{
8611
- readonly name: "offer_id";
8612
- readonly type: "core::integer::u256";
8613
- }, {
8614
- readonly name: "sponsor";
8615
- readonly type: "core::starknet::contract_address::ContractAddress";
8616
- }];
8617
- readonly outputs: readonly [{
8618
- readonly type: "core::integer::u256";
8619
- }];
8620
- readonly state_mutability: "view";
8621
- }, {
8622
- readonly type: "function";
8623
- readonly name: "get_license";
8624
- readonly inputs: readonly [{
8625
- readonly name: "license_id";
8626
- readonly type: "core::integer::u256";
8627
- }];
8628
- readonly outputs: readonly [{
8629
- readonly type: "ip_sponsorship::types::License";
8630
- }];
8631
- readonly state_mutability: "view";
8632
- }, {
8633
- readonly type: "function";
8634
- readonly name: "is_license_valid";
8635
- readonly inputs: readonly [{
8636
- readonly name: "license_id";
8637
- readonly type: "core::integer::u256";
8638
- }];
8639
- readonly outputs: readonly [{
8640
- readonly type: "core::bool";
8641
- }];
8642
- readonly state_mutability: "view";
8643
7545
  }, {
8644
- readonly type: "function";
8645
- readonly name: "get_last_offer_id";
8646
- readonly inputs: readonly [];
8647
- readonly outputs: readonly [{
8648
- readonly type: "core::integer::u256";
8649
- }];
8650
- readonly state_mutability: "view";
7546
+ readonly name: "ids";
7547
+ readonly type: "core::array::Span::<core::integer::u256>";
7548
+ readonly kind: "data";
8651
7549
  }, {
8652
- readonly type: "function";
8653
- readonly name: "get_last_license_id";
8654
- readonly inputs: readonly [];
8655
- readonly outputs: readonly [{
8656
- readonly type: "core::integer::u256";
8657
- }];
8658
- readonly state_mutability: "view";
8659
- }];
8660
- }, {
8661
- readonly type: "impl";
8662
- readonly name: "SRC5Impl";
8663
- readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
8664
- }, {
8665
- readonly type: "interface";
8666
- readonly name: "openzeppelin_introspection::interface::ISRC5";
8667
- readonly items: readonly [{
8668
- readonly type: "function";
8669
- readonly name: "supports_interface";
8670
- readonly inputs: readonly [{
8671
- readonly name: "interface_id";
8672
- readonly type: "core::felt252";
8673
- }];
8674
- readonly outputs: readonly [{
8675
- readonly type: "core::bool";
8676
- }];
8677
- readonly state_mutability: "view";
7550
+ readonly name: "values";
7551
+ readonly type: "core::array::Span::<core::integer::u256>";
7552
+ readonly kind: "data";
8678
7553
  }];
8679
- }, {
8680
- readonly type: "constructor";
8681
- readonly name: "constructor";
8682
- readonly inputs: readonly [];
8683
- }, {
8684
- readonly type: "event";
8685
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
8686
- readonly kind: "enum";
8687
- readonly variants: readonly [];
8688
7554
  }, {
8689
7555
  readonly type: "event";
8690
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
7556
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
8691
7557
  readonly kind: "struct";
8692
7558
  readonly members: readonly [{
8693
- readonly name: "offer_id";
8694
- readonly type: "core::integer::u256";
8695
- readonly kind: "key";
8696
- }, {
8697
- readonly name: "author";
7559
+ readonly name: "owner";
8698
7560
  readonly type: "core::starknet::contract_address::ContractAddress";
8699
7561
  readonly kind: "key";
8700
7562
  }, {
8701
- readonly name: "nft_contract";
7563
+ readonly name: "operator";
8702
7564
  readonly type: "core::starknet::contract_address::ContractAddress";
8703
7565
  readonly kind: "key";
8704
7566
  }, {
8705
- readonly name: "token_id";
8706
- readonly type: "core::integer::u256";
8707
- readonly kind: "data";
8708
- }, {
8709
- readonly name: "min_amount";
8710
- readonly type: "core::integer::u256";
8711
- readonly kind: "data";
8712
- }, {
8713
- readonly name: "duration";
8714
- readonly type: "core::integer::u64";
8715
- readonly kind: "data";
8716
- }, {
8717
- readonly name: "payment_token";
8718
- readonly type: "core::starknet::contract_address::ContractAddress";
8719
- readonly kind: "data";
8720
- }, {
8721
- readonly name: "license_terms_uri";
8722
- readonly type: "core::byte_array::ByteArray";
8723
- readonly kind: "data";
8724
- }, {
8725
- readonly name: "transferable";
7567
+ readonly name: "approved";
8726
7568
  readonly type: "core::bool";
8727
7569
  readonly kind: "data";
8728
- }, {
8729
- readonly name: "specific_sponsor";
8730
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8731
- readonly kind: "data";
8732
- }, {
8733
- readonly name: "created_at";
8734
- readonly type: "core::integer::u64";
8735
- readonly kind: "data";
8736
7570
  }];
8737
7571
  }, {
8738
7572
  readonly type: "event";
8739
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
7573
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
8740
7574
  readonly kind: "struct";
8741
7575
  readonly members: readonly [{
8742
- readonly name: "offer_id";
7576
+ readonly name: "value";
7577
+ readonly type: "core::byte_array::ByteArray";
7578
+ readonly kind: "data";
7579
+ }, {
7580
+ readonly name: "id";
8743
7581
  readonly type: "core::integer::u256";
8744
7582
  readonly kind: "key";
7583
+ }];
7584
+ }, {
7585
+ readonly type: "event";
7586
+ readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
7587
+ readonly kind: "enum";
7588
+ readonly variants: readonly [{
7589
+ readonly name: "TransferSingle";
7590
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
7591
+ readonly kind: "nested";
8745
7592
  }, {
8746
- readonly name: "open";
8747
- readonly type: "core::bool";
8748
- readonly kind: "data";
7593
+ readonly name: "TransferBatch";
7594
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
7595
+ readonly kind: "nested";
8749
7596
  }, {
8750
- readonly name: "updated_at";
8751
- readonly type: "core::integer::u64";
8752
- readonly kind: "data";
7597
+ readonly name: "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";
7603
+ readonly kind: "nested";
8753
7604
  }];
8754
7605
  }, {
8755
7606
  readonly type: "event";
8756
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
7607
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7608
+ readonly kind: "enum";
7609
+ readonly variants: readonly [];
7610
+ }, {
7611
+ readonly type: "event";
7612
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
8757
7613
  readonly kind: "struct";
8758
7614
  readonly members: readonly [{
8759
- readonly name: "offer_id";
8760
- readonly type: "core::integer::u256";
7615
+ readonly name: "previous_owner";
7616
+ readonly type: "core::starknet::contract_address::ContractAddress";
8761
7617
  readonly kind: "key";
8762
7618
  }, {
8763
- readonly name: "sponsor";
7619
+ readonly name: "new_owner";
8764
7620
  readonly type: "core::starknet::contract_address::ContractAddress";
8765
7621
  readonly kind: "key";
8766
- }, {
8767
- readonly name: "amount";
8768
- readonly type: "core::integer::u256";
8769
- readonly kind: "data";
8770
- }, {
8771
- readonly name: "bid_at";
8772
- readonly type: "core::integer::u64";
8773
- readonly kind: "data";
8774
7622
  }];
8775
7623
  }, {
8776
7624
  readonly type: "event";
8777
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
7625
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
8778
7626
  readonly kind: "struct";
8779
7627
  readonly members: readonly [{
8780
- readonly name: "offer_id";
8781
- readonly type: "core::integer::u256";
7628
+ readonly name: "previous_owner";
7629
+ readonly type: "core::starknet::contract_address::ContractAddress";
8782
7630
  readonly kind: "key";
8783
7631
  }, {
8784
- readonly name: "sponsor";
7632
+ readonly name: "new_owner";
8785
7633
  readonly type: "core::starknet::contract_address::ContractAddress";
8786
7634
  readonly kind: "key";
7635
+ }];
7636
+ }, {
7637
+ readonly type: "event";
7638
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
7639
+ readonly kind: "enum";
7640
+ readonly variants: readonly [{
7641
+ readonly name: "OwnershipTransferred";
7642
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
7643
+ readonly kind: "nested";
8787
7644
  }, {
8788
- readonly name: "retracted_at";
8789
- readonly type: "core::integer::u64";
8790
- readonly kind: "data";
7645
+ readonly name: "OwnershipTransferStarted";
7646
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
7647
+ readonly kind: "nested";
8791
7648
  }];
8792
7649
  }, {
8793
7650
  readonly type: "event";
8794
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
7651
+ readonly name: "ip_club::IPClubCollection::IPClubCollection::MembershipCreated";
8795
7652
  readonly kind: "struct";
8796
7653
  readonly members: readonly [{
8797
- readonly name: "offer_id";
7654
+ readonly name: "token_id";
8798
7655
  readonly type: "core::integer::u256";
8799
7656
  readonly kind: "key";
8800
7657
  }, {
8801
- readonly name: "license_id";
7658
+ readonly name: "max_supply";
8802
7659
  readonly type: "core::integer::u256";
8803
- readonly kind: "key";
8804
- }, {
8805
- readonly name: "sponsor";
8806
- readonly type: "core::starknet::contract_address::ContractAddress";
8807
- readonly kind: "key";
8808
- }, {
8809
- readonly name: "author";
8810
- readonly type: "core::starknet::contract_address::ContractAddress";
8811
7660
  readonly kind: "data";
8812
7661
  }, {
8813
- readonly name: "amount";
8814
- readonly type: "core::integer::u256";
7662
+ readonly name: "start_time";
7663
+ readonly type: "core::option::Option::<core::integer::u64>";
8815
7664
  readonly kind: "data";
8816
7665
  }, {
8817
- readonly name: "expires_at";
8818
- readonly type: "core::integer::u64";
7666
+ readonly name: "end_time";
7667
+ readonly type: "core::option::Option::<core::integer::u64>";
8819
7668
  readonly kind: "data";
8820
- }];
8821
- }, {
8822
- readonly type: "event";
8823
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
8824
- readonly kind: "struct";
8825
- readonly members: readonly [{
8826
- readonly name: "license_id";
8827
- readonly type: "core::integer::u256";
8828
- readonly kind: "key";
8829
- }, {
8830
- readonly name: "from";
8831
- readonly type: "core::starknet::contract_address::ContractAddress";
8832
- readonly kind: "key";
8833
7669
  }, {
8834
- readonly name: "to";
8835
- readonly type: "core::starknet::contract_address::ContractAddress";
8836
- readonly kind: "key";
7670
+ readonly name: "metadata_uri";
7671
+ readonly type: "core::byte_array::ByteArray";
7672
+ readonly kind: "data";
8837
7673
  }, {
8838
- readonly name: "transferred_at";
7674
+ readonly name: "created_at";
8839
7675
  readonly type: "core::integer::u64";
8840
7676
  readonly kind: "data";
8841
7677
  }];
8842
7678
  }, {
8843
7679
  readonly type: "event";
8844
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::Event";
7680
+ readonly name: "ip_club::IPClubCollection::IPClubCollection::Event";
8845
7681
  readonly kind: "enum";
8846
7682
  readonly variants: readonly [{
7683
+ readonly name: "ERC1155Event";
7684
+ readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
7685
+ readonly kind: "flat";
7686
+ }, {
8847
7687
  readonly name: "SRC5Event";
8848
7688
  readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
8849
7689
  readonly kind: "flat";
8850
7690
  }, {
8851
- readonly name: "OfferCreated";
8852
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
8853
- readonly kind: "nested";
8854
- }, {
8855
- readonly name: "OfferStatusUpdated";
8856
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
8857
- readonly kind: "nested";
8858
- }, {
8859
- readonly name: "BidPlaced";
8860
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
8861
- readonly kind: "nested";
8862
- }, {
8863
- readonly name: "BidRetracted";
8864
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
8865
- readonly kind: "nested";
8866
- }, {
8867
- readonly name: "SponsorshipAccepted";
8868
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8869
- readonly kind: "nested";
7691
+ readonly name: "OwnableEvent";
7692
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
7693
+ readonly kind: "flat";
8870
7694
  }, {
8871
- readonly name: "LicenseTransferred";
8872
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
7695
+ readonly name: "MembershipCreated";
7696
+ readonly type: "ip_club::IPClubCollection::IPClubCollection::MembershipCreated";
8873
7697
  readonly kind: "nested";
8874
7698
  }];
8875
7699
  }];
8876
7700
 
8877
- declare const IPSponsorshipLicenseABI: readonly [{
7701
+ declare const IPSponsorshipABI: readonly [{
8878
7702
  readonly type: "impl";
8879
7703
  readonly name: "ERC721MetadataImpl";
8880
7704
  readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
@@ -8953,8 +7777,8 @@ declare const IPSponsorshipLicenseABI: readonly [{
8953
7777
  }];
8954
7778
  }, {
8955
7779
  readonly type: "impl";
8956
- readonly name: "IPSponsorshipLicenseImpl";
8957
- readonly interface_name: "ip_sponsorship::interface::IIPSponsorshipLicense";
7780
+ readonly name: "IPSponsorshipImpl";
7781
+ readonly interface_name: "ip_sponsorship::interface::IIPSponsorship";
8958
7782
  }, {
8959
7783
  readonly type: "enum";
8960
7784
  readonly name: "core::bool";
@@ -8965,60 +7789,246 @@ declare const IPSponsorshipLicenseABI: readonly [{
8965
7789
  readonly name: "True";
8966
7790
  readonly type: "()";
8967
7791
  }];
7792
+ }, {
7793
+ readonly type: "enum";
7794
+ readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7795
+ readonly variants: readonly [{
7796
+ readonly name: "Some";
7797
+ readonly type: "core::starknet::contract_address::ContractAddress";
7798
+ }, {
7799
+ readonly name: "None";
7800
+ readonly type: "()";
7801
+ }];
8968
7802
  }, {
8969
7803
  readonly type: "struct";
8970
- readonly name: "ip_sponsorship::types::LicenseData";
7804
+ readonly name: "ip_sponsorship::types::SponsorshipOffer";
8971
7805
  readonly members: readonly [{
8972
7806
  readonly name: "author";
8973
7807
  readonly type: "core::starknet::contract_address::ContractAddress";
8974
7808
  }, {
8975
- readonly name: "asset_contract";
7809
+ readonly name: "nft_contract";
8976
7810
  readonly type: "core::starknet::contract_address::ContractAddress";
8977
7811
  }, {
8978
- readonly name: "asset_token_id";
7812
+ readonly name: "token_id";
8979
7813
  readonly type: "core::integer::u256";
8980
7814
  }, {
8981
- readonly name: "expires_at";
7815
+ readonly name: "min_amount";
7816
+ readonly type: "core::integer::u256";
7817
+ }, {
7818
+ readonly name: "duration";
8982
7819
  readonly type: "core::integer::u64";
7820
+ }, {
7821
+ readonly name: "payment_token";
7822
+ readonly type: "core::starknet::contract_address::ContractAddress";
7823
+ }, {
7824
+ readonly name: "license_terms_uri";
7825
+ readonly type: "core::byte_array::ByteArray";
8983
7826
  }, {
8984
7827
  readonly name: "transferable";
8985
7828
  readonly type: "core::bool";
7829
+ }, {
7830
+ readonly name: "specific_sponsor";
7831
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7832
+ }, {
7833
+ readonly name: "open";
7834
+ readonly type: "core::bool";
8986
7835
  }, {
8987
7836
  readonly name: "royalty_bps";
8988
7837
  readonly type: "core::integer::u256";
7838
+ }];
7839
+ }, {
7840
+ readonly type: "struct";
7841
+ readonly name: "ip_sponsorship::types::SponsorshipProposal";
7842
+ readonly members: readonly [{
7843
+ readonly name: "proposer";
7844
+ readonly type: "core::starknet::contract_address::ContractAddress";
7845
+ }, {
7846
+ readonly name: "nft_contract";
7847
+ readonly type: "core::starknet::contract_address::ContractAddress";
7848
+ }, {
7849
+ readonly name: "token_id";
7850
+ readonly type: "core::integer::u256";
7851
+ }, {
7852
+ readonly name: "amount";
7853
+ readonly type: "core::integer::u256";
7854
+ }, {
7855
+ readonly name: "duration";
7856
+ readonly type: "core::integer::u64";
7857
+ }, {
7858
+ readonly name: "valid_until";
7859
+ readonly type: "core::integer::u64";
7860
+ }, {
7861
+ readonly name: "payment_token";
7862
+ readonly type: "core::starknet::contract_address::ContractAddress";
8989
7863
  }, {
8990
7864
  readonly name: "license_terms_uri";
8991
7865
  readonly type: "core::byte_array::ByteArray";
7866
+ }, {
7867
+ readonly name: "transferable";
7868
+ readonly type: "core::bool";
7869
+ }, {
7870
+ readonly name: "open";
7871
+ readonly type: "core::bool";
7872
+ }, {
7873
+ readonly name: "royalty_bps";
7874
+ readonly type: "core::integer::u256";
8992
7875
  }];
8993
7876
  }, {
8994
7877
  readonly type: "interface";
8995
- readonly name: "ip_sponsorship::interface::IIPSponsorshipLicense";
7878
+ readonly name: "ip_sponsorship::interface::IIPSponsorship";
8996
7879
  readonly items: readonly [{
8997
7880
  readonly type: "function";
8998
- readonly name: "set_minter";
7881
+ readonly name: "create_offer";
8999
7882
  readonly inputs: readonly [{
9000
- readonly name: "minter";
7883
+ readonly name: "nft_contract";
7884
+ readonly type: "core::starknet::contract_address::ContractAddress";
7885
+ }, {
7886
+ readonly name: "token_id";
7887
+ readonly type: "core::integer::u256";
7888
+ }, {
7889
+ readonly name: "min_amount";
7890
+ readonly type: "core::integer::u256";
7891
+ }, {
7892
+ readonly name: "duration";
7893
+ readonly type: "core::integer::u64";
7894
+ }, {
7895
+ readonly name: "payment_token";
9001
7896
  readonly type: "core::starknet::contract_address::ContractAddress";
7897
+ }, {
7898
+ readonly name: "license_terms_uri";
7899
+ readonly type: "core::byte_array::ByteArray";
7900
+ }, {
7901
+ readonly name: "transferable";
7902
+ readonly type: "core::bool";
7903
+ }, {
7904
+ readonly name: "royalty_bps";
7905
+ readonly type: "core::integer::u256";
7906
+ }, {
7907
+ readonly name: "specific_sponsor";
7908
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7909
+ }];
7910
+ readonly outputs: readonly [{
7911
+ readonly type: "core::integer::u256";
7912
+ }];
7913
+ readonly state_mutability: "external";
7914
+ }, {
7915
+ readonly type: "function";
7916
+ readonly name: "set_offer_open";
7917
+ readonly inputs: readonly [{
7918
+ readonly name: "offer_id";
7919
+ readonly type: "core::integer::u256";
7920
+ }, {
7921
+ readonly name: "open";
7922
+ readonly type: "core::bool";
9002
7923
  }];
9003
7924
  readonly outputs: readonly [];
9004
7925
  readonly state_mutability: "external";
9005
7926
  }, {
9006
7927
  readonly type: "function";
9007
- readonly name: "get_minter";
9008
- readonly inputs: readonly [];
7928
+ readonly name: "place_bid";
7929
+ readonly inputs: readonly [{
7930
+ readonly name: "offer_id";
7931
+ readonly type: "core::integer::u256";
7932
+ }, {
7933
+ readonly name: "amount";
7934
+ readonly type: "core::integer::u256";
7935
+ }];
7936
+ readonly outputs: readonly [];
7937
+ readonly state_mutability: "external";
7938
+ }, {
7939
+ readonly type: "function";
7940
+ readonly name: "retract_bid";
7941
+ readonly inputs: readonly [{
7942
+ readonly name: "offer_id";
7943
+ readonly type: "core::integer::u256";
7944
+ }];
7945
+ readonly outputs: readonly [];
7946
+ readonly state_mutability: "external";
7947
+ }, {
7948
+ readonly type: "function";
7949
+ readonly name: "accept_bid";
7950
+ readonly inputs: readonly [{
7951
+ readonly name: "offer_id";
7952
+ readonly type: "core::integer::u256";
7953
+ }, {
7954
+ readonly name: "sponsor";
7955
+ readonly type: "core::starknet::contract_address::ContractAddress";
7956
+ }];
7957
+ readonly outputs: readonly [{
7958
+ readonly type: "core::integer::u256";
7959
+ }];
7960
+ readonly state_mutability: "external";
7961
+ }, {
7962
+ readonly type: "function";
7963
+ readonly name: "get_offer";
7964
+ readonly inputs: readonly [{
7965
+ readonly name: "offer_id";
7966
+ readonly type: "core::integer::u256";
7967
+ }];
9009
7968
  readonly outputs: readonly [{
7969
+ readonly type: "ip_sponsorship::types::SponsorshipOffer";
7970
+ }];
7971
+ readonly state_mutability: "view";
7972
+ }, {
7973
+ readonly type: "function";
7974
+ readonly name: "get_bid";
7975
+ readonly inputs: readonly [{
7976
+ readonly name: "offer_id";
7977
+ readonly type: "core::integer::u256";
7978
+ }, {
7979
+ readonly name: "sponsor";
9010
7980
  readonly type: "core::starknet::contract_address::ContractAddress";
9011
7981
  }];
7982
+ readonly outputs: readonly [{
7983
+ readonly type: "core::integer::u256";
7984
+ }];
9012
7985
  readonly state_mutability: "view";
9013
7986
  }, {
9014
7987
  readonly type: "function";
9015
- readonly name: "mint";
7988
+ readonly name: "get_last_offer_id";
7989
+ readonly inputs: readonly [];
7990
+ readonly outputs: readonly [{
7991
+ readonly type: "core::integer::u256";
7992
+ }];
7993
+ readonly state_mutability: "view";
7994
+ }, {
7995
+ readonly type: "function";
7996
+ readonly name: "get_last_license_id";
7997
+ readonly inputs: readonly [];
7998
+ readonly outputs: readonly [{
7999
+ readonly type: "core::integer::u256";
8000
+ }];
8001
+ readonly state_mutability: "view";
8002
+ }, {
8003
+ readonly type: "function";
8004
+ readonly name: "propose_sponsorship";
9016
8005
  readonly inputs: readonly [{
9017
- readonly name: "recipient";
8006
+ readonly name: "nft_contract";
9018
8007
  readonly type: "core::starknet::contract_address::ContractAddress";
9019
8008
  }, {
9020
- readonly name: "data";
9021
- readonly type: "ip_sponsorship::types::LicenseData";
8009
+ readonly name: "token_id";
8010
+ readonly type: "core::integer::u256";
8011
+ }, {
8012
+ readonly name: "amount";
8013
+ readonly type: "core::integer::u256";
8014
+ }, {
8015
+ readonly name: "duration";
8016
+ readonly type: "core::integer::u64";
8017
+ }, {
8018
+ readonly name: "valid_until";
8019
+ readonly type: "core::integer::u64";
8020
+ }, {
8021
+ readonly name: "payment_token";
8022
+ readonly type: "core::starknet::contract_address::ContractAddress";
8023
+ }, {
8024
+ readonly name: "license_terms_uri";
8025
+ readonly type: "core::byte_array::ByteArray";
8026
+ }, {
8027
+ readonly name: "transferable";
8028
+ readonly type: "core::bool";
8029
+ }, {
8030
+ readonly name: "royalty_bps";
8031
+ readonly type: "core::integer::u256";
9022
8032
  }];
9023
8033
  readonly outputs: readonly [{
9024
8034
  readonly type: "core::integer::u256";
@@ -9026,29 +8036,47 @@ declare const IPSponsorshipLicenseABI: readonly [{
9026
8036
  readonly state_mutability: "external";
9027
8037
  }, {
9028
8038
  readonly type: "function";
9029
- readonly name: "get_license_data";
8039
+ readonly name: "withdraw_proposal";
9030
8040
  readonly inputs: readonly [{
9031
- readonly name: "token_id";
8041
+ readonly name: "proposal_id";
8042
+ readonly type: "core::integer::u256";
8043
+ }];
8044
+ readonly outputs: readonly [];
8045
+ readonly state_mutability: "external";
8046
+ }, {
8047
+ readonly type: "function";
8048
+ readonly name: "accept_proposal";
8049
+ readonly inputs: readonly [{
8050
+ readonly name: "proposal_id";
9032
8051
  readonly type: "core::integer::u256";
9033
8052
  }];
9034
8053
  readonly outputs: readonly [{
9035
- readonly type: "ip_sponsorship::types::LicenseData";
8054
+ readonly type: "core::integer::u256";
9036
8055
  }];
9037
- readonly state_mutability: "view";
8056
+ readonly state_mutability: "external";
8057
+ }, {
8058
+ readonly type: "function";
8059
+ readonly name: "reject_proposal";
8060
+ readonly inputs: readonly [{
8061
+ readonly name: "proposal_id";
8062
+ readonly type: "core::integer::u256";
8063
+ }];
8064
+ readonly outputs: readonly [];
8065
+ readonly state_mutability: "external";
9038
8066
  }, {
9039
8067
  readonly type: "function";
9040
- readonly name: "is_license_valid";
8068
+ readonly name: "get_proposal";
9041
8069
  readonly inputs: readonly [{
9042
- readonly name: "token_id";
8070
+ readonly name: "proposal_id";
9043
8071
  readonly type: "core::integer::u256";
9044
8072
  }];
9045
8073
  readonly outputs: readonly [{
9046
- readonly type: "core::bool";
8074
+ readonly type: "ip_sponsorship::types::SponsorshipProposal";
9047
8075
  }];
9048
8076
  readonly state_mutability: "view";
9049
8077
  }, {
9050
8078
  readonly type: "function";
9051
- readonly name: "last_license_id";
8079
+ readonly name: "get_last_proposal_id";
9052
8080
  readonly inputs: readonly [];
9053
8081
  readonly outputs: readonly [{
9054
8082
  readonly type: "core::integer::u256";
@@ -9414,7 +8442,243 @@ declare const IPSponsorshipLicenseABI: readonly [{
9414
8442
  readonly variants: readonly [];
9415
8443
  }, {
9416
8444
  readonly type: "event";
9417
- readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
8445
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
8446
+ readonly kind: "struct";
8447
+ readonly members: readonly [{
8448
+ readonly name: "offer_id";
8449
+ readonly type: "core::integer::u256";
8450
+ readonly kind: "key";
8451
+ }, {
8452
+ readonly name: "author";
8453
+ readonly type: "core::starknet::contract_address::ContractAddress";
8454
+ readonly kind: "key";
8455
+ }, {
8456
+ readonly name: "nft_contract";
8457
+ readonly type: "core::starknet::contract_address::ContractAddress";
8458
+ readonly kind: "key";
8459
+ }, {
8460
+ readonly name: "token_id";
8461
+ readonly type: "core::integer::u256";
8462
+ readonly kind: "data";
8463
+ }, {
8464
+ readonly name: "min_amount";
8465
+ readonly type: "core::integer::u256";
8466
+ readonly kind: "data";
8467
+ }, {
8468
+ readonly name: "duration";
8469
+ readonly type: "core::integer::u64";
8470
+ readonly kind: "data";
8471
+ }, {
8472
+ readonly name: "payment_token";
8473
+ readonly type: "core::starknet::contract_address::ContractAddress";
8474
+ readonly kind: "data";
8475
+ }, {
8476
+ readonly name: "license_terms_uri";
8477
+ readonly type: "core::byte_array::ByteArray";
8478
+ readonly kind: "data";
8479
+ }, {
8480
+ readonly name: "transferable";
8481
+ readonly type: "core::bool";
8482
+ readonly kind: "data";
8483
+ }, {
8484
+ readonly name: "royalty_bps";
8485
+ readonly type: "core::integer::u256";
8486
+ readonly kind: "data";
8487
+ }, {
8488
+ readonly name: "specific_sponsor";
8489
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8490
+ readonly kind: "data";
8491
+ }, {
8492
+ readonly name: "created_at";
8493
+ readonly type: "core::integer::u64";
8494
+ readonly kind: "data";
8495
+ }];
8496
+ }, {
8497
+ readonly type: "event";
8498
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
8499
+ readonly kind: "struct";
8500
+ readonly members: readonly [{
8501
+ readonly name: "offer_id";
8502
+ readonly type: "core::integer::u256";
8503
+ readonly kind: "key";
8504
+ }, {
8505
+ readonly name: "open";
8506
+ readonly type: "core::bool";
8507
+ readonly kind: "data";
8508
+ }, {
8509
+ readonly name: "updated_at";
8510
+ readonly type: "core::integer::u64";
8511
+ readonly kind: "data";
8512
+ }];
8513
+ }, {
8514
+ readonly type: "event";
8515
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
8516
+ readonly kind: "struct";
8517
+ readonly members: readonly [{
8518
+ readonly name: "offer_id";
8519
+ readonly type: "core::integer::u256";
8520
+ readonly kind: "key";
8521
+ }, {
8522
+ readonly name: "sponsor";
8523
+ readonly type: "core::starknet::contract_address::ContractAddress";
8524
+ readonly kind: "key";
8525
+ }, {
8526
+ readonly name: "amount";
8527
+ readonly type: "core::integer::u256";
8528
+ readonly kind: "data";
8529
+ }, {
8530
+ readonly name: "bid_at";
8531
+ readonly type: "core::integer::u64";
8532
+ readonly kind: "data";
8533
+ }];
8534
+ }, {
8535
+ readonly type: "event";
8536
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
8537
+ readonly kind: "struct";
8538
+ readonly members: readonly [{
8539
+ readonly name: "offer_id";
8540
+ readonly type: "core::integer::u256";
8541
+ readonly kind: "key";
8542
+ }, {
8543
+ readonly name: "sponsor";
8544
+ readonly type: "core::starknet::contract_address::ContractAddress";
8545
+ readonly kind: "key";
8546
+ }, {
8547
+ readonly name: "retracted_at";
8548
+ readonly type: "core::integer::u64";
8549
+ readonly kind: "data";
8550
+ }];
8551
+ }, {
8552
+ readonly type: "event";
8553
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8554
+ readonly kind: "struct";
8555
+ readonly members: readonly [{
8556
+ readonly name: "offer_id";
8557
+ readonly type: "core::integer::u256";
8558
+ readonly kind: "key";
8559
+ }, {
8560
+ readonly name: "license_id";
8561
+ readonly type: "core::integer::u256";
8562
+ readonly kind: "key";
8563
+ }, {
8564
+ readonly name: "sponsor";
8565
+ readonly type: "core::starknet::contract_address::ContractAddress";
8566
+ readonly kind: "key";
8567
+ }, {
8568
+ readonly name: "author";
8569
+ readonly type: "core::starknet::contract_address::ContractAddress";
8570
+ readonly kind: "data";
8571
+ }, {
8572
+ readonly name: "amount";
8573
+ readonly type: "core::integer::u256";
8574
+ readonly kind: "data";
8575
+ }, {
8576
+ readonly name: "expires_at";
8577
+ readonly type: "core::integer::u64";
8578
+ readonly kind: "data";
8579
+ }];
8580
+ }, {
8581
+ readonly type: "event";
8582
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalCreated";
8583
+ readonly kind: "struct";
8584
+ readonly members: readonly [{
8585
+ readonly name: "proposal_id";
8586
+ readonly type: "core::integer::u256";
8587
+ readonly kind: "key";
8588
+ }, {
8589
+ readonly name: "proposer";
8590
+ readonly type: "core::starknet::contract_address::ContractAddress";
8591
+ readonly kind: "key";
8592
+ }, {
8593
+ readonly name: "nft_contract";
8594
+ readonly type: "core::starknet::contract_address::ContractAddress";
8595
+ readonly kind: "key";
8596
+ }, {
8597
+ readonly name: "token_id";
8598
+ readonly type: "core::integer::u256";
8599
+ readonly kind: "data";
8600
+ }, {
8601
+ readonly name: "amount";
8602
+ readonly type: "core::integer::u256";
8603
+ readonly kind: "data";
8604
+ }, {
8605
+ readonly name: "duration";
8606
+ readonly type: "core::integer::u64";
8607
+ readonly kind: "data";
8608
+ }, {
8609
+ readonly name: "valid_until";
8610
+ readonly type: "core::integer::u64";
8611
+ readonly kind: "data";
8612
+ }, {
8613
+ readonly name: "payment_token";
8614
+ readonly type: "core::starknet::contract_address::ContractAddress";
8615
+ readonly kind: "data";
8616
+ }, {
8617
+ readonly name: "license_terms_uri";
8618
+ readonly type: "core::byte_array::ByteArray";
8619
+ readonly kind: "data";
8620
+ }, {
8621
+ readonly name: "transferable";
8622
+ readonly type: "core::bool";
8623
+ readonly kind: "data";
8624
+ }, {
8625
+ readonly name: "royalty_bps";
8626
+ readonly type: "core::integer::u256";
8627
+ readonly kind: "data";
8628
+ }, {
8629
+ readonly name: "created_at";
8630
+ readonly type: "core::integer::u64";
8631
+ readonly kind: "data";
8632
+ }];
8633
+ }, {
8634
+ readonly type: "event";
8635
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalClosed";
8636
+ readonly kind: "struct";
8637
+ readonly members: readonly [{
8638
+ readonly name: "proposal_id";
8639
+ readonly type: "core::integer::u256";
8640
+ readonly kind: "key";
8641
+ }, {
8642
+ readonly name: "accepted";
8643
+ readonly type: "core::bool";
8644
+ readonly kind: "data";
8645
+ }, {
8646
+ readonly name: "closed_at";
8647
+ readonly type: "core::integer::u64";
8648
+ readonly kind: "data";
8649
+ }];
8650
+ }, {
8651
+ readonly type: "event";
8652
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalAccepted";
8653
+ readonly kind: "struct";
8654
+ readonly members: readonly [{
8655
+ readonly name: "proposal_id";
8656
+ readonly type: "core::integer::u256";
8657
+ readonly kind: "key";
8658
+ }, {
8659
+ readonly name: "license_id";
8660
+ readonly type: "core::integer::u256";
8661
+ readonly kind: "key";
8662
+ }, {
8663
+ readonly name: "sponsor";
8664
+ readonly type: "core::starknet::contract_address::ContractAddress";
8665
+ readonly kind: "key";
8666
+ }, {
8667
+ readonly name: "author";
8668
+ readonly type: "core::starknet::contract_address::ContractAddress";
8669
+ readonly kind: "data";
8670
+ }, {
8671
+ readonly name: "amount";
8672
+ readonly type: "core::integer::u256";
8673
+ readonly kind: "data";
8674
+ }, {
8675
+ readonly name: "expires_at";
8676
+ readonly type: "core::integer::u64";
8677
+ readonly kind: "data";
8678
+ }];
8679
+ }, {
8680
+ readonly type: "event";
8681
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseMinted";
9418
8682
  readonly kind: "struct";
9419
8683
  readonly members: readonly [{
9420
8684
  readonly name: "token_id";
@@ -9459,7 +8723,7 @@ declare const IPSponsorshipLicenseABI: readonly [{
9459
8723
  }];
9460
8724
  }, {
9461
8725
  readonly type: "event";
9462
- readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::Event";
8726
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::Event";
9463
8727
  readonly kind: "enum";
9464
8728
  readonly variants: readonly [{
9465
8729
  readonly name: "ERC721Event";
@@ -9469,9 +8733,41 @@ declare const IPSponsorshipLicenseABI: readonly [{
9469
8733
  readonly name: "SRC5Event";
9470
8734
  readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
9471
8735
  readonly kind: "flat";
8736
+ }, {
8737
+ readonly name: "OfferCreated";
8738
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
8739
+ readonly kind: "nested";
8740
+ }, {
8741
+ readonly name: "OfferStatusUpdated";
8742
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
8743
+ readonly kind: "nested";
8744
+ }, {
8745
+ readonly name: "BidPlaced";
8746
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
8747
+ readonly kind: "nested";
8748
+ }, {
8749
+ readonly name: "BidRetracted";
8750
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
8751
+ readonly kind: "nested";
8752
+ }, {
8753
+ readonly name: "SponsorshipAccepted";
8754
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8755
+ readonly kind: "nested";
8756
+ }, {
8757
+ readonly name: "ProposalCreated";
8758
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalCreated";
8759
+ readonly kind: "nested";
8760
+ }, {
8761
+ readonly name: "ProposalClosed";
8762
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalClosed";
8763
+ readonly kind: "nested";
8764
+ }, {
8765
+ readonly name: "ProposalAccepted";
8766
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalAccepted";
8767
+ readonly kind: "nested";
9472
8768
  }, {
9473
8769
  readonly name: "LicenseMinted";
9474
- readonly type: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
8770
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseMinted";
9475
8771
  readonly kind: "nested";
9476
8772
  }];
9477
8773
  }];
@@ -10130,4 +9426,4 @@ declare function build1155CancellationTypedData(message: Record<string, unknown>
10130
9426
 
10131
9427
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
10132
9428
 
10133
- 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, IPSponsorshipLicenseABI as b6, IPTicketCollectionABI as b7, IPTicketCollectionFactoryABI as b8, type IPType as b9, type PopClaimStatus as bA, type PopEventType as bB, PopService 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 IntentCall as ba, type IntentStatus as bb, type IntentType as bc, type IpAttribute as bd, type IpNftMetadata as be, LAUNCH_PRICE_QUOTE_PER_COIN as bf, type MakeOfferIntentParams as bg, Medialane1155ABI as bh, MedialaneApiError as bi, MedialaneClient as bj, type MedialaneConfig as bk, MedialaneError as bl, type MedialaneErrorCode as bm, type MintEditionParams as bn, type MintTicketsParams as bo, OPEN_LICENSES as bp, type OfferItem as bq, type OpenLicense as br, type Order as bs, type OrderDetails as bt, type OrderParameters as bu, type OrderStatus as bv, POPCollectionABI as bw, POPFactoryABI as bx, type ParsedAdminHeaders as by, type PopBatchEligibilityItem 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 };