@medialane/sdk 0.43.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -33,6 +33,15 @@ interface ChainCoordinates {
33
33
  creatorCoinFactoryClassHash?: `0x${string}`;
34
34
  creatorCoinStartBlock?: number;
35
35
  ekuboCore?: `0x${string}`;
36
+ ipTicketsFactory?: `0x${string}`;
37
+ ipTicketCollectionClassHash?: `0x${string}`;
38
+ ipTicketsStartBlock?: number;
39
+ ipClubRegistry?: `0x${string}`;
40
+ ipClubNftClassHash?: `0x${string}`;
41
+ ipClubStartBlock?: number;
42
+ ipSponsorship?: `0x${string}`;
43
+ ipSponsorshipStartBlock?: number;
44
+ ipSponsorshipLicense?: `0x${string}`;
36
45
  }
37
46
  declare function getCoordinates(chain: Chain): ChainCoordinates;
38
47
  declare const DEFAULT_CHAIN: Chain;
@@ -404,7 +413,7 @@ type IPType = "Audio" | "Art" | "Documents" | "NFT" | "Video" | "Photography" |
404
413
  type CollectionSort = "recent" | "supply" | "floor" | "volume" | "name";
405
414
  /** Bounded capability set (05-service-model §III). Expand the union when a
406
415
  * service needs behavior outside it — never make it free-form. */
407
- type ServiceCapability = "list" | "buy" | "make_offer" | "cancel" | "transfer" | "burn" | "mint" | "claim" | "airdrop" | "remix" | "license" | "subscribe" | "redeem" | "launch" | "swap";
416
+ type ServiceCapability = "list" | "buy" | "make_offer" | "cancel" | "transfer" | "burn" | "mint" | "claim" | "airdrop" | "remix" | "license" | "subscribe" | "redeem" | "launch" | "swap" | "sponsor";
408
417
  /** A service that bakes enforcement into its own contract declares it here
409
418
  * (04-licensing-model §V, 05-service-model §IV). Absence/all-falsey =
410
419
  * soft enforcement (the 00-principles §9 default). */
@@ -1413,6 +1422,42 @@ interface CreateDropParams {
1413
1422
  maxSupply: bigint | string;
1414
1423
  initialConditions: ClaimConditions;
1415
1424
  }
1425
+ interface CreateTicketCollectionParams {
1426
+ collection: string;
1427
+ /** 0 = free ticket; must be non-zero with paymentToken set otherwise. */
1428
+ price: bigint | string;
1429
+ maxSupply: bigint | string;
1430
+ /** Unix timestamp; must be in the future. */
1431
+ expiration: number;
1432
+ /** Basis points, 0-10000. */
1433
+ royaltyBps: number;
1434
+ /** Required (non-zero) when price > 0; omit for free tickets. */
1435
+ paymentToken?: string;
1436
+ /** ipfs:// or ar:// only — enforced on-chain. */
1437
+ metadataUri: string;
1438
+ }
1439
+ interface CreateClubParams {
1440
+ name: string;
1441
+ symbol: string;
1442
+ /** ipfs:// or ar:// only — enforced on-chain. */
1443
+ metadataUri: string;
1444
+ maxMembers?: number;
1445
+ /** Required (non-zero) with paymentToken set; omit for a free club. */
1446
+ entryFee?: bigint | string;
1447
+ paymentToken?: string;
1448
+ }
1449
+ interface CreateSponsorshipOfferParams {
1450
+ nftContract: string;
1451
+ tokenId: bigint | string;
1452
+ minAmount: bigint | string;
1453
+ /** Seconds, applied from acceptance (not from offer creation). */
1454
+ duration: number;
1455
+ paymentToken: string;
1456
+ licenseTermsUri: string;
1457
+ transferable: boolean;
1458
+ /** Restricts acceptance to one sponsor address; omit for open bidding. */
1459
+ specificSponsor?: string;
1460
+ }
1416
1461
 
