@medialane/sdk 0.66.0 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { C as Chain, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, h as VenueSigner } from './types-CIR6H6ul.cjs';
2
+ import { C as Chain, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, h as VenueSigner } from './types-2x30q_6p.js';
3
3
  import { AccountInterface, Call, ProviderInterface, TypedData, constants } from 'starknet';
4
4
 
5
5
  interface RetryOptions {
@@ -1332,9 +1332,26 @@ interface CreateSponsorshipOfferParams {
1332
1332
  paymentToken: string;
1333
1333
  licenseTermsUri: string;
1334
1334
  transferable: boolean;
1335
+ /** Basis points, 0–10000. EIP-2981 royalty to the author on license resale. */
1336
+ royaltyBps: bigint | string;
1335
1337
  /** Restricts acceptance to one sponsor address; omit for open bidding. */
1336
1338
  specificSponsor?: string;
1337
1339
  }
1340
+ /** Sponsor-initiated — the symmetric counterpart to CreateSponsorshipOfferParams. */
1341
+ interface ProposeSponsorshipParams {
1342
+ nftContract: string;
1343
+ tokenId: bigint | string;
1344
+ /** Fixed take-it-or-leave-it amount (not a bid floor). */
1345
+ amount: bigint | string;
1346
+ duration: number;
1347
+ /** Unix seconds; the deadline for the asset owner to accept. 0 = no deadline. */
1348
+ validUntil?: number;
1349
+ paymentToken: string;
1350
+ licenseTermsUri: string;
1351
+ transferable: boolean;
1352
+ /** Basis points, 0–10000. */
1353
+ royaltyBps: bigint | string;
1354
+ }
1338
1355
 
1339
1356
  declare class PopService {
1340
1357
  private readonly factoryAddress;
@@ -1720,11 +1737,50 @@ declare class ClubService {
1720
1737
  }): Promise<TxResult>;
1721
1738
  }
1722
1739
 
1740
+ interface SponsorshipOfferRecord {
1741
+ author: string;
1742
+ nftContract: string;
1743
+ tokenId: bigint;
1744
+ minAmount: bigint;
1745
+ duration: number;
1746
+ paymentToken: string;
1747
+ licenseTermsUri: string;
1748
+ transferable: boolean;
1749
+ specificSponsor: string | null;
1750
+ open: boolean;
1751
+ royaltyBps: bigint;
1752
+ }
1753
+ interface SponsorshipProposalRecord {
1754
+ proposer: string;
1755
+ nftContract: string;
1756
+ tokenId: bigint;
1757
+ amount: bigint;
1758
+ duration: number;
1759
+ /** Unix seconds; 0 = no deadline. */
1760
+ validUntil: number;
1761
+ paymentToken: string;
1762
+ licenseTermsUri: string;
1763
+ transferable: boolean;
1764
+ open: boolean;
1765
+ royaltyBps: bigint;
1766
+ }
1767
+ /**
1768
+ * IP Sponsorship v3 — one contract is both the offer/bid/proposal registry
1769
+ * AND the issued license collection (a standard ERC-721; embeds
1770
+ * ERC721Component directly, no separate receipt contract, no `set_minter`
1771
+ * bootstrap). `transferable`/expiry are declarative terms only — never
1772
+ * contract-enforced against a transfer — carried in `license_terms_uri`
1773
+ * metadata and the `LicenseMinted` event; the indexer, not this contract,
1774
+ * derives validity. A license moves through the standard ERC-721
1775
+ * `transfer_from`/`safe_transfer_from` on this same contract address, so
1776
+ * there is no bespoke transfer wrapper here.
1777
+ */
1723
1778
  declare class SponsorshipService {
1724
1779
  private readonly sponsorshipAddress?;
1725
- private readonly licenseReceiptAddress?;
1780
+ private readonly config;
1726
1781
  constructor(config: ResolvedConfig);
1727
- private _sponsorship;
1782
+ private _contract;
1783
+ private _contractRead;
1728
1784
  /** The offer author must currently own (nftContract, tokenId) — enforced on-chain at create and accept. */
1729
1785
  createOffer(account: AccountInterface, params: CreateSponsorshipOfferParams & {
1730
1786
  sponsorshipAddress?: string;
@@ -1747,32 +1803,69 @@ declare class SponsorshipService {
1747
1803
  sponsorshipAddress?: string;
1748
1804
  }): Promise<TxResult>;
1749
1805
  /**
1750
- * Author-only. Settles the sponsor's payment (allowance pull, no escrow) and
1751
- * mints a non-authoritative receipt NFT to the sponsor via the dedicated
1752
- * sponsorship-license IPGenesis instancenever the genesis-mint instance.
1753
- * `is_license_valid()` on IPSponsorship remains the sole authority for
1754
- * gating/perks; the receipt is a wallet-visible courtesy only.
1806
+ * Author-only. Re-verifies IP ownership, settles the sponsor's payment
1807
+ * (allowance pull, no escrow), and mints the license a real ERC-721 on
1808
+ * this same contractto the sponsor, all atomically in one call.
1755
1809
  */
1756
1810
  acceptBid(account: AccountInterface, params: {
1757
1811
  offerId: bigint | string;
1758
1812
  sponsor: string;
1759
- licenseTermsUri: string;
1760
1813
  sponsorshipAddress?: string;
1761
- licenseReceiptAddress?: string;
1814
+ }): Promise<TxResult>;
1815
+ proposeSponsorship(account: AccountInterface, params: ProposeSponsorshipParams & {
1816
+ sponsorshipAddress?: string;
1817
+ }): Promise<TxResult>;
1818
+ /** Proposer-only. Advisory against an acceptance in flight in the same block. */
1819
+ withdrawProposal(account: AccountInterface, params: {
1820
+ proposalId: bigint | string;
1821
+ sponsorshipAddress?: string;
1762
1822
  }): Promise<TxResult>;
1763
1823
  /**
1764
- * Best-effortbundles a receipt-NFT transfer alongside `transfer_license`
1765
- * when both `licenseReceiptAddress` and `receiptTokenId` are supplied.
1766
- * IPSponsorship's own license ownership stays authoritative regardless of
1767
- * whether the receipt NFT is kept in sync.
1824
+ * Asset-owner-only (re-verified on-chain — a proposal binds to the asset,
1825
+ * not a person: whoever owns it at acceptance time is paid and issues the
1826
+ * license). Settles payment and mints the license atomically, same as
1827
+ * `acceptBid`.
1768
1828
  */
1769
- transferLicense(account: AccountInterface, params: {
1770
- licenseId: bigint | string;
1771
- to: string;
1829
+ acceptProposal(account: AccountInterface, params: {
1830
+ proposalId: bigint | string;
1831
+ sponsorshipAddress?: string;
1832
+ }): Promise<TxResult>;
1833
+ /** Asset-owner-only. */
1834
+ rejectProposal(account: AccountInterface, params: {
1835
+ proposalId: bigint | string;
1772
1836
  sponsorshipAddress?: string;
1773
- licenseReceiptAddress?: string;
1774
- receiptTokenId?: bigint | string;
1775
1837
  }): Promise<TxResult>;
1838
+ getOffer(params: {
1839
+ offerId: bigint | string;
1840
+ sponsorshipAddress?: string;
1841
+ }): Promise<SponsorshipOfferRecord>;
1842
+ getBid(params: {
1843
+ offerId: bigint | string;
1844
+ sponsor: string;
1845
+ sponsorshipAddress?: string;
1846
+ }): Promise<bigint>;
1847
+ getProposal(params: {
1848
+ proposalId: bigint | string;
1849
+ sponsorshipAddress?: string;
1850
+ }): Promise<SponsorshipProposalRecord>;
1851
+ getLastOfferId(params?: {
1852
+ sponsorshipAddress?: string;
1853
+ }): Promise<bigint>;
1854
+ getLastProposalId(params?: {
1855
+ sponsorshipAddress?: string;
1856
+ }): Promise<bigint>;
1857
+ getLastLicenseId(params?: {
1858
+ sponsorshipAddress?: string;
1859
+ }): Promise<bigint>;
1860
+ /** EIP-2981 — royalty recipient (the license's issuing author) and amount owed on a resale at `salePrice`. */
1861
+ royaltyInfo(params: {
1862
+ licenseId: bigint | string;
1863
+ salePrice: bigint | string;
1864
+ sponsorshipAddress?: string;
1865
+ }): Promise<{
1866
+ recipient: string;
1867
+ amount: bigint;
1868
+ }>;
1776
1869
  }
1777
1870
 
1778
1871
  declare class MedialaneClient {
@@ -8392,8 +8485,21 @@ declare const IPClubCollectionABI: readonly [{
8392
8485
 
8393
8486
  declare const IPSponsorshipABI: readonly [{
8394
8487
  readonly type: "impl";
8395
- readonly name: "IPSponsorshipImpl";
8396
- readonly interface_name: "ip_sponsorship::interface::IIPSponsorship";
8488
+ readonly name: "ERC721MetadataImpl";
8489
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
8490
+ }, {
8491
+ readonly type: "struct";
8492
+ readonly name: "core::byte_array::ByteArray";
8493
+ readonly members: readonly [{
8494
+ readonly name: "data";
8495
+ readonly type: "core::array::Array::<core::bytes_31::bytes31>";
8496
+ }, {
8497
+ readonly name: "pending_word";
8498
+ readonly type: "core::felt252";
8499
+ }, {
8500
+ readonly name: "pending_word_len";
8501
+ readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
8502
+ }];
8397
8503
  }, {
8398
8504
  readonly type: "struct";
8399
8505
  readonly name: "core::integer::u256";
@@ -8405,18 +8511,59 @@ declare const IPSponsorshipABI: readonly [{
8405
8511
  readonly type: "core::integer::u128";
8406
8512
  }];
8407
8513
  }, {
8408
- readonly type: "struct";
8409
- readonly name: "core::byte_array::ByteArray";
8410
- readonly members: readonly [{
8411
- readonly name: "data";
8412
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
8514
+ readonly type: "interface";
8515
+ readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
8516
+ readonly items: readonly [{
8517
+ readonly type: "function";
8518
+ readonly name: "name";
8519
+ readonly inputs: readonly [];
8520
+ readonly outputs: readonly [{
8521
+ readonly type: "core::byte_array::ByteArray";
8522
+ }];
8523
+ readonly state_mutability: "view";
8413
8524
  }, {
8414
- readonly name: "pending_word";
8415
- readonly type: "core::felt252";
8525
+ readonly type: "function";
8526
+ readonly name: "symbol";
8527
+ readonly inputs: readonly [];
8528
+ readonly outputs: readonly [{
8529
+ readonly type: "core::byte_array::ByteArray";
8530
+ }];
8531
+ readonly state_mutability: "view";
8416
8532
  }, {
8417
- readonly name: "pending_word_len";
8418
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
8533
+ readonly type: "function";
8534
+ readonly name: "token_uri";
8535
+ readonly inputs: readonly [{
8536
+ readonly name: "token_id";
8537
+ readonly type: "core::integer::u256";
8538
+ }];
8539
+ readonly outputs: readonly [{
8540
+ readonly type: "core::byte_array::ByteArray";
8541
+ }];
8542
+ readonly state_mutability: "view";
8543
+ }];
8544
+ }, {
8545
+ readonly type: "impl";
8546
+ readonly name: "ERC721MetadataCamelOnlyImpl";
8547
+ readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
8548
+ }, {
8549
+ readonly type: "interface";
8550
+ readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
8551
+ readonly items: readonly [{
8552
+ readonly type: "function";
8553
+ readonly name: "tokenURI";
8554
+ readonly inputs: readonly [{
8555
+ readonly name: "tokenId";
8556
+ readonly type: "core::integer::u256";
8557
+ }];
8558
+ readonly outputs: readonly [{
8559
+ readonly type: "core::byte_array::ByteArray";
8560
+ }];
8561
+ readonly state_mutability: "view";
8419
8562
  }];
8563
+ }, {
8564
+ readonly type: "impl";
8565
+ readonly name: "IPSponsorshipImpl";
8566
+ readonly interface_name: "ip_sponsorship::interface::IIPSponsorship";
8420
8567
  }, {
8421
8568
  readonly type: "enum";
8422
8569
  readonly name: "core::bool";
@@ -8470,15 +8617,15 @@ declare const IPSponsorshipABI: readonly [{
8470
8617
  }, {
8471
8618
  readonly name: "open";
8472
8619
  readonly type: "core::bool";
8620
+ }, {
8621
+ readonly name: "royalty_bps";
8622
+ readonly type: "core::integer::u256";
8473
8623
  }];
8474
8624
  }, {
8475
8625
  readonly type: "struct";
8476
- readonly name: "ip_sponsorship::types::License";
8626
+ readonly name: "ip_sponsorship::types::SponsorshipProposal";
8477
8627
  readonly members: readonly [{
8478
- readonly name: "author";
8479
- readonly type: "core::starknet::contract_address::ContractAddress";
8480
- }, {
8481
- readonly name: "sponsor";
8628
+ readonly name: "proposer";
8482
8629
  readonly type: "core::starknet::contract_address::ContractAddress";
8483
8630
  }, {
8484
8631
  readonly name: "nft_contract";
@@ -8487,17 +8634,29 @@ declare const IPSponsorshipABI: readonly [{
8487
8634
  readonly name: "token_id";
8488
8635
  readonly type: "core::integer::u256";
8489
8636
  }, {
8490
- readonly name: "amount_paid";
8637
+ readonly name: "amount";
8491
8638
  readonly type: "core::integer::u256";
8492
8639
  }, {
8493
- readonly name: "expires_at";
8640
+ readonly name: "duration";
8494
8641
  readonly type: "core::integer::u64";
8495
8642
  }, {
8496
- readonly name: "transferable";
8497
- readonly type: "core::bool";
8643
+ readonly name: "valid_until";
8644
+ readonly type: "core::integer::u64";
8645
+ }, {
8646
+ readonly name: "payment_token";
8647
+ readonly type: "core::starknet::contract_address::ContractAddress";
8498
8648
  }, {
8499
8649
  readonly name: "license_terms_uri";
8500
8650
  readonly type: "core::byte_array::ByteArray";
8651
+ }, {
8652
+ readonly name: "transferable";
8653
+ readonly type: "core::bool";
8654
+ }, {
8655
+ readonly name: "open";
8656
+ readonly type: "core::bool";
8657
+ }, {
8658
+ readonly name: "royalty_bps";
8659
+ readonly type: "core::integer::u256";
8501
8660
  }];
8502
8661
  }, {
8503
8662
  readonly type: "interface";
@@ -8526,6 +8685,9 @@ declare const IPSponsorshipABI: readonly [{
8526
8685
  }, {
8527
8686
  readonly name: "transferable";
8528
8687
  readonly type: "core::bool";
8688
+ }, {
8689
+ readonly name: "royalty_bps";
8690
+ readonly type: "core::integer::u256";
8529
8691
  }, {
8530
8692
  readonly name: "specific_sponsor";
8531
8693
  readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
@@ -8581,18 +8743,6 @@ declare const IPSponsorshipABI: readonly [{
8581
8743
  readonly type: "core::integer::u256";
8582
8744
  }];
8583
8745
  readonly state_mutability: "external";
8584
- }, {
8585
- readonly type: "function";
8586
- readonly name: "transfer_license";
8587
- readonly inputs: readonly [{
8588
- readonly name: "license_id";
8589
- readonly type: "core::integer::u256";
8590
- }, {
8591
- readonly name: "to";
8592
- readonly type: "core::starknet::contract_address::ContractAddress";
8593
- }];
8594
- readonly outputs: readonly [];
8595
- readonly state_mutability: "external";
8596
8746
  }, {
8597
8747
  readonly type: "function";
8598
8748
  readonly name: "get_offer";
@@ -8620,452 +8770,115 @@ declare const IPSponsorshipABI: readonly [{
8620
8770
  readonly state_mutability: "view";
8621
8771
  }, {
8622
8772
  readonly type: "function";
8623
- readonly name: "get_license";
8624
- readonly inputs: readonly [{
8625
- readonly name: "license_id";
8773
+ readonly name: "get_last_offer_id";
8774
+ readonly inputs: readonly [];
8775
+ readonly outputs: readonly [{
8626
8776
  readonly type: "core::integer::u256";
8627
8777
  }];
8778
+ readonly state_mutability: "view";
8779
+ }, {
8780
+ readonly type: "function";
8781
+ readonly name: "get_last_license_id";
8782
+ readonly inputs: readonly [];
8628
8783
  readonly outputs: readonly [{
8629
- readonly type: "ip_sponsorship::types::License";
8784
+ readonly type: "core::integer::u256";
8630
8785
  }];
8631
8786
  readonly state_mutability: "view";
8632
8787
  }, {
8633
8788
  readonly type: "function";
8634
- readonly name: "is_license_valid";
8789
+ readonly name: "propose_sponsorship";
8635
8790
  readonly inputs: readonly [{
8636
- readonly name: "license_id";
8791
+ readonly name: "nft_contract";
8792
+ readonly type: "core::starknet::contract_address::ContractAddress";
8793
+ }, {
8794
+ readonly name: "token_id";
8795
+ readonly type: "core::integer::u256";
8796
+ }, {
8797
+ readonly name: "amount";
8798
+ readonly type: "core::integer::u256";
8799
+ }, {
8800
+ readonly name: "duration";
8801
+ readonly type: "core::integer::u64";
8802
+ }, {
8803
+ readonly name: "valid_until";
8804
+ readonly type: "core::integer::u64";
8805
+ }, {
8806
+ readonly name: "payment_token";
8807
+ readonly type: "core::starknet::contract_address::ContractAddress";
8808
+ }, {
8809
+ readonly name: "license_terms_uri";
8810
+ readonly type: "core::byte_array::ByteArray";
8811
+ }, {
8812
+ readonly name: "transferable";
8813
+ readonly type: "core::bool";
8814
+ }, {
8815
+ readonly name: "royalty_bps";
8637
8816
  readonly type: "core::integer::u256";
8638
8817
  }];
8639
8818
  readonly outputs: readonly [{
8640
- readonly type: "core::bool";
8819
+ readonly type: "core::integer::u256";
8641
8820
  }];
8642
- readonly state_mutability: "view";
8821
+ readonly state_mutability: "external";
8643
8822
  }, {
8644
8823
  readonly type: "function";
8645
- readonly name: "get_last_offer_id";
8646
- readonly inputs: readonly [];
8824
+ readonly name: "withdraw_proposal";
8825
+ readonly inputs: readonly [{
8826
+ readonly name: "proposal_id";
8827
+ readonly type: "core::integer::u256";
8828
+ }];
8829
+ readonly outputs: readonly [];
8830
+ readonly state_mutability: "external";
8831
+ }, {
8832
+ readonly type: "function";
8833
+ readonly name: "accept_proposal";
8834
+ readonly inputs: readonly [{
8835
+ readonly name: "proposal_id";
8836
+ readonly type: "core::integer::u256";
8837
+ }];
8647
8838
  readonly outputs: readonly [{
8648
8839
  readonly type: "core::integer::u256";
8649
8840
  }];
8841
+ readonly state_mutability: "external";
8842
+ }, {
8843
+ readonly type: "function";
8844
+ readonly name: "reject_proposal";
8845
+ readonly inputs: readonly [{
8846
+ readonly name: "proposal_id";
8847
+ readonly type: "core::integer::u256";
8848
+ }];
8849
+ readonly outputs: readonly [];
8850
+ readonly state_mutability: "external";
8851
+ }, {
8852
+ readonly type: "function";
8853
+ readonly name: "get_proposal";
8854
+ readonly inputs: readonly [{
8855
+ readonly name: "proposal_id";
8856
+ readonly type: "core::integer::u256";
8857
+ }];
8858
+ readonly outputs: readonly [{
8859
+ readonly type: "ip_sponsorship::types::SponsorshipProposal";
8860
+ }];
8650
8861
  readonly state_mutability: "view";
8651
8862
  }, {
8652
8863
  readonly type: "function";
8653
- readonly name: "get_last_license_id";
8864
+ readonly name: "get_last_proposal_id";
8654
8865
  readonly inputs: readonly [];
8655
8866
  readonly outputs: readonly [{
8656
8867
  readonly type: "core::integer::u256";
8657
8868
  }];
8658
8869
  readonly state_mutability: "view";
8659
- }];
8660
- }, {
8661
- readonly type: "impl";
8662
- readonly name: "SRC5Impl";
8663
- readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
8664
- }, {
8665
- readonly type: "interface";
8666
- readonly name: "openzeppelin_introspection::interface::ISRC5";
8667
- readonly items: readonly [{
8870
+ }, {
8668
8871
  readonly type: "function";
8669
- readonly name: "supports_interface";
8872
+ readonly name: "royalty_info";
8670
8873
  readonly inputs: readonly [{
8671
- readonly name: "interface_id";
8672
- readonly type: "core::felt252";
8874
+ readonly name: "token_id";
8875
+ readonly type: "core::integer::u256";
8876
+ }, {
8877
+ readonly name: "sale_price";
8878
+ readonly type: "core::integer::u256";
8673
8879
  }];
8674
8880
  readonly outputs: readonly [{
8675
- readonly type: "core::bool";
8676
- }];
8677
- readonly state_mutability: "view";
8678
- }];
8679
- }, {
8680
- readonly type: "constructor";
8681
- readonly name: "constructor";
8682
- readonly inputs: readonly [];
8683
- }, {
8684
- readonly type: "event";
8685
- readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
8686
- readonly kind: "enum";
8687
- readonly variants: readonly [];
8688
- }, {
8689
- readonly type: "event";
8690
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
8691
- readonly kind: "struct";
8692
- readonly members: readonly [{
8693
- readonly name: "offer_id";
8694
- readonly type: "core::integer::u256";
8695
- readonly kind: "key";
8696
- }, {
8697
- readonly name: "author";
8698
- readonly type: "core::starknet::contract_address::ContractAddress";
8699
- readonly kind: "key";
8700
- }, {
8701
- readonly name: "nft_contract";
8702
- readonly type: "core::starknet::contract_address::ContractAddress";
8703
- readonly kind: "key";
8704
- }, {
8705
- readonly name: "token_id";
8706
- readonly type: "core::integer::u256";
8707
- readonly kind: "data";
8708
- }, {
8709
- readonly name: "min_amount";
8710
- readonly type: "core::integer::u256";
8711
- readonly kind: "data";
8712
- }, {
8713
- readonly name: "duration";
8714
- readonly type: "core::integer::u64";
8715
- readonly kind: "data";
8716
- }, {
8717
- readonly name: "payment_token";
8718
- readonly type: "core::starknet::contract_address::ContractAddress";
8719
- readonly kind: "data";
8720
- }, {
8721
- readonly name: "license_terms_uri";
8722
- readonly type: "core::byte_array::ByteArray";
8723
- readonly kind: "data";
8724
- }, {
8725
- readonly name: "transferable";
8726
- readonly type: "core::bool";
8727
- readonly kind: "data";
8728
- }, {
8729
- readonly name: "specific_sponsor";
8730
- readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
8731
- readonly kind: "data";
8732
- }, {
8733
- readonly name: "created_at";
8734
- readonly type: "core::integer::u64";
8735
- readonly kind: "data";
8736
- }];
8737
- }, {
8738
- readonly type: "event";
8739
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
8740
- readonly kind: "struct";
8741
- readonly members: readonly [{
8742
- readonly name: "offer_id";
8743
- readonly type: "core::integer::u256";
8744
- readonly kind: "key";
8745
- }, {
8746
- readonly name: "open";
8747
- readonly type: "core::bool";
8748
- readonly kind: "data";
8749
- }, {
8750
- readonly name: "updated_at";
8751
- readonly type: "core::integer::u64";
8752
- readonly kind: "data";
8753
- }];
8754
- }, {
8755
- readonly type: "event";
8756
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
8757
- readonly kind: "struct";
8758
- readonly members: readonly [{
8759
- readonly name: "offer_id";
8760
- readonly type: "core::integer::u256";
8761
- readonly kind: "key";
8762
- }, {
8763
- readonly name: "sponsor";
8764
- readonly type: "core::starknet::contract_address::ContractAddress";
8765
- readonly kind: "key";
8766
- }, {
8767
- readonly name: "amount";
8768
- readonly type: "core::integer::u256";
8769
- readonly kind: "data";
8770
- }, {
8771
- readonly name: "bid_at";
8772
- readonly type: "core::integer::u64";
8773
- readonly kind: "data";
8774
- }];
8775
- }, {
8776
- readonly type: "event";
8777
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
8778
- readonly kind: "struct";
8779
- readonly members: readonly [{
8780
- readonly name: "offer_id";
8781
- readonly type: "core::integer::u256";
8782
- readonly kind: "key";
8783
- }, {
8784
- readonly name: "sponsor";
8785
- readonly type: "core::starknet::contract_address::ContractAddress";
8786
- readonly kind: "key";
8787
- }, {
8788
- readonly name: "retracted_at";
8789
- readonly type: "core::integer::u64";
8790
- readonly kind: "data";
8791
- }];
8792
- }, {
8793
- readonly type: "event";
8794
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8795
- readonly kind: "struct";
8796
- readonly members: readonly [{
8797
- readonly name: "offer_id";
8798
- readonly type: "core::integer::u256";
8799
- readonly kind: "key";
8800
- }, {
8801
- readonly name: "license_id";
8802
- readonly type: "core::integer::u256";
8803
- readonly kind: "key";
8804
- }, {
8805
- readonly name: "sponsor";
8806
- readonly type: "core::starknet::contract_address::ContractAddress";
8807
- readonly kind: "key";
8808
- }, {
8809
- readonly name: "author";
8810
- readonly type: "core::starknet::contract_address::ContractAddress";
8811
- readonly kind: "data";
8812
- }, {
8813
- readonly name: "amount";
8814
- readonly type: "core::integer::u256";
8815
- readonly kind: "data";
8816
- }, {
8817
- readonly name: "expires_at";
8818
- readonly type: "core::integer::u64";
8819
- readonly kind: "data";
8820
- }];
8821
- }, {
8822
- readonly type: "event";
8823
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
8824
- readonly kind: "struct";
8825
- readonly members: readonly [{
8826
- readonly name: "license_id";
8827
- readonly type: "core::integer::u256";
8828
- readonly kind: "key";
8829
- }, {
8830
- readonly name: "from";
8831
- readonly type: "core::starknet::contract_address::ContractAddress";
8832
- readonly kind: "key";
8833
- }, {
8834
- readonly name: "to";
8835
- readonly type: "core::starknet::contract_address::ContractAddress";
8836
- readonly kind: "key";
8837
- }, {
8838
- readonly name: "transferred_at";
8839
- readonly type: "core::integer::u64";
8840
- readonly kind: "data";
8841
- }];
8842
- }, {
8843
- readonly type: "event";
8844
- readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::Event";
8845
- readonly kind: "enum";
8846
- readonly variants: readonly [{
8847
- readonly name: "SRC5Event";
8848
- readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
8849
- readonly kind: "flat";
8850
- }, {
8851
- readonly name: "OfferCreated";
8852
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
8853
- readonly kind: "nested";
8854
- }, {
8855
- readonly name: "OfferStatusUpdated";
8856
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
8857
- readonly kind: "nested";
8858
- }, {
8859
- readonly name: "BidPlaced";
8860
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
8861
- readonly kind: "nested";
8862
- }, {
8863
- readonly name: "BidRetracted";
8864
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
8865
- readonly kind: "nested";
8866
- }, {
8867
- readonly name: "SponsorshipAccepted";
8868
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
8869
- readonly kind: "nested";
8870
- }, {
8871
- readonly name: "LicenseTransferred";
8872
- readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
8873
- readonly kind: "nested";
8874
- }];
8875
- }];
8876
-
8877
- declare const IPSponsorshipLicenseABI: readonly [{
8878
- readonly type: "impl";
8879
- readonly name: "ERC721MetadataImpl";
8880
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
8881
- }, {
8882
- readonly type: "struct";
8883
- readonly name: "core::byte_array::ByteArray";
8884
- readonly members: readonly [{
8885
- readonly name: "data";
8886
- readonly type: "core::array::Array::<core::bytes_31::bytes31>";
8887
- }, {
8888
- readonly name: "pending_word";
8889
- readonly type: "core::felt252";
8890
- }, {
8891
- readonly name: "pending_word_len";
8892
- readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
8893
- }];
8894
- }, {
8895
- readonly type: "struct";
8896
- readonly name: "core::integer::u256";
8897
- readonly members: readonly [{
8898
- readonly name: "low";
8899
- readonly type: "core::integer::u128";
8900
- }, {
8901
- readonly name: "high";
8902
- readonly type: "core::integer::u128";
8903
- }];
8904
- }, {
8905
- readonly type: "interface";
8906
- readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
8907
- readonly items: readonly [{
8908
- readonly type: "function";
8909
- readonly name: "name";
8910
- readonly inputs: readonly [];
8911
- readonly outputs: readonly [{
8912
- readonly type: "core::byte_array::ByteArray";
8913
- }];
8914
- readonly state_mutability: "view";
8915
- }, {
8916
- readonly type: "function";
8917
- readonly name: "symbol";
8918
- readonly inputs: readonly [];
8919
- readonly outputs: readonly [{
8920
- readonly type: "core::byte_array::ByteArray";
8921
- }];
8922
- readonly state_mutability: "view";
8923
- }, {
8924
- readonly type: "function";
8925
- readonly name: "token_uri";
8926
- readonly inputs: readonly [{
8927
- readonly name: "token_id";
8928
- readonly type: "core::integer::u256";
8929
- }];
8930
- readonly outputs: readonly [{
8931
- readonly type: "core::byte_array::ByteArray";
8932
- }];
8933
- readonly state_mutability: "view";
8934
- }];
8935
- }, {
8936
- readonly type: "impl";
8937
- readonly name: "ERC721MetadataCamelOnlyImpl";
8938
- readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
8939
- }, {
8940
- readonly type: "interface";
8941
- readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
8942
- readonly items: readonly [{
8943
- readonly type: "function";
8944
- readonly name: "tokenURI";
8945
- readonly inputs: readonly [{
8946
- readonly name: "tokenId";
8947
- readonly type: "core::integer::u256";
8948
- }];
8949
- readonly outputs: readonly [{
8950
- readonly type: "core::byte_array::ByteArray";
8951
- }];
8952
- readonly state_mutability: "view";
8953
- }];
8954
- }, {
8955
- readonly type: "impl";
8956
- readonly name: "IPSponsorshipLicenseImpl";
8957
- readonly interface_name: "ip_sponsorship::interface::IIPSponsorshipLicense";
8958
- }, {
8959
- readonly type: "enum";
8960
- readonly name: "core::bool";
8961
- readonly variants: readonly [{
8962
- readonly name: "False";
8963
- readonly type: "()";
8964
- }, {
8965
- readonly name: "True";
8966
- readonly type: "()";
8967
- }];
8968
- }, {
8969
- readonly type: "struct";
8970
- readonly name: "ip_sponsorship::types::LicenseData";
8971
- readonly members: readonly [{
8972
- readonly name: "author";
8973
- readonly type: "core::starknet::contract_address::ContractAddress";
8974
- }, {
8975
- readonly name: "asset_contract";
8976
- readonly type: "core::starknet::contract_address::ContractAddress";
8977
- }, {
8978
- readonly name: "asset_token_id";
8979
- readonly type: "core::integer::u256";
8980
- }, {
8981
- readonly name: "expires_at";
8982
- readonly type: "core::integer::u64";
8983
- }, {
8984
- readonly name: "transferable";
8985
- readonly type: "core::bool";
8986
- }, {
8987
- readonly name: "royalty_bps";
8988
- readonly type: "core::integer::u256";
8989
- }, {
8990
- readonly name: "license_terms_uri";
8991
- readonly type: "core::byte_array::ByteArray";
8992
- }];
8993
- }, {
8994
- readonly type: "interface";
8995
- readonly name: "ip_sponsorship::interface::IIPSponsorshipLicense";
8996
- readonly items: readonly [{
8997
- readonly type: "function";
8998
- readonly name: "set_minter";
8999
- readonly inputs: readonly [{
9000
- readonly name: "minter";
9001
- readonly type: "core::starknet::contract_address::ContractAddress";
9002
- }];
9003
- readonly outputs: readonly [];
9004
- readonly state_mutability: "external";
9005
- }, {
9006
- readonly type: "function";
9007
- readonly name: "get_minter";
9008
- readonly inputs: readonly [];
9009
- readonly outputs: readonly [{
9010
- readonly type: "core::starknet::contract_address::ContractAddress";
9011
- }];
9012
- readonly state_mutability: "view";
9013
- }, {
9014
- readonly type: "function";
9015
- readonly name: "mint";
9016
- readonly inputs: readonly [{
9017
- readonly name: "recipient";
9018
- readonly type: "core::starknet::contract_address::ContractAddress";
9019
- }, {
9020
- readonly name: "data";
9021
- readonly type: "ip_sponsorship::types::LicenseData";
9022
- }];
9023
- readonly outputs: readonly [{
9024
- readonly type: "core::integer::u256";
9025
- }];
9026
- readonly state_mutability: "external";
9027
- }, {
9028
- readonly type: "function";
9029
- readonly name: "get_license_data";
9030
- readonly inputs: readonly [{
9031
- readonly name: "token_id";
9032
- readonly type: "core::integer::u256";
9033
- }];
9034
- readonly outputs: readonly [{
9035
- readonly type: "ip_sponsorship::types::LicenseData";
9036
- }];
9037
- readonly state_mutability: "view";
9038
- }, {
9039
- readonly type: "function";
9040
- readonly name: "is_license_valid";
9041
- readonly inputs: readonly [{
9042
- readonly name: "token_id";
9043
- readonly type: "core::integer::u256";
9044
- }];
9045
- readonly outputs: readonly [{
9046
- readonly type: "core::bool";
9047
- }];
9048
- readonly state_mutability: "view";
9049
- }, {
9050
- readonly type: "function";
9051
- readonly name: "last_license_id";
9052
- readonly inputs: readonly [];
9053
- readonly outputs: readonly [{
9054
- readonly type: "core::integer::u256";
9055
- }];
9056
- readonly state_mutability: "view";
9057
- }, {
9058
- readonly type: "function";
9059
- readonly name: "royalty_info";
9060
- readonly inputs: readonly [{
9061
- readonly name: "token_id";
9062
- readonly type: "core::integer::u256";
9063
- }, {
9064
- readonly name: "sale_price";
9065
- readonly type: "core::integer::u256";
9066
- }];
9067
- readonly outputs: readonly [{
9068
- readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
8881
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
9069
8882
  }];
9070
8883
  readonly state_mutability: "view";
9071
8884
  }, {
@@ -9414,7 +9227,243 @@ declare const IPSponsorshipLicenseABI: readonly [{
9414
9227
  readonly variants: readonly [];
9415
9228
  }, {
9416
9229
  readonly type: "event";
9417
- readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
9230
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
9231
+ readonly kind: "struct";
9232
+ readonly members: readonly [{
9233
+ readonly name: "offer_id";
9234
+ readonly type: "core::integer::u256";
9235
+ readonly kind: "key";
9236
+ }, {
9237
+ readonly name: "author";
9238
+ readonly type: "core::starknet::contract_address::ContractAddress";
9239
+ readonly kind: "key";
9240
+ }, {
9241
+ readonly name: "nft_contract";
9242
+ readonly type: "core::starknet::contract_address::ContractAddress";
9243
+ readonly kind: "key";
9244
+ }, {
9245
+ readonly name: "token_id";
9246
+ readonly type: "core::integer::u256";
9247
+ readonly kind: "data";
9248
+ }, {
9249
+ readonly name: "min_amount";
9250
+ readonly type: "core::integer::u256";
9251
+ readonly kind: "data";
9252
+ }, {
9253
+ readonly name: "duration";
9254
+ readonly type: "core::integer::u64";
9255
+ readonly kind: "data";
9256
+ }, {
9257
+ readonly name: "payment_token";
9258
+ readonly type: "core::starknet::contract_address::ContractAddress";
9259
+ readonly kind: "data";
9260
+ }, {
9261
+ readonly name: "license_terms_uri";
9262
+ readonly type: "core::byte_array::ByteArray";
9263
+ readonly kind: "data";
9264
+ }, {
9265
+ readonly name: "transferable";
9266
+ readonly type: "core::bool";
9267
+ readonly kind: "data";
9268
+ }, {
9269
+ readonly name: "royalty_bps";
9270
+ readonly type: "core::integer::u256";
9271
+ readonly kind: "data";
9272
+ }, {
9273
+ readonly name: "specific_sponsor";
9274
+ readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
9275
+ readonly kind: "data";
9276
+ }, {
9277
+ readonly name: "created_at";
9278
+ readonly type: "core::integer::u64";
9279
+ readonly kind: "data";
9280
+ }];
9281
+ }, {
9282
+ readonly type: "event";
9283
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
9284
+ readonly kind: "struct";
9285
+ readonly members: readonly [{
9286
+ readonly name: "offer_id";
9287
+ readonly type: "core::integer::u256";
9288
+ readonly kind: "key";
9289
+ }, {
9290
+ readonly name: "open";
9291
+ readonly type: "core::bool";
9292
+ readonly kind: "data";
9293
+ }, {
9294
+ readonly name: "updated_at";
9295
+ readonly type: "core::integer::u64";
9296
+ readonly kind: "data";
9297
+ }];
9298
+ }, {
9299
+ readonly type: "event";
9300
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
9301
+ readonly kind: "struct";
9302
+ readonly members: readonly [{
9303
+ readonly name: "offer_id";
9304
+ readonly type: "core::integer::u256";
9305
+ readonly kind: "key";
9306
+ }, {
9307
+ readonly name: "sponsor";
9308
+ readonly type: "core::starknet::contract_address::ContractAddress";
9309
+ readonly kind: "key";
9310
+ }, {
9311
+ readonly name: "amount";
9312
+ readonly type: "core::integer::u256";
9313
+ readonly kind: "data";
9314
+ }, {
9315
+ readonly name: "bid_at";
9316
+ readonly type: "core::integer::u64";
9317
+ readonly kind: "data";
9318
+ }];
9319
+ }, {
9320
+ readonly type: "event";
9321
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
9322
+ readonly kind: "struct";
9323
+ readonly members: readonly [{
9324
+ readonly name: "offer_id";
9325
+ readonly type: "core::integer::u256";
9326
+ readonly kind: "key";
9327
+ }, {
9328
+ readonly name: "sponsor";
9329
+ readonly type: "core::starknet::contract_address::ContractAddress";
9330
+ readonly kind: "key";
9331
+ }, {
9332
+ readonly name: "retracted_at";
9333
+ readonly type: "core::integer::u64";
9334
+ readonly kind: "data";
9335
+ }];
9336
+ }, {
9337
+ readonly type: "event";
9338
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
9339
+ readonly kind: "struct";
9340
+ readonly members: readonly [{
9341
+ readonly name: "offer_id";
9342
+ readonly type: "core::integer::u256";
9343
+ readonly kind: "key";
9344
+ }, {
9345
+ readonly name: "license_id";
9346
+ readonly type: "core::integer::u256";
9347
+ readonly kind: "key";
9348
+ }, {
9349
+ readonly name: "sponsor";
9350
+ readonly type: "core::starknet::contract_address::ContractAddress";
9351
+ readonly kind: "key";
9352
+ }, {
9353
+ readonly name: "author";
9354
+ readonly type: "core::starknet::contract_address::ContractAddress";
9355
+ readonly kind: "data";
9356
+ }, {
9357
+ readonly name: "amount";
9358
+ readonly type: "core::integer::u256";
9359
+ readonly kind: "data";
9360
+ }, {
9361
+ readonly name: "expires_at";
9362
+ readonly type: "core::integer::u64";
9363
+ readonly kind: "data";
9364
+ }];
9365
+ }, {
9366
+ readonly type: "event";
9367
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalCreated";
9368
+ readonly kind: "struct";
9369
+ readonly members: readonly [{
9370
+ readonly name: "proposal_id";
9371
+ readonly type: "core::integer::u256";
9372
+ readonly kind: "key";
9373
+ }, {
9374
+ readonly name: "proposer";
9375
+ readonly type: "core::starknet::contract_address::ContractAddress";
9376
+ readonly kind: "key";
9377
+ }, {
9378
+ readonly name: "nft_contract";
9379
+ readonly type: "core::starknet::contract_address::ContractAddress";
9380
+ readonly kind: "key";
9381
+ }, {
9382
+ readonly name: "token_id";
9383
+ readonly type: "core::integer::u256";
9384
+ readonly kind: "data";
9385
+ }, {
9386
+ readonly name: "amount";
9387
+ readonly type: "core::integer::u256";
9388
+ readonly kind: "data";
9389
+ }, {
9390
+ readonly name: "duration";
9391
+ readonly type: "core::integer::u64";
9392
+ readonly kind: "data";
9393
+ }, {
9394
+ readonly name: "valid_until";
9395
+ readonly type: "core::integer::u64";
9396
+ readonly kind: "data";
9397
+ }, {
9398
+ readonly name: "payment_token";
9399
+ readonly type: "core::starknet::contract_address::ContractAddress";
9400
+ readonly kind: "data";
9401
+ }, {
9402
+ readonly name: "license_terms_uri";
9403
+ readonly type: "core::byte_array::ByteArray";
9404
+ readonly kind: "data";
9405
+ }, {
9406
+ readonly name: "transferable";
9407
+ readonly type: "core::bool";
9408
+ readonly kind: "data";
9409
+ }, {
9410
+ readonly name: "royalty_bps";
9411
+ readonly type: "core::integer::u256";
9412
+ readonly kind: "data";
9413
+ }, {
9414
+ readonly name: "created_at";
9415
+ readonly type: "core::integer::u64";
9416
+ readonly kind: "data";
9417
+ }];
9418
+ }, {
9419
+ readonly type: "event";
9420
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalClosed";
9421
+ readonly kind: "struct";
9422
+ readonly members: readonly [{
9423
+ readonly name: "proposal_id";
9424
+ readonly type: "core::integer::u256";
9425
+ readonly kind: "key";
9426
+ }, {
9427
+ readonly name: "accepted";
9428
+ readonly type: "core::bool";
9429
+ readonly kind: "data";
9430
+ }, {
9431
+ readonly name: "closed_at";
9432
+ readonly type: "core::integer::u64";
9433
+ readonly kind: "data";
9434
+ }];
9435
+ }, {
9436
+ readonly type: "event";
9437
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalAccepted";
9438
+ readonly kind: "struct";
9439
+ readonly members: readonly [{
9440
+ readonly name: "proposal_id";
9441
+ readonly type: "core::integer::u256";
9442
+ readonly kind: "key";
9443
+ }, {
9444
+ readonly name: "license_id";
9445
+ readonly type: "core::integer::u256";
9446
+ readonly kind: "key";
9447
+ }, {
9448
+ readonly name: "sponsor";
9449
+ readonly type: "core::starknet::contract_address::ContractAddress";
9450
+ readonly kind: "key";
9451
+ }, {
9452
+ readonly name: "author";
9453
+ readonly type: "core::starknet::contract_address::ContractAddress";
9454
+ readonly kind: "data";
9455
+ }, {
9456
+ readonly name: "amount";
9457
+ readonly type: "core::integer::u256";
9458
+ readonly kind: "data";
9459
+ }, {
9460
+ readonly name: "expires_at";
9461
+ readonly type: "core::integer::u64";
9462
+ readonly kind: "data";
9463
+ }];
9464
+ }, {
9465
+ readonly type: "event";
9466
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseMinted";
9418
9467
  readonly kind: "struct";
9419
9468
  readonly members: readonly [{
9420
9469
  readonly name: "token_id";
@@ -9459,7 +9508,7 @@ declare const IPSponsorshipLicenseABI: readonly [{
9459
9508
  }];
9460
9509
  }, {
9461
9510
  readonly type: "event";
9462
- readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::Event";
9511
+ readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::Event";
9463
9512
  readonly kind: "enum";
9464
9513
  readonly variants: readonly [{
9465
9514
  readonly name: "ERC721Event";
@@ -9469,9 +9518,41 @@ declare const IPSponsorshipLicenseABI: readonly [{
9469
9518
  readonly name: "SRC5Event";
9470
9519
  readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
9471
9520
  readonly kind: "flat";
9521
+ }, {
9522
+ readonly name: "OfferCreated";
9523
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
9524
+ readonly kind: "nested";
9525
+ }, {
9526
+ readonly name: "OfferStatusUpdated";
9527
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
9528
+ readonly kind: "nested";
9529
+ }, {
9530
+ readonly name: "BidPlaced";
9531
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
9532
+ readonly kind: "nested";
9533
+ }, {
9534
+ readonly name: "BidRetracted";
9535
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
9536
+ readonly kind: "nested";
9537
+ }, {
9538
+ readonly name: "SponsorshipAccepted";
9539
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
9540
+ readonly kind: "nested";
9541
+ }, {
9542
+ readonly name: "ProposalCreated";
9543
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalCreated";
9544
+ readonly kind: "nested";
9545
+ }, {
9546
+ readonly name: "ProposalClosed";
9547
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalClosed";
9548
+ readonly kind: "nested";
9549
+ }, {
9550
+ readonly name: "ProposalAccepted";
9551
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::ProposalAccepted";
9552
+ readonly kind: "nested";
9472
9553
  }, {
9473
9554
  readonly name: "LicenseMinted";
9474
- readonly type: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
9555
+ readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseMinted";
9475
9556
  readonly kind: "nested";
9476
9557
  }];
9477
9558
  }];
@@ -10130,4 +10211,4 @@ declare function build1155CancellationTypedData(message: Record<string, unknown>
10130
10211
 
10131
10212
  type StarknetVenueSigner = VenueSigner<TypedData, Call>;
10132
10213
 
10133
- export { type ApiRewardsConfig as $, ADMIN_HEADERS as A, type ApiCreatorProfile as B, type ApiIntent as C, type ApiIntentCreated as D, type ApiKeyStatus as E, type ApiMeta as F, type ApiMetadataSignedUrl as G, type ApiMetadataUpload as H, type ApiOrder as I, type ApiOrderConsideration as J, type ApiOrderOffer as K, type ApiOrderPrice as L, type ApiOrderTokenMeta as M, type ApiOrderTxHash as N, type ApiOrdersQuery as O, type ApiPointEvent as P, type ApiPortalKey as Q, type ApiPortalKeyCreated as R, type ServiceDefinition as S, type ApiPortalMe as T, type ApiPublicRemix as U, type ApiRemixOffer as V, type ApiRemixOfferPrice as W, type ApiRemixOffersQuery as X, type ApiResponse as Y, type ApiRewardsBadge as Z, type ApiRewardsBatchEntry as _, type ServiceCapability as a, IPCollection1155ABI as a$, type ApiRewardsLeaderboardEntry as a0, type ApiRewardsLevel as a1, type ApiSearchCollectionResult as a2, type ApiSearchCreatorResult as a3, type ApiSearchResult as a4, type ApiSearchTokenResult as a5, type ApiToken as a6, type ApiTokenBalance as a7, type ApiTokenMetadata as a8, type ApiUsageDay as a9, type CreatePopCollectionParams as aA, type CreateRemixOfferParams as aB, type CreateSponsorshipOfferParams as aC, type CreateTicketParams as aD, type CreateWebhookParams as aE, CreatorCoinFactoryABI as aF, type CreatorCoinPrice as aG, type CreatorCoinReceiptLike as aH, CreatorCoinService as aI, type DeployClubParams as aJ, type DeployCollectionParams as aK, DropCollectionABI as aL, DropFactoryABI as aM, type DropMintStatus as aN, DropService as aO, ERC1155CollectionService as aP, type EkuboLaunchParams as aQ, type EkuboPoolParams as aR, type EnforcementDeclaration as aS, type FeeConfig as aT, FeeConfigSchema as aU, type FeeSurface as aV, type FulfillOrderIntentParams as aW, IPClubABI as aX, IPClubCollectionABI as aY, IPClubFactoryABI as aZ, IPClubNFTABI as a_, type ApiUserRewards as aa, type ApiUserWallet as ab, type ApiWebhookCreated as ac, type ApiWebhookEndpoint as ad, type AutoRemixOfferParams as ae, type BatchMintEditionParams as af, type BuildFeeCallParams as ag, MAX_SUPPLY as ah, MIN_SUPPLY as ai, type CancelOrderIntentParams as aj, type ChainFilter as ak, type ClaimConditions as al, ClubService as am, type CollectionSort as an, type CollectionTokensSort as ao, type ConfirmRemixOfferParams as ap, type ConfirmSelfRemixParams as aq, type ConsiderationItem as ar, type CreateClubParams as as, type CreateCollectionIntentParams as at, type CreateCounterOfferIntentParams as au, type CreateCreatorCoinParams as av, type CreateDropParams as aw, type CreateGrantOpts as ax, type CreateListingIntentParams as ay, type CreateMintIntentParams as az, ADMIN_SCOPE as b, buildCreateCreatorCoinCall as b$, IPCollection1155FactoryABI as b0, IPCollectionABI as b1, IPGenesisABI as b2, IPMarketplaceABI as b3, IPNftABI as b4, IPSponsorshipABI as b5, IPSponsorshipLicenseABI as b6, IPTicketCollectionABI as b7, IPTicketCollectionFactoryABI as b8, type IPType as b9, type PopClaimStatus as bA, type PopEventType as bB, PopService as bC, type RemixOfferStatus as bD, type RequestSiwsTokenArgs as bE, type ResolvedConfig as bF, type ResolvedFeeConfig as bG, type ResolvedOrder as bH, type RetryOptions as bI, type ServiceEventDeclaration as bJ, type SiwsSigner as bK, type SortOrder as bL, SponsorshipService as bM, StarknetVenue as bN, type StarknetVenueDeps as bO, type StarknetVenueSigner as bP, type TenantPlan as bQ, TicketService as bR, type TxResult as bS, VALIDATED_EKUBO_PARAMS as bT, type WebhookEventType as bU, type WebhookStatus as bV, adminRequestDigest as bW, build1155CancellationTypedData as bX, build1155OrderTypedData as bY, buildAdminSessionTypedData as bZ, buildCancellationTypedData as b_, type IntentCall as ba, type IntentStatus as bb, type IntentType as bc, type IpAttribute as bd, type IpNftMetadata as be, LAUNCH_PRICE_QUOTE_PER_COIN as bf, type MakeOfferIntentParams as bg, Medialane1155ABI as bh, MedialaneApiError as bi, MedialaneClient as bj, type MedialaneConfig as bk, MedialaneError as bl, type MedialaneErrorCode as bm, type MintEditionParams as bn, type MintTicketsParams as bo, OPEN_LICENSES as bp, type OfferItem as bq, type OpenLicense as br, type Order as bs, type OrderDetails as bt, type OrderParameters as bu, type OrderStatus as bv, POPCollectionABI as bw, POPFactoryABI as bx, type ParsedAdminHeaders as by, type PopBatchEligibilityItem as bz, type ActivityType as c, buildFeeCall as c0, buildLaunchOnEkuboCalls as c1, buildOrderTypedData as c2, buybackQuoteRaw as c3, toRaw as c4, createAdminSessionGrant as c5, encodeAdminHeaders as c6, encodeByteArray as c7, fdvHuman as c8, getCounter as c9, getCounter1155 as ca, getCreatorCoinPrice as cb, getOrderDetails as cc, getOrderDetails1155 as cd, getSiwsStorageKey as ce, getStoredSiwsToken as cf, isSiwsTokenValid as cg, normalizeSiwsSignature as ch, parseAdminHeaders as ci, parseCreatorCoinCreated as cj, randomNonce as ck, requestSiwsToken as cl, resolveConfig as cm, resolveFeeConfig as cn, sessionKeyHashOf as co, signAdminRequest as cp, storeSiwsToken as cq, teamCoinsRaw as cr, validateName as cs, validateSupply as ct, validateSymbol as cu, verifyAdminRequestSig as cv, type AddSupplyParams as d, type AdminGrant as e, type AdminRequest as f, type AdminRequestSig as g, type AdminSession as h, type AdminSessionTypedDataInput as i, type ApiActivitiesQuery as j, type ApiActivity as k, type ApiActivityPrice as l, type ApiAdminCollectionClaim as m, type ApiAppSource as n, type ApiChain as o, ApiClient as p, type ApiCoin as q, type ApiCoinsQuery as r, type ApiCollection as s, type ApiCollectionClaim as t, type ApiCollectionProfile as u, type ApiCollectionSlugClaim as v, type ApiCollectionsQuery as w, type ApiComment as x, type ApiCounterOffersQuery as y, type ApiCreatorListResult as z };
10214
+ export { type ApiRewardsConfig as $, ADMIN_HEADERS as A, type ApiCreatorProfile as B, type ApiIntent as C, type ApiIntentCreated as D, type ApiKeyStatus as E, type ApiMeta as F, type ApiMetadataSignedUrl as G, type ApiMetadataUpload as H, type ApiOrder as I, type ApiOrderConsideration as J, type ApiOrderOffer as K, type ApiOrderPrice as L, type ApiOrderTokenMeta as M, type ApiOrderTxHash as N, type ApiOrdersQuery as O, type ApiPointEvent as P, type ApiPortalKey as Q, type ApiPortalKeyCreated as R, type ServiceDefinition as S, type ApiPortalMe as T, type ApiPublicRemix as U, type ApiRemixOffer as V, type ApiRemixOfferPrice as W, type ApiRemixOffersQuery as X, type ApiResponse as Y, type ApiRewardsBadge as Z, type ApiRewardsBatchEntry as _, type ServiceCapability as a, IPCollection1155ABI as a$, type ApiRewardsLeaderboardEntry as a0, type ApiRewardsLevel as a1, type ApiSearchCollectionResult as a2, type ApiSearchCreatorResult as a3, type ApiSearchResult as a4, type ApiSearchTokenResult as a5, type ApiToken as a6, type ApiTokenBalance as a7, type ApiTokenMetadata as a8, type ApiUsageDay as a9, type CreatePopCollectionParams as aA, type CreateRemixOfferParams as aB, type CreateSponsorshipOfferParams as aC, type CreateTicketParams as aD, type CreateWebhookParams as aE, CreatorCoinFactoryABI as aF, type CreatorCoinPrice as aG, type CreatorCoinReceiptLike as aH, CreatorCoinService as aI, type DeployClubParams as aJ, type DeployCollectionParams as aK, DropCollectionABI as aL, DropFactoryABI as aM, type DropMintStatus as aN, DropService as aO, ERC1155CollectionService as aP, type EkuboLaunchParams as aQ, type EkuboPoolParams as aR, type EnforcementDeclaration as aS, type FeeConfig as aT, FeeConfigSchema as aU, type FeeSurface as aV, type FulfillOrderIntentParams as aW, IPClubABI as aX, IPClubCollectionABI as aY, IPClubFactoryABI as aZ, IPClubNFTABI as a_, type ApiUserRewards as aa, type ApiUserWallet as ab, type ApiWebhookCreated as ac, type ApiWebhookEndpoint as ad, type AutoRemixOfferParams as ae, type BatchMintEditionParams as af, type BuildFeeCallParams as ag, MAX_SUPPLY as ah, MIN_SUPPLY as ai, type CancelOrderIntentParams as aj, type ChainFilter as ak, type ClaimConditions as al, ClubService as am, type CollectionSort as an, type CollectionTokensSort as ao, type ConfirmRemixOfferParams as ap, type ConfirmSelfRemixParams as aq, type ConsiderationItem as ar, type CreateClubParams as as, type CreateCollectionIntentParams as at, type CreateCounterOfferIntentParams as au, type CreateCreatorCoinParams as av, type CreateDropParams as aw, type CreateGrantOpts as ax, type CreateListingIntentParams as ay, type CreateMintIntentParams as az, ADMIN_SCOPE as b, buildCreateCreatorCoinCall as b$, IPCollection1155FactoryABI as b0, IPCollectionABI as b1, IPGenesisABI as b2, IPMarketplaceABI as b3, IPNftABI as b4, IPSponsorshipABI as b5, IPTicketCollectionABI as b6, IPTicketCollectionFactoryABI as b7, type IPType as b8, type IntentCall as b9, type PopEventType as bA, PopService as bB, type ProposeSponsorshipParams as bC, type RemixOfferStatus as bD, type RequestSiwsTokenArgs as bE, type ResolvedConfig as bF, type ResolvedFeeConfig as bG, type ResolvedOrder as bH, type RetryOptions as bI, type ServiceEventDeclaration as bJ, type SiwsSigner as bK, type SortOrder as bL, SponsorshipService as bM, StarknetVenue as bN, type StarknetVenueDeps as bO, type StarknetVenueSigner as bP, type TenantPlan as bQ, TicketService as bR, type TxResult as bS, VALIDATED_EKUBO_PARAMS as bT, type WebhookEventType as bU, type WebhookStatus as bV, adminRequestDigest as bW, build1155CancellationTypedData as bX, build1155OrderTypedData as bY, buildAdminSessionTypedData as bZ, buildCancellationTypedData as b_, type IntentStatus as ba, type IntentType as bb, type IpAttribute as bc, type IpNftMetadata as bd, LAUNCH_PRICE_QUOTE_PER_COIN as be, type MakeOfferIntentParams as bf, Medialane1155ABI as bg, MedialaneApiError as bh, MedialaneClient as bi, type MedialaneConfig as bj, MedialaneError as bk, type MedialaneErrorCode as bl, type MintEditionParams as bm, type MintTicketsParams as bn, OPEN_LICENSES as bo, type OfferItem as bp, type OpenLicense as bq, type Order as br, type OrderDetails as bs, type OrderParameters as bt, type OrderStatus as bu, POPCollectionABI as bv, POPFactoryABI as bw, type ParsedAdminHeaders as bx, type PopBatchEligibilityItem as by, type PopClaimStatus as bz, type ActivityType as c, buildFeeCall as c0, buildLaunchOnEkuboCalls as c1, buildOrderTypedData as c2, buybackQuoteRaw as c3, toRaw as c4, createAdminSessionGrant as c5, encodeAdminHeaders as c6, encodeByteArray as c7, fdvHuman as c8, getCounter as c9, getCounter1155 as ca, getCreatorCoinPrice as cb, getOrderDetails as cc, getOrderDetails1155 as cd, getSiwsStorageKey as ce, getStoredSiwsToken as cf, isSiwsTokenValid as cg, normalizeSiwsSignature as ch, parseAdminHeaders as ci, parseCreatorCoinCreated as cj, randomNonce as ck, requestSiwsToken as cl, resolveConfig as cm, resolveFeeConfig as cn, sessionKeyHashOf as co, signAdminRequest as cp, storeSiwsToken as cq, teamCoinsRaw as cr, validateName as cs, validateSupply as ct, validateSymbol as cu, verifyAdminRequestSig as cv, type AddSupplyParams as d, type AdminGrant as e, type AdminRequest as f, type AdminRequestSig as g, type AdminSession as h, type AdminSessionTypedDataInput as i, type ApiActivitiesQuery as j, type ApiActivity as k, type ApiActivityPrice as l, type ApiAdminCollectionClaim as m, type ApiAppSource as n, type ApiChain as o, ApiClient as p, type ApiCoin as q, type ApiCoinsQuery as r, type ApiCollection as s, type ApiCollectionClaim as t, type ApiCollectionProfile as u, type ApiCollectionSlugClaim as v, type ApiCollectionsQuery as w, type ApiComment as x, type ApiCounterOffersQuery as y, type ApiCreatorListResult as z };