1417
1462
  declare class PopService {
1418
1463
  private readonly factoryAddress;
@@ -1709,6 +1754,122 @@ declare class CreatorCoinService {
1709
1754
  getPrice(coinAddress: string): Promise<CreatorCoinPrice | null>;
1710
1755
  }
1711
1756
 
1757
+ declare class TicketService {
1758
+ private readonly factoryAddress?;
1759
+ constructor(config: ResolvedConfig);
1760
+ private _collection;
1761
+ /** Deploys a new IPTicketCollection via the factory. Caller becomes its owner. */
1762
+ deployTicketCollection(account: AccountInterface, params: {
1763
+ name: string;
1764
+ symbol: string;
1765
+ factoryAddress?: string;
1766
+ }): Promise<TxResult>;
1767
+ /** Owner-only. Creates a new ticket collection (event/tier) inside the caller's deployed IPTicketCollection. */
1768
+ createTicketCollection(account: AccountInterface, params: CreateTicketCollectionParams): Promise<TxResult>;
1769
+ /** Owner-only. Gates minting only — existing tickets keep access/transfer/redeem. */
1770
+ setCollectionActive(account: AccountInterface, params: {
1771
+ collection: string;
1772
+ collectionId: bigint | string;
1773
+ active: boolean;
1774
+ }): Promise<TxResult>;
1775
+ /** Mints a ticket. Prepends an ERC-20 approve when the collection is paid. */
1776
+ mintTicket(account: AccountInterface, params: {
1777
+ collection: string;
1778
+ collectionId: bigint | string;
1779
+ paymentToken?: string;
1780
+ price?: bigint | string;
1781
+ }): Promise<TxResult>;
1782
+ /** Only the current token owner may redeem. */
1783
+ redeemTicket(account: AccountInterface, params: {
1784
+ collection: string;
1785
+ tokenId: bigint | string;
1786
+ }): Promise<TxResult>;
1787
+ }
1788
+
1789
+ declare class ClubService {
1790
+ private readonly registryAddress?;
1791
+ constructor(config: ResolvedConfig);
1792
+ private _registry;
1793
+ /** Permissionless — anyone may create a club. The registry deploys its own membership NFT internally. */
1794
+ createClub(account: AccountInterface, params: CreateClubParams & {
1795
+ registryAddress?: string;
1796
+ }): Promise<TxResult>;
1797
+ /** Reversible — gates new joins only; existing members are never affected. */
1798
+ setClubOpen(account: AccountInterface, params: {
1799
+ clubId: bigint | string;
1800
+ open: boolean;
1801
+ registryAddress?: string;
1802
+ }): Promise<TxResult>;
1803
+ /** Prepends an ERC-20 approve when the club has an entry fee. */
1804
+ joinClub(account: AccountInterface, params: {
1805
+ clubId: bigint | string;
1806
+ entryFee?: bigint | string;
1807
+ paymentToken?: string;
1808
+ registryAddress?: string;
1809
+ }): Promise<TxResult>;
1810
+ /** Always allowed, open or closed. No fee refund. Burns the caller's membership NFT. */
1811
+ leaveClub(account: AccountInterface, params: {
1812
+ clubId: bigint | string;
1813
+ tokenId: bigint | string;
1814
+ registryAddress?: string;
1815
+ }): Promise<TxResult>;
1816
+ }
1817
+
1818
+ declare class SponsorshipService {
1819
+ private readonly sponsorshipAddress?;
1820
+ private readonly licenseReceiptAddress?;
1821
+ constructor(config: ResolvedConfig);
1822
+ private _sponsorship;
1823
+ /** The offer author must currently own (nftContract, tokenId) — enforced on-chain at create and accept. */
1824
+ createOffer(account: AccountInterface, params: CreateSponsorshipOfferParams & {
1825
+ sponsorshipAddress?: string;
1826
+ }): Promise<TxResult>;
1827
+ /** Reversible — gates new bids/acceptance only. */
1828
+ setOfferOpen(account: AccountInterface, params: {
1829
+ offerId: bigint | string;
1830
+ open: boolean;
1831
+ sponsorshipAddress?: string;
1832
+ }): Promise<TxResult>;
1833
+ /** A bid is a signal plus an open ERC-20 allowance — no tokens move until accepted. Prepends the approve. */
1834
+ placeBid(account: AccountInterface, params: {
1835
+ offerId: bigint | string;
1836
+ amount: bigint | string;
1837
+ paymentToken: string;
1838
+ sponsorshipAddress?: string;
1839
+ }): Promise<TxResult>;
1840
+ retractBid(account: AccountInterface, params: {
1841
+ offerId: bigint | string;
1842
+ sponsorshipAddress?: string;
1843
+ }): Promise<TxResult>;
1844
+ /**
1845
+ * Author-only. Settles the sponsor's payment (allowance pull, no escrow) and
1846
+ * mints a non-authoritative receipt NFT to the sponsor via the dedicated
1847
+ * sponsorship-license IPGenesis instance — never the genesis-mint instance.
1848
+ * `is_license_valid()` on IPSponsorship remains the sole authority for
1849
+ * gating/perks; the receipt is a wallet-visible courtesy only.
1850
+ */
1851
+ acceptBid(account: AccountInterface, params: {
1852
+ offerId: bigint | string;
1853
+ sponsor: string;
1854
+ licenseTermsUri: string;
1855
+ sponsorshipAddress?: string;
1856
+ licenseReceiptAddress?: string;
1857
+ }): Promise<TxResult>;
1858
+ /**
1859
+ * Best-effort — bundles a receipt-NFT transfer alongside `transfer_license`
1860
+ * when both `licenseReceiptAddress` and `receiptTokenId` are supplied.
1861
+ * IPSponsorship's own license ownership stays authoritative regardless of
1862
+ * whether the receipt NFT is kept in sync.
1863
+ */
1864
+ transferLicense(account: AccountInterface, params: {
1865
+ licenseId: bigint | string;
1866
+ to: string;
1867
+ sponsorshipAddress?: string;
1868
+ licenseReceiptAddress?: string;
1869
+ receiptTokenId?: bigint | string;
1870
+ }): Promise<TxResult>;
1871
+ }
1872
+
1712
1873
  declare class MedialaneClient {
1713
1874
  /** On-chain marketplace interactions for ERC-721 assets (create listing, fulfill order, etc.) */
1714
1875
  readonly marketplace: MarketplaceModule;
@@ -1724,6 +1885,9 @@ declare class MedialaneClient {
1724
1885
  readonly drop: DropService;
1725
1886
  readonly erc1155Collection: ERC1155CollectionService;
1726
1887
  readonly creatorCoin: CreatorCoinService;
1888
+ readonly ticket: TicketService;
1889
+ readonly club: ClubService;
1890
+ readonly sponsorship: SponsorshipService;
1727
1891
  };
1728
1892
  private readonly config;
1729
1893
  constructor(rawConfig?: MedialaneConfig);
@@ -1859,6 +2023,33 @@ interface ParsedAdminHeaders {
1859
2023
  /** Parse + shape-check the headers on the backend. Returns null if malformed. */
1860
2024
  declare function parseAdminHeaders(get: (name: string) => string | null | undefined): ParsedAdminHeaders | null;
1861
2025
 
2026
+ /** Anything that can produce a Starknet signature over SNIP-12 typed data. */
2027
+ interface SiwsSigner {
2028
+ signMessage: (typedData: TypedData) => Promise<unknown>;
2029
+ }
2030
+ interface RequestSiwsTokenArgs {
2031
+ /** Medialane backend base URL (each app resolves this per its own env/proxy setup). */
2032
+ backendUrl: string;
2033
+ walletAddress: string;
2034
+ signer: SiwsSigner;
2035
+ }
2036
+
2037
+ declare function getSiwsStorageKey(address: string): string;
2038
+ declare function isSiwsTokenValid(token: string | null | undefined): token is string;
2039
+ /** Browser-only (returns null server-side, same as a cache miss). */
2040
+ declare function getStoredSiwsToken(address: string): string | null;
2041
+ /** Browser-only (no-op server-side). */
2042
+ declare function storeSiwsToken(address: string, token: string): void;
2043
+ declare function normalizeSiwsSignature(signature: unknown): string[];
2044
+ /**
2045
+ * Request a nonce, sign it with `signer`, verify with the backend, and cache
2046
+ * the resulting token in localStorage (expiry-aware). Single source for the
2047
+ * SIWS client protocol — medialane-starknet and medialane-io both delegate
2048
+ * to this instead of keeping their own copies (see medialane-core/docs/specs/
2049
+ * 2026-06-30-remove-clerk-from-backend-design.md §IX).
2050
+ */
2051
+ declare function requestSiwsToken({ backendUrl, walletAddress, signer, }: RequestSiwsTokenArgs): Promise<string>;
2052
+
1862
2053
  declare const STARKNET_MARKETPLACE_721_CONTRACT: `0x${string}`;
1863
2054
  declare const STARKNET_MARKETPLACE_721_CLASS_HASH: `0x${string}`;
1864
2055
  declare const STARKNET_MARKETPLACE_721_START_BLOCK: number;
@@ -1878,6 +2069,12 @@ declare const STARKNET_POP_COLLECTION_CLASS_HASH: `0x${string}`;
1878
2069
  declare const STARKNET_DROP_FACTORY_CONTRACT: `0x${string}`;
1879
2070
  declare const STARKNET_DROP_COLLECTION_CLASS_HASH: `0x${string}`;
1880
2071
  declare const STARKNET_NFTCOMMENTS_CONTRACT: `0x${string}`;
2072
+ declare const STARKNET_IP_TICKETS_FACTORY_CONTRACT: `0x${string}`;
2073
+ declare const STARKNET_IP_TICKET_COLLECTION_CLASS_HASH: `0x${string}`;
2074
+ declare const STARKNET_IP_CLUB_REGISTRY_CONTRACT: `0x${string}`;
2075
+ declare const STARKNET_IP_CLUB_NFT_CLASS_HASH: `0x${string}`;
2076
+ declare const STARKNET_IP_SPONSORSHIP_CONTRACT: `0x${string}`;
2077
+ declare const STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT: `0x${string}`;
1881
2078
  declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: `0x${string}`;
1882
2079
  declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: `0x${string}`;
1883
2080
  declare const STARKNET_CREATOR_COIN_CLASS_HASH: `0x${string}`;
@@ -5765,142 +5962,3052 @@ declare const CreatorCoinFactoryABI: readonly [{
5765
5962
  }];
5766
5963
  }];
5767
5964
 
5768
- declare const LAUNCH_PRICE_QUOTE_PER_COIN = 0.01;
5769
- declare const MIN_SUPPLY = 1000n;
5770
- declare const MAX_SUPPLY = 1000000000000n;
5771
- declare function validateName(s: string): string | null;
5772
- declare function validateSymbol(s: string): string | null;
5773
- declare function validateSupply(human: string): string | null;
5774
- /** Human integer → raw base units (default 18-dec coin). */
5775
- declare function toRaw(human: bigint, decimals?: number): bigint;
5776
- /** Team allocation in raw coin units. `pct` is whole-percent 0–10. */
5777
- declare function teamCoinsRaw(supplyRaw: bigint, pct: number): bigint;
5778
- /** Quote (raw) needed to buy the team allocation back out of the pool:
5779
- * teamCoins(human) × 0.01, in the quote token's raw units.
5780
- * = teamCoinsRaw × 10^quoteDecimals / (100 × 10^18). For 18-dec quote → /100. */
5781
- declare function buybackQuoteRaw(teamCoinsRawValue: bigint, quoteDecimals: number): bigint;
5782
- /** Fully-diluted value (human, in quote) for the live preview. */
5783
- declare function fdvHuman(supplyHuman: number): number;
5784
-
5785
- /**
5786
- * The Medialane service registry (05-service-model §II, §VI).
5787
- * Canonical long-form IDs (01-core-model §III). SDK-resident in v1;
5788
- * on-chain registry later (08-dao-governance §IV).
5789
- *
5790
- * `onchain` is keyed per chain (spec 2026-06-13 §3.1, Decision A): the SDK
5791
- * registry is the single source of a service's coordinates on each chain.
5792
- * Only STARKNET is populated today; adding a chain adds a key here.
5793
- *
5794
- * Phase 2B.2 of the service-model refactor. `ip-erc721` has no dedicated
5795
- * on-chain constant in src/constants.ts, so its `onchain` is omitted rather
5796
- * than invented (the genesis contract address ships with that service).
5797
- */
5798
- declare const SERVICES: {
5799
- readonly "mip-erc721": {
5800
- readonly id: "mip-erc721";
5801
- readonly displayName: "IP Collection";
5802
- readonly description: "Tokenize intellectual property as a per-creator ERC-721 collection.";
5803
- readonly standard: "ERC721";
5804
- readonly provenance: "MEDIALANE";
5805
- readonly onchain: {
5806
- readonly STARKNET: {
5807
- readonly factoryAddress: `0x${string}`;
5808
- readonly startBlock: number;
5809
- };
5810
- };
5811
- readonly uiVariant: "standard";
5812
- readonly capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"];
5813
- readonly events: [{
5814
- readonly name: "CollectionCreated";
5815
- readonly emittedBy: "factory";
5965
+ declare const IPTicketCollectionABI: readonly [{
5966
+ readonly type: "impl";
5967
+ readonly name: "ERC721MetadataImpl";
5968
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
5969
+ }, {
5970
+ readonly type: "struct";
5971
+ readonly name: "core::byte_array::ByteArray";
5972
+ readonly members: readonly [{
5973
+ readonly name: "data";
5974
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
5975
+ }, {
5976
+ readonly name: "pending_word";
5977
+ readonly type: "core::felt252";
5978
+ }, {
5979
+ readonly name: "pending_word_len";
5980
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
5981
+ }];
5982
+ }, {
5983
+ readonly type: "struct";
5984
+ readonly name: "core::integer::u256";
5985
+ readonly members: readonly [{
5986
+ readonly name: "low";
5987
+ readonly type: "core::integer::u128";
5988
+ }, {
5989
+ readonly name: "high";
5990
+ readonly type: "core::integer::u128";
5991
+ }];
5992
+ }, {
5993
+ readonly type: "interface";
5994
+ readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
5995
+ readonly items: readonly [{
5996
+ readonly type: "function";
5997
+ readonly name: "name";
5998
+ readonly inputs: readonly [];
5999
+ readonly outputs: readonly [{
6000
+ readonly type: "core::byte_array::ByteArray";
5816
6001
  }];
5817
- readonly metadataSchema: {
5818
- readonly licenseDefault: "CC BY-SA";
5819
- };
5820
- };
5821
- readonly "ip-erc721": {
5822
- readonly id: "ip-erc721";
5823
- readonly displayName: "Programmable IP (genesis)";
5824
- readonly description: "One shared ERC-721 contract; many wallets mint genesis pieces.";
5825
- readonly standard: "ERC721";
5826
- readonly provenance: "MEDIALANE";
5827
- readonly uiVariant: "standard";
5828
- readonly capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"];
5829
- readonly metadataSchema: {
5830
- readonly licenseDefault: "CC BY-SA";
5831
- };
5832
- };
5833
- readonly "mip-erc1155": {
5834
- readonly id: "mip-erc1155";
5835
- readonly displayName: "NFT Editions";
5836
- readonly description: "Per-creator ERC-1155 collection; creator mints editions.";
5837
- readonly standard: "ERC1155";
5838
- readonly provenance: "MEDIALANE";
5839
- readonly onchain: {
5840
- readonly STARKNET: {
5841
- readonly factoryAddress: `0x${string}`;
5842
- readonly classHash: `0x${string}`;
5843
- readonly startBlock: number;
5844
- };
5845
- };
5846
- readonly uiVariant: "edition";
5847
- readonly capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"];
5848
- readonly events: [{
5849
- readonly name: "CollectionDeployed";
5850
- readonly emittedBy: "factory";
6002
+ readonly state_mutability: "view";
6003
+ }, {
6004
+ readonly type: "function";
6005
+ readonly name: "symbol";
6006
+ readonly inputs: readonly [];
6007
+ readonly outputs: readonly [{
6008
+ readonly type: "core::byte_array::ByteArray";
5851
6009
  }];
5852
- readonly metadataSchema: {
5853
- readonly licenseDefault: "CC BY-SA";
5854
- };
5855
- };
5856
- readonly "pop-protocol": {
5857
- readonly id: "pop-protocol";
5858
- readonly displayName: "POP Protocol";
5859
- readonly description: "Soulbound proof-of-presence collectibles per event.";
5860
- readonly standard: "ERC721";
5861
- readonly provenance: "MEDIALANE";
5862
- readonly onchain: {
5863
- readonly STARKNET: {
5864
- readonly factoryAddress: `0x${string}`;
5865
- readonly classHash: `0x${string}`;
5866
- };
5867
- };
5868
- readonly uiVariant: "pop";
5869
- readonly capabilities: ["claim", "transfer"];
5870
- readonly events: [{
5871
- readonly name: "CollectionCreated";
5872
- readonly emittedBy: "factory";
5873
- }, {
5874
- readonly name: "AllowlistUpdated";
5875
- readonly emittedBy: "instance";
5876
- readonly poll: "slow";
6010
+ readonly state_mutability: "view";
6011
+ }, {
6012
+ readonly type: "function";
6013
+ readonly name: "token_uri";
6014
+ readonly inputs: readonly [{
6015
+ readonly name: "token_id";
6016
+ readonly type: "core::integer::u256";
5877
6017
  }];
5878
- readonly metadataSchema: {
5879
- readonly licenseDefault: "CC BY-SA";
5880
- };
5881
- };
5882
- readonly "drop-collection": {
5883
- readonly id: "drop-collection";
5884
- readonly displayName: "Collection Drop";
5885
- readonly description: "Sequential mint with claim windows + allowlist.";
5886
- readonly standard: "ERC721";
5887
- readonly provenance: "MEDIALANE";
5888
- readonly onchain: {
5889
- readonly STARKNET: {
5890
- readonly factoryAddress: `0x${string}`;
5891
- readonly classHash: `0x${string}`;
5892
- };
5893
- };
5894
- readonly uiVariant: "drop";
5895
- readonly capabilities: ["claim", "list", "buy", "make_offer", "cancel", "transfer"];
5896
- readonly events: [{
5897
- readonly name: "DropCreated";
5898
- readonly emittedBy: "factory";
5899
- }, {
5900
- readonly name: "AllowlistUpdated";
5901
- readonly emittedBy: "instance";
5902
- readonly poll: "slow";
6018
+ readonly outputs: readonly [{
6019
+ readonly type: "core::byte_array::ByteArray";
6020
+ }];
6021
+ readonly state_mutability: "view";
6022
+ }];
6023
+ }, {
6024
+ readonly type: "impl";
6025
+ readonly name: "ERC721MetadataCamelOnlyImpl";
6026
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
6027
+ }, {
6028
+ readonly type: "interface";
6029
+ readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
6030
+ readonly items: readonly [{
6031
+ readonly type: "function";
6032
+ readonly name: "tokenURI";
6033
+ readonly inputs: readonly [{
6034
+ readonly name: "tokenId";
6035
+ readonly type: "core::integer::u256";
6036
+ }];
6037
+ readonly outputs: readonly [{
6038
+ readonly type: "core::byte_array::ByteArray";
5903
6039
  }];
6040
+ readonly state_mutability: "view";
6041
+ }];
6042
+ }, {
6043
+ readonly type: "impl";
6044
+ readonly name: "IPTicketImpl";
6045
+ readonly interface_name: "ip_ticket::interface::IIPTicketCollection";
6046
+ }, {
6047
+ readonly type: "enum";
6048
+ readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6049
+ readonly variants: readonly [{
6050
+ readonly name: "Some";
6051
+ readonly type: "core::starknet::contract_address::ContractAddress";
6052
+ }, {
6053
+ readonly name: "None";
6054
+ readonly type: "()";
6055
+ }];
6056
+ }, {
6057
+ readonly type: "enum";
6058
+ readonly name: "core::bool";
6059
+ readonly variants: readonly [{
6060
+ readonly name: "False";
6061
+ readonly type: "()";
6062
+ }, {
6063
+ readonly name: "True";
6064
+ readonly type: "()";
6065
+ }];
6066
+ }, {
6067
+ readonly type: "struct";
6068
+ readonly name: "ip_ticket::types::TicketCollection";
6069
+ readonly members: readonly [{
6070
+ readonly name: "creator";
6071
+ readonly type: "core::starknet::contract_address::ContractAddress";
6072
+ }, {
6073
+ readonly name: "price";
6074
+ readonly type: "core::integer::u256";
6075
+ }, {
6076
+ readonly name: "max_supply";
6077
+ readonly type: "core::integer::u256";
6078
+ }, {
6079
+ readonly name: "minted";
6080
+ readonly type: "core::integer::u256";
6081
+ }, {
6082
+ readonly name: "expiration";
6083
+ readonly type: "core::integer::u64";
6084
+ }, {
6085
+ readonly name: "royalty_bps";
6086
+ readonly type: "core::integer::u256";
6087
+ }, {
6088
+ readonly name: "payment_token";
6089
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6090
+ }, {
6091
+ readonly name: "metadata_uri";
6092
+ readonly type: "core::byte_array::ByteArray";
6093
+ }, {
6094
+ readonly name: "active";
6095
+ readonly type: "core::bool";
6096
+ }];
6097
+ }, {
6098
+ readonly type: "struct";
6099
+ readonly name: "ip_ticket::types::TicketData";
6100
+ readonly members: readonly [{
6101
+ readonly name: "token_id";
6102
+ readonly type: "core::integer::u256";
6103
+ }, {
6104
+ readonly name: "owner";
6105
+ readonly type: "core::starknet::contract_address::ContractAddress";
6106
+ }, {
6107
+ readonly name: "collection_id";
6108
+ readonly type: "core::integer::u256";
6109
+ }, {
6110
+ readonly name: "creator";
6111
+ readonly type: "core::starknet::contract_address::ContractAddress";
6112
+ }, {
6113
+ readonly name: "metadata_uri";
6114
+ readonly type: "core::byte_array::ByteArray";
6115
+ }, {
6116
+ readonly name: "expiration";
6117
+ readonly type: "core::integer::u64";
6118
+ }, {
6119
+ readonly name: "redeemed";
6120
+ readonly type: "core::bool";
6121
+ }, {
6122
+ readonly name: "valid";
6123
+ readonly type: "core::bool";
6124
+ }];
6125
+ }, {
6126
+ readonly type: "interface";
6127
+ readonly name: "ip_ticket::interface::IIPTicketCollection";
6128
+ readonly items: readonly [{
6129
+ readonly type: "function";
6130
+ readonly name: "create_ticket_collection";
6131
+ readonly inputs: readonly [{
6132
+ readonly name: "price";
6133
+ readonly type: "core::integer::u256";
6134
+ }, {
6135
+ readonly name: "max_supply";
6136
+ readonly type: "core::integer::u256";
6137
+ }, {
6138
+ readonly name: "expiration";
6139
+ readonly type: "core::integer::u64";
6140
+ }, {
6141
+ readonly name: "royalty_bps";
6142
+ readonly type: "core::integer::u256";
6143
+ }, {
6144
+ readonly name: "payment_token";
6145
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6146
+ }, {
6147
+ readonly name: "metadata_uri";
6148
+ readonly type: "core::byte_array::ByteArray";
6149
+ }];
6150
+ readonly outputs: readonly [{
6151
+ readonly type: "core::integer::u256";
6152
+ }];
6153
+ readonly state_mutability: "external";
6154
+ }, {
6155
+ readonly type: "function";
6156
+ readonly name: "set_collection_active";
6157
+ readonly inputs: readonly [{
6158
+ readonly name: "collection_id";
6159
+ readonly type: "core::integer::u256";
6160
+ }, {
6161
+ readonly name: "active";
6162
+ readonly type: "core::bool";
6163
+ }];
6164
+ readonly outputs: readonly [];
6165
+ readonly state_mutability: "external";
6166
+ }, {
6167
+ readonly type: "function";
6168
+ readonly name: "mint_ticket";
6169
+ readonly inputs: readonly [{
6170
+ readonly name: "collection_id";
6171
+ readonly type: "core::integer::u256";
6172
+ }];
6173
+ readonly outputs: readonly [{
6174
+ readonly type: "core::integer::u256";
6175
+ }];
6176
+ readonly state_mutability: "external";
6177
+ }, {
6178
+ readonly type: "function";
6179
+ readonly name: "redeem_ticket";
6180
+ readonly inputs: readonly [{
6181
+ readonly name: "token_id";
6182
+ readonly type: "core::integer::u256";
6183
+ }];
6184
+ readonly outputs: readonly [];
6185
+ readonly state_mutability: "external";
6186
+ }, {
6187
+ readonly type: "function";
6188
+ readonly name: "has_valid_ticket";
6189
+ readonly inputs: readonly [{
6190
+ readonly name: "user";
6191
+ readonly type: "core::starknet::contract_address::ContractAddress";
6192
+ }, {
6193
+ readonly name: "collection_id";
6194
+ readonly type: "core::integer::u256";
6195
+ }];
6196
+ readonly outputs: readonly [{
6197
+ readonly type: "core::bool";
6198
+ }];
6199
+ readonly state_mutability: "view";
6200
+ }, {
6201
+ readonly type: "function";
6202
+ readonly name: "get_ticket_collection";
6203
+ readonly inputs: readonly [{
6204
+ readonly name: "collection_id";
6205
+ readonly type: "core::integer::u256";
6206
+ }];
6207
+ readonly outputs: readonly [{
6208
+ readonly type: "ip_ticket::types::TicketCollection";
6209
+ }];
6210
+ readonly state_mutability: "view";
6211
+ }, {
6212
+ readonly type: "function";
6213
+ readonly name: "get_ticket_data";
6214
+ readonly inputs: readonly [{
6215
+ readonly name: "token_id";
6216
+ readonly type: "core::integer::u256";
6217
+ }];
6218
+ readonly outputs: readonly [{
6219
+ readonly type: "ip_ticket::types::TicketData";
6220
+ }];
6221
+ readonly state_mutability: "view";
6222
+ }, {
6223
+ readonly type: "function";
6224
+ readonly name: "get_ticket_collection_id";
6225
+ readonly inputs: readonly [{
6226
+ readonly name: "token_id";
6227
+ readonly type: "core::integer::u256";
6228
+ }];
6229
+ readonly outputs: readonly [{
6230
+ readonly type: "core::integer::u256";
6231
+ }];
6232
+ readonly state_mutability: "view";
6233
+ }, {
6234
+ readonly type: "function";
6235
+ readonly name: "get_active_ticket_balance";
6236
+ readonly inputs: readonly [{
6237
+ readonly name: "user";
6238
+ readonly type: "core::starknet::contract_address::ContractAddress";
6239
+ }, {
6240
+ readonly name: "collection_id";
6241
+ readonly type: "core::integer::u256";
6242
+ }];
6243
+ readonly outputs: readonly [{
6244
+ readonly type: "core::integer::u256";
6245
+ }];
6246
+ readonly state_mutability: "view";
6247
+ }, {
6248
+ readonly type: "function";
6249
+ readonly name: "get_last_collection_id";
6250
+ readonly inputs: readonly [];
6251
+ readonly outputs: readonly [{
6252
+ readonly type: "core::integer::u256";
6253
+ }];
6254
+ readonly state_mutability: "view";
6255
+ }, {
6256
+ readonly type: "function";
6257
+ readonly name: "total_supply";
6258
+ readonly inputs: readonly [];
6259
+ readonly outputs: readonly [{
6260
+ readonly type: "core::integer::u256";
6261
+ }];
6262
+ readonly state_mutability: "view";
6263
+ }, {
6264
+ readonly type: "function";
6265
+ readonly name: "royalty_info";
6266
+ readonly inputs: readonly [{
6267
+ readonly name: "token_id";
6268
+ readonly type: "core::integer::u256";
6269
+ }, {
6270
+ readonly name: "sale_price";
6271
+ readonly type: "core::integer::u256";
6272
+ }];
6273
+ readonly outputs: readonly [{
6274
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
6275
+ }];
6276
+ readonly state_mutability: "view";
6277
+ }, {
6278
+ readonly type: "function";
6279
+ readonly name: "royaltyInfo";
6280
+ readonly inputs: readonly [{
6281
+ readonly name: "token_id";
6282
+ readonly type: "core::integer::u256";
6283
+ }, {
6284
+ readonly name: "sale_price";
6285
+ readonly type: "core::integer::u256";
6286
+ }];
6287
+ readonly outputs: readonly [{
6288
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
6289
+ }];
6290
+ readonly state_mutability: "view";
6291
+ }];
6292
+ }, {
6293
+ readonly type: "impl";
6294
+ readonly name: "ERC721Impl";
6295
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
6296
+ }, {
6297
+ readonly type: "struct";
6298
+ readonly name: "core::array::Span::<core::felt252>";
6299
+ readonly members: readonly [{
6300
+ readonly name: "snapshot";
6301
+ readonly type: "@core::array::Array::<core::felt252>";
6302
+ }];
6303
+ }, {
6304
+ readonly type: "interface";
6305
+ readonly name: "openzeppelin_token::erc721::interface::IERC721";
6306
+ readonly items: readonly [{
6307
+ readonly type: "function";
6308
+ readonly name: "balance_of";
6309
+ readonly inputs: readonly [{
6310
+ readonly name: "account";
6311
+ readonly type: "core::starknet::contract_address::ContractAddress";
6312
+ }];
6313
+ readonly outputs: readonly [{
6314
+ readonly type: "core::integer::u256";
6315
+ }];
6316
+ readonly state_mutability: "view";
6317
+ }, {
6318
+ readonly type: "function";
6319
+ readonly name: "owner_of";
6320
+ readonly inputs: readonly [{
6321
+ readonly name: "token_id";
6322
+ readonly type: "core::integer::u256";
6323
+ }];
6324
+ readonly outputs: readonly [{
6325
+ readonly type: "core::starknet::contract_address::ContractAddress";
6326
+ }];
6327
+ readonly state_mutability: "view";
6328
+ }, {
6329
+ readonly type: "function";
6330
+ readonly name: "safe_transfer_from";
6331
+ readonly inputs: readonly [{
6332
+ readonly name: "from";
6333
+ readonly type: "core::starknet::contract_address::ContractAddress";
6334
+ }, {
6335
+ readonly name: "to";
6336
+ readonly type: "core::starknet::contract_address::ContractAddress";
6337
+ }, {
6338
+ readonly name: "token_id";
6339
+ readonly type: "core::integer::u256";
6340
+ }, {
6341
+ readonly name: "data";
6342
+ readonly type: "core::array::Span::<core::felt252>";
6343
+ }];
6344
+ readonly outputs: readonly [];
6345
+ readonly state_mutability: "external";
6346
+ }, {
6347
+ readonly type: "function";
6348
+ readonly name: "transfer_from";
6349
+ readonly inputs: readonly [{
6350
+ readonly name: "from";
6351
+ readonly type: "core::starknet::contract_address::ContractAddress";
6352
+ }, {
6353
+ readonly name: "to";
6354
+ readonly type: "core::starknet::contract_address::ContractAddress";
6355
+ }, {
6356
+ readonly name: "token_id";
6357
+ readonly type: "core::integer::u256";
6358
+ }];
6359
+ readonly outputs: readonly [];
6360
+ readonly state_mutability: "external";
6361
+ }, {
6362
+ readonly type: "function";
6363
+ readonly name: "approve";
6364
+ readonly inputs: readonly [{
6365
+ readonly name: "to";
6366
+ readonly type: "core::starknet::contract_address::ContractAddress";
6367
+ }, {
6368
+ readonly name: "token_id";
6369
+ readonly type: "core::integer::u256";
6370
+ }];
6371
+ readonly outputs: readonly [];
6372
+ readonly state_mutability: "external";
6373
+ }, {
6374
+ readonly type: "function";
6375
+ readonly name: "set_approval_for_all";
6376
+ readonly inputs: readonly [{
6377
+ readonly name: "operator";
6378
+ readonly type: "core::starknet::contract_address::ContractAddress";
6379
+ }, {
6380
+ readonly name: "approved";
6381
+ readonly type: "core::bool";
6382
+ }];
6383
+ readonly outputs: readonly [];
6384
+ readonly state_mutability: "external";
6385
+ }, {
6386
+ readonly type: "function";
6387
+ readonly name: "get_approved";
6388
+ readonly inputs: readonly [{
6389
+ readonly name: "token_id";
6390
+ readonly type: "core::integer::u256";
6391
+ }];
6392
+ readonly outputs: readonly [{
6393
+ readonly type: "core::starknet::contract_address::ContractAddress";
6394
+ }];
6395
+ readonly state_mutability: "view";
6396
+ }, {
6397
+ readonly type: "function";
6398
+ readonly name: "is_approved_for_all";
6399
+ readonly inputs: readonly [{
6400
+ readonly name: "owner";
6401
+ readonly type: "core::starknet::contract_address::ContractAddress";
6402
+ }, {
6403
+ readonly name: "operator";
6404
+ readonly type: "core::starknet::contract_address::ContractAddress";
6405
+ }];
6406
+ readonly outputs: readonly [{
6407
+ readonly type: "core::bool";
6408
+ }];
6409
+ readonly state_mutability: "view";
6410
+ }];
6411
+ }, {
6412
+ readonly type: "impl";
6413
+ readonly name: "ERC721CamelOnly";
6414
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
6415
+ }, {
6416
+ readonly type: "interface";
6417
+ readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
6418
+ readonly items: readonly [{
6419
+ readonly type: "function";
6420
+ readonly name: "balanceOf";
6421
+ readonly inputs: readonly [{
6422
+ readonly name: "account";
6423
+ readonly type: "core::starknet::contract_address::ContractAddress";
6424
+ }];
6425
+ readonly outputs: readonly [{
6426
+ readonly type: "core::integer::u256";
6427
+ }];
6428
+ readonly state_mutability: "view";
6429
+ }, {
6430
+ readonly type: "function";
6431
+ readonly name: "ownerOf";
6432
+ readonly inputs: readonly [{
6433
+ readonly name: "tokenId";
6434
+ readonly type: "core::integer::u256";
6435
+ }];
6436
+ readonly outputs: readonly [{
6437
+ readonly type: "core::starknet::contract_address::ContractAddress";
6438
+ }];
6439
+ readonly state_mutability: "view";
6440
+ }, {
6441
+ readonly type: "function";
6442
+ readonly name: "safeTransferFrom";
6443
+ readonly inputs: readonly [{
6444
+ readonly name: "from";
6445
+ readonly type: "core::starknet::contract_address::ContractAddress";
6446
+ }, {
6447
+ readonly name: "to";
6448
+ readonly type: "core::starknet::contract_address::ContractAddress";
6449
+ }, {
6450
+ readonly name: "tokenId";
6451
+ readonly type: "core::integer::u256";
6452
+ }, {
6453
+ readonly name: "data";
6454
+ readonly type: "core::array::Span::<core::felt252>";
6455
+ }];
6456
+ readonly outputs: readonly [];
6457
+ readonly state_mutability: "external";
6458
+ }, {
6459
+ readonly type: "function";
6460
+ readonly name: "transferFrom";
6461
+ readonly inputs: readonly [{
6462
+ readonly name: "from";
6463
+ readonly type: "core::starknet::contract_address::ContractAddress";
6464
+ }, {
6465
+ readonly name: "to";
6466
+ readonly type: "core::starknet::contract_address::ContractAddress";
6467
+ }, {
6468
+ readonly name: "tokenId";
6469
+ readonly type: "core::integer::u256";
6470
+ }];
6471
+ readonly outputs: readonly [];
6472
+ readonly state_mutability: "external";
6473
+ }, {
6474
+ readonly type: "function";
6475
+ readonly name: "setApprovalForAll";
6476
+ readonly inputs: readonly [{
6477
+ readonly name: "operator";
6478
+ readonly type: "core::starknet::contract_address::ContractAddress";
6479
+ }, {
6480
+ readonly name: "approved";
6481
+ readonly type: "core::bool";
6482
+ }];
6483
+ readonly outputs: readonly [];
6484
+ readonly state_mutability: "external";
6485
+ }, {
6486
+ readonly type: "function";
6487
+ readonly name: "getApproved";
6488
+ readonly inputs: readonly [{
6489
+ readonly name: "tokenId";
6490
+ readonly type: "core::integer::u256";
6491
+ }];
6492
+ readonly outputs: readonly [{
6493
+ readonly type: "core::starknet::contract_address::ContractAddress";
6494
+ }];
6495
+ readonly state_mutability: "view";
6496
+ }, {
6497
+ readonly type: "function";
6498
+ readonly name: "isApprovedForAll";
6499
+ readonly inputs: readonly [{
6500
+ readonly name: "owner";
6501
+ readonly type: "core::starknet::contract_address::ContractAddress";
6502
+ }, {
6503
+ readonly name: "operator";
6504
+ readonly type: "core::starknet::contract_address::ContractAddress";
6505
+ }];
6506
+ readonly outputs: readonly [{
6507
+ readonly type: "core::bool";
6508
+ }];
6509
+ readonly state_mutability: "view";
6510
+ }];
6511
+ }, {
6512
+ readonly type: "impl";
6513
+ readonly name: "SRC5Impl";
6514
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
6515
+ }, {
6516
+ readonly type: "interface";
6517
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
6518
+ readonly items: readonly [{
6519
+ readonly type: "function";
6520
+ readonly name: "supports_interface";
6521
+ readonly inputs: readonly [{
6522
+ readonly name: "interface_id";
6523
+ readonly type: "core::felt252";
6524
+ }];
6525
+ readonly outputs: readonly [{
6526
+ readonly type: "core::bool";
6527
+ }];
6528
+ readonly state_mutability: "view";
6529
+ }];
6530
+ }, {
6531
+ readonly type: "impl";
6532
+ readonly name: "OwnableMixinImpl";
6533
+ readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
6534
+ }, {
6535
+ readonly type: "interface";
6536
+ readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
6537
+ readonly items: readonly [{
6538
+ readonly type: "function";
6539
+ readonly name: "owner";
6540
+ readonly inputs: readonly [];
6541
+ readonly outputs: readonly [{
6542
+ readonly type: "core::starknet::contract_address::ContractAddress";
6543
+ }];
6544
+ readonly state_mutability: "view";
6545
+ }, {
6546
+ readonly type: "function";
6547
+ readonly name: "transfer_ownership";
6548
+ readonly inputs: readonly [{
6549
+ readonly name: "new_owner";
6550
+ readonly type: "core::starknet::contract_address::ContractAddress";
6551
+ }];
6552
+ readonly outputs: readonly [];
6553
+ readonly state_mutability: "external";
6554
+ }, {
6555
+ readonly type: "function";
6556
+ readonly name: "renounce_ownership";
6557
+ readonly inputs: readonly [];
6558
+ readonly outputs: readonly [];
6559
+ readonly state_mutability: "external";
6560
+ }, {
6561
+ readonly type: "function";
6562
+ readonly name: "transferOwnership";
6563
+ readonly inputs: readonly [{
6564
+ readonly name: "newOwner";
6565
+ readonly type: "core::starknet::contract_address::ContractAddress";
6566
+ }];
6567
+ readonly outputs: readonly [];
6568
+ readonly state_mutability: "external";
6569
+ }, {
6570
+ readonly type: "function";
6571
+ readonly name: "renounceOwnership";
6572
+ readonly inputs: readonly [];
6573
+ readonly outputs: readonly [];
6574
+ readonly state_mutability: "external";
6575
+ }];
6576
+ }, {
6577
+ readonly type: "constructor";
6578
+ readonly name: "constructor";
6579
+ readonly inputs: readonly [{
6580
+ readonly name: "name";
6581
+ readonly type: "core::byte_array::ByteArray";
6582
+ }, {
6583
+ readonly name: "symbol";
6584
+ readonly type: "core::byte_array::ByteArray";
6585
+ }, {
6586
+ readonly name: "owner";
6587
+ readonly type: "core::starknet::contract_address::ContractAddress";
6588
+ }];
6589
+ }, {
6590
+ readonly type: "event";
6591
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
6592
+ readonly kind: "struct";
6593
+ readonly members: readonly [{
6594
+ readonly name: "from";
6595
+ readonly type: "core::starknet::contract_address::ContractAddress";
6596
+ readonly kind: "key";
6597
+ }, {
6598
+ readonly name: "to";
6599
+ readonly type: "core::starknet::contract_address::ContractAddress";
6600
+ readonly kind: "key";
6601
+ }, {
6602
+ readonly name: "token_id";
6603
+ readonly type: "core::integer::u256";
6604
+ readonly kind: "key";
6605
+ }];
6606
+ }, {
6607
+ readonly type: "event";
6608
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
6609
+ readonly kind: "struct";
6610
+ readonly members: readonly [{
6611
+ readonly name: "owner";
6612
+ readonly type: "core::starknet::contract_address::ContractAddress";
6613
+ readonly kind: "key";
6614
+ }, {
6615
+ readonly name: "approved";
6616
+ readonly type: "core::starknet::contract_address::ContractAddress";
6617
+ readonly kind: "key";
6618
+ }, {
6619
+ readonly name: "token_id";
6620
+ readonly type: "core::integer::u256";
6621
+ readonly kind: "key";
6622
+ }];
6623
+ }, {
6624
+ readonly type: "event";
6625
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
6626
+ readonly kind: "struct";
6627
+ readonly members: readonly [{
6628
+ readonly name: "owner";
6629
+ readonly type: "core::starknet::contract_address::ContractAddress";
6630
+ readonly kind: "key";
6631
+ }, {
6632
+ readonly name: "operator";
6633
+ readonly type: "core::starknet::contract_address::ContractAddress";
6634
+ readonly kind: "key";
6635
+ }, {
6636
+ readonly name: "approved";
6637
+ readonly type: "core::bool";
6638
+ readonly kind: "data";
6639
+ }];
6640
+ }, {
6641
+ readonly type: "event";
6642
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
6643
+ readonly kind: "enum";
6644
+ readonly variants: readonly [{
6645
+ readonly name: "Transfer";
6646
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
6647
+ readonly kind: "nested";
6648
+ }, {
6649
+ readonly name: "Approval";
6650
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
6651
+ readonly kind: "nested";
6652
+ }, {
6653
+ readonly name: "ApprovalForAll";
6654
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
6655
+ readonly kind: "nested";
6656
+ }];
6657
+ }, {
6658
+ readonly type: "event";
6659
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
6660
+ readonly kind: "enum";
6661
+ readonly variants: readonly [];
6662
+ }, {
6663
+ readonly type: "event";
6664
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
6665
+ readonly kind: "struct";
6666
+ readonly members: readonly [{
6667
+ readonly name: "previous_owner";
6668
+ readonly type: "core::starknet::contract_address::ContractAddress";
6669
+ readonly kind: "key";
6670
+ }, {
6671
+ readonly name: "new_owner";
6672
+ readonly type: "core::starknet::contract_address::ContractAddress";
6673
+ readonly kind: "key";
6674
+ }];
6675
+ }, {
6676
+ readonly type: "event";
6677
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
6678
+ readonly kind: "struct";
6679
+ readonly members: readonly [{
6680
+ readonly name: "previous_owner";
6681
+ readonly type: "core::starknet::contract_address::ContractAddress";
6682
+ readonly kind: "key";
6683
+ }, {
6684
+ readonly name: "new_owner";
6685
+ readonly type: "core::starknet::contract_address::ContractAddress";
6686
+ readonly kind: "key";
6687
+ }];
6688
+ }, {
6689
+ readonly type: "event";
6690
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
6691
+ readonly kind: "enum";
6692
+ readonly variants: readonly [{
6693
+ readonly name: "OwnershipTransferred";
6694
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
6695
+ readonly kind: "nested";
6696
+ }, {
6697
+ readonly name: "OwnershipTransferStarted";
6698
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
6699
+ readonly kind: "nested";
6700
+ }];
6701
+ }, {
6702
+ readonly type: "event";
6703
+ readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketCollectionCreated";
6704
+ readonly kind: "struct";
6705
+ readonly members: readonly [{
6706
+ readonly name: "collection_id";
6707
+ readonly type: "core::integer::u256";
6708
+ readonly kind: "key";
6709
+ }, {
6710
+ readonly name: "creator";
6711
+ readonly type: "core::starknet::contract_address::ContractAddress";
6712
+ readonly kind: "key";
6713
+ }, {
6714
+ readonly name: "price";
6715
+ readonly type: "core::integer::u256";
6716
+ readonly kind: "data";
6717
+ }, {
6718
+ readonly name: "max_supply";
6719
+ readonly type: "core::integer::u256";
6720
+ readonly kind: "data";
6721
+ }, {
6722
+ readonly name: "expiration";
6723
+ readonly type: "core::integer::u64";
6724
+ readonly kind: "data";
6725
+ }, {
6726
+ readonly name: "royalty_bps";
6727
+ readonly type: "core::integer::u256";
6728
+ readonly kind: "data";
6729
+ }, {
6730
+ readonly name: "payment_token";
6731
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6732
+ readonly kind: "data";
6733
+ }, {
6734
+ readonly name: "metadata_uri";
6735
+ readonly type: "core::byte_array::ByteArray";
6736
+ readonly kind: "data";
6737
+ }, {
6738
+ readonly name: "created_at";
6739
+ readonly type: "core::integer::u64";
6740
+ readonly kind: "data";
6741
+ }];
6742
+ }, {
6743
+ readonly type: "event";
6744
+ readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::CollectionStatusUpdated";
6745
+ readonly kind: "struct";
6746
+ readonly members: readonly [{
6747
+ readonly name: "collection_id";
6748
+ readonly type: "core::integer::u256";
6749
+ readonly kind: "key";
6750
+ }, {
6751
+ readonly name: "active";
6752
+ readonly type: "core::bool";
6753
+ readonly kind: "data";
6754
+ }, {
6755
+ readonly name: "updated_at";
6756
+ readonly type: "core::integer::u64";
6757
+ readonly kind: "data";
6758
+ }];
6759
+ }, {
6760
+ readonly type: "event";
6761
+ readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketMinted";
6762
+ readonly kind: "struct";
6763
+ readonly members: readonly [{
6764
+ readonly name: "token_id";
6765
+ readonly type: "core::integer::u256";
6766
+ readonly kind: "key";
6767
+ }, {
6768
+ readonly name: "collection_id";
6769
+ readonly type: "core::integer::u256";
6770
+ readonly kind: "key";
6771
+ }, {
6772
+ readonly name: "owner";
6773
+ readonly type: "core::starknet::contract_address::ContractAddress";
6774
+ readonly kind: "key";
6775
+ }, {
6776
+ readonly name: "minted_at";
6777
+ readonly type: "core::integer::u64";
6778
+ readonly kind: "data";
6779
+ }];
6780
+ }, {
6781
+ readonly type: "event";
6782
+ readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketRedeemed";
6783
+ readonly kind: "struct";
6784
+ readonly members: readonly [{
6785
+ readonly name: "token_id";
6786
+ readonly type: "core::integer::u256";
6787
+ readonly kind: "key";
6788
+ }, {
6789
+ readonly name: "collection_id";
6790
+ readonly type: "core::integer::u256";
6791
+ readonly kind: "key";
6792
+ }, {
6793
+ readonly name: "owner";
6794
+ readonly type: "core::starknet::contract_address::ContractAddress";
6795
+ readonly kind: "key";
6796
+ }, {
6797
+ readonly name: "redeemed_at";
6798
+ readonly type: "core::integer::u64";
6799
+ readonly kind: "data";
6800
+ }];
6801
+ }, {
6802
+ readonly type: "event";
6803
+ readonly name: "ip_ticket::IPTicketCollection::IPTicketCollection::Event";
6804
+ readonly kind: "enum";
6805
+ readonly variants: readonly [{
6806
+ readonly name: "ERC721Event";
6807
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
6808
+ readonly kind: "flat";
6809
+ }, {
6810
+ readonly name: "SRC5Event";
6811
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
6812
+ readonly kind: "flat";
6813
+ }, {
6814
+ readonly name: "OwnableEvent";
6815
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
6816
+ readonly kind: "flat";
6817
+ }, {
6818
+ readonly name: "TicketCollectionCreated";
6819
+ readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketCollectionCreated";
6820
+ readonly kind: "nested";
6821
+ }, {
6822
+ readonly name: "CollectionStatusUpdated";
6823
+ readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::CollectionStatusUpdated";
6824
+ readonly kind: "nested";
6825
+ }, {
6826
+ readonly name: "TicketMinted";
6827
+ readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketMinted";
6828
+ readonly kind: "nested";
6829
+ }, {
6830
+ readonly name: "TicketRedeemed";
6831
+ readonly type: "ip_ticket::IPTicketCollection::IPTicketCollection::TicketRedeemed";
6832
+ readonly kind: "nested";
6833
+ }];
6834
+ }];
6835
+
6836
+ declare const IPTicketCollectionFactoryABI: readonly [{
6837
+ readonly type: "impl";
6838
+ readonly name: "IPTicketCollectionFactoryImpl";
6839
+ readonly interface_name: "ip_ticket::interface::IIPTicketCollectionFactory";
6840
+ }, {
6841
+ readonly type: "struct";
6842
+ readonly name: "core::byte_array::ByteArray";
6843
+ readonly members: readonly [{
6844
+ readonly name: "data";
6845
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
6846
+ }, {
6847
+ readonly name: "pending_word";
6848
+ readonly type: "core::felt252";
6849
+ }, {
6850
+ readonly name: "pending_word_len";
6851
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
6852
+ }];
6853
+ }, {
6854
+ readonly type: "interface";
6855
+ readonly name: "ip_ticket::interface::IIPTicketCollectionFactory";
6856
+ readonly items: readonly [{
6857
+ readonly type: "function";
6858
+ readonly name: "collection_class_hash";
6859
+ readonly inputs: readonly [];
6860
+ readonly outputs: readonly [{
6861
+ readonly type: "core::starknet::class_hash::ClassHash";
6862
+ }];
6863
+ readonly state_mutability: "view";
6864
+ }, {
6865
+ readonly type: "function";
6866
+ readonly name: "version";
6867
+ readonly inputs: readonly [];
6868
+ readonly outputs: readonly [{
6869
+ readonly type: "core::byte_array::ByteArray";
6870
+ }];
6871
+ readonly state_mutability: "view";
6872
+ }, {
6873
+ readonly type: "function";
6874
+ readonly name: "deploy_ticket_collection";
6875
+ readonly inputs: readonly [{
6876
+ readonly name: "name";
6877
+ readonly type: "core::byte_array::ByteArray";
6878
+ }, {
6879
+ readonly name: "symbol";
6880
+ readonly type: "core::byte_array::ByteArray";
6881
+ }];
6882
+ readonly outputs: readonly [{
6883
+ readonly type: "core::starknet::contract_address::ContractAddress";
6884
+ }];
6885
+ readonly state_mutability: "external";
6886
+ }];
6887
+ }, {
6888
+ readonly type: "constructor";
6889
+ readonly name: "constructor";
6890
+ readonly inputs: readonly [{
6891
+ readonly name: "collection_class_hash";
6892
+ readonly type: "core::starknet::class_hash::ClassHash";
6893
+ }];
6894
+ }, {
6895
+ readonly type: "event";
6896
+ readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
6897
+ readonly kind: "struct";
6898
+ readonly members: readonly [{
6899
+ readonly name: "collection_address";
6900
+ readonly type: "core::starknet::contract_address::ContractAddress";
6901
+ readonly kind: "key";
6902
+ }, {
6903
+ readonly name: "owner";
6904
+ readonly type: "core::starknet::contract_address::ContractAddress";
6905
+ readonly kind: "key";
6906
+ }, {
6907
+ readonly name: "name";
6908
+ readonly type: "core::byte_array::ByteArray";
6909
+ readonly kind: "data";
6910
+ }, {
6911
+ readonly name: "symbol";
6912
+ readonly type: "core::byte_array::ByteArray";
6913
+ readonly kind: "data";
6914
+ }];
6915
+ }, {
6916
+ readonly type: "event";
6917
+ readonly name: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::Event";
6918
+ readonly kind: "enum";
6919
+ readonly variants: readonly [{
6920
+ readonly name: "CollectionDeployed";
6921
+ readonly type: "ip_ticket::IPTicketCollectionFactory::IPTicketCollectionFactory::CollectionDeployed";
6922
+ readonly kind: "nested";
6923
+ }];
6924
+ }];
6925
+
6926
+ declare const IPClubABI: readonly [{
6927
+ readonly type: "impl";
6928
+ readonly name: "IPClubImpl";
6929
+ readonly interface_name: "ip_club::interfaces::IIPClub::IIPClub";
6930
+ }, {
6931
+ readonly type: "struct";
6932
+ readonly name: "core::byte_array::ByteArray";
6933
+ readonly members: readonly [{
6934
+ readonly name: "data";
6935
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
6936
+ }, {
6937
+ readonly name: "pending_word";
6938
+ readonly type: "core::felt252";
6939
+ }, {
6940
+ readonly name: "pending_word_len";
6941
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
6942
+ }];
6943
+ }, {
6944
+ readonly type: "enum";
6945
+ readonly name: "core::option::Option::<core::integer::u32>";
6946
+ readonly variants: readonly [{
6947
+ readonly name: "Some";
6948
+ readonly type: "core::integer::u32";
6949
+ }, {
6950
+ readonly name: "None";
6951
+ readonly type: "()";
6952
+ }];
6953
+ }, {
6954
+ readonly type: "struct";
6955
+ readonly name: "core::integer::u256";
6956
+ readonly members: readonly [{
6957
+ readonly name: "low";
6958
+ readonly type: "core::integer::u128";
6959
+ }, {
6960
+ readonly name: "high";
6961
+ readonly type: "core::integer::u128";
6962
+ }];
6963
+ }, {
6964
+ readonly type: "enum";
6965
+ readonly name: "core::option::Option::<core::integer::u256>";
6966
+ readonly variants: readonly [{
6967
+ readonly name: "Some";
6968
+ readonly type: "core::integer::u256";
6969
+ }, {
6970
+ readonly name: "None";
6971
+ readonly type: "()";
6972
+ }];
6973
+ }, {
6974
+ readonly type: "enum";
6975
+ readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
6976
+ readonly variants: readonly [{
6977
+ readonly name: "Some";
6978
+ readonly type: "core::starknet::contract_address::ContractAddress";
6979
+ }, {
6980
+ readonly name: "None";
6981
+ readonly type: "()";
6982
+ }];
6983
+ }, {
6984
+ readonly type: "enum";
6985
+ readonly name: "core::bool";
6986
+ readonly variants: readonly [{
6987
+ readonly name: "False";
6988
+ readonly type: "()";
6989
+ }, {
6990
+ readonly name: "True";
6991
+ readonly type: "()";
6992
+ }];
6993
+ }, {
6994
+ readonly type: "struct";
6995
+ readonly name: "ip_club::types::ClubRecord";
6996
+ readonly members: readonly [{
6997
+ readonly name: "creator";
6998
+ readonly type: "core::starknet::contract_address::ContractAddress";
6999
+ }, {
7000
+ readonly name: "club_nft";
7001
+ readonly type: "core::starknet::contract_address::ContractAddress";
7002
+ }, {
7003
+ readonly name: "open";
7004
+ readonly type: "core::bool";
7005
+ }, {
7006
+ readonly name: "num_members";
7007
+ readonly type: "core::integer::u32";
7008
+ }, {
7009
+ readonly name: "max_members";
7010
+ readonly type: "core::option::Option::<core::integer::u32>";
7011
+ }, {
7012
+ readonly name: "entry_fee";
7013
+ readonly type: "core::option::Option::<core::integer::u256>";
7014
+ }, {
7015
+ readonly name: "payment_token";
7016
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7017
+ }];
7018
+ }, {
7019
+ readonly type: "interface";
7020
+ readonly name: "ip_club::interfaces::IIPClub::IIPClub";
7021
+ readonly items: readonly [{
7022
+ readonly type: "function";
7023
+ readonly name: "create_club";
7024
+ readonly inputs: readonly [{
7025
+ readonly name: "name";
7026
+ readonly type: "core::byte_array::ByteArray";
7027
+ }, {
7028
+ readonly name: "symbol";
7029
+ readonly type: "core::byte_array::ByteArray";
7030
+ }, {
7031
+ readonly name: "metadata_uri";
7032
+ readonly type: "core::byte_array::ByteArray";
7033
+ }, {
7034
+ readonly name: "max_members";
7035
+ readonly type: "core::option::Option::<core::integer::u32>";
7036
+ }, {
7037
+ readonly name: "entry_fee";
7038
+ readonly type: "core::option::Option::<core::integer::u256>";
7039
+ }, {
7040
+ readonly name: "payment_token";
7041
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7042
+ }];
7043
+ readonly outputs: readonly [{
7044
+ readonly type: "core::integer::u256";
7045
+ }];
7046
+ readonly state_mutability: "external";
7047
+ }, {
7048
+ readonly type: "function";
7049
+ readonly name: "set_club_open";
7050
+ readonly inputs: readonly [{
7051
+ readonly name: "club_id";
7052
+ readonly type: "core::integer::u256";
7053
+ }, {
7054
+ readonly name: "open";
7055
+ readonly type: "core::bool";
7056
+ }];
7057
+ readonly outputs: readonly [];
7058
+ readonly state_mutability: "external";
7059
+ }, {
7060
+ readonly type: "function";
7061
+ readonly name: "join_club";
7062
+ readonly inputs: readonly [{
7063
+ readonly name: "club_id";
7064
+ readonly type: "core::integer::u256";
7065
+ }];
7066
+ readonly outputs: readonly [];
7067
+ readonly state_mutability: "external";
7068
+ }, {
7069
+ readonly type: "function";
7070
+ readonly name: "leave_club";
7071
+ readonly inputs: readonly [{
7072
+ readonly name: "club_id";
7073
+ readonly type: "core::integer::u256";
7074
+ }, {
7075
+ readonly name: "token_id";
7076
+ readonly type: "core::integer::u256";
7077
+ }];
7078
+ readonly outputs: readonly [];
7079
+ readonly state_mutability: "external";
7080
+ }, {
7081
+ readonly type: "function";
7082
+ readonly name: "get_club_record";
7083
+ readonly inputs: readonly [{
7084
+ readonly name: "club_id";
7085
+ readonly type: "core::integer::u256";
7086
+ }];
7087
+ readonly outputs: readonly [{
7088
+ readonly type: "ip_club::types::ClubRecord";
7089
+ }];
7090
+ readonly state_mutability: "view";
7091
+ }, {
7092
+ readonly type: "function";
7093
+ readonly name: "is_member";
7094
+ readonly inputs: readonly [{
7095
+ readonly name: "club_id";
7096
+ readonly type: "core::integer::u256";
7097
+ }, {
7098
+ readonly name: "user";
7099
+ readonly type: "core::starknet::contract_address::ContractAddress";
7100
+ }];
7101
+ readonly outputs: readonly [{
7102
+ readonly type: "core::bool";
7103
+ }];
7104
+ readonly state_mutability: "view";
7105
+ }, {
7106
+ readonly type: "function";
7107
+ readonly name: "get_last_club_id";
7108
+ readonly inputs: readonly [];
7109
+ readonly outputs: readonly [{
7110
+ readonly type: "core::integer::u256";
7111
+ }];
7112
+ readonly state_mutability: "view";
7113
+ }];
7114
+ }, {
7115
+ readonly type: "impl";
7116
+ readonly name: "SRC5Impl";
7117
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
7118
+ }, {
7119
+ readonly type: "interface";
7120
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
7121
+ readonly items: readonly [{
7122
+ readonly type: "function";
7123
+ readonly name: "supports_interface";
7124
+ readonly inputs: readonly [{
7125
+ readonly name: "interface_id";
7126
+ readonly type: "core::felt252";
7127
+ }];
7128
+ readonly outputs: readonly [{
7129
+ readonly type: "core::bool";
7130
+ }];
7131
+ readonly state_mutability: "view";
7132
+ }];
7133
+ }, {
7134
+ readonly type: "constructor";
7135
+ readonly name: "constructor";
7136
+ readonly inputs: readonly [{
7137
+ readonly name: "ip_club_nft_class_hash";
7138
+ readonly type: "core::starknet::class_hash::ClassHash";
7139
+ }];
7140
+ }, {
7141
+ readonly type: "event";
7142
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7143
+ readonly kind: "enum";
7144
+ readonly variants: readonly [];
7145
+ }, {
7146
+ readonly type: "event";
7147
+ readonly name: "ip_club::events::NewClubCreated";
7148
+ readonly kind: "struct";
7149
+ readonly members: readonly [{
7150
+ readonly name: "club_id";
7151
+ readonly type: "core::integer::u256";
7152
+ readonly kind: "key";
7153
+ }, {
7154
+ readonly name: "creator";
7155
+ readonly type: "core::starknet::contract_address::ContractAddress";
7156
+ readonly kind: "key";
7157
+ }, {
7158
+ readonly name: "club_nft";
7159
+ readonly type: "core::starknet::contract_address::ContractAddress";
7160
+ readonly kind: "data";
7161
+ }, {
7162
+ readonly name: "metadata_uri";
7163
+ readonly type: "core::byte_array::ByteArray";
7164
+ readonly kind: "data";
7165
+ }, {
7166
+ readonly name: "timestamp";
7167
+ readonly type: "core::integer::u64";
7168
+ readonly kind: "data";
7169
+ }];
7170
+ }, {
7171
+ readonly type: "event";
7172
+ readonly name: "ip_club::events::ClubStatusUpdated";
7173
+ readonly kind: "struct";
7174
+ readonly members: readonly [{
7175
+ readonly name: "club_id";
7176
+ readonly type: "core::integer::u256";
7177
+ readonly kind: "key";
7178
+ }, {
7179
+ readonly name: "open";
7180
+ readonly type: "core::bool";
7181
+ readonly kind: "data";
7182
+ }, {
7183
+ readonly name: "timestamp";
7184
+ readonly type: "core::integer::u64";
7185
+ readonly kind: "data";
7186
+ }];
7187
+ }, {
7188
+ readonly type: "event";
7189
+ readonly name: "ip_club::events::NewMember";
7190
+ readonly kind: "struct";
7191
+ readonly members: readonly [{
7192
+ readonly name: "club_id";
7193
+ readonly type: "core::integer::u256";
7194
+ readonly kind: "key";
7195
+ }, {
7196
+ readonly name: "member";
7197
+ readonly type: "core::starknet::contract_address::ContractAddress";
7198
+ readonly kind: "key";
7199
+ }, {
7200
+ readonly name: "timestamp";
7201
+ readonly type: "core::integer::u64";
7202
+ readonly kind: "data";
7203
+ }];
7204
+ }, {
7205
+ readonly type: "event";
7206
+ readonly name: "ip_club::events::MemberLeft";
7207
+ readonly kind: "struct";
7208
+ readonly members: readonly [{
7209
+ readonly name: "club_id";
7210
+ readonly type: "core::integer::u256";
7211
+ readonly kind: "key";
7212
+ }, {
7213
+ readonly name: "member";
7214
+ readonly type: "core::starknet::contract_address::ContractAddress";
7215
+ readonly kind: "key";
7216
+ }, {
7217
+ readonly name: "timestamp";
7218
+ readonly type: "core::integer::u64";
7219
+ readonly kind: "data";
7220
+ }];
7221
+ }, {
7222
+ readonly type: "event";
7223
+ readonly name: "ip_club::IPClub::IPClub::Event";
7224
+ readonly kind: "enum";
7225
+ readonly variants: readonly [{
7226
+ readonly name: "SRC5Event";
7227
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7228
+ readonly kind: "flat";
7229
+ }, {
7230
+ readonly name: "NewClubCreated";
7231
+ readonly type: "ip_club::events::NewClubCreated";
7232
+ readonly kind: "nested";
7233
+ }, {
7234
+ readonly name: "ClubStatusUpdated";
7235
+ readonly type: "ip_club::events::ClubStatusUpdated";
7236
+ readonly kind: "nested";
7237
+ }, {
7238
+ readonly name: "NewMember";
7239
+ readonly type: "ip_club::events::NewMember";
7240
+ readonly kind: "nested";
7241
+ }, {
7242
+ readonly name: "MemberLeft";
7243
+ readonly type: "ip_club::events::MemberLeft";
7244
+ readonly kind: "nested";
7245
+ }];
7246
+ }];
7247
+
7248
+ declare const IPClubNFTABI: readonly [{
7249
+ readonly type: "impl";
7250
+ readonly name: "IIPClubNFTImpl";
7251
+ readonly interface_name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
7252
+ }, {
7253
+ readonly type: "struct";
7254
+ readonly name: "core::integer::u256";
7255
+ readonly members: readonly [{
7256
+ readonly name: "low";
7257
+ readonly type: "core::integer::u128";
7258
+ }, {
7259
+ readonly name: "high";
7260
+ readonly type: "core::integer::u128";
7261
+ }];
7262
+ }, {
7263
+ readonly type: "enum";
7264
+ readonly name: "core::bool";
7265
+ readonly variants: readonly [{
7266
+ readonly name: "False";
7267
+ readonly type: "()";
7268
+ }, {
7269
+ readonly name: "True";
7270
+ readonly type: "()";
7271
+ }];
7272
+ }, {
7273
+ readonly type: "interface";
7274
+ readonly name: "ip_club::interfaces::IIPClubNFT::IIPClubNFT";
7275
+ readonly items: readonly [{
7276
+ readonly type: "function";
7277
+ readonly name: "mint";
7278
+ readonly inputs: readonly [{
7279
+ readonly name: "recipient";
7280
+ readonly type: "core::starknet::contract_address::ContractAddress";
7281
+ }];
7282
+ readonly outputs: readonly [];
7283
+ readonly state_mutability: "external";
7284
+ }, {
7285
+ readonly type: "function";
7286
+ readonly name: "burn";
7287
+ readonly inputs: readonly [{
7288
+ readonly name: "member";
7289
+ readonly type: "core::starknet::contract_address::ContractAddress";
7290
+ }, {
7291
+ readonly name: "token_id";
7292
+ readonly type: "core::integer::u256";
7293
+ }];
7294
+ readonly outputs: readonly [];
7295
+ readonly state_mutability: "external";
7296
+ }, {
7297
+ readonly type: "function";
7298
+ readonly name: "has_nft";
7299
+ readonly inputs: readonly [{
7300
+ readonly name: "user";
7301
+ readonly type: "core::starknet::contract_address::ContractAddress";
7302
+ }];
7303
+ readonly outputs: readonly [{
7304
+ readonly type: "core::bool";
7305
+ }];
7306
+ readonly state_mutability: "view";
7307
+ }, {
7308
+ readonly type: "function";
7309
+ readonly name: "get_nft_creator";
7310
+ readonly inputs: readonly [];
7311
+ readonly outputs: readonly [{
7312
+ readonly type: "core::starknet::contract_address::ContractAddress";
7313
+ }];
7314
+ readonly state_mutability: "view";
7315
+ }, {
7316
+ readonly type: "function";
7317
+ readonly name: "get_ip_club_manager";
7318
+ readonly inputs: readonly [];
7319
+ readonly outputs: readonly [{
7320
+ readonly type: "core::starknet::contract_address::ContractAddress";
7321
+ }];
7322
+ readonly state_mutability: "view";
7323
+ }, {
7324
+ readonly type: "function";
7325
+ readonly name: "get_associated_club_id";
7326
+ readonly inputs: readonly [];
7327
+ readonly outputs: readonly [{
7328
+ readonly type: "core::integer::u256";
7329
+ }];
7330
+ readonly state_mutability: "view";
7331
+ }, {
7332
+ readonly type: "function";
7333
+ readonly name: "get_last_minted_id";
7334
+ readonly inputs: readonly [];
7335
+ readonly outputs: readonly [{
7336
+ readonly type: "core::integer::u256";
7337
+ }];
7338
+ readonly state_mutability: "view";
7339
+ }];
7340
+ }, {
7341
+ readonly type: "impl";
7342
+ readonly name: "ERC721MixinImpl";
7343
+ readonly interface_name: "openzeppelin_token::erc721::interface::ERC721ABI";
7344
+ }, {
7345
+ readonly type: "struct";
7346
+ readonly name: "core::array::Span::<core::felt252>";
7347
+ readonly members: readonly [{
7348
+ readonly name: "snapshot";
7349
+ readonly type: "@core::array::Array::<core::felt252>";
7350
+ }];
7351
+ }, {
7352
+ readonly type: "struct";
7353
+ readonly name: "core::byte_array::ByteArray";
7354
+ readonly members: readonly [{
7355
+ readonly name: "data";
7356
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7357
+ }, {
7358
+ readonly name: "pending_word";
7359
+ readonly type: "core::felt252";
7360
+ }, {
7361
+ readonly name: "pending_word_len";
7362
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7363
+ }];
7364
+ }, {
7365
+ readonly type: "interface";
7366
+ readonly name: "openzeppelin_token::erc721::interface::ERC721ABI";
7367
+ readonly items: readonly [{
7368
+ readonly type: "function";
7369
+ readonly name: "balance_of";
7370
+ readonly inputs: readonly [{
7371
+ readonly name: "account";
7372
+ readonly type: "core::starknet::contract_address::ContractAddress";
7373
+ }];
7374
+ readonly outputs: readonly [{
7375
+ readonly type: "core::integer::u256";
7376
+ }];
7377
+ readonly state_mutability: "view";
7378
+ }, {
7379
+ readonly type: "function";
7380
+ readonly name: "owner_of";
7381
+ readonly inputs: readonly [{
7382
+ readonly name: "token_id";
7383
+ readonly type: "core::integer::u256";
7384
+ }];
7385
+ readonly outputs: readonly [{
7386
+ readonly type: "core::starknet::contract_address::ContractAddress";
7387
+ }];
7388
+ readonly state_mutability: "view";
7389
+ }, {
7390
+ readonly type: "function";
7391
+ readonly name: "safe_transfer_from";
7392
+ readonly inputs: readonly [{
7393
+ readonly name: "from";
7394
+ readonly type: "core::starknet::contract_address::ContractAddress";
7395
+ }, {
7396
+ readonly name: "to";
7397
+ readonly type: "core::starknet::contract_address::ContractAddress";
7398
+ }, {
7399
+ readonly name: "token_id";
7400
+ readonly type: "core::integer::u256";
7401
+ }, {
7402
+ readonly name: "data";
7403
+ readonly type: "core::array::Span::<core::felt252>";
7404
+ }];
7405
+ readonly outputs: readonly [];
7406
+ readonly state_mutability: "external";
7407
+ }, {
7408
+ readonly type: "function";
7409
+ readonly name: "transfer_from";
7410
+ readonly inputs: readonly [{
7411
+ readonly name: "from";
7412
+ readonly type: "core::starknet::contract_address::ContractAddress";
7413
+ }, {
7414
+ readonly name: "to";
7415
+ readonly type: "core::starknet::contract_address::ContractAddress";
7416
+ }, {
7417
+ readonly name: "token_id";
7418
+ readonly type: "core::integer::u256";
7419
+ }];
7420
+ readonly outputs: readonly [];
7421
+ readonly state_mutability: "external";
7422
+ }, {
7423
+ readonly type: "function";
7424
+ readonly name: "approve";
7425
+ readonly inputs: readonly [{
7426
+ readonly name: "to";
7427
+ readonly type: "core::starknet::contract_address::ContractAddress";
7428
+ }, {
7429
+ readonly name: "token_id";
7430
+ readonly type: "core::integer::u256";
7431
+ }];
7432
+ readonly outputs: readonly [];
7433
+ readonly state_mutability: "external";
7434
+ }, {
7435
+ readonly type: "function";
7436
+ readonly name: "set_approval_for_all";
7437
+ readonly inputs: readonly [{
7438
+ readonly name: "operator";
7439
+ readonly type: "core::starknet::contract_address::ContractAddress";
7440
+ }, {
7441
+ readonly name: "approved";
7442
+ readonly type: "core::bool";
7443
+ }];
7444
+ readonly outputs: readonly [];
7445
+ readonly state_mutability: "external";
7446
+ }, {
7447
+ readonly type: "function";
7448
+ readonly name: "get_approved";
7449
+ readonly inputs: readonly [{
7450
+ readonly name: "token_id";
7451
+ readonly type: "core::integer::u256";
7452
+ }];
7453
+ readonly outputs: readonly [{
7454
+ readonly type: "core::starknet::contract_address::ContractAddress";
7455
+ }];
7456
+ readonly state_mutability: "view";
7457
+ }, {
7458
+ readonly type: "function";
7459
+ readonly name: "is_approved_for_all";
7460
+ readonly inputs: readonly [{
7461
+ readonly name: "owner";
7462
+ readonly type: "core::starknet::contract_address::ContractAddress";
7463
+ }, {
7464
+ readonly name: "operator";
7465
+ readonly type: "core::starknet::contract_address::ContractAddress";
7466
+ }];
7467
+ readonly outputs: readonly [{
7468
+ readonly type: "core::bool";
7469
+ }];
7470
+ readonly state_mutability: "view";
7471
+ }, {
7472
+ readonly type: "function";
7473
+ readonly name: "supports_interface";
7474
+ readonly inputs: readonly [{
7475
+ readonly name: "interface_id";
7476
+ readonly type: "core::felt252";
7477
+ }];
7478
+ readonly outputs: readonly [{
7479
+ readonly type: "core::bool";
7480
+ }];
7481
+ readonly state_mutability: "view";
7482
+ }, {
7483
+ readonly type: "function";
7484
+ readonly name: "name";
7485
+ readonly inputs: readonly [];
7486
+ readonly outputs: readonly [{
7487
+ readonly type: "core::byte_array::ByteArray";
7488
+ }];
7489
+ readonly state_mutability: "view";
7490
+ }, {
7491
+ readonly type: "function";
7492
+ readonly name: "symbol";
7493
+ readonly inputs: readonly [];
7494
+ readonly outputs: readonly [{
7495
+ readonly type: "core::byte_array::ByteArray";
7496
+ }];
7497
+ readonly state_mutability: "view";
7498
+ }, {
7499
+ readonly type: "function";
7500
+ readonly name: "token_uri";
7501
+ readonly inputs: readonly [{
7502
+ readonly name: "token_id";
7503
+ readonly type: "core::integer::u256";
7504
+ }];
7505
+ readonly outputs: readonly [{
7506
+ readonly type: "core::byte_array::ByteArray";
7507
+ }];
7508
+ readonly state_mutability: "view";
7509
+ }, {
7510
+ readonly type: "function";
7511
+ readonly name: "balanceOf";
7512
+ readonly inputs: readonly [{
7513
+ readonly name: "account";
7514
+ readonly type: "core::starknet::contract_address::ContractAddress";
7515
+ }];
7516
+ readonly outputs: readonly [{
7517
+ readonly type: "core::integer::u256";
7518
+ }];
7519
+ readonly state_mutability: "view";
7520
+ }, {
7521
+ readonly type: "function";
7522
+ readonly name: "ownerOf";
7523
+ readonly inputs: readonly [{
7524
+ readonly name: "tokenId";
7525
+ readonly type: "core::integer::u256";
7526
+ }];
7527
+ readonly outputs: readonly [{
7528
+ readonly type: "core::starknet::contract_address::ContractAddress";
7529
+ }];
7530
+ readonly state_mutability: "view";
7531
+ }, {
7532
+ readonly type: "function";
7533
+ readonly name: "safeTransferFrom";
7534
+ readonly inputs: readonly [{
7535
+ readonly name: "from";
7536
+ readonly type: "core::starknet::contract_address::ContractAddress";
7537
+ }, {
7538
+ readonly name: "to";
7539
+ readonly type: "core::starknet::contract_address::ContractAddress";
7540
+ }, {
7541
+ readonly name: "tokenId";
7542
+ readonly type: "core::integer::u256";
7543
+ }, {
7544
+ readonly name: "data";
7545
+ readonly type: "core::array::Span::<core::felt252>";
7546
+ }];
7547
+ readonly outputs: readonly [];
7548
+ readonly state_mutability: "external";
7549
+ }, {
7550
+ readonly type: "function";
7551
+ readonly name: "transferFrom";
7552
+ readonly inputs: readonly [{
7553
+ readonly name: "from";
7554
+ readonly type: "core::starknet::contract_address::ContractAddress";
7555
+ }, {
7556
+ readonly name: "to";
7557
+ readonly type: "core::starknet::contract_address::ContractAddress";
7558
+ }, {
7559
+ readonly name: "tokenId";
7560
+ readonly type: "core::integer::u256";
7561
+ }];
7562
+ readonly outputs: readonly [];
7563
+ readonly state_mutability: "external";
7564
+ }, {
7565
+ readonly type: "function";
7566
+ readonly name: "setApprovalForAll";
7567
+ readonly inputs: readonly [{
7568
+ readonly name: "operator";
7569
+ readonly type: "core::starknet::contract_address::ContractAddress";
7570
+ }, {
7571
+ readonly name: "approved";
7572
+ readonly type: "core::bool";
7573
+ }];
7574
+ readonly outputs: readonly [];
7575
+ readonly state_mutability: "external";
7576
+ }, {
7577
+ readonly type: "function";
7578
+ readonly name: "getApproved";
7579
+ readonly inputs: readonly [{
7580
+ readonly name: "tokenId";
7581
+ readonly type: "core::integer::u256";
7582
+ }];
7583
+ readonly outputs: readonly [{
7584
+ readonly type: "core::starknet::contract_address::ContractAddress";
7585
+ }];
7586
+ readonly state_mutability: "view";
7587
+ }, {
7588
+ readonly type: "function";
7589
+ readonly name: "isApprovedForAll";
7590
+ readonly inputs: readonly [{
7591
+ readonly name: "owner";
7592
+ readonly type: "core::starknet::contract_address::ContractAddress";
7593
+ }, {
7594
+ readonly name: "operator";
7595
+ readonly type: "core::starknet::contract_address::ContractAddress";
7596
+ }];
7597
+ readonly outputs: readonly [{
7598
+ readonly type: "core::bool";
7599
+ }];
7600
+ readonly state_mutability: "view";
7601
+ }, {
7602
+ readonly type: "function";
7603
+ readonly name: "tokenURI";
7604
+ readonly inputs: readonly [{
7605
+ readonly name: "tokenId";
7606
+ readonly type: "core::integer::u256";
7607
+ }];
7608
+ readonly outputs: readonly [{
7609
+ readonly type: "core::byte_array::ByteArray";
7610
+ }];
7611
+ readonly state_mutability: "view";
7612
+ }];
7613
+ }, {
7614
+ readonly type: "constructor";
7615
+ readonly name: "constructor";
7616
+ readonly inputs: readonly [{
7617
+ readonly name: "name";
7618
+ readonly type: "core::byte_array::ByteArray";
7619
+ }, {
7620
+ readonly name: "symbol";
7621
+ readonly type: "core::byte_array::ByteArray";
7622
+ }, {
7623
+ readonly name: "club_id";
7624
+ readonly type: "core::integer::u256";
7625
+ }, {
7626
+ readonly name: "creator";
7627
+ readonly type: "core::starknet::contract_address::ContractAddress";
7628
+ }, {
7629
+ readonly name: "ip_club_manager";
7630
+ readonly type: "core::starknet::contract_address::ContractAddress";
7631
+ }, {
7632
+ readonly name: "metadata_uri";
7633
+ readonly type: "core::byte_array::ByteArray";
7634
+ }];
7635
+ }, {
7636
+ readonly type: "event";
7637
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7638
+ readonly kind: "struct";
7639
+ readonly members: readonly [{
7640
+ readonly name: "from";
7641
+ readonly type: "core::starknet::contract_address::ContractAddress";
7642
+ readonly kind: "key";
7643
+ }, {
7644
+ readonly name: "to";
7645
+ readonly type: "core::starknet::contract_address::ContractAddress";
7646
+ readonly kind: "key";
7647
+ }, {
7648
+ readonly name: "token_id";
7649
+ readonly type: "core::integer::u256";
7650
+ readonly kind: "key";
7651
+ }];
7652
+ }, {
7653
+ readonly type: "event";
7654
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7655
+ readonly kind: "struct";
7656
+ readonly members: readonly [{
7657
+ readonly name: "owner";
7658
+ readonly type: "core::starknet::contract_address::ContractAddress";
7659
+ readonly kind: "key";
7660
+ }, {
7661
+ readonly name: "approved";
7662
+ readonly type: "core::starknet::contract_address::ContractAddress";
7663
+ readonly kind: "key";
7664
+ }, {
7665
+ readonly name: "token_id";
7666
+ readonly type: "core::integer::u256";
7667
+ readonly kind: "key";
7668
+ }];
7669
+ }, {
7670
+ readonly type: "event";
7671
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7672
+ readonly kind: "struct";
7673
+ readonly members: readonly [{
7674
+ readonly name: "owner";
7675
+ readonly type: "core::starknet::contract_address::ContractAddress";
7676
+ readonly kind: "key";
7677
+ }, {
7678
+ readonly name: "operator";
7679
+ readonly type: "core::starknet::contract_address::ContractAddress";
7680
+ readonly kind: "key";
7681
+ }, {
7682
+ readonly name: "approved";
7683
+ readonly type: "core::bool";
7684
+ readonly kind: "data";
7685
+ }];
7686
+ }, {
7687
+ readonly type: "event";
7688
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7689
+ readonly kind: "enum";
7690
+ readonly variants: readonly [{
7691
+ readonly name: "Transfer";
7692
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
7693
+ readonly kind: "nested";
7694
+ }, {
7695
+ readonly name: "Approval";
7696
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
7697
+ readonly kind: "nested";
7698
+ }, {
7699
+ readonly name: "ApprovalForAll";
7700
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
7701
+ readonly kind: "nested";
7702
+ }];
7703
+ }, {
7704
+ readonly type: "event";
7705
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
7706
+ readonly kind: "enum";
7707
+ readonly variants: readonly [];
7708
+ }, {
7709
+ readonly type: "event";
7710
+ readonly name: "ip_club::IPClubNFT::IPClubNFT::Event";
7711
+ readonly kind: "enum";
7712
+ readonly variants: readonly [{
7713
+ readonly name: "ERC721Event";
7714
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
7715
+ readonly kind: "flat";
7716
+ }, {
7717
+ readonly name: "SRC5Event";
7718
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
7719
+ readonly kind: "flat";
7720
+ }];
7721
+ }];
7722
+
7723
+ declare const IPSponsorshipABI: readonly [{
7724
+ readonly type: "impl";
7725
+ readonly name: "IPSponsorshipImpl";
7726
+ readonly interface_name: "ip_sponsorship::interface::IIPSponsorship";
7727
+ }, {
7728
+ readonly type: "struct";
7729
+ readonly name: "core::integer::u256";
7730
+ readonly members: readonly [{
7731
+ readonly name: "low";
7732
+ readonly type: "core::integer::u128";
7733
+ }, {
7734
+ readonly name: "high";
7735
+ readonly type: "core::integer::u128";
7736
+ }];
7737
+ }, {
7738
+ readonly type: "struct";
7739
+ readonly name: "core::byte_array::ByteArray";
7740
+ readonly members: readonly [{
7741
+ readonly name: "data";
7742
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
7743
+ }, {
7744
+ readonly name: "pending_word";
7745
+ readonly type: "core::felt252";
7746
+ }, {
7747
+ readonly name: "pending_word_len";
7748
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
7749
+ }];
7750
+ }, {
7751
+ readonly type: "enum";
7752
+ readonly name: "core::bool";
7753
+ readonly variants: readonly [{
7754
+ readonly name: "False";
7755
+ readonly type: "()";
7756
+ }, {
7757
+ readonly name: "True";
7758
+ readonly type: "()";
7759
+ }];
7760
+ }, {
7761
+ readonly type: "enum";
7762
+ readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7763
+ readonly variants: readonly [{
7764
+ readonly name: "Some";
7765
+ readonly type: "core::starknet::contract_address::ContractAddress";
7766
+ }, {
7767
+ readonly name: "None";
7768
+ readonly type: "()";
7769
+ }];
7770
+ }, {
7771
+ readonly type: "struct";
7772
+ readonly name: "ip_sponsorship::types::SponsorshipOffer";
7773
+ readonly members: readonly [{
7774
+ readonly name: "author";
7775
+ readonly type: "core::starknet::contract_address::ContractAddress";
7776
+ }, {
7777
+ readonly name: "nft_contract";
7778
+ readonly type: "core::starknet::contract_address::ContractAddress";
7779
+ }, {
7780
+ readonly name: "token_id";
7781
+ readonly type: "core::integer::u256";
7782
+ }, {
7783
+ readonly name: "min_amount";
7784
+ readonly type: "core::integer::u256";
7785
+ }, {
7786
+ readonly name: "duration";
7787
+ readonly type: "core::integer::u64";
7788
+ }, {
7789
+ readonly name: "payment_token";
7790
+ readonly type: "core::starknet::contract_address::ContractAddress";
7791
+ }, {
7792
+ readonly name: "license_terms_uri";
7793
+ readonly type: "core::byte_array::ByteArray";
7794
+ }, {
7795
+ readonly name: "transferable";
7796
+ readonly type: "core::bool";
7797
+ }, {
7798
+ readonly name: "specific_sponsor";
7799
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7800
+ }, {
7801
+ readonly name: "open";
7802
+ readonly type: "core::bool";
7803
+ }];
7804
+ }, {
7805
+ readonly type: "struct";
7806
+ readonly name: "ip_sponsorship::types::License";
7807
+ readonly members: readonly [{
7808
+ readonly name: "author";
7809
+ readonly type: "core::starknet::contract_address::ContractAddress";
7810
+ }, {
7811
+ readonly name: "sponsor";
7812
+ readonly type: "core::starknet::contract_address::ContractAddress";
7813
+ }, {
7814
+ readonly name: "nft_contract";
7815
+ readonly type: "core::starknet::contract_address::ContractAddress";
7816
+ }, {
7817
+ readonly name: "token_id";
7818
+ readonly type: "core::integer::u256";
7819
+ }, {
7820
+ readonly name: "amount_paid";
7821
+ readonly type: "core::integer::u256";
7822
+ }, {
7823
+ readonly name: "expires_at";
7824
+ readonly type: "core::integer::u64";
7825
+ }, {
7826
+ readonly name: "transferable";
7827
+ readonly type: "core::bool";
7828
+ }, {
7829
+ readonly name: "license_terms_uri";
7830
+ readonly type: "core::byte_array::ByteArray";
7831
+ }];
7832
+ }, {
7833
+ readonly type: "interface";
7834
+ readonly name: "ip_sponsorship::interface::IIPSponsorship";
7835
+ readonly items: readonly [{
7836
+ readonly type: "function";
7837
+ readonly name: "create_offer";
7838
+ readonly inputs: readonly [{
7839
+ readonly name: "nft_contract";
7840
+ readonly type: "core::starknet::contract_address::ContractAddress";
7841
+ }, {
7842
+ readonly name: "token_id";
7843
+ readonly type: "core::integer::u256";
7844
+ }, {
7845
+ readonly name: "min_amount";
7846
+ readonly type: "core::integer::u256";
7847
+ }, {
7848
+ readonly name: "duration";
7849
+ readonly type: "core::integer::u64";
7850
+ }, {
7851
+ readonly name: "payment_token";
7852
+ readonly type: "core::starknet::contract_address::ContractAddress";
7853
+ }, {
7854
+ readonly name: "license_terms_uri";
7855
+ readonly type: "core::byte_array::ByteArray";
7856
+ }, {
7857
+ readonly name: "transferable";
7858
+ readonly type: "core::bool";
7859
+ }, {
7860
+ readonly name: "specific_sponsor";
7861
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
7862
+ }];
7863
+ readonly outputs: readonly [{
7864
+ readonly type: "core::integer::u256";
7865
+ }];
7866
+ readonly state_mutability: "external";
7867
+ }, {
7868
+ readonly type: "function";
7869
+ readonly name: "set_offer_open";
7870
+ readonly inputs: readonly [{
7871
+ readonly name: "offer_id";
7872
+ readonly type: "core::integer::u256";
7873
+ }, {
7874
+ readonly name: "open";
7875
+ readonly type: "core::bool";
7876
+ }];
7877
+ readonly outputs: readonly [];
7878
+ readonly state_mutability: "external";
7879
+ }, {
7880
+ readonly type: "function";
7881
+ readonly name: "place_bid";
7882
+ readonly inputs: readonly [{
7883
+ readonly name: "offer_id";
7884
+ readonly type: "core::integer::u256";
7885
+ }, {
7886
+ readonly name: "amount";
7887
+ readonly type: "core::integer::u256";
7888
+ }];
7889
+ readonly outputs: readonly [];
7890
+ readonly state_mutability: "external";
7891
+ }, {
7892
+ readonly type: "function";
7893
+ readonly name: "retract_bid";
7894
+ readonly inputs: readonly [{
7895
+ readonly name: "offer_id";
7896
+ readonly type: "core::integer::u256";
7897
+ }];
7898
+ readonly outputs: readonly [];
7899
+ readonly state_mutability: "external";
7900
+ }, {
7901
+ readonly type: "function";
7902
+ readonly name: "accept_bid";
7903
+ readonly inputs: readonly [{
7904
+ readonly name: "offer_id";
7905
+ readonly type: "core::integer::u256";
7906
+ }, {
7907
+ readonly name: "sponsor";
7908
+ readonly type: "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: "transfer_license";
7917
+ readonly inputs: readonly [{
7918
+ readonly name: "license_id";
7919
+ readonly type: "core::integer::u256";
7920
+ }, {
7921
+ readonly name: "to";
7922
+ readonly type: "core::starknet::contract_address::ContractAddress";
7923
+ }];
7924
+ readonly outputs: readonly [];
7925
+ readonly state_mutability: "external";
7926
+ }, {
7927
+ readonly type: "function";
7928
+ readonly name: "get_offer";
7929
+ readonly inputs: readonly [{
7930
+ readonly name: "offer_id";
7931
+ readonly type: "core::integer::u256";
7932
+ }];
7933
+ readonly outputs: readonly [{
7934
+ readonly type: "ip_sponsorship::types::SponsorshipOffer";
7935
+ }];
7936
+ readonly state_mutability: "view";
7937
+ }, {
7938
+ readonly type: "function";
7939
+ readonly name: "get_bid";
7940
+ readonly inputs: readonly [{
7941
+ readonly name: "offer_id";
7942
+ readonly type: "core::integer::u256";
7943
+ }, {
7944
+ readonly name: "sponsor";
7945
+ readonly type: "core::starknet::contract_address::ContractAddress";
7946
+ }];
7947
+ readonly outputs: readonly [{
7948
+ readonly type: "core::integer::u256";
7949
+ }];
7950
+ readonly state_mutability: "view";
7951
+ }, {
7952
+ readonly type: "function";
7953
+ readonly name: "get_license";
7954
+ readonly inputs: readonly [{
7955
+ readonly name: "license_id";
7956
+ readonly type: "core::integer::u256";
7957
+ }];
7958
+ readonly outputs: readonly [{
7959
+ readonly type: "ip_sponsorship::types::License";
7960
+ }];
7961
+ readonly state_mutability: "view";
7962
+ }, {
7963
+ readonly type: "function";
7964
+ readonly name: "is_license_valid";
7965
+ readonly inputs: readonly [{
7966
+ readonly name: "license_id";
7967
+ readonly type: "core::integer::u256";
7968
+ }];
7969
+ readonly outputs: readonly [{
7970
+ readonly type: "core::bool";
7971
+ }];
7972
+ readonly state_mutability: "view";
7973
+ }, {
7974
+ readonly type: "function";
7975
+ readonly name: "get_last_offer_id";
7976
+ readonly inputs: readonly [];
7977
+ readonly outputs: readonly [{
7978
+ readonly type: "core::integer::u256";
7979
+ }];
7980
+ readonly state_mutability: "view";
7981
+ }, {
7982
+ readonly type: "function";
7983
+ readonly name: "get_last_license_id";
7984
+ readonly inputs: readonly [];
7985
+ readonly outputs: readonly [{
7986
+ readonly type: "core::integer::u256";
7987
+ }];
7988
+ readonly state_mutability: "view";
7989
+ }];
7990
+ }, {
7991
+ readonly type: "impl";
7992
+ readonly name: "SRC5Impl";
7993
+ readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
7994
+ }, {
7995
+ readonly type: "interface";
7996
+ readonly name: "openzeppelin_introspection::interface::ISRC5";
7997
+ readonly items: readonly [{
7998
+ readonly type: "function";
7999
+ readonly name: "supports_interface";
8000
+ readonly inputs: readonly [{
8001
+ readonly name: "interface_id";
8002
+ readonly type: "core::felt252";
8003
+ }];
8004
+ readonly outputs: readonly [{
8005
+ readonly type: "core::bool";
8006
+ }];
8007
+ readonly state_mutability: "view";
8008
+ }];
8009
+ }, {
8010
+ readonly type: "constructor";
8011
+ readonly name: "constructor";
8012
+ readonly inputs: readonly [];
8013
+ }, {
8014
+ readonly type: "event";
8015
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
8016
+ readonly kind: "enum";
8017
+ readonly variants: readonly [];
8018
+ }, {
8019
+ readonly type: "event";
8020
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
8021
+ readonly kind: "struct";
8022
+ readonly members: readonly [{
8023
+ readonly name: "offer_id";
8024
+ readonly type: "core::integer::u256";
8025
+ readonly kind: "key";
8026
+ }, {
8027
+ readonly name: "author";
8028
+ readonly type: "core::starknet::contract_address::ContractAddress";
8029
+ readonly kind: "key";
8030
+ }, {
8031
+ readonly name: "nft_contract";
8032
+ readonly type: "core::starknet::contract_address::ContractAddress";
8033
+ readonly kind: "key";
8034
+ }, {
8035
+ readonly name: "token_id";
8036
+ readonly type: "core::integer::u256";
8037
+ readonly kind: "data";
8038
+ }, {
8039
+ readonly name: "min_amount";
8040
+ readonly type: "core::integer::u256";
8041
+ readonly kind: "data";
8042
+ }, {
8043
+ readonly name: "duration";
8044
+ readonly type: "core::integer::u64";
8045
+ readonly kind: "data";
8046
+ }, {
8047
+ readonly name: "payment_token";
8048
+ readonly type: "core::starknet::contract_address::ContractAddress";
8049
+ readonly kind: "data";
8050
+ }, {
8051
+ readonly name: "license_terms_uri";
8052
+ readonly type: "core::byte_array::ByteArray";
8053
+ readonly kind: "data";
8054
+ }, {
8055
+ readonly name: "transferable";
8056
+ readonly type: "core::bool";
8057
+ readonly kind: "data";
8058
+ }, {
8059
+ readonly name: "specific_sponsor";
8060
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8061
+ readonly kind: "data";
8062
+ }, {
8063
+ readonly name: "created_at";
8064
+ readonly type: "core::integer::u64";
8065
+ readonly kind: "data";
8066
+ }];
8067
+ }, {
8068
+ readonly type: "event";
8069
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
8070
+ readonly kind: "struct";
8071
+ readonly members: readonly [{
8072
+ readonly name: "offer_id";
8073
+ readonly type: "core::integer::u256";
8074
+ readonly kind: "key";
8075
+ }, {
8076
+ readonly name: "open";
8077
+ readonly type: "core::bool";
8078
+ readonly kind: "data";
8079
+ }, {
8080
+ readonly name: "updated_at";
8081
+ readonly type: "core::integer::u64";
8082
+ readonly kind: "data";
8083
+ }];
8084
+ }, {
8085
+ readonly type: "event";
8086
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
8087
+ readonly kind: "struct";
8088
+ readonly members: readonly [{
8089
+ readonly name: "offer_id";
8090
+ readonly type: "core::integer::u256";
8091
+ readonly kind: "key";
8092
+ }, {
8093
+ readonly name: "sponsor";
8094
+ readonly type: "core::starknet::contract_address::ContractAddress";
8095
+ readonly kind: "key";
8096
+ }, {
8097
+ readonly name: "amount";
8098
+ readonly type: "core::integer::u256";
8099
+ readonly kind: "data";
8100
+ }, {
8101
+ readonly name: "bid_at";
8102
+ readonly type: "core::integer::u64";
8103
+ readonly kind: "data";
8104
+ }];
8105
+ }, {
8106
+ readonly type: "event";
8107
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
8108
+ readonly kind: "struct";
8109
+ readonly members: readonly [{
8110
+ readonly name: "offer_id";
8111
+ readonly type: "core::integer::u256";
8112
+ readonly kind: "key";
8113
+ }, {
8114
+ readonly name: "sponsor";
8115
+ readonly type: "core::starknet::contract_address::ContractAddress";
8116
+ readonly kind: "key";
8117
+ }, {
8118
+ readonly name: "retracted_at";
8119
+ readonly type: "core::integer::u64";
8120
+ readonly kind: "data";
8121
+ }];
8122
+ }, {
8123
+ readonly type: "event";
8124
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8125
+ readonly kind: "struct";
8126
+ readonly members: readonly [{
8127
+ readonly name: "offer_id";
8128
+ readonly type: "core::integer::u256";
8129
+ readonly kind: "key";
8130
+ }, {
8131
+ readonly name: "license_id";
8132
+ readonly type: "core::integer::u256";
8133
+ readonly kind: "key";
8134
+ }, {
8135
+ readonly name: "sponsor";
8136
+ readonly type: "core::starknet::contract_address::ContractAddress";
8137
+ readonly kind: "key";
8138
+ }, {
8139
+ readonly name: "author";
8140
+ readonly type: "core::starknet::contract_address::ContractAddress";
8141
+ readonly kind: "data";
8142
+ }, {
8143
+ readonly name: "amount";
8144
+ readonly type: "core::integer::u256";
8145
+ readonly kind: "data";
8146
+ }, {
8147
+ readonly name: "expires_at";
8148
+ readonly type: "core::integer::u64";
8149
+ readonly kind: "data";
8150
+ }];
8151
+ }, {
8152
+ readonly type: "event";
8153
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
8154
+ readonly kind: "struct";
8155
+ readonly members: readonly [{
8156
+ readonly name: "license_id";
8157
+ readonly type: "core::integer::u256";
8158
+ readonly kind: "key";
8159
+ }, {
8160
+ readonly name: "from";
8161
+ readonly type: "core::starknet::contract_address::ContractAddress";
8162
+ readonly kind: "key";
8163
+ }, {
8164
+ readonly name: "to";
8165
+ readonly type: "core::starknet::contract_address::ContractAddress";
8166
+ readonly kind: "key";
8167
+ }, {
8168
+ readonly name: "transferred_at";
8169
+ readonly type: "core::integer::u64";
8170
+ readonly kind: "data";
8171
+ }];
8172
+ }, {
8173
+ readonly type: "event";
8174
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::Event";
8175
+ readonly kind: "enum";
8176
+ readonly variants: readonly [{
8177
+ readonly name: "SRC5Event";
8178
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
8179
+ readonly kind: "flat";
8180
+ }, {
8181
+ readonly name: "OfferCreated";
8182
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
8183
+ readonly kind: "nested";
8184
+ }, {
8185
+ readonly name: "OfferStatusUpdated";
8186
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
8187
+ readonly kind: "nested";
8188
+ }, {
8189
+ readonly name: "BidPlaced";
8190
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
8191
+ readonly kind: "nested";
8192
+ }, {
8193
+ readonly name: "BidRetracted";
8194
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
8195
+ readonly kind: "nested";
8196
+ }, {
8197
+ readonly name: "SponsorshipAccepted";
8198
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8199
+ readonly kind: "nested";
8200
+ }, {
8201
+ readonly name: "LicenseTransferred";
8202
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
8203
+ readonly kind: "nested";
8204
+ }];
8205
+ }];
8206
+
8207
+ declare const IPGenesisABI: readonly [{
8208
+ readonly type: "impl";
8209
+ readonly name: "MIPImpl";
8210
+ readonly interface_name: "mip::interfaces::IMIP";
8211
+ }, {
8212
+ readonly type: "struct";
8213
+ readonly name: "core::byte_array::ByteArray";
8214
+ readonly members: readonly [{
8215
+ readonly name: "data";
8216
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
8217
+ }, {
8218
+ readonly name: "pending_word";
8219
+ readonly type: "core::felt252";
8220
+ }, {
8221
+ readonly name: "pending_word_len";
8222
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
8223
+ }];
8224
+ }, {
8225
+ readonly type: "struct";
8226
+ readonly name: "core::integer::u256";
8227
+ readonly members: readonly [{
8228
+ readonly name: "low";
8229
+ readonly type: "core::integer::u128";
8230
+ }, {
8231
+ readonly name: "high";
8232
+ readonly type: "core::integer::u128";
8233
+ }];
8234
+ }, {
8235
+ readonly type: "interface";
8236
+ readonly name: "mip::interfaces::IMIP";
8237
+ readonly items: readonly [{
8238
+ readonly type: "function";
8239
+ readonly name: "mint_item";
8240
+ readonly inputs: readonly [{
8241
+ readonly name: "recipient";
8242
+ readonly type: "core::starknet::contract_address::ContractAddress";
8243
+ }, {
8244
+ readonly name: "uri";
8245
+ readonly type: "core::byte_array::ByteArray";
8246
+ }];
8247
+ readonly outputs: readonly [{
8248
+ readonly type: "core::integer::u256";
8249
+ }];
8250
+ readonly state_mutability: "external";
8251
+ }];
8252
+ }, {
8253
+ readonly type: "impl";
8254
+ readonly name: "CounterImpl";
8255
+ readonly interface_name: "mip::interfaces::ICounter";
8256
+ }, {
8257
+ readonly type: "interface";
8258
+ readonly name: "mip::interfaces::ICounter";
8259
+ readonly items: readonly [{
8260
+ readonly type: "function";
8261
+ readonly name: "current";
8262
+ readonly inputs: readonly [];
8263
+ readonly outputs: readonly [{
8264
+ readonly type: "core::integer::u256";
8265
+ }];
8266
+ readonly state_mutability: "view";
8267
+ }, {
8268
+ readonly type: "function";
8269
+ readonly name: "increment";
8270
+ readonly inputs: readonly [];
8271
+ readonly outputs: readonly [];
8272
+ readonly state_mutability: "external";
8273
+ }, {
8274
+ readonly type: "function";
8275
+ readonly name: "decrement";
8276
+ readonly inputs: readonly [];
8277
+ readonly outputs: readonly [];
8278
+ readonly state_mutability: "external";
8279
+ }];
8280
+ }, {
8281
+ readonly type: "impl";
8282
+ readonly name: "ERC721MixinImpl";
8283
+ readonly interface_name: "openzeppelin_token::erc721::interface::ERC721ABI";
8284
+ }, {
8285
+ readonly type: "struct";
8286
+ readonly name: "core::array::Span::<core::felt252>";
8287
+ readonly members: readonly [{
8288
+ readonly name: "snapshot";
8289
+ readonly type: "@core::array::Array::<core::felt252>";
8290
+ }];
8291
+ }, {
8292
+ readonly type: "enum";
8293
+ readonly name: "core::bool";
8294
+ readonly variants: readonly [{
8295
+ readonly name: "False";
8296
+ readonly type: "()";
8297
+ }, {
8298
+ readonly name: "True";
8299
+ readonly type: "()";
8300
+ }];
8301
+ }, {
8302
+ readonly type: "interface";
8303
+ readonly name: "openzeppelin_token::erc721::interface::ERC721ABI";
8304
+ readonly items: readonly [{
8305
+ readonly type: "function";
8306
+ readonly name: "balance_of";
8307
+ readonly inputs: readonly [{
8308
+ readonly name: "account";
8309
+ readonly type: "core::starknet::contract_address::ContractAddress";
8310
+ }];
8311
+ readonly outputs: readonly [{
8312
+ readonly type: "core::integer::u256";
8313
+ }];
8314
+ readonly state_mutability: "view";
8315
+ }, {
8316
+ readonly type: "function";
8317
+ readonly name: "owner_of";
8318
+ readonly inputs: readonly [{
8319
+ readonly name: "token_id";
8320
+ readonly type: "core::integer::u256";
8321
+ }];
8322
+ readonly outputs: readonly [{
8323
+ readonly type: "core::starknet::contract_address::ContractAddress";
8324
+ }];
8325
+ readonly state_mutability: "view";
8326
+ }, {
8327
+ readonly type: "function";
8328
+ readonly name: "safe_transfer_from";
8329
+ readonly inputs: readonly [{
8330
+ readonly name: "from";
8331
+ readonly type: "core::starknet::contract_address::ContractAddress";
8332
+ }, {
8333
+ readonly name: "to";
8334
+ readonly type: "core::starknet::contract_address::ContractAddress";
8335
+ }, {
8336
+ readonly name: "token_id";
8337
+ readonly type: "core::integer::u256";
8338
+ }, {
8339
+ readonly name: "data";
8340
+ readonly type: "core::array::Span::<core::felt252>";
8341
+ }];
8342
+ readonly outputs: readonly [];
8343
+ readonly state_mutability: "external";
8344
+ }, {
8345
+ readonly type: "function";
8346
+ readonly name: "transfer_from";
8347
+ readonly inputs: readonly [{
8348
+ readonly name: "from";
8349
+ readonly type: "core::starknet::contract_address::ContractAddress";
8350
+ }, {
8351
+ readonly name: "to";
8352
+ readonly type: "core::starknet::contract_address::ContractAddress";
8353
+ }, {
8354
+ readonly name: "token_id";
8355
+ readonly type: "core::integer::u256";
8356
+ }];
8357
+ readonly outputs: readonly [];
8358
+ readonly state_mutability: "external";
8359
+ }, {
8360
+ readonly type: "function";
8361
+ readonly name: "approve";
8362
+ readonly inputs: readonly [{
8363
+ readonly name: "to";
8364
+ readonly type: "core::starknet::contract_address::ContractAddress";
8365
+ }, {
8366
+ readonly name: "token_id";
8367
+ readonly type: "core::integer::u256";
8368
+ }];
8369
+ readonly outputs: readonly [];
8370
+ readonly state_mutability: "external";
8371
+ }, {
8372
+ readonly type: "function";
8373
+ readonly name: "set_approval_for_all";
8374
+ readonly inputs: readonly [{
8375
+ readonly name: "operator";
8376
+ readonly type: "core::starknet::contract_address::ContractAddress";
8377
+ }, {
8378
+ readonly name: "approved";
8379
+ readonly type: "core::bool";
8380
+ }];
8381
+ readonly outputs: readonly [];
8382
+ readonly state_mutability: "external";
8383
+ }, {
8384
+ readonly type: "function";
8385
+ readonly name: "get_approved";
8386
+ readonly inputs: readonly [{
8387
+ readonly name: "token_id";
8388
+ readonly type: "core::integer::u256";
8389
+ }];
8390
+ readonly outputs: readonly [{
8391
+ readonly type: "core::starknet::contract_address::ContractAddress";
8392
+ }];
8393
+ readonly state_mutability: "view";
8394
+ }, {
8395
+ readonly type: "function";
8396
+ readonly name: "is_approved_for_all";
8397
+ readonly inputs: readonly [{
8398
+ readonly name: "owner";
8399
+ readonly type: "core::starknet::contract_address::ContractAddress";
8400
+ }, {
8401
+ readonly name: "operator";
8402
+ readonly type: "core::starknet::contract_address::ContractAddress";
8403
+ }];
8404
+ readonly outputs: readonly [{
8405
+ readonly type: "core::bool";
8406
+ }];
8407
+ readonly state_mutability: "view";
8408
+ }, {
8409
+ readonly type: "function";
8410
+ readonly name: "supports_interface";
8411
+ readonly inputs: readonly [{
8412
+ readonly name: "interface_id";
8413
+ readonly type: "core::felt252";
8414
+ }];
8415
+ readonly outputs: readonly [{
8416
+ readonly type: "core::bool";
8417
+ }];
8418
+ readonly state_mutability: "view";
8419
+ }, {
8420
+ readonly type: "function";
8421
+ readonly name: "name";
8422
+ readonly inputs: readonly [];
8423
+ readonly outputs: readonly [{
8424
+ readonly type: "core::byte_array::ByteArray";
8425
+ }];
8426
+ readonly state_mutability: "view";
8427
+ }, {
8428
+ readonly type: "function";
8429
+ readonly name: "symbol";
8430
+ readonly inputs: readonly [];
8431
+ readonly outputs: readonly [{
8432
+ readonly type: "core::byte_array::ByteArray";
8433
+ }];
8434
+ readonly state_mutability: "view";
8435
+ }, {
8436
+ readonly type: "function";
8437
+ readonly name: "token_uri";
8438
+ readonly inputs: readonly [{
8439
+ readonly name: "token_id";
8440
+ readonly type: "core::integer::u256";
8441
+ }];
8442
+ readonly outputs: readonly [{
8443
+ readonly type: "core::byte_array::ByteArray";
8444
+ }];
8445
+ readonly state_mutability: "view";
8446
+ }, {
8447
+ readonly type: "function";
8448
+ readonly name: "balanceOf";
8449
+ readonly inputs: readonly [{
8450
+ readonly name: "account";
8451
+ readonly type: "core::starknet::contract_address::ContractAddress";
8452
+ }];
8453
+ readonly outputs: readonly [{
8454
+ readonly type: "core::integer::u256";
8455
+ }];
8456
+ readonly state_mutability: "view";
8457
+ }, {
8458
+ readonly type: "function";
8459
+ readonly name: "ownerOf";
8460
+ readonly inputs: readonly [{
8461
+ readonly name: "tokenId";
8462
+ readonly type: "core::integer::u256";
8463
+ }];
8464
+ readonly outputs: readonly [{
8465
+ readonly type: "core::starknet::contract_address::ContractAddress";
8466
+ }];
8467
+ readonly state_mutability: "view";
8468
+ }, {
8469
+ readonly type: "function";
8470
+ readonly name: "safeTransferFrom";
8471
+ readonly inputs: readonly [{
8472
+ readonly name: "from";
8473
+ readonly type: "core::starknet::contract_address::ContractAddress";
8474
+ }, {
8475
+ readonly name: "to";
8476
+ readonly type: "core::starknet::contract_address::ContractAddress";
8477
+ }, {
8478
+ readonly name: "tokenId";
8479
+ readonly type: "core::integer::u256";
8480
+ }, {
8481
+ readonly name: "data";
8482
+ readonly type: "core::array::Span::<core::felt252>";
8483
+ }];
8484
+ readonly outputs: readonly [];
8485
+ readonly state_mutability: "external";
8486
+ }, {
8487
+ readonly type: "function";
8488
+ readonly name: "transferFrom";
8489
+ readonly inputs: readonly [{
8490
+ readonly name: "from";
8491
+ readonly type: "core::starknet::contract_address::ContractAddress";
8492
+ }, {
8493
+ readonly name: "to";
8494
+ readonly type: "core::starknet::contract_address::ContractAddress";
8495
+ }, {
8496
+ readonly name: "tokenId";
8497
+ readonly type: "core::integer::u256";
8498
+ }];
8499
+ readonly outputs: readonly [];
8500
+ readonly state_mutability: "external";
8501
+ }, {
8502
+ readonly type: "function";
8503
+ readonly name: "setApprovalForAll";
8504
+ readonly inputs: readonly [{
8505
+ readonly name: "operator";
8506
+ readonly type: "core::starknet::contract_address::ContractAddress";
8507
+ }, {
8508
+ readonly name: "approved";
8509
+ readonly type: "core::bool";
8510
+ }];
8511
+ readonly outputs: readonly [];
8512
+ readonly state_mutability: "external";
8513
+ }, {
8514
+ readonly type: "function";
8515
+ readonly name: "getApproved";
8516
+ readonly inputs: readonly [{
8517
+ readonly name: "tokenId";
8518
+ readonly type: "core::integer::u256";
8519
+ }];
8520
+ readonly outputs: readonly [{
8521
+ readonly type: "core::starknet::contract_address::ContractAddress";
8522
+ }];
8523
+ readonly state_mutability: "view";
8524
+ }, {
8525
+ readonly type: "function";
8526
+ readonly name: "isApprovedForAll";
8527
+ readonly inputs: readonly [{
8528
+ readonly name: "owner";
8529
+ readonly type: "core::starknet::contract_address::ContractAddress";
8530
+ }, {
8531
+ readonly name: "operator";
8532
+ readonly type: "core::starknet::contract_address::ContractAddress";
8533
+ }];
8534
+ readonly outputs: readonly [{
8535
+ readonly type: "core::bool";
8536
+ }];
8537
+ readonly state_mutability: "view";
8538
+ }, {
8539
+ readonly type: "function";
8540
+ readonly name: "tokenURI";
8541
+ readonly inputs: readonly [{
8542
+ readonly name: "tokenId";
8543
+ readonly type: "core::integer::u256";
8544
+ }];
8545
+ readonly outputs: readonly [{
8546
+ readonly type: "core::byte_array::ByteArray";
8547
+ }];
8548
+ readonly state_mutability: "view";
8549
+ }];
8550
+ }, {
8551
+ readonly type: "impl";
8552
+ readonly name: "OwnableMixinImpl";
8553
+ readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
8554
+ }, {
8555
+ readonly type: "interface";
8556
+ readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
8557
+ readonly items: readonly [{
8558
+ readonly type: "function";
8559
+ readonly name: "owner";
8560
+ readonly inputs: readonly [];
8561
+ readonly outputs: readonly [{
8562
+ readonly type: "core::starknet::contract_address::ContractAddress";
8563
+ }];
8564
+ readonly state_mutability: "view";
8565
+ }, {
8566
+ readonly type: "function";
8567
+ readonly name: "transfer_ownership";
8568
+ readonly inputs: readonly [{
8569
+ readonly name: "new_owner";
8570
+ readonly type: "core::starknet::contract_address::ContractAddress";
8571
+ }];
8572
+ readonly outputs: readonly [];
8573
+ readonly state_mutability: "external";
8574
+ }, {
8575
+ readonly type: "function";
8576
+ readonly name: "renounce_ownership";
8577
+ readonly inputs: readonly [];
8578
+ readonly outputs: readonly [];
8579
+ readonly state_mutability: "external";
8580
+ }, {
8581
+ readonly type: "function";
8582
+ readonly name: "transferOwnership";
8583
+ readonly inputs: readonly [{
8584
+ readonly name: "newOwner";
8585
+ readonly type: "core::starknet::contract_address::ContractAddress";
8586
+ }];
8587
+ readonly outputs: readonly [];
8588
+ readonly state_mutability: "external";
8589
+ }, {
8590
+ readonly type: "function";
8591
+ readonly name: "renounceOwnership";
8592
+ readonly inputs: readonly [];
8593
+ readonly outputs: readonly [];
8594
+ readonly state_mutability: "external";
8595
+ }];
8596
+ }, {
8597
+ readonly type: "impl";
8598
+ readonly name: "ERC721EnumerableImpl";
8599
+ readonly interface_name: "openzeppelin_token::erc721::extensions::erc721_enumerable::interface::IERC721Enumerable";
8600
+ }, {
8601
+ readonly type: "interface";
8602
+ readonly name: "openzeppelin_token::erc721::extensions::erc721_enumerable::interface::IERC721Enumerable";
8603
+ readonly items: readonly [{
8604
+ readonly type: "function";
8605
+ readonly name: "total_supply";
8606
+ readonly inputs: readonly [];
8607
+ readonly outputs: readonly [{
8608
+ readonly type: "core::integer::u256";
8609
+ }];
8610
+ readonly state_mutability: "view";
8611
+ }, {
8612
+ readonly type: "function";
8613
+ readonly name: "token_by_index";
8614
+ readonly inputs: readonly [{
8615
+ readonly name: "index";
8616
+ readonly type: "core::integer::u256";
8617
+ }];
8618
+ readonly outputs: readonly [{
8619
+ readonly type: "core::integer::u256";
8620
+ }];
8621
+ readonly state_mutability: "view";
8622
+ }, {
8623
+ readonly type: "function";
8624
+ readonly name: "token_of_owner_by_index";
8625
+ readonly inputs: readonly [{
8626
+ readonly name: "owner";
8627
+ readonly type: "core::starknet::contract_address::ContractAddress";
8628
+ }, {
8629
+ readonly name: "index";
8630
+ readonly type: "core::integer::u256";
8631
+ }];
8632
+ readonly outputs: readonly [{
8633
+ readonly type: "core::integer::u256";
8634
+ }];
8635
+ readonly state_mutability: "view";
8636
+ }];
8637
+ }, {
8638
+ readonly type: "constructor";
8639
+ readonly name: "constructor";
8640
+ readonly inputs: readonly [{
8641
+ readonly name: "owner";
8642
+ readonly type: "core::starknet::contract_address::ContractAddress";
8643
+ }];
8644
+ }, {
8645
+ readonly type: "event";
8646
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
8647
+ readonly kind: "struct";
8648
+ readonly members: readonly [{
8649
+ readonly name: "from";
8650
+ readonly type: "core::starknet::contract_address::ContractAddress";
8651
+ readonly kind: "key";
8652
+ }, {
8653
+ readonly name: "to";
8654
+ readonly type: "core::starknet::contract_address::ContractAddress";
8655
+ readonly kind: "key";
8656
+ }, {
8657
+ readonly name: "token_id";
8658
+ readonly type: "core::integer::u256";
8659
+ readonly kind: "key";
8660
+ }];
8661
+ }, {
8662
+ readonly type: "event";
8663
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
8664
+ readonly kind: "struct";
8665
+ readonly members: readonly [{
8666
+ readonly name: "owner";
8667
+ readonly type: "core::starknet::contract_address::ContractAddress";
8668
+ readonly kind: "key";
8669
+ }, {
8670
+ readonly name: "approved";
8671
+ readonly type: "core::starknet::contract_address::ContractAddress";
8672
+ readonly kind: "key";
8673
+ }, {
8674
+ readonly name: "token_id";
8675
+ readonly type: "core::integer::u256";
8676
+ readonly kind: "key";
8677
+ }];
8678
+ }, {
8679
+ readonly type: "event";
8680
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
8681
+ readonly kind: "struct";
8682
+ readonly members: readonly [{
8683
+ readonly name: "owner";
8684
+ readonly type: "core::starknet::contract_address::ContractAddress";
8685
+ readonly kind: "key";
8686
+ }, {
8687
+ readonly name: "operator";
8688
+ readonly type: "core::starknet::contract_address::ContractAddress";
8689
+ readonly kind: "key";
8690
+ }, {
8691
+ readonly name: "approved";
8692
+ readonly type: "core::bool";
8693
+ readonly kind: "data";
8694
+ }];
8695
+ }, {
8696
+ readonly type: "event";
8697
+ readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
8698
+ readonly kind: "enum";
8699
+ readonly variants: readonly [{
8700
+ readonly name: "Transfer";
8701
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
8702
+ readonly kind: "nested";
8703
+ }, {
8704
+ readonly name: "Approval";
8705
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
8706
+ readonly kind: "nested";
8707
+ }, {
8708
+ readonly name: "ApprovalForAll";
8709
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
8710
+ readonly kind: "nested";
8711
+ }];
8712
+ }, {
8713
+ readonly type: "event";
8714
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
8715
+ readonly kind: "struct";
8716
+ readonly members: readonly [{
8717
+ readonly name: "previous_owner";
8718
+ readonly type: "core::starknet::contract_address::ContractAddress";
8719
+ readonly kind: "key";
8720
+ }, {
8721
+ readonly name: "new_owner";
8722
+ readonly type: "core::starknet::contract_address::ContractAddress";
8723
+ readonly kind: "key";
8724
+ }];
8725
+ }, {
8726
+ readonly type: "event";
8727
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
8728
+ readonly kind: "struct";
8729
+ readonly members: readonly [{
8730
+ readonly name: "previous_owner";
8731
+ readonly type: "core::starknet::contract_address::ContractAddress";
8732
+ readonly kind: "key";
8733
+ }, {
8734
+ readonly name: "new_owner";
8735
+ readonly type: "core::starknet::contract_address::ContractAddress";
8736
+ readonly kind: "key";
8737
+ }];
8738
+ }, {
8739
+ readonly type: "event";
8740
+ readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
8741
+ readonly kind: "enum";
8742
+ readonly variants: readonly [{
8743
+ readonly name: "OwnershipTransferred";
8744
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
8745
+ readonly kind: "nested";
8746
+ }, {
8747
+ readonly name: "OwnershipTransferStarted";
8748
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
8749
+ readonly kind: "nested";
8750
+ }];
8751
+ }, {
8752
+ readonly type: "event";
8753
+ readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
8754
+ readonly kind: "enum";
8755
+ readonly variants: readonly [];
8756
+ }, {
8757
+ readonly type: "event";
8758
+ readonly name: "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event";
8759
+ readonly kind: "enum";
8760
+ readonly variants: readonly [];
8761
+ }, {
8762
+ readonly type: "event";
8763
+ readonly name: "mip::mip::MIP::CounterComponent::CounterIncremented";
8764
+ readonly kind: "struct";
8765
+ readonly members: readonly [{
8766
+ readonly name: "value";
8767
+ readonly type: "core::integer::u256";
8768
+ readonly kind: "data";
8769
+ }];
8770
+ }, {
8771
+ readonly type: "event";
8772
+ readonly name: "mip::mip::MIP::CounterComponent::CounterDecremented";
8773
+ readonly kind: "struct";
8774
+ readonly members: readonly [{
8775
+ readonly name: "value";
8776
+ readonly type: "core::integer::u256";
8777
+ readonly kind: "data";
8778
+ }];
8779
+ }, {
8780
+ readonly type: "event";
8781
+ readonly name: "mip::mip::MIP::CounterComponent::Event";
8782
+ readonly kind: "enum";
8783
+ readonly variants: readonly [{
8784
+ readonly name: "CounterIncremented";
8785
+ readonly type: "mip::mip::MIP::CounterComponent::CounterIncremented";
8786
+ readonly kind: "nested";
8787
+ }, {
8788
+ readonly name: "CounterDecremented";
8789
+ readonly type: "mip::mip::MIP::CounterComponent::CounterDecremented";
8790
+ readonly kind: "nested";
8791
+ }];
8792
+ }, {
8793
+ readonly type: "event";
8794
+ readonly name: "mip::mip::MIP::Event";
8795
+ readonly kind: "enum";
8796
+ readonly variants: readonly [{
8797
+ readonly name: "ERC721Event";
8798
+ readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
8799
+ readonly kind: "flat";
8800
+ }, {
8801
+ readonly name: "OwnableEvent";
8802
+ readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
8803
+ readonly kind: "flat";
8804
+ }, {
8805
+ readonly name: "SRC5Event";
8806
+ readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
8807
+ readonly kind: "flat";
8808
+ }, {
8809
+ readonly name: "ERC721EnumerableEvent";
8810
+ readonly type: "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event";
8811
+ readonly kind: "flat";
8812
+ }, {
8813
+ readonly name: "CounterEvent";
8814
+ readonly type: "mip::mip::MIP::CounterComponent::Event";
8815
+ readonly kind: "flat";
8816
+ }];
8817
+ }];
8818
+
8819
+ declare const LAUNCH_PRICE_QUOTE_PER_COIN = 0.01;
8820
+ declare const MIN_SUPPLY = 1000n;
8821
+ declare const MAX_SUPPLY = 1000000000000n;
8822
+ declare function validateName(s: string): string | null;
8823
+ declare function validateSymbol(s: string): string | null;
8824
+ declare function validateSupply(human: string): string | null;
8825
+ /** Human integer → raw base units (default 18-dec coin). */
8826
+ declare function toRaw(human: bigint, decimals?: number): bigint;
8827
+ /** Team allocation in raw coin units. `pct` is whole-percent 0–10. */
8828
+ declare function teamCoinsRaw(supplyRaw: bigint, pct: number): bigint;
8829
+ /** Quote (raw) needed to buy the team allocation back out of the pool:
8830
+ * teamCoins(human) × 0.01, in the quote token's raw units.
8831
+ * = teamCoinsRaw × 10^quoteDecimals / (100 × 10^18). For 18-dec quote → /100. */
8832
+ declare function buybackQuoteRaw(teamCoinsRawValue: bigint, quoteDecimals: number): bigint;
8833
+ /** Fully-diluted value (human, in quote) for the live preview. */
8834
+ declare function fdvHuman(supplyHuman: number): number;
8835
+
8836
+ /**
8837
+ * The Medialane service registry (05-service-model §II, §VI).
8838
+ * Canonical long-form IDs (01-core-model §III). SDK-resident in v1;
8839
+ * on-chain registry later (08-dao-governance §IV).
8840
+ *
8841
+ * `onchain` is keyed per chain (spec 2026-06-13 §3.1, Decision A): the SDK
8842
+ * registry is the single source of a service's coordinates on each chain.
8843
+ * Only STARKNET is populated today; adding a chain adds a key here.
8844
+ *
8845
+ * Phase 2B.2 of the service-model refactor. `ip-erc721` has no dedicated
8846
+ * on-chain constant in src/constants.ts, so its `onchain` is omitted rather
8847
+ * than invented (the genesis contract address ships with that service).
8848
+ */
8849
+ declare const SERVICES: {
8850
+ readonly "mip-erc721": {
8851
+ readonly id: "mip-erc721";
8852
+ readonly displayName: "IP Collection";
8853
+ readonly description: "Tokenize intellectual property as a per-creator ERC-721 collection.";
8854
+ readonly standard: "ERC721";
8855
+ readonly provenance: "MEDIALANE";
8856
+ readonly onchain: {
8857
+ readonly STARKNET: {
8858
+ readonly factoryAddress: `0x${string}`;
8859
+ readonly startBlock: number;
8860
+ };
8861
+ };
8862
+ readonly uiVariant: "standard";
8863
+ readonly capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"];
8864
+ readonly events: [{
8865
+ readonly name: "CollectionCreated";
8866
+ readonly emittedBy: "factory";
8867
+ }];
8868
+ readonly metadataSchema: {
8869
+ readonly licenseDefault: "CC BY-SA";
8870
+ };
8871
+ };
8872
+ readonly "ip-erc721": {
8873
+ readonly id: "ip-erc721";
8874
+ readonly displayName: "Programmable IP (genesis)";
8875
+ readonly description: "One shared ERC-721 contract; many wallets mint genesis pieces.";
8876
+ readonly standard: "ERC721";
8877
+ readonly provenance: "MEDIALANE";
8878
+ readonly uiVariant: "standard";
8879
+ readonly capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"];
8880
+ readonly metadataSchema: {
8881
+ readonly licenseDefault: "CC BY-SA";
8882
+ };
8883
+ };
8884
+ readonly "mip-erc1155": {
8885
+ readonly id: "mip-erc1155";
8886
+ readonly displayName: "NFT Editions";
8887
+ readonly description: "Per-creator ERC-1155 collection; creator mints editions.";
8888
+ readonly standard: "ERC1155";
8889
+ readonly provenance: "MEDIALANE";
8890
+ readonly onchain: {
8891
+ readonly STARKNET: {
8892
+ readonly factoryAddress: `0x${string}`;
8893
+ readonly classHash: `0x${string}`;
8894
+ readonly startBlock: number;
8895
+ };
8896
+ };
8897
+ readonly uiVariant: "edition";
8898
+ readonly capabilities: ["list", "buy", "make_offer", "cancel", "transfer", "mint", "remix", "license"];
8899
+ readonly events: [{
8900
+ readonly name: "CollectionDeployed";
8901
+ readonly emittedBy: "factory";
8902
+ }];
8903
+ readonly metadataSchema: {
8904
+ readonly licenseDefault: "CC BY-SA";
8905
+ };
8906
+ };
8907
+ readonly "pop-protocol": {
8908
+ readonly id: "pop-protocol";
8909
+ readonly displayName: "POP Protocol";
8910
+ readonly description: "Soulbound proof-of-presence collectibles per event.";
8911
+ readonly standard: "ERC721";
8912
+ readonly provenance: "MEDIALANE";
8913
+ readonly onchain: {
8914
+ readonly STARKNET: {
8915
+ readonly factoryAddress: `0x${string}`;
8916
+ readonly classHash: `0x${string}`;
8917
+ };
8918
+ };
8919
+ readonly uiVariant: "pop";
8920
+ readonly capabilities: ["claim", "transfer"];
8921
+ readonly events: [{
8922
+ readonly name: "CollectionCreated";
8923
+ readonly emittedBy: "factory";
8924
+ }, {
8925
+ readonly name: "AllowlistUpdated";
8926
+ readonly emittedBy: "instance";
8927
+ readonly poll: "slow";
8928
+ }];
8929
+ readonly metadataSchema: {
8930
+ readonly licenseDefault: "CC BY-SA";
8931
+ };
8932
+ };
8933
+ readonly "drop-collection": {
8934
+ readonly id: "drop-collection";
8935
+ readonly displayName: "Collection Drop";
8936
+ readonly description: "Sequential mint with claim windows + allowlist.";
8937
+ readonly standard: "ERC721";
8938
+ readonly provenance: "MEDIALANE";
8939
+ readonly onchain: {
8940
+ readonly STARKNET: {
8941
+ readonly factoryAddress: `0x${string}`;
8942
+ readonly classHash: `0x${string}`;
8943
+ };
8944
+ };
8945
+ readonly uiVariant: "drop";
8946
+ readonly capabilities: ["claim", "list", "buy", "make_offer", "cancel", "transfer"];
8947
+ readonly events: [{
8948
+ readonly name: "DropCreated";
8949
+ readonly emittedBy: "factory";
8950
+ }, {
8951
+ readonly name: "AllowlistUpdated";
8952
+ readonly emittedBy: "instance";
8953
+ readonly poll: "slow";
8954
+ }];
8955
+ readonly metadataSchema: {
8956
+ readonly licenseDefault: "CC BY-SA";
8957
+ };
8958
+ };
8959
+ readonly "ip-tickets": {
8960
+ readonly id: "ip-tickets";
8961
+ readonly displayName: "IP Tickets";
8962
+ readonly description: "Sell verifiable, redeemable tickets for events and experiences.";
8963
+ readonly standard: "ERC721";
8964
+ readonly provenance: "MEDIALANE";
8965
+ readonly uiVariant: "ticket";
8966
+ readonly capabilities: ["mint", "redeem", "transfer"];
8967
+ readonly events: [{
8968
+ readonly name: "CollectionDeployed";
8969
+ readonly emittedBy: "factory";
8970
+ }];
8971
+ readonly metadataSchema: {
8972
+ readonly licenseDefault: "CC BY-SA";
8973
+ };
8974
+ };
8975
+ readonly "ip-club": {
8976
+ readonly id: "ip-club";
8977
+ readonly displayName: "IP Club";
8978
+ readonly description: "Membership clubs with an on-chain NFT membership card.";
8979
+ readonly standard: "ERC721";
8980
+ readonly provenance: "MEDIALANE";
8981
+ readonly uiVariant: "club";
8982
+ readonly capabilities: ["subscribe", "transfer"];
8983
+ readonly events: [{
8984
+ readonly name: "NewClubCreated";
8985
+ readonly emittedBy: "factory";
8986
+ }];
8987
+ readonly metadataSchema: {
8988
+ readonly licenseDefault: "CC BY-SA";
8989
+ };
8990
+ };
8991
+ readonly "ip-sponsorship": {
8992
+ readonly id: "ip-sponsorship";
8993
+ readonly displayName: "IP Sponsorship";
8994
+ readonly description: "Sponsorship offers and licenses anchored to an existing Medialane asset.";
8995
+ readonly standard: "ERC721";
8996
+ readonly provenance: "MEDIALANE";
8997
+ readonly uiVariant: "standard";
8998
+ readonly capabilities: ["sponsor"];
8999
+ readonly metadataSchema: {
9000
+ readonly licenseDefault: "CC BY-SA";
9001
+ };
9002
+ };
9003
+ readonly "ip-sponsorship-license": {
9004
+ readonly id: "ip-sponsorship-license";
9005
+ readonly displayName: "Sponsorship License Receipt";
9006
+ readonly description: "Non-authoritative receipt NFT minted to a sponsor when a sponsorship bid is accepted.";
9007
+ readonly standard: "ERC721";
9008
+ readonly provenance: "MEDIALANE";
9009
+ readonly uiVariant: "standard";
9010
+ readonly capabilities: ["transfer"];
5904
9011
  readonly metadataSchema: {
5905
9012
  readonly licenseDefault: "CC BY-SA";
5906
9013
  };
@@ -6166,4 +9273,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
6166
9273
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
6167
9274
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
6168
9275
 
6169
- export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateGrantOpts, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DEFAULT_CURRENCY, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, PUBLIC_RPC_FALLBACKS, type ParsedAdminHeaders, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, adminRequestDigest, build1155CancellationTypedData, build1155OrderTypedData, buildAdminSessionTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createAdminSessionGrant, createFailoverFetch, encodeAdminHeaders, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAdminHeaders, parseAmount, parseCreatorCoinCreated, randomNonce, resolveConfig, resolveFeeConfig, sessionKeyHashOf, shortenAddress, signAdminRequest, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, verifyAdminRequestSig };
9276
+ export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, ClubService, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateClubParams, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateGrantOpts, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateSponsorshipOfferParams, type CreateTicketCollectionParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DEFAULT_CURRENCY, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPClubABI, IPClubNFTABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, PUBLIC_RPC_FALLBACKS, type ParsedAdminHeaders, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type RequestSiwsTokenArgs, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_NFT_CLASS_HASH, STARKNET_IP_CLUB_REGISTRY_CONTRACT, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_SPONSORSHIP_LICENSE_CONTRACT, STARKNET_IP_TICKETS_FACTORY_CONTRACT, STARKNET_IP_TICKET_COLLECTION_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SiwsSigner, type SortOrder, SponsorshipService, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, TicketService, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, adminRequestDigest, build1155CancellationTypedData, build1155OrderTypedData, buildAdminSessionTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createAdminSessionGrant, createFailoverFetch, encodeAdminHeaders, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getSiwsStorageKey, getStoredSiwsToken, getTokenByAddress, getTokenBySymbol, isServiceId, isSiwsTokenValid, isTransientRpcError, listServices, normalizeAddress, normalizeHash, normalizeSiwsSignature, parseAdminHeaders, parseAmount, parseCreatorCoinCreated, randomNonce, requestSiwsToken, resolveConfig, resolveFeeConfig, sessionKeyHashOf, shortenAddress, signAdminRequest, storeSiwsToken, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, verifyAdminRequestSig };