@medialane/sdk 0.57.0 → 0.59.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/evm/index.cjs +4 -0
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +4 -0
- package/dist/evm/index.js.map +1 -1
- package/dist/{index-Bv81mkG7.d.ts → index-D-sFKbtL.d.ts} +1759 -285
- package/dist/{index-q-f4hxV5.d.cts → index-DjraRZJ1.d.cts} +1759 -285
- package/dist/index.cjs +2571 -706
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +2568 -708
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +4 -0
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +4 -0
- package/dist/solana/index.js.map +1 -1
- package/dist/starknet/index.cjs +2628 -757
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +3 -3
- package/dist/starknet/index.d.ts +3 -3
- package/dist/starknet/index.js +2627 -759
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +4 -0
- package/dist/stellar/index.cjs.map +1 -1
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +4 -0
- package/dist/stellar/index.js.map +1 -1
- package/dist/{types-DNJNR50M.d.cts → types-V6imkXvR.d.cts} +7 -20
- package/dist/{types-DNJNR50M.d.ts → types-V6imkXvR.d.ts} +7 -20
- package/package.json +2 -2
|
@@ -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
|
|
2
|
+
import { C as Chain, V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams } from './types-V6imkXvR.js';
|
|
3
3
|
import { AccountInterface, constants, TypedData, Call, ProviderInterface } from 'starknet';
|
|
4
4
|
|
|
5
5
|
interface RetryOptions {
|
|
@@ -1412,6 +1412,23 @@ interface CreateClubParams {
|
|
|
1412
1412
|
entryFee?: bigint | string;
|
|
1413
1413
|
paymentToken?: string;
|
|
1414
1414
|
}
|
|
1415
|
+
/** Factory-pattern deploy — one ERC-721 collection per creator. */
|
|
1416
|
+
interface DeployClubParams {
|
|
1417
|
+
name: string;
|
|
1418
|
+
symbol: string;
|
|
1419
|
+
/** ipfs:// base URI for the collection. */
|
|
1420
|
+
baseUri: string;
|
|
1421
|
+
/** Max token supply; defaults to u128 max (effectively unlimited). */
|
|
1422
|
+
maxSupply?: bigint | string;
|
|
1423
|
+
/** Entry fee in payment token units; 0 = free. */
|
|
1424
|
+
entryFee?: bigint | string;
|
|
1425
|
+
/** Required when entryFee > 0. */
|
|
1426
|
+
paymentToken?: string;
|
|
1427
|
+
/** Royalty in basis points (0–10 000). */
|
|
1428
|
+
royaltyBps?: bigint | string;
|
|
1429
|
+
/** Override factory address. */
|
|
1430
|
+
factoryAddress?: string;
|
|
1431
|
+
}
|
|
1415
1432
|
interface CreateSponsorshipOfferParams {
|
|
1416
1433
|
nftContract: string;
|
|
1417
1434
|
tokenId: bigint | string;
|
|
@@ -1813,26 +1830,43 @@ declare class TicketService {
|
|
|
1813
1830
|
|
|
1814
1831
|
declare class ClubService {
|
|
1815
1832
|
private readonly registryAddress?;
|
|
1833
|
+
private readonly factoryAddress?;
|
|
1816
1834
|
constructor(config: ResolvedConfig);
|
|
1817
1835
|
private _registry;
|
|
1818
|
-
|
|
1836
|
+
private _factory;
|
|
1837
|
+
private _collection;
|
|
1838
|
+
/** Deploy a new per-creator membership ERC-721 collection via the factory. */
|
|
1839
|
+
deployClub(account: AccountInterface, params: DeployClubParams): Promise<TxResult>;
|
|
1840
|
+
/** Owner-only — pause or resume new mints on a club collection. */
|
|
1841
|
+
setOpen(account: AccountInterface, params: {
|
|
1842
|
+
collectionAddress: string;
|
|
1843
|
+
open: boolean;
|
|
1844
|
+
}): Promise<TxResult>;
|
|
1845
|
+
/** Public mint — caller pays entry fee (if any) and receives the membership NFT. */
|
|
1846
|
+
mintMembership(account: AccountInterface, params: {
|
|
1847
|
+
collectionAddress: string;
|
|
1848
|
+
to?: string;
|
|
1849
|
+
entryFee?: bigint | string;
|
|
1850
|
+
paymentToken?: string;
|
|
1851
|
+
}): Promise<TxResult>;
|
|
1852
|
+
/** @deprecated Use deployClub — the factory pattern replaced the registry. */
|
|
1819
1853
|
createClub(account: AccountInterface, params: CreateClubParams & {
|
|
1820
1854
|
registryAddress?: string;
|
|
1821
1855
|
}): Promise<TxResult>;
|
|
1822
|
-
/**
|
|
1856
|
+
/** @deprecated Legacy registry — use factory-deployed collection methods. */
|
|
1823
1857
|
setClubOpen(account: AccountInterface, params: {
|
|
1824
1858
|
clubId: bigint | string;
|
|
1825
1859
|
open: boolean;
|
|
1826
1860
|
registryAddress?: string;
|
|
1827
1861
|
}): Promise<TxResult>;
|
|
1828
|
-
/**
|
|
1862
|
+
/** @deprecated Legacy registry — use mintMembership with factory-deployed collections. */
|
|
1829
1863
|
joinClub(account: AccountInterface, params: {
|
|
1830
1864
|
clubId: bigint | string;
|
|
1831
1865
|
entryFee?: bigint | string;
|
|
1832
1866
|
paymentToken?: string;
|
|
1833
1867
|
registryAddress?: string;
|
|
1834
1868
|
}): Promise<TxResult>;
|
|
1835
|
-
/**
|
|
1869
|
+
/** @deprecated Legacy registry — use factory-deployed collection burn. */
|
|
1836
1870
|
leaveClub(account: AccountInterface, params: {
|
|
1837
1871
|
clubId: bigint | string;
|
|
1838
1872
|
tokenId: bigint | string;
|
|
@@ -1939,43 +1973,34 @@ interface ResolvedOrder {
|
|
|
1939
1973
|
*/
|
|
1940
1974
|
interface StarknetVenueDeps {
|
|
1941
1975
|
config: ResolvedConfig;
|
|
1942
|
-
/** Read provider for building (counter/approval reads) and the post-tx receipt. */
|
|
1943
1976
|
provider: ProviderInterface;
|
|
1944
|
-
/** Resolve a registered order (payment token,
|
|
1977
|
+
/** Resolve a registered order (payment token, total, venue) from its digest. */
|
|
1945
1978
|
resolveOrder: (orderRef: OrderRef) => Promise<ResolvedOrder>;
|
|
1946
1979
|
/** Resolve a collection's token standard (from the indexer). */
|
|
1947
1980
|
resolveStandard: (contract: string) => Promise<"ERC721" | "ERC1155">;
|
|
1948
1981
|
}
|
|
1949
1982
|
/**
|
|
1950
|
-
* First-class Starknet venue adapter.
|
|
1951
|
-
*
|
|
1952
|
-
*
|
|
1953
|
-
* (counter, approvals, receipt) on `deps.provider`, but it never signs or executes
|
|
1954
|
-
* itself — the app's signer does that (sign + submit + confirm). This is what lets
|
|
1955
|
-
* a single adapter drive every wallet (injected/Cartridge/Privy) and the AVNU
|
|
1956
|
-
* paymaster without knowing they differ.
|
|
1983
|
+
* First-class Starknet venue adapter. Wraps the maintained `MarketplaceModule`
|
|
1984
|
+
* (721) and `Medialane1155Module` (1155) — it does not reimplement SNIP-12
|
|
1985
|
+
* signing or calldata. `Signer` is a starknet.js `AccountInterface`.
|
|
1957
1986
|
*/
|
|
1958
|
-
declare class StarknetVenue implements VenueAdapter<
|
|
1987
|
+
declare class StarknetVenue implements VenueAdapter<AccountInterface> {
|
|
1959
1988
|
private readonly deps;
|
|
1960
1989
|
readonly chain: "STARKNET";
|
|
1990
|
+
private readonly m721;
|
|
1991
|
+
private readonly m1155;
|
|
1961
1992
|
constructor(deps: StarknetVenueDeps);
|
|
1962
|
-
incrementCounter(signer:
|
|
1993
|
+
incrementCounter(signer: AccountInterface): Promise<AdapterTxResult>;
|
|
1963
1994
|
getOrderDetails(orderRef: OrderRef): Promise<unknown>;
|
|
1964
1995
|
getCounter(address: string): Promise<bigint>;
|
|
1965
|
-
fulfillOrder(signer:
|
|
1996
|
+
fulfillOrder(signer: AccountInterface, orderRef: OrderRef, opts?: {
|
|
1966
1997
|
quantity?: string;
|
|
1967
1998
|
} & Record<string, string | undefined>): Promise<AdapterTxResult>;
|
|
1968
|
-
cancelOrder(signer:
|
|
1969
|
-
registerOrder(signer:
|
|
1999
|
+
cancelOrder(signer: AccountInterface, orderRef: OrderRef): Promise<AdapterTxResult>;
|
|
2000
|
+
registerOrder(signer: AccountInterface, p: RegisterOrderParams): Promise<AdapterTxResult & {
|
|
1970
2001
|
orderRef: OrderRef;
|
|
1971
2002
|
}>;
|
|
1972
|
-
private
|
|
1973
|
-
/** 721 listing approval: `get_approved(tokenId) == marketplace` ⇒ no approve. */
|
|
1974
|
-
private approval721ForListing;
|
|
1975
|
-
/** 1155 listing approval: `is_approved_for_all(owner, marketplace)`. */
|
|
1976
|
-
private approval1155ForListing;
|
|
1977
|
-
/** Offers always approve the ERC-20 spend (no read). */
|
|
1978
|
-
private approvalForErc20;
|
|
2003
|
+
private durationSeconds;
|
|
1979
2004
|
/** The canonical Starknet order id = the contract-emitted `OrderCreated`
|
|
1980
2005
|
* hash (`keys[1]`), which is exactly what the indexer stores. */
|
|
1981
2006
|
private orderRefFromReceipt;
|
|
@@ -7761,20 +7786,10 @@ declare const IPClubNFTABI: readonly [{
|
|
|
7761
7786
|
}];
|
|
7762
7787
|
}];
|
|
7763
7788
|
|
|
7764
|
-
declare const
|
|
7789
|
+
declare const IPClubFactoryABI: readonly [{
|
|
7765
7790
|
readonly type: "impl";
|
|
7766
|
-
readonly name: "
|
|
7767
|
-
readonly interface_name: "
|
|
7768
|
-
}, {
|
|
7769
|
-
readonly type: "struct";
|
|
7770
|
-
readonly name: "core::integer::u256";
|
|
7771
|
-
readonly members: readonly [{
|
|
7772
|
-
readonly name: "low";
|
|
7773
|
-
readonly type: "core::integer::u128";
|
|
7774
|
-
}, {
|
|
7775
|
-
readonly name: "high";
|
|
7776
|
-
readonly type: "core::integer::u128";
|
|
7777
|
-
}];
|
|
7791
|
+
readonly name: "IPClubFactoryImpl";
|
|
7792
|
+
readonly interface_name: "ip_club::interface::IIPClubFactory";
|
|
7778
7793
|
}, {
|
|
7779
7794
|
readonly type: "struct";
|
|
7780
7795
|
readonly name: "core::byte_array::ByteArray";
|
|
@@ -7789,14 +7804,14 @@ declare const IPSponsorshipABI: readonly [{
|
|
|
7789
7804
|
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
7790
7805
|
}];
|
|
7791
7806
|
}, {
|
|
7792
|
-
readonly type: "
|
|
7793
|
-
readonly name: "core::
|
|
7794
|
-
readonly
|
|
7795
|
-
readonly name: "
|
|
7796
|
-
readonly type: "
|
|
7807
|
+
readonly type: "struct";
|
|
7808
|
+
readonly name: "core::integer::u256";
|
|
7809
|
+
readonly members: readonly [{
|
|
7810
|
+
readonly name: "low";
|
|
7811
|
+
readonly type: "core::integer::u128";
|
|
7797
7812
|
}, {
|
|
7798
|
-
readonly name: "
|
|
7799
|
-
readonly type: "
|
|
7813
|
+
readonly name: "high";
|
|
7814
|
+
readonly type: "core::integer::u128";
|
|
7800
7815
|
}];
|
|
7801
7816
|
}, {
|
|
7802
7817
|
readonly type: "enum";
|
|
@@ -7809,109 +7824,250 @@ declare const IPSponsorshipABI: readonly [{
|
|
|
7809
7824
|
readonly type: "()";
|
|
7810
7825
|
}];
|
|
7811
7826
|
}, {
|
|
7812
|
-
readonly type: "
|
|
7813
|
-
readonly name: "
|
|
7814
|
-
readonly
|
|
7815
|
-
readonly
|
|
7816
|
-
readonly
|
|
7817
|
-
|
|
7818
|
-
readonly
|
|
7819
|
-
|
|
7827
|
+
readonly type: "interface";
|
|
7828
|
+
readonly name: "ip_club::interface::IIPClubFactory";
|
|
7829
|
+
readonly items: readonly [{
|
|
7830
|
+
readonly type: "function";
|
|
7831
|
+
readonly name: "collection_class_hash";
|
|
7832
|
+
readonly inputs: readonly [];
|
|
7833
|
+
readonly outputs: readonly [{
|
|
7834
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
7835
|
+
}];
|
|
7836
|
+
readonly state_mutability: "view";
|
|
7820
7837
|
}, {
|
|
7821
|
-
readonly
|
|
7822
|
-
readonly
|
|
7838
|
+
readonly type: "function";
|
|
7839
|
+
readonly name: "version";
|
|
7840
|
+
readonly inputs: readonly [];
|
|
7841
|
+
readonly outputs: readonly [{
|
|
7842
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7843
|
+
}];
|
|
7844
|
+
readonly state_mutability: "view";
|
|
7823
7845
|
}, {
|
|
7824
|
-
readonly
|
|
7825
|
-
readonly
|
|
7846
|
+
readonly type: "function";
|
|
7847
|
+
readonly name: "deploy_club";
|
|
7848
|
+
readonly inputs: readonly [{
|
|
7849
|
+
readonly name: "name";
|
|
7850
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7851
|
+
}, {
|
|
7852
|
+
readonly name: "symbol";
|
|
7853
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7854
|
+
}, {
|
|
7855
|
+
readonly name: "base_uri";
|
|
7856
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7857
|
+
}, {
|
|
7858
|
+
readonly name: "max_supply";
|
|
7859
|
+
readonly type: "core::integer::u256";
|
|
7860
|
+
}, {
|
|
7861
|
+
readonly name: "entry_fee";
|
|
7862
|
+
readonly type: "core::integer::u256";
|
|
7863
|
+
}, {
|
|
7864
|
+
readonly name: "payment_token";
|
|
7865
|
+
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
7866
|
+
}, {
|
|
7867
|
+
readonly name: "royalty_bps";
|
|
7868
|
+
readonly type: "core::integer::u256";
|
|
7869
|
+
}];
|
|
7870
|
+
readonly outputs: readonly [{
|
|
7871
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7872
|
+
}];
|
|
7873
|
+
readonly state_mutability: "external";
|
|
7874
|
+
}];
|
|
7875
|
+
}, {
|
|
7876
|
+
readonly type: "impl";
|
|
7877
|
+
readonly name: "SRC5Impl";
|
|
7878
|
+
readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
|
|
7879
|
+
}, {
|
|
7880
|
+
readonly type: "enum";
|
|
7881
|
+
readonly name: "core::bool";
|
|
7882
|
+
readonly variants: readonly [{
|
|
7883
|
+
readonly name: "False";
|
|
7884
|
+
readonly type: "()";
|
|
7826
7885
|
}, {
|
|
7827
|
-
readonly name: "
|
|
7828
|
-
readonly type: "
|
|
7886
|
+
readonly name: "True";
|
|
7887
|
+
readonly type: "()";
|
|
7888
|
+
}];
|
|
7889
|
+
}, {
|
|
7890
|
+
readonly type: "interface";
|
|
7891
|
+
readonly name: "openzeppelin_introspection::interface::ISRC5";
|
|
7892
|
+
readonly items: readonly [{
|
|
7893
|
+
readonly type: "function";
|
|
7894
|
+
readonly name: "supports_interface";
|
|
7895
|
+
readonly inputs: readonly [{
|
|
7896
|
+
readonly name: "interface_id";
|
|
7897
|
+
readonly type: "core::felt252";
|
|
7898
|
+
}];
|
|
7899
|
+
readonly outputs: readonly [{
|
|
7900
|
+
readonly type: "core::bool";
|
|
7901
|
+
}];
|
|
7902
|
+
readonly state_mutability: "view";
|
|
7903
|
+
}];
|
|
7904
|
+
}, {
|
|
7905
|
+
readonly type: "constructor";
|
|
7906
|
+
readonly name: "constructor";
|
|
7907
|
+
readonly inputs: readonly [{
|
|
7908
|
+
readonly name: "collection_class_hash";
|
|
7909
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
7910
|
+
}];
|
|
7911
|
+
}, {
|
|
7912
|
+
readonly type: "event";
|
|
7913
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
7914
|
+
readonly kind: "enum";
|
|
7915
|
+
readonly variants: readonly [];
|
|
7916
|
+
}, {
|
|
7917
|
+
readonly type: "event";
|
|
7918
|
+
readonly name: "ip_club::IPClubFactory::IPClubFactory::ClubDeployed";
|
|
7919
|
+
readonly kind: "struct";
|
|
7920
|
+
readonly members: readonly [{
|
|
7921
|
+
readonly name: "collection_address";
|
|
7922
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7923
|
+
readonly kind: "key";
|
|
7829
7924
|
}, {
|
|
7830
|
-
readonly name: "
|
|
7925
|
+
readonly name: "owner";
|
|
7831
7926
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7927
|
+
readonly kind: "key";
|
|
7832
7928
|
}, {
|
|
7833
|
-
readonly name: "
|
|
7929
|
+
readonly name: "name";
|
|
7834
7930
|
readonly type: "core::byte_array::ByteArray";
|
|
7931
|
+
readonly kind: "data";
|
|
7835
7932
|
}, {
|
|
7836
|
-
readonly name: "
|
|
7837
|
-
readonly type: "core::
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7933
|
+
readonly name: "symbol";
|
|
7934
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7935
|
+
readonly kind: "data";
|
|
7936
|
+
}];
|
|
7937
|
+
}, {
|
|
7938
|
+
readonly type: "event";
|
|
7939
|
+
readonly name: "ip_club::IPClubFactory::IPClubFactory::Event";
|
|
7940
|
+
readonly kind: "enum";
|
|
7941
|
+
readonly variants: readonly [{
|
|
7942
|
+
readonly name: "SRC5Event";
|
|
7943
|
+
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
7944
|
+
readonly kind: "flat";
|
|
7841
7945
|
}, {
|
|
7842
|
-
readonly name: "
|
|
7843
|
-
readonly type: "
|
|
7946
|
+
readonly name: "ClubDeployed";
|
|
7947
|
+
readonly type: "ip_club::IPClubFactory::IPClubFactory::ClubDeployed";
|
|
7948
|
+
readonly kind: "nested";
|
|
7844
7949
|
}];
|
|
7950
|
+
}];
|
|
7951
|
+
|
|
7952
|
+
declare const IPClubCollectionABI: readonly [{
|
|
7953
|
+
readonly type: "impl";
|
|
7954
|
+
readonly name: "ERC721MetadataImpl";
|
|
7955
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
|
|
7845
7956
|
}, {
|
|
7846
7957
|
readonly type: "struct";
|
|
7847
|
-
readonly name: "
|
|
7958
|
+
readonly name: "core::byte_array::ByteArray";
|
|
7848
7959
|
readonly members: readonly [{
|
|
7849
|
-
readonly name: "
|
|
7850
|
-
readonly type: "core::
|
|
7851
|
-
}, {
|
|
7852
|
-
readonly name: "sponsor";
|
|
7853
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7854
|
-
}, {
|
|
7855
|
-
readonly name: "nft_contract";
|
|
7856
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7857
|
-
}, {
|
|
7858
|
-
readonly name: "token_id";
|
|
7859
|
-
readonly type: "core::integer::u256";
|
|
7860
|
-
}, {
|
|
7861
|
-
readonly name: "amount_paid";
|
|
7862
|
-
readonly type: "core::integer::u256";
|
|
7960
|
+
readonly name: "data";
|
|
7961
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
7863
7962
|
}, {
|
|
7864
|
-
readonly name: "
|
|
7865
|
-
readonly type: "core::
|
|
7963
|
+
readonly name: "pending_word";
|
|
7964
|
+
readonly type: "core::felt252";
|
|
7866
7965
|
}, {
|
|
7867
|
-
readonly name: "
|
|
7868
|
-
readonly type: "core::
|
|
7966
|
+
readonly name: "pending_word_len";
|
|
7967
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
7968
|
+
}];
|
|
7969
|
+
}, {
|
|
7970
|
+
readonly type: "struct";
|
|
7971
|
+
readonly name: "core::integer::u256";
|
|
7972
|
+
readonly members: readonly [{
|
|
7973
|
+
readonly name: "low";
|
|
7974
|
+
readonly type: "core::integer::u128";
|
|
7869
7975
|
}, {
|
|
7870
|
-
readonly name: "
|
|
7871
|
-
readonly type: "core::
|
|
7976
|
+
readonly name: "high";
|
|
7977
|
+
readonly type: "core::integer::u128";
|
|
7872
7978
|
}];
|
|
7873
7979
|
}, {
|
|
7874
7980
|
readonly type: "interface";
|
|
7875
|
-
readonly name: "
|
|
7981
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
|
|
7876
7982
|
readonly items: readonly [{
|
|
7877
7983
|
readonly type: "function";
|
|
7878
|
-
readonly name: "
|
|
7879
|
-
readonly inputs: readonly [
|
|
7880
|
-
|
|
7881
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7882
|
-
}, {
|
|
7883
|
-
readonly name: "token_id";
|
|
7884
|
-
readonly type: "core::integer::u256";
|
|
7885
|
-
}, {
|
|
7886
|
-
readonly name: "min_amount";
|
|
7887
|
-
readonly type: "core::integer::u256";
|
|
7888
|
-
}, {
|
|
7889
|
-
readonly name: "duration";
|
|
7890
|
-
readonly type: "core::integer::u64";
|
|
7891
|
-
}, {
|
|
7892
|
-
readonly name: "payment_token";
|
|
7893
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7894
|
-
}, {
|
|
7895
|
-
readonly name: "license_terms_uri";
|
|
7984
|
+
readonly name: "name";
|
|
7985
|
+
readonly inputs: readonly [];
|
|
7986
|
+
readonly outputs: readonly [{
|
|
7896
7987
|
readonly type: "core::byte_array::ByteArray";
|
|
7897
|
-
}, {
|
|
7898
|
-
readonly name: "transferable";
|
|
7899
|
-
readonly type: "core::bool";
|
|
7900
|
-
}, {
|
|
7901
|
-
readonly name: "specific_sponsor";
|
|
7902
|
-
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
7903
7988
|
}];
|
|
7989
|
+
readonly state_mutability: "view";
|
|
7990
|
+
}, {
|
|
7991
|
+
readonly type: "function";
|
|
7992
|
+
readonly name: "symbol";
|
|
7993
|
+
readonly inputs: readonly [];
|
|
7904
7994
|
readonly outputs: readonly [{
|
|
7905
|
-
readonly type: "core::
|
|
7995
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7906
7996
|
}];
|
|
7907
|
-
readonly state_mutability: "
|
|
7997
|
+
readonly state_mutability: "view";
|
|
7908
7998
|
}, {
|
|
7909
7999
|
readonly type: "function";
|
|
7910
|
-
readonly name: "
|
|
8000
|
+
readonly name: "token_uri";
|
|
7911
8001
|
readonly inputs: readonly [{
|
|
7912
|
-
readonly name: "
|
|
8002
|
+
readonly name: "token_id";
|
|
7913
8003
|
readonly type: "core::integer::u256";
|
|
7914
|
-
}
|
|
8004
|
+
}];
|
|
8005
|
+
readonly outputs: readonly [{
|
|
8006
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8007
|
+
}];
|
|
8008
|
+
readonly state_mutability: "view";
|
|
8009
|
+
}];
|
|
8010
|
+
}, {
|
|
8011
|
+
readonly type: "impl";
|
|
8012
|
+
readonly name: "ERC721MetadataCamelOnlyImpl";
|
|
8013
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
|
|
8014
|
+
}, {
|
|
8015
|
+
readonly type: "interface";
|
|
8016
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
|
|
8017
|
+
readonly items: readonly [{
|
|
8018
|
+
readonly type: "function";
|
|
8019
|
+
readonly name: "tokenURI";
|
|
8020
|
+
readonly inputs: readonly [{
|
|
8021
|
+
readonly name: "tokenId";
|
|
8022
|
+
readonly type: "core::integer::u256";
|
|
8023
|
+
}];
|
|
8024
|
+
readonly outputs: readonly [{
|
|
8025
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8026
|
+
}];
|
|
8027
|
+
readonly state_mutability: "view";
|
|
8028
|
+
}];
|
|
8029
|
+
}, {
|
|
8030
|
+
readonly type: "impl";
|
|
8031
|
+
readonly name: "IPClubCollectionImpl";
|
|
8032
|
+
readonly interface_name: "ip_club::interface::IIPClubCollection";
|
|
8033
|
+
}, {
|
|
8034
|
+
readonly type: "enum";
|
|
8035
|
+
readonly name: "core::bool";
|
|
8036
|
+
readonly variants: readonly [{
|
|
8037
|
+
readonly name: "False";
|
|
8038
|
+
readonly type: "()";
|
|
8039
|
+
}, {
|
|
8040
|
+
readonly name: "True";
|
|
8041
|
+
readonly type: "()";
|
|
8042
|
+
}];
|
|
8043
|
+
}, {
|
|
8044
|
+
readonly type: "enum";
|
|
8045
|
+
readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8046
|
+
readonly variants: readonly [{
|
|
8047
|
+
readonly name: "Some";
|
|
8048
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8049
|
+
}, {
|
|
8050
|
+
readonly name: "None";
|
|
8051
|
+
readonly type: "()";
|
|
8052
|
+
}];
|
|
8053
|
+
}, {
|
|
8054
|
+
readonly type: "interface";
|
|
8055
|
+
readonly name: "ip_club::interface::IIPClubCollection";
|
|
8056
|
+
readonly items: readonly [{
|
|
8057
|
+
readonly type: "function";
|
|
8058
|
+
readonly name: "mint";
|
|
8059
|
+
readonly inputs: readonly [{
|
|
8060
|
+
readonly name: "to";
|
|
8061
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8062
|
+
}];
|
|
8063
|
+
readonly outputs: readonly [{
|
|
8064
|
+
readonly type: "core::integer::u256";
|
|
8065
|
+
}];
|
|
8066
|
+
readonly state_mutability: "external";
|
|
8067
|
+
}, {
|
|
8068
|
+
readonly type: "function";
|
|
8069
|
+
readonly name: "set_open";
|
|
8070
|
+
readonly inputs: readonly [{
|
|
7915
8071
|
readonly name: "open";
|
|
7916
8072
|
readonly type: "core::bool";
|
|
7917
8073
|
}];
|
|
@@ -7919,112 +8075,1483 @@ declare const IPSponsorshipABI: readonly [{
|
|
|
7919
8075
|
readonly state_mutability: "external";
|
|
7920
8076
|
}, {
|
|
7921
8077
|
readonly type: "function";
|
|
7922
|
-
readonly name: "
|
|
8078
|
+
readonly name: "base_uri";
|
|
8079
|
+
readonly inputs: readonly [];
|
|
8080
|
+
readonly outputs: readonly [{
|
|
8081
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8082
|
+
}];
|
|
8083
|
+
readonly state_mutability: "view";
|
|
8084
|
+
}, {
|
|
8085
|
+
readonly type: "function";
|
|
8086
|
+
readonly name: "entry_fee";
|
|
8087
|
+
readonly inputs: readonly [];
|
|
8088
|
+
readonly outputs: readonly [{
|
|
8089
|
+
readonly type: "core::integer::u256";
|
|
8090
|
+
}];
|
|
8091
|
+
readonly state_mutability: "view";
|
|
8092
|
+
}, {
|
|
8093
|
+
readonly type: "function";
|
|
8094
|
+
readonly name: "payment_token";
|
|
8095
|
+
readonly inputs: readonly [];
|
|
8096
|
+
readonly outputs: readonly [{
|
|
8097
|
+
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8098
|
+
}];
|
|
8099
|
+
readonly state_mutability: "view";
|
|
8100
|
+
}, {
|
|
8101
|
+
readonly type: "function";
|
|
8102
|
+
readonly name: "max_supply";
|
|
8103
|
+
readonly inputs: readonly [];
|
|
8104
|
+
readonly outputs: readonly [{
|
|
8105
|
+
readonly type: "core::integer::u256";
|
|
8106
|
+
}];
|
|
8107
|
+
readonly state_mutability: "view";
|
|
8108
|
+
}, {
|
|
8109
|
+
readonly type: "function";
|
|
8110
|
+
readonly name: "total_minted";
|
|
8111
|
+
readonly inputs: readonly [];
|
|
8112
|
+
readonly outputs: readonly [{
|
|
8113
|
+
readonly type: "core::integer::u256";
|
|
8114
|
+
}];
|
|
8115
|
+
readonly state_mutability: "view";
|
|
8116
|
+
}, {
|
|
8117
|
+
readonly type: "function";
|
|
8118
|
+
readonly name: "is_open";
|
|
8119
|
+
readonly inputs: readonly [];
|
|
8120
|
+
readonly outputs: readonly [{
|
|
8121
|
+
readonly type: "core::bool";
|
|
8122
|
+
}];
|
|
8123
|
+
readonly state_mutability: "view";
|
|
8124
|
+
}, {
|
|
8125
|
+
readonly type: "function";
|
|
8126
|
+
readonly name: "royalty_info";
|
|
8127
|
+
readonly inputs: readonly [{
|
|
8128
|
+
readonly name: "token_id";
|
|
8129
|
+
readonly type: "core::integer::u256";
|
|
8130
|
+
}, {
|
|
8131
|
+
readonly name: "sale_price";
|
|
8132
|
+
readonly type: "core::integer::u256";
|
|
8133
|
+
}];
|
|
8134
|
+
readonly outputs: readonly [{
|
|
8135
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
|
|
8136
|
+
}];
|
|
8137
|
+
readonly state_mutability: "view";
|
|
8138
|
+
}, {
|
|
8139
|
+
readonly type: "function";
|
|
8140
|
+
readonly name: "royaltyInfo";
|
|
8141
|
+
readonly inputs: readonly [{
|
|
8142
|
+
readonly name: "token_id";
|
|
8143
|
+
readonly type: "core::integer::u256";
|
|
8144
|
+
}, {
|
|
8145
|
+
readonly name: "sale_price";
|
|
8146
|
+
readonly type: "core::integer::u256";
|
|
8147
|
+
}];
|
|
8148
|
+
readonly outputs: readonly [{
|
|
8149
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
|
|
8150
|
+
}];
|
|
8151
|
+
readonly state_mutability: "view";
|
|
8152
|
+
}, {
|
|
8153
|
+
readonly type: "function";
|
|
8154
|
+
readonly name: "version";
|
|
8155
|
+
readonly inputs: readonly [];
|
|
8156
|
+
readonly outputs: readonly [{
|
|
8157
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8158
|
+
}];
|
|
8159
|
+
readonly state_mutability: "view";
|
|
8160
|
+
}];
|
|
8161
|
+
}, {
|
|
8162
|
+
readonly type: "impl";
|
|
8163
|
+
readonly name: "ERC721Impl";
|
|
8164
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
|
|
8165
|
+
}, {
|
|
8166
|
+
readonly type: "struct";
|
|
8167
|
+
readonly name: "core::array::Span::<core::felt252>";
|
|
8168
|
+
readonly members: readonly [{
|
|
8169
|
+
readonly name: "snapshot";
|
|
8170
|
+
readonly type: "@core::array::Array::<core::felt252>";
|
|
8171
|
+
}];
|
|
8172
|
+
}, {
|
|
8173
|
+
readonly type: "interface";
|
|
8174
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721";
|
|
8175
|
+
readonly items: readonly [{
|
|
8176
|
+
readonly type: "function";
|
|
8177
|
+
readonly name: "balance_of";
|
|
8178
|
+
readonly inputs: readonly [{
|
|
8179
|
+
readonly name: "account";
|
|
8180
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8181
|
+
}];
|
|
8182
|
+
readonly outputs: readonly [{
|
|
8183
|
+
readonly type: "core::integer::u256";
|
|
8184
|
+
}];
|
|
8185
|
+
readonly state_mutability: "view";
|
|
8186
|
+
}, {
|
|
8187
|
+
readonly type: "function";
|
|
8188
|
+
readonly name: "owner_of";
|
|
8189
|
+
readonly inputs: readonly [{
|
|
8190
|
+
readonly name: "token_id";
|
|
8191
|
+
readonly type: "core::integer::u256";
|
|
8192
|
+
}];
|
|
8193
|
+
readonly outputs: readonly [{
|
|
8194
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8195
|
+
}];
|
|
8196
|
+
readonly state_mutability: "view";
|
|
8197
|
+
}, {
|
|
8198
|
+
readonly type: "function";
|
|
8199
|
+
readonly name: "safe_transfer_from";
|
|
8200
|
+
readonly inputs: readonly [{
|
|
8201
|
+
readonly name: "from";
|
|
8202
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8203
|
+
}, {
|
|
8204
|
+
readonly name: "to";
|
|
8205
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8206
|
+
}, {
|
|
8207
|
+
readonly name: "token_id";
|
|
8208
|
+
readonly type: "core::integer::u256";
|
|
8209
|
+
}, {
|
|
8210
|
+
readonly name: "data";
|
|
8211
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
8212
|
+
}];
|
|
8213
|
+
readonly outputs: readonly [];
|
|
8214
|
+
readonly state_mutability: "external";
|
|
8215
|
+
}, {
|
|
8216
|
+
readonly type: "function";
|
|
8217
|
+
readonly name: "transfer_from";
|
|
8218
|
+
readonly inputs: readonly [{
|
|
8219
|
+
readonly name: "from";
|
|
8220
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8221
|
+
}, {
|
|
8222
|
+
readonly name: "to";
|
|
8223
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8224
|
+
}, {
|
|
8225
|
+
readonly name: "token_id";
|
|
8226
|
+
readonly type: "core::integer::u256";
|
|
8227
|
+
}];
|
|
8228
|
+
readonly outputs: readonly [];
|
|
8229
|
+
readonly state_mutability: "external";
|
|
8230
|
+
}, {
|
|
8231
|
+
readonly type: "function";
|
|
8232
|
+
readonly name: "approve";
|
|
8233
|
+
readonly inputs: readonly [{
|
|
8234
|
+
readonly name: "to";
|
|
8235
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8236
|
+
}, {
|
|
8237
|
+
readonly name: "token_id";
|
|
8238
|
+
readonly type: "core::integer::u256";
|
|
8239
|
+
}];
|
|
8240
|
+
readonly outputs: readonly [];
|
|
8241
|
+
readonly state_mutability: "external";
|
|
8242
|
+
}, {
|
|
8243
|
+
readonly type: "function";
|
|
8244
|
+
readonly name: "set_approval_for_all";
|
|
8245
|
+
readonly inputs: readonly [{
|
|
8246
|
+
readonly name: "operator";
|
|
8247
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8248
|
+
}, {
|
|
8249
|
+
readonly name: "approved";
|
|
8250
|
+
readonly type: "core::bool";
|
|
8251
|
+
}];
|
|
8252
|
+
readonly outputs: readonly [];
|
|
8253
|
+
readonly state_mutability: "external";
|
|
8254
|
+
}, {
|
|
8255
|
+
readonly type: "function";
|
|
8256
|
+
readonly name: "get_approved";
|
|
8257
|
+
readonly inputs: readonly [{
|
|
8258
|
+
readonly name: "token_id";
|
|
8259
|
+
readonly type: "core::integer::u256";
|
|
8260
|
+
}];
|
|
8261
|
+
readonly outputs: readonly [{
|
|
8262
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8263
|
+
}];
|
|
8264
|
+
readonly state_mutability: "view";
|
|
8265
|
+
}, {
|
|
8266
|
+
readonly type: "function";
|
|
8267
|
+
readonly name: "is_approved_for_all";
|
|
8268
|
+
readonly inputs: readonly [{
|
|
8269
|
+
readonly name: "owner";
|
|
8270
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8271
|
+
}, {
|
|
8272
|
+
readonly name: "operator";
|
|
8273
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8274
|
+
}];
|
|
8275
|
+
readonly outputs: readonly [{
|
|
8276
|
+
readonly type: "core::bool";
|
|
8277
|
+
}];
|
|
8278
|
+
readonly state_mutability: "view";
|
|
8279
|
+
}];
|
|
8280
|
+
}, {
|
|
8281
|
+
readonly type: "impl";
|
|
8282
|
+
readonly name: "ERC721CamelOnly";
|
|
8283
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
|
|
8284
|
+
}, {
|
|
8285
|
+
readonly type: "interface";
|
|
8286
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
|
|
8287
|
+
readonly items: readonly [{
|
|
8288
|
+
readonly type: "function";
|
|
8289
|
+
readonly name: "balanceOf";
|
|
8290
|
+
readonly inputs: readonly [{
|
|
8291
|
+
readonly name: "account";
|
|
8292
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8293
|
+
}];
|
|
8294
|
+
readonly outputs: readonly [{
|
|
8295
|
+
readonly type: "core::integer::u256";
|
|
8296
|
+
}];
|
|
8297
|
+
readonly state_mutability: "view";
|
|
8298
|
+
}, {
|
|
8299
|
+
readonly type: "function";
|
|
8300
|
+
readonly name: "ownerOf";
|
|
8301
|
+
readonly inputs: readonly [{
|
|
8302
|
+
readonly name: "tokenId";
|
|
8303
|
+
readonly type: "core::integer::u256";
|
|
8304
|
+
}];
|
|
8305
|
+
readonly outputs: readonly [{
|
|
8306
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8307
|
+
}];
|
|
8308
|
+
readonly state_mutability: "view";
|
|
8309
|
+
}, {
|
|
8310
|
+
readonly type: "function";
|
|
8311
|
+
readonly name: "safeTransferFrom";
|
|
8312
|
+
readonly inputs: readonly [{
|
|
8313
|
+
readonly name: "from";
|
|
8314
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8315
|
+
}, {
|
|
8316
|
+
readonly name: "to";
|
|
8317
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8318
|
+
}, {
|
|
8319
|
+
readonly name: "tokenId";
|
|
8320
|
+
readonly type: "core::integer::u256";
|
|
8321
|
+
}, {
|
|
8322
|
+
readonly name: "data";
|
|
8323
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
8324
|
+
}];
|
|
8325
|
+
readonly outputs: readonly [];
|
|
8326
|
+
readonly state_mutability: "external";
|
|
8327
|
+
}, {
|
|
8328
|
+
readonly type: "function";
|
|
8329
|
+
readonly name: "transferFrom";
|
|
8330
|
+
readonly inputs: readonly [{
|
|
8331
|
+
readonly name: "from";
|
|
8332
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8333
|
+
}, {
|
|
8334
|
+
readonly name: "to";
|
|
8335
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8336
|
+
}, {
|
|
8337
|
+
readonly name: "tokenId";
|
|
8338
|
+
readonly type: "core::integer::u256";
|
|
8339
|
+
}];
|
|
8340
|
+
readonly outputs: readonly [];
|
|
8341
|
+
readonly state_mutability: "external";
|
|
8342
|
+
}, {
|
|
8343
|
+
readonly type: "function";
|
|
8344
|
+
readonly name: "setApprovalForAll";
|
|
8345
|
+
readonly inputs: readonly [{
|
|
8346
|
+
readonly name: "operator";
|
|
8347
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8348
|
+
}, {
|
|
8349
|
+
readonly name: "approved";
|
|
8350
|
+
readonly type: "core::bool";
|
|
8351
|
+
}];
|
|
8352
|
+
readonly outputs: readonly [];
|
|
8353
|
+
readonly state_mutability: "external";
|
|
8354
|
+
}, {
|
|
8355
|
+
readonly type: "function";
|
|
8356
|
+
readonly name: "getApproved";
|
|
8357
|
+
readonly inputs: readonly [{
|
|
8358
|
+
readonly name: "tokenId";
|
|
8359
|
+
readonly type: "core::integer::u256";
|
|
8360
|
+
}];
|
|
8361
|
+
readonly outputs: readonly [{
|
|
8362
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8363
|
+
}];
|
|
8364
|
+
readonly state_mutability: "view";
|
|
8365
|
+
}, {
|
|
8366
|
+
readonly type: "function";
|
|
8367
|
+
readonly name: "isApprovedForAll";
|
|
8368
|
+
readonly inputs: readonly [{
|
|
8369
|
+
readonly name: "owner";
|
|
8370
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8371
|
+
}, {
|
|
8372
|
+
readonly name: "operator";
|
|
8373
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8374
|
+
}];
|
|
8375
|
+
readonly outputs: readonly [{
|
|
8376
|
+
readonly type: "core::bool";
|
|
8377
|
+
}];
|
|
8378
|
+
readonly state_mutability: "view";
|
|
8379
|
+
}];
|
|
8380
|
+
}, {
|
|
8381
|
+
readonly type: "impl";
|
|
8382
|
+
readonly name: "SRC5Impl";
|
|
8383
|
+
readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
|
|
8384
|
+
}, {
|
|
8385
|
+
readonly type: "interface";
|
|
8386
|
+
readonly name: "openzeppelin_introspection::interface::ISRC5";
|
|
8387
|
+
readonly items: readonly [{
|
|
8388
|
+
readonly type: "function";
|
|
8389
|
+
readonly name: "supports_interface";
|
|
8390
|
+
readonly inputs: readonly [{
|
|
8391
|
+
readonly name: "interface_id";
|
|
8392
|
+
readonly type: "core::felt252";
|
|
8393
|
+
}];
|
|
8394
|
+
readonly outputs: readonly [{
|
|
8395
|
+
readonly type: "core::bool";
|
|
8396
|
+
}];
|
|
8397
|
+
readonly state_mutability: "view";
|
|
8398
|
+
}];
|
|
8399
|
+
}, {
|
|
8400
|
+
readonly type: "impl";
|
|
8401
|
+
readonly name: "OwnableMixinImpl";
|
|
8402
|
+
readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
8403
|
+
}, {
|
|
8404
|
+
readonly type: "interface";
|
|
8405
|
+
readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
8406
|
+
readonly items: readonly [{
|
|
8407
|
+
readonly type: "function";
|
|
8408
|
+
readonly name: "owner";
|
|
8409
|
+
readonly inputs: readonly [];
|
|
8410
|
+
readonly outputs: readonly [{
|
|
8411
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8412
|
+
}];
|
|
8413
|
+
readonly state_mutability: "view";
|
|
8414
|
+
}, {
|
|
8415
|
+
readonly type: "function";
|
|
8416
|
+
readonly name: "transfer_ownership";
|
|
8417
|
+
readonly inputs: readonly [{
|
|
8418
|
+
readonly name: "new_owner";
|
|
8419
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8420
|
+
}];
|
|
8421
|
+
readonly outputs: readonly [];
|
|
8422
|
+
readonly state_mutability: "external";
|
|
8423
|
+
}, {
|
|
8424
|
+
readonly type: "function";
|
|
8425
|
+
readonly name: "renounce_ownership";
|
|
8426
|
+
readonly inputs: readonly [];
|
|
8427
|
+
readonly outputs: readonly [];
|
|
8428
|
+
readonly state_mutability: "external";
|
|
8429
|
+
}, {
|
|
8430
|
+
readonly type: "function";
|
|
8431
|
+
readonly name: "transferOwnership";
|
|
8432
|
+
readonly inputs: readonly [{
|
|
8433
|
+
readonly name: "newOwner";
|
|
8434
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8435
|
+
}];
|
|
8436
|
+
readonly outputs: readonly [];
|
|
8437
|
+
readonly state_mutability: "external";
|
|
8438
|
+
}, {
|
|
8439
|
+
readonly type: "function";
|
|
8440
|
+
readonly name: "renounceOwnership";
|
|
8441
|
+
readonly inputs: readonly [];
|
|
8442
|
+
readonly outputs: readonly [];
|
|
8443
|
+
readonly state_mutability: "external";
|
|
8444
|
+
}];
|
|
8445
|
+
}, {
|
|
8446
|
+
readonly type: "constructor";
|
|
8447
|
+
readonly name: "constructor";
|
|
8448
|
+
readonly inputs: readonly [{
|
|
8449
|
+
readonly name: "name";
|
|
8450
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8451
|
+
}, {
|
|
8452
|
+
readonly name: "symbol";
|
|
8453
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8454
|
+
}, {
|
|
8455
|
+
readonly name: "base_uri";
|
|
8456
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8457
|
+
}, {
|
|
8458
|
+
readonly name: "max_supply";
|
|
8459
|
+
readonly type: "core::integer::u256";
|
|
8460
|
+
}, {
|
|
8461
|
+
readonly name: "entry_fee";
|
|
8462
|
+
readonly type: "core::integer::u256";
|
|
8463
|
+
}, {
|
|
8464
|
+
readonly name: "payment_token";
|
|
8465
|
+
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8466
|
+
}, {
|
|
8467
|
+
readonly name: "royalty_bps";
|
|
8468
|
+
readonly type: "core::integer::u256";
|
|
8469
|
+
}, {
|
|
8470
|
+
readonly name: "owner";
|
|
8471
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8472
|
+
}];
|
|
8473
|
+
}, {
|
|
8474
|
+
readonly type: "event";
|
|
8475
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
8476
|
+
readonly kind: "struct";
|
|
8477
|
+
readonly members: readonly [{
|
|
8478
|
+
readonly name: "from";
|
|
8479
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8480
|
+
readonly kind: "key";
|
|
8481
|
+
}, {
|
|
8482
|
+
readonly name: "to";
|
|
8483
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8484
|
+
readonly kind: "key";
|
|
8485
|
+
}, {
|
|
8486
|
+
readonly name: "token_id";
|
|
8487
|
+
readonly type: "core::integer::u256";
|
|
8488
|
+
readonly kind: "key";
|
|
8489
|
+
}];
|
|
8490
|
+
}, {
|
|
8491
|
+
readonly type: "event";
|
|
8492
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
8493
|
+
readonly kind: "struct";
|
|
8494
|
+
readonly members: readonly [{
|
|
8495
|
+
readonly name: "owner";
|
|
8496
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8497
|
+
readonly kind: "key";
|
|
8498
|
+
}, {
|
|
8499
|
+
readonly name: "approved";
|
|
8500
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8501
|
+
readonly kind: "key";
|
|
8502
|
+
}, {
|
|
8503
|
+
readonly name: "token_id";
|
|
8504
|
+
readonly type: "core::integer::u256";
|
|
8505
|
+
readonly kind: "key";
|
|
8506
|
+
}];
|
|
8507
|
+
}, {
|
|
8508
|
+
readonly type: "event";
|
|
8509
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
8510
|
+
readonly kind: "struct";
|
|
8511
|
+
readonly members: readonly [{
|
|
8512
|
+
readonly name: "owner";
|
|
8513
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8514
|
+
readonly kind: "key";
|
|
8515
|
+
}, {
|
|
8516
|
+
readonly name: "operator";
|
|
8517
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8518
|
+
readonly kind: "key";
|
|
8519
|
+
}, {
|
|
8520
|
+
readonly name: "approved";
|
|
8521
|
+
readonly type: "core::bool";
|
|
8522
|
+
readonly kind: "data";
|
|
8523
|
+
}];
|
|
8524
|
+
}, {
|
|
8525
|
+
readonly type: "event";
|
|
8526
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
8527
|
+
readonly kind: "enum";
|
|
8528
|
+
readonly variants: readonly [{
|
|
8529
|
+
readonly name: "Transfer";
|
|
8530
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
8531
|
+
readonly kind: "nested";
|
|
8532
|
+
}, {
|
|
8533
|
+
readonly name: "Approval";
|
|
8534
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
8535
|
+
readonly kind: "nested";
|
|
8536
|
+
}, {
|
|
8537
|
+
readonly name: "ApprovalForAll";
|
|
8538
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
8539
|
+
readonly kind: "nested";
|
|
8540
|
+
}];
|
|
8541
|
+
}, {
|
|
8542
|
+
readonly type: "event";
|
|
8543
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
8544
|
+
readonly kind: "enum";
|
|
8545
|
+
readonly variants: readonly [];
|
|
8546
|
+
}, {
|
|
8547
|
+
readonly type: "event";
|
|
8548
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
8549
|
+
readonly kind: "struct";
|
|
8550
|
+
readonly members: readonly [{
|
|
8551
|
+
readonly name: "previous_owner";
|
|
8552
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8553
|
+
readonly kind: "key";
|
|
8554
|
+
}, {
|
|
8555
|
+
readonly name: "new_owner";
|
|
8556
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8557
|
+
readonly kind: "key";
|
|
8558
|
+
}];
|
|
8559
|
+
}, {
|
|
8560
|
+
readonly type: "event";
|
|
8561
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
8562
|
+
readonly kind: "struct";
|
|
8563
|
+
readonly members: readonly [{
|
|
8564
|
+
readonly name: "previous_owner";
|
|
8565
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8566
|
+
readonly kind: "key";
|
|
8567
|
+
}, {
|
|
8568
|
+
readonly name: "new_owner";
|
|
8569
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8570
|
+
readonly kind: "key";
|
|
8571
|
+
}];
|
|
8572
|
+
}, {
|
|
8573
|
+
readonly type: "event";
|
|
8574
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
8575
|
+
readonly kind: "enum";
|
|
8576
|
+
readonly variants: readonly [{
|
|
8577
|
+
readonly name: "OwnershipTransferred";
|
|
8578
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
8579
|
+
readonly kind: "nested";
|
|
8580
|
+
}, {
|
|
8581
|
+
readonly name: "OwnershipTransferStarted";
|
|
8582
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
8583
|
+
readonly kind: "nested";
|
|
8584
|
+
}];
|
|
8585
|
+
}, {
|
|
8586
|
+
readonly type: "event";
|
|
8587
|
+
readonly name: "ip_club::IPClubCollection::IPClubCollection::MemberMinted";
|
|
8588
|
+
readonly kind: "struct";
|
|
8589
|
+
readonly members: readonly [{
|
|
8590
|
+
readonly name: "token_id";
|
|
8591
|
+
readonly type: "core::integer::u256";
|
|
8592
|
+
readonly kind: "key";
|
|
8593
|
+
}, {
|
|
8594
|
+
readonly name: "to";
|
|
8595
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8596
|
+
readonly kind: "key";
|
|
8597
|
+
}, {
|
|
8598
|
+
readonly name: "payer";
|
|
8599
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8600
|
+
readonly kind: "data";
|
|
8601
|
+
}];
|
|
8602
|
+
}, {
|
|
8603
|
+
readonly type: "event";
|
|
8604
|
+
readonly name: "ip_club::IPClubCollection::IPClubCollection::OpenStatusChanged";
|
|
8605
|
+
readonly kind: "struct";
|
|
8606
|
+
readonly members: readonly [{
|
|
8607
|
+
readonly name: "open";
|
|
8608
|
+
readonly type: "core::bool";
|
|
8609
|
+
readonly kind: "data";
|
|
8610
|
+
}];
|
|
8611
|
+
}, {
|
|
8612
|
+
readonly type: "event";
|
|
8613
|
+
readonly name: "ip_club::IPClubCollection::IPClubCollection::Event";
|
|
8614
|
+
readonly kind: "enum";
|
|
8615
|
+
readonly variants: readonly [{
|
|
8616
|
+
readonly name: "ERC721Event";
|
|
8617
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
8618
|
+
readonly kind: "flat";
|
|
8619
|
+
}, {
|
|
8620
|
+
readonly name: "SRC5Event";
|
|
8621
|
+
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
8622
|
+
readonly kind: "flat";
|
|
8623
|
+
}, {
|
|
8624
|
+
readonly name: "OwnableEvent";
|
|
8625
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
8626
|
+
readonly kind: "flat";
|
|
8627
|
+
}, {
|
|
8628
|
+
readonly name: "MemberMinted";
|
|
8629
|
+
readonly type: "ip_club::IPClubCollection::IPClubCollection::MemberMinted";
|
|
8630
|
+
readonly kind: "nested";
|
|
8631
|
+
}, {
|
|
8632
|
+
readonly name: "OpenStatusChanged";
|
|
8633
|
+
readonly type: "ip_club::IPClubCollection::IPClubCollection::OpenStatusChanged";
|
|
8634
|
+
readonly kind: "nested";
|
|
8635
|
+
}];
|
|
8636
|
+
}];
|
|
8637
|
+
|
|
8638
|
+
declare const IPSponsorshipABI: readonly [{
|
|
8639
|
+
readonly type: "impl";
|
|
8640
|
+
readonly name: "IPSponsorshipImpl";
|
|
8641
|
+
readonly interface_name: "ip_sponsorship::interface::IIPSponsorship";
|
|
8642
|
+
}, {
|
|
8643
|
+
readonly type: "struct";
|
|
8644
|
+
readonly name: "core::integer::u256";
|
|
8645
|
+
readonly members: readonly [{
|
|
8646
|
+
readonly name: "low";
|
|
8647
|
+
readonly type: "core::integer::u128";
|
|
8648
|
+
}, {
|
|
8649
|
+
readonly name: "high";
|
|
8650
|
+
readonly type: "core::integer::u128";
|
|
8651
|
+
}];
|
|
8652
|
+
}, {
|
|
8653
|
+
readonly type: "struct";
|
|
8654
|
+
readonly name: "core::byte_array::ByteArray";
|
|
8655
|
+
readonly members: readonly [{
|
|
8656
|
+
readonly name: "data";
|
|
8657
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
8658
|
+
}, {
|
|
8659
|
+
readonly name: "pending_word";
|
|
8660
|
+
readonly type: "core::felt252";
|
|
8661
|
+
}, {
|
|
8662
|
+
readonly name: "pending_word_len";
|
|
8663
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
8664
|
+
}];
|
|
8665
|
+
}, {
|
|
8666
|
+
readonly type: "enum";
|
|
8667
|
+
readonly name: "core::bool";
|
|
8668
|
+
readonly variants: readonly [{
|
|
8669
|
+
readonly name: "False";
|
|
8670
|
+
readonly type: "()";
|
|
8671
|
+
}, {
|
|
8672
|
+
readonly name: "True";
|
|
8673
|
+
readonly type: "()";
|
|
8674
|
+
}];
|
|
8675
|
+
}, {
|
|
8676
|
+
readonly type: "enum";
|
|
8677
|
+
readonly name: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8678
|
+
readonly variants: readonly [{
|
|
8679
|
+
readonly name: "Some";
|
|
8680
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8681
|
+
}, {
|
|
8682
|
+
readonly name: "None";
|
|
8683
|
+
readonly type: "()";
|
|
8684
|
+
}];
|
|
8685
|
+
}, {
|
|
8686
|
+
readonly type: "struct";
|
|
8687
|
+
readonly name: "ip_sponsorship::types::SponsorshipOffer";
|
|
8688
|
+
readonly members: readonly [{
|
|
8689
|
+
readonly name: "author";
|
|
8690
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8691
|
+
}, {
|
|
8692
|
+
readonly name: "nft_contract";
|
|
8693
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8694
|
+
}, {
|
|
8695
|
+
readonly name: "token_id";
|
|
8696
|
+
readonly type: "core::integer::u256";
|
|
8697
|
+
}, {
|
|
8698
|
+
readonly name: "min_amount";
|
|
8699
|
+
readonly type: "core::integer::u256";
|
|
8700
|
+
}, {
|
|
8701
|
+
readonly name: "duration";
|
|
8702
|
+
readonly type: "core::integer::u64";
|
|
8703
|
+
}, {
|
|
8704
|
+
readonly name: "payment_token";
|
|
8705
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8706
|
+
}, {
|
|
8707
|
+
readonly name: "license_terms_uri";
|
|
8708
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8709
|
+
}, {
|
|
8710
|
+
readonly name: "transferable";
|
|
8711
|
+
readonly type: "core::bool";
|
|
8712
|
+
}, {
|
|
8713
|
+
readonly name: "specific_sponsor";
|
|
8714
|
+
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8715
|
+
}, {
|
|
8716
|
+
readonly name: "open";
|
|
8717
|
+
readonly type: "core::bool";
|
|
8718
|
+
}];
|
|
8719
|
+
}, {
|
|
8720
|
+
readonly type: "struct";
|
|
8721
|
+
readonly name: "ip_sponsorship::types::License";
|
|
8722
|
+
readonly members: readonly [{
|
|
8723
|
+
readonly name: "author";
|
|
8724
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8725
|
+
}, {
|
|
8726
|
+
readonly name: "sponsor";
|
|
8727
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8728
|
+
}, {
|
|
8729
|
+
readonly name: "nft_contract";
|
|
8730
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8731
|
+
}, {
|
|
8732
|
+
readonly name: "token_id";
|
|
8733
|
+
readonly type: "core::integer::u256";
|
|
8734
|
+
}, {
|
|
8735
|
+
readonly name: "amount_paid";
|
|
8736
|
+
readonly type: "core::integer::u256";
|
|
8737
|
+
}, {
|
|
8738
|
+
readonly name: "expires_at";
|
|
8739
|
+
readonly type: "core::integer::u64";
|
|
8740
|
+
}, {
|
|
8741
|
+
readonly name: "transferable";
|
|
8742
|
+
readonly type: "core::bool";
|
|
8743
|
+
}, {
|
|
8744
|
+
readonly name: "license_terms_uri";
|
|
8745
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8746
|
+
}];
|
|
8747
|
+
}, {
|
|
8748
|
+
readonly type: "interface";
|
|
8749
|
+
readonly name: "ip_sponsorship::interface::IIPSponsorship";
|
|
8750
|
+
readonly items: readonly [{
|
|
8751
|
+
readonly type: "function";
|
|
8752
|
+
readonly name: "create_offer";
|
|
8753
|
+
readonly inputs: readonly [{
|
|
8754
|
+
readonly name: "nft_contract";
|
|
8755
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8756
|
+
}, {
|
|
8757
|
+
readonly name: "token_id";
|
|
8758
|
+
readonly type: "core::integer::u256";
|
|
8759
|
+
}, {
|
|
8760
|
+
readonly name: "min_amount";
|
|
8761
|
+
readonly type: "core::integer::u256";
|
|
8762
|
+
}, {
|
|
8763
|
+
readonly name: "duration";
|
|
8764
|
+
readonly type: "core::integer::u64";
|
|
8765
|
+
}, {
|
|
8766
|
+
readonly name: "payment_token";
|
|
8767
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8768
|
+
}, {
|
|
8769
|
+
readonly name: "license_terms_uri";
|
|
8770
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8771
|
+
}, {
|
|
8772
|
+
readonly name: "transferable";
|
|
8773
|
+
readonly type: "core::bool";
|
|
8774
|
+
}, {
|
|
8775
|
+
readonly name: "specific_sponsor";
|
|
8776
|
+
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8777
|
+
}];
|
|
8778
|
+
readonly outputs: readonly [{
|
|
8779
|
+
readonly type: "core::integer::u256";
|
|
8780
|
+
}];
|
|
8781
|
+
readonly state_mutability: "external";
|
|
8782
|
+
}, {
|
|
8783
|
+
readonly type: "function";
|
|
8784
|
+
readonly name: "set_offer_open";
|
|
8785
|
+
readonly inputs: readonly [{
|
|
8786
|
+
readonly name: "offer_id";
|
|
8787
|
+
readonly type: "core::integer::u256";
|
|
8788
|
+
}, {
|
|
8789
|
+
readonly name: "open";
|
|
8790
|
+
readonly type: "core::bool";
|
|
8791
|
+
}];
|
|
8792
|
+
readonly outputs: readonly [];
|
|
8793
|
+
readonly state_mutability: "external";
|
|
8794
|
+
}, {
|
|
8795
|
+
readonly type: "function";
|
|
8796
|
+
readonly name: "place_bid";
|
|
8797
|
+
readonly inputs: readonly [{
|
|
8798
|
+
readonly name: "offer_id";
|
|
8799
|
+
readonly type: "core::integer::u256";
|
|
8800
|
+
}, {
|
|
8801
|
+
readonly name: "amount";
|
|
8802
|
+
readonly type: "core::integer::u256";
|
|
8803
|
+
}];
|
|
8804
|
+
readonly outputs: readonly [];
|
|
8805
|
+
readonly state_mutability: "external";
|
|
8806
|
+
}, {
|
|
8807
|
+
readonly type: "function";
|
|
8808
|
+
readonly name: "retract_bid";
|
|
8809
|
+
readonly inputs: readonly [{
|
|
8810
|
+
readonly name: "offer_id";
|
|
8811
|
+
readonly type: "core::integer::u256";
|
|
8812
|
+
}];
|
|
8813
|
+
readonly outputs: readonly [];
|
|
8814
|
+
readonly state_mutability: "external";
|
|
8815
|
+
}, {
|
|
8816
|
+
readonly type: "function";
|
|
8817
|
+
readonly name: "accept_bid";
|
|
8818
|
+
readonly inputs: readonly [{
|
|
8819
|
+
readonly name: "offer_id";
|
|
8820
|
+
readonly type: "core::integer::u256";
|
|
8821
|
+
}, {
|
|
8822
|
+
readonly name: "sponsor";
|
|
8823
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8824
|
+
}];
|
|
8825
|
+
readonly outputs: readonly [{
|
|
8826
|
+
readonly type: "core::integer::u256";
|
|
8827
|
+
}];
|
|
8828
|
+
readonly state_mutability: "external";
|
|
8829
|
+
}, {
|
|
8830
|
+
readonly type: "function";
|
|
8831
|
+
readonly name: "transfer_license";
|
|
8832
|
+
readonly inputs: readonly [{
|
|
8833
|
+
readonly name: "license_id";
|
|
8834
|
+
readonly type: "core::integer::u256";
|
|
8835
|
+
}, {
|
|
8836
|
+
readonly name: "to";
|
|
8837
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8838
|
+
}];
|
|
8839
|
+
readonly outputs: readonly [];
|
|
8840
|
+
readonly state_mutability: "external";
|
|
8841
|
+
}, {
|
|
8842
|
+
readonly type: "function";
|
|
8843
|
+
readonly name: "get_offer";
|
|
8844
|
+
readonly inputs: readonly [{
|
|
8845
|
+
readonly name: "offer_id";
|
|
8846
|
+
readonly type: "core::integer::u256";
|
|
8847
|
+
}];
|
|
8848
|
+
readonly outputs: readonly [{
|
|
8849
|
+
readonly type: "ip_sponsorship::types::SponsorshipOffer";
|
|
8850
|
+
}];
|
|
8851
|
+
readonly state_mutability: "view";
|
|
8852
|
+
}, {
|
|
8853
|
+
readonly type: "function";
|
|
8854
|
+
readonly name: "get_bid";
|
|
8855
|
+
readonly inputs: readonly [{
|
|
8856
|
+
readonly name: "offer_id";
|
|
8857
|
+
readonly type: "core::integer::u256";
|
|
8858
|
+
}, {
|
|
8859
|
+
readonly name: "sponsor";
|
|
8860
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8861
|
+
}];
|
|
8862
|
+
readonly outputs: readonly [{
|
|
8863
|
+
readonly type: "core::integer::u256";
|
|
8864
|
+
}];
|
|
8865
|
+
readonly state_mutability: "view";
|
|
8866
|
+
}, {
|
|
8867
|
+
readonly type: "function";
|
|
8868
|
+
readonly name: "get_license";
|
|
8869
|
+
readonly inputs: readonly [{
|
|
8870
|
+
readonly name: "license_id";
|
|
8871
|
+
readonly type: "core::integer::u256";
|
|
8872
|
+
}];
|
|
8873
|
+
readonly outputs: readonly [{
|
|
8874
|
+
readonly type: "ip_sponsorship::types::License";
|
|
8875
|
+
}];
|
|
8876
|
+
readonly state_mutability: "view";
|
|
8877
|
+
}, {
|
|
8878
|
+
readonly type: "function";
|
|
8879
|
+
readonly name: "is_license_valid";
|
|
8880
|
+
readonly inputs: readonly [{
|
|
8881
|
+
readonly name: "license_id";
|
|
8882
|
+
readonly type: "core::integer::u256";
|
|
8883
|
+
}];
|
|
8884
|
+
readonly outputs: readonly [{
|
|
8885
|
+
readonly type: "core::bool";
|
|
8886
|
+
}];
|
|
8887
|
+
readonly state_mutability: "view";
|
|
8888
|
+
}, {
|
|
8889
|
+
readonly type: "function";
|
|
8890
|
+
readonly name: "get_last_offer_id";
|
|
8891
|
+
readonly inputs: readonly [];
|
|
8892
|
+
readonly outputs: readonly [{
|
|
8893
|
+
readonly type: "core::integer::u256";
|
|
8894
|
+
}];
|
|
8895
|
+
readonly state_mutability: "view";
|
|
8896
|
+
}, {
|
|
8897
|
+
readonly type: "function";
|
|
8898
|
+
readonly name: "get_last_license_id";
|
|
8899
|
+
readonly inputs: readonly [];
|
|
8900
|
+
readonly outputs: readonly [{
|
|
8901
|
+
readonly type: "core::integer::u256";
|
|
8902
|
+
}];
|
|
8903
|
+
readonly state_mutability: "view";
|
|
8904
|
+
}];
|
|
8905
|
+
}, {
|
|
8906
|
+
readonly type: "impl";
|
|
8907
|
+
readonly name: "SRC5Impl";
|
|
8908
|
+
readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
|
|
8909
|
+
}, {
|
|
8910
|
+
readonly type: "interface";
|
|
8911
|
+
readonly name: "openzeppelin_introspection::interface::ISRC5";
|
|
8912
|
+
readonly items: readonly [{
|
|
8913
|
+
readonly type: "function";
|
|
8914
|
+
readonly name: "supports_interface";
|
|
8915
|
+
readonly inputs: readonly [{
|
|
8916
|
+
readonly name: "interface_id";
|
|
8917
|
+
readonly type: "core::felt252";
|
|
8918
|
+
}];
|
|
8919
|
+
readonly outputs: readonly [{
|
|
8920
|
+
readonly type: "core::bool";
|
|
8921
|
+
}];
|
|
8922
|
+
readonly state_mutability: "view";
|
|
8923
|
+
}];
|
|
8924
|
+
}, {
|
|
8925
|
+
readonly type: "constructor";
|
|
8926
|
+
readonly name: "constructor";
|
|
8927
|
+
readonly inputs: readonly [];
|
|
8928
|
+
}, {
|
|
8929
|
+
readonly type: "event";
|
|
8930
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
8931
|
+
readonly kind: "enum";
|
|
8932
|
+
readonly variants: readonly [];
|
|
8933
|
+
}, {
|
|
8934
|
+
readonly type: "event";
|
|
8935
|
+
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
|
|
8936
|
+
readonly kind: "struct";
|
|
8937
|
+
readonly members: readonly [{
|
|
8938
|
+
readonly name: "offer_id";
|
|
8939
|
+
readonly type: "core::integer::u256";
|
|
8940
|
+
readonly kind: "key";
|
|
8941
|
+
}, {
|
|
8942
|
+
readonly name: "author";
|
|
8943
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8944
|
+
readonly kind: "key";
|
|
8945
|
+
}, {
|
|
8946
|
+
readonly name: "nft_contract";
|
|
8947
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8948
|
+
readonly kind: "key";
|
|
8949
|
+
}, {
|
|
8950
|
+
readonly name: "token_id";
|
|
8951
|
+
readonly type: "core::integer::u256";
|
|
8952
|
+
readonly kind: "data";
|
|
8953
|
+
}, {
|
|
8954
|
+
readonly name: "min_amount";
|
|
8955
|
+
readonly type: "core::integer::u256";
|
|
8956
|
+
readonly kind: "data";
|
|
8957
|
+
}, {
|
|
8958
|
+
readonly name: "duration";
|
|
8959
|
+
readonly type: "core::integer::u64";
|
|
8960
|
+
readonly kind: "data";
|
|
8961
|
+
}, {
|
|
8962
|
+
readonly name: "payment_token";
|
|
8963
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8964
|
+
readonly kind: "data";
|
|
8965
|
+
}, {
|
|
8966
|
+
readonly name: "license_terms_uri";
|
|
8967
|
+
readonly type: "core::byte_array::ByteArray";
|
|
8968
|
+
readonly kind: "data";
|
|
8969
|
+
}, {
|
|
8970
|
+
readonly name: "transferable";
|
|
8971
|
+
readonly type: "core::bool";
|
|
8972
|
+
readonly kind: "data";
|
|
8973
|
+
}, {
|
|
8974
|
+
readonly name: "specific_sponsor";
|
|
8975
|
+
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8976
|
+
readonly kind: "data";
|
|
8977
|
+
}, {
|
|
8978
|
+
readonly name: "created_at";
|
|
8979
|
+
readonly type: "core::integer::u64";
|
|
8980
|
+
readonly kind: "data";
|
|
8981
|
+
}];
|
|
8982
|
+
}, {
|
|
8983
|
+
readonly type: "event";
|
|
8984
|
+
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
|
|
8985
|
+
readonly kind: "struct";
|
|
8986
|
+
readonly members: readonly [{
|
|
8987
|
+
readonly name: "offer_id";
|
|
8988
|
+
readonly type: "core::integer::u256";
|
|
8989
|
+
readonly kind: "key";
|
|
8990
|
+
}, {
|
|
8991
|
+
readonly name: "open";
|
|
8992
|
+
readonly type: "core::bool";
|
|
8993
|
+
readonly kind: "data";
|
|
8994
|
+
}, {
|
|
8995
|
+
readonly name: "updated_at";
|
|
8996
|
+
readonly type: "core::integer::u64";
|
|
8997
|
+
readonly kind: "data";
|
|
8998
|
+
}];
|
|
8999
|
+
}, {
|
|
9000
|
+
readonly type: "event";
|
|
9001
|
+
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
|
|
9002
|
+
readonly kind: "struct";
|
|
9003
|
+
readonly members: readonly [{
|
|
9004
|
+
readonly name: "offer_id";
|
|
9005
|
+
readonly type: "core::integer::u256";
|
|
9006
|
+
readonly kind: "key";
|
|
9007
|
+
}, {
|
|
9008
|
+
readonly name: "sponsor";
|
|
9009
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9010
|
+
readonly kind: "key";
|
|
9011
|
+
}, {
|
|
9012
|
+
readonly name: "amount";
|
|
9013
|
+
readonly type: "core::integer::u256";
|
|
9014
|
+
readonly kind: "data";
|
|
9015
|
+
}, {
|
|
9016
|
+
readonly name: "bid_at";
|
|
9017
|
+
readonly type: "core::integer::u64";
|
|
9018
|
+
readonly kind: "data";
|
|
9019
|
+
}];
|
|
9020
|
+
}, {
|
|
9021
|
+
readonly type: "event";
|
|
9022
|
+
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
|
|
9023
|
+
readonly kind: "struct";
|
|
9024
|
+
readonly members: readonly [{
|
|
9025
|
+
readonly name: "offer_id";
|
|
9026
|
+
readonly type: "core::integer::u256";
|
|
9027
|
+
readonly kind: "key";
|
|
9028
|
+
}, {
|
|
9029
|
+
readonly name: "sponsor";
|
|
9030
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9031
|
+
readonly kind: "key";
|
|
9032
|
+
}, {
|
|
9033
|
+
readonly name: "retracted_at";
|
|
9034
|
+
readonly type: "core::integer::u64";
|
|
9035
|
+
readonly kind: "data";
|
|
9036
|
+
}];
|
|
9037
|
+
}, {
|
|
9038
|
+
readonly type: "event";
|
|
9039
|
+
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
|
|
9040
|
+
readonly kind: "struct";
|
|
9041
|
+
readonly members: readonly [{
|
|
9042
|
+
readonly name: "offer_id";
|
|
9043
|
+
readonly type: "core::integer::u256";
|
|
9044
|
+
readonly kind: "key";
|
|
9045
|
+
}, {
|
|
9046
|
+
readonly name: "license_id";
|
|
9047
|
+
readonly type: "core::integer::u256";
|
|
9048
|
+
readonly kind: "key";
|
|
9049
|
+
}, {
|
|
9050
|
+
readonly name: "sponsor";
|
|
9051
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9052
|
+
readonly kind: "key";
|
|
9053
|
+
}, {
|
|
9054
|
+
readonly name: "author";
|
|
9055
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9056
|
+
readonly kind: "data";
|
|
9057
|
+
}, {
|
|
9058
|
+
readonly name: "amount";
|
|
9059
|
+
readonly type: "core::integer::u256";
|
|
9060
|
+
readonly kind: "data";
|
|
9061
|
+
}, {
|
|
9062
|
+
readonly name: "expires_at";
|
|
9063
|
+
readonly type: "core::integer::u64";
|
|
9064
|
+
readonly kind: "data";
|
|
9065
|
+
}];
|
|
9066
|
+
}, {
|
|
9067
|
+
readonly type: "event";
|
|
9068
|
+
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
|
|
9069
|
+
readonly kind: "struct";
|
|
9070
|
+
readonly members: readonly [{
|
|
9071
|
+
readonly name: "license_id";
|
|
9072
|
+
readonly type: "core::integer::u256";
|
|
9073
|
+
readonly kind: "key";
|
|
9074
|
+
}, {
|
|
9075
|
+
readonly name: "from";
|
|
9076
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9077
|
+
readonly kind: "key";
|
|
9078
|
+
}, {
|
|
9079
|
+
readonly name: "to";
|
|
9080
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9081
|
+
readonly kind: "key";
|
|
9082
|
+
}, {
|
|
9083
|
+
readonly name: "transferred_at";
|
|
9084
|
+
readonly type: "core::integer::u64";
|
|
9085
|
+
readonly kind: "data";
|
|
9086
|
+
}];
|
|
9087
|
+
}, {
|
|
9088
|
+
readonly type: "event";
|
|
9089
|
+
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::Event";
|
|
9090
|
+
readonly kind: "enum";
|
|
9091
|
+
readonly variants: readonly [{
|
|
9092
|
+
readonly name: "SRC5Event";
|
|
9093
|
+
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
9094
|
+
readonly kind: "flat";
|
|
9095
|
+
}, {
|
|
9096
|
+
readonly name: "OfferCreated";
|
|
9097
|
+
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferCreated";
|
|
9098
|
+
readonly kind: "nested";
|
|
9099
|
+
}, {
|
|
9100
|
+
readonly name: "OfferStatusUpdated";
|
|
9101
|
+
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
|
|
9102
|
+
readonly kind: "nested";
|
|
9103
|
+
}, {
|
|
9104
|
+
readonly name: "BidPlaced";
|
|
9105
|
+
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
|
|
9106
|
+
readonly kind: "nested";
|
|
9107
|
+
}, {
|
|
9108
|
+
readonly name: "BidRetracted";
|
|
9109
|
+
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
|
|
9110
|
+
readonly kind: "nested";
|
|
9111
|
+
}, {
|
|
9112
|
+
readonly name: "SponsorshipAccepted";
|
|
9113
|
+
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
|
|
9114
|
+
readonly kind: "nested";
|
|
9115
|
+
}, {
|
|
9116
|
+
readonly name: "LicenseTransferred";
|
|
9117
|
+
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
|
|
9118
|
+
readonly kind: "nested";
|
|
9119
|
+
}];
|
|
9120
|
+
}];
|
|
9121
|
+
|
|
9122
|
+
declare const IPSponsorshipLicenseABI: readonly [{
|
|
9123
|
+
readonly type: "impl";
|
|
9124
|
+
readonly name: "ERC721MetadataImpl";
|
|
9125
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
|
|
9126
|
+
}, {
|
|
9127
|
+
readonly type: "struct";
|
|
9128
|
+
readonly name: "core::byte_array::ByteArray";
|
|
9129
|
+
readonly members: readonly [{
|
|
9130
|
+
readonly name: "data";
|
|
9131
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
9132
|
+
}, {
|
|
9133
|
+
readonly name: "pending_word";
|
|
9134
|
+
readonly type: "core::felt252";
|
|
9135
|
+
}, {
|
|
9136
|
+
readonly name: "pending_word_len";
|
|
9137
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
9138
|
+
}];
|
|
9139
|
+
}, {
|
|
9140
|
+
readonly type: "struct";
|
|
9141
|
+
readonly name: "core::integer::u256";
|
|
9142
|
+
readonly members: readonly [{
|
|
9143
|
+
readonly name: "low";
|
|
9144
|
+
readonly type: "core::integer::u128";
|
|
9145
|
+
}, {
|
|
9146
|
+
readonly name: "high";
|
|
9147
|
+
readonly type: "core::integer::u128";
|
|
9148
|
+
}];
|
|
9149
|
+
}, {
|
|
9150
|
+
readonly type: "interface";
|
|
9151
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
|
|
9152
|
+
readonly items: readonly [{
|
|
9153
|
+
readonly type: "function";
|
|
9154
|
+
readonly name: "name";
|
|
9155
|
+
readonly inputs: readonly [];
|
|
9156
|
+
readonly outputs: readonly [{
|
|
9157
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9158
|
+
}];
|
|
9159
|
+
readonly state_mutability: "view";
|
|
9160
|
+
}, {
|
|
9161
|
+
readonly type: "function";
|
|
9162
|
+
readonly name: "symbol";
|
|
9163
|
+
readonly inputs: readonly [];
|
|
9164
|
+
readonly outputs: readonly [{
|
|
9165
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9166
|
+
}];
|
|
9167
|
+
readonly state_mutability: "view";
|
|
9168
|
+
}, {
|
|
9169
|
+
readonly type: "function";
|
|
9170
|
+
readonly name: "token_uri";
|
|
9171
|
+
readonly inputs: readonly [{
|
|
9172
|
+
readonly name: "token_id";
|
|
9173
|
+
readonly type: "core::integer::u256";
|
|
9174
|
+
}];
|
|
9175
|
+
readonly outputs: readonly [{
|
|
9176
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9177
|
+
}];
|
|
9178
|
+
readonly state_mutability: "view";
|
|
9179
|
+
}];
|
|
9180
|
+
}, {
|
|
9181
|
+
readonly type: "impl";
|
|
9182
|
+
readonly name: "ERC721MetadataCamelOnlyImpl";
|
|
9183
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
|
|
9184
|
+
}, {
|
|
9185
|
+
readonly type: "interface";
|
|
9186
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
|
|
9187
|
+
readonly items: readonly [{
|
|
9188
|
+
readonly type: "function";
|
|
9189
|
+
readonly name: "tokenURI";
|
|
9190
|
+
readonly inputs: readonly [{
|
|
9191
|
+
readonly name: "tokenId";
|
|
9192
|
+
readonly type: "core::integer::u256";
|
|
9193
|
+
}];
|
|
9194
|
+
readonly outputs: readonly [{
|
|
9195
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9196
|
+
}];
|
|
9197
|
+
readonly state_mutability: "view";
|
|
9198
|
+
}];
|
|
9199
|
+
}, {
|
|
9200
|
+
readonly type: "impl";
|
|
9201
|
+
readonly name: "IPSponsorshipLicenseImpl";
|
|
9202
|
+
readonly interface_name: "ip_sponsorship::interface::IIPSponsorshipLicense";
|
|
9203
|
+
}, {
|
|
9204
|
+
readonly type: "enum";
|
|
9205
|
+
readonly name: "core::bool";
|
|
9206
|
+
readonly variants: readonly [{
|
|
9207
|
+
readonly name: "False";
|
|
9208
|
+
readonly type: "()";
|
|
9209
|
+
}, {
|
|
9210
|
+
readonly name: "True";
|
|
9211
|
+
readonly type: "()";
|
|
9212
|
+
}];
|
|
9213
|
+
}, {
|
|
9214
|
+
readonly type: "struct";
|
|
9215
|
+
readonly name: "ip_sponsorship::types::LicenseData";
|
|
9216
|
+
readonly members: readonly [{
|
|
9217
|
+
readonly name: "author";
|
|
9218
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9219
|
+
}, {
|
|
9220
|
+
readonly name: "asset_contract";
|
|
9221
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9222
|
+
}, {
|
|
9223
|
+
readonly name: "asset_token_id";
|
|
9224
|
+
readonly type: "core::integer::u256";
|
|
9225
|
+
}, {
|
|
9226
|
+
readonly name: "expires_at";
|
|
9227
|
+
readonly type: "core::integer::u64";
|
|
9228
|
+
}, {
|
|
9229
|
+
readonly name: "transferable";
|
|
9230
|
+
readonly type: "core::bool";
|
|
9231
|
+
}, {
|
|
9232
|
+
readonly name: "royalty_bps";
|
|
9233
|
+
readonly type: "core::integer::u256";
|
|
9234
|
+
}, {
|
|
9235
|
+
readonly name: "license_terms_uri";
|
|
9236
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9237
|
+
}];
|
|
9238
|
+
}, {
|
|
9239
|
+
readonly type: "interface";
|
|
9240
|
+
readonly name: "ip_sponsorship::interface::IIPSponsorshipLicense";
|
|
9241
|
+
readonly items: readonly [{
|
|
9242
|
+
readonly type: "function";
|
|
9243
|
+
readonly name: "set_minter";
|
|
9244
|
+
readonly inputs: readonly [{
|
|
9245
|
+
readonly name: "minter";
|
|
9246
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9247
|
+
}];
|
|
9248
|
+
readonly outputs: readonly [];
|
|
9249
|
+
readonly state_mutability: "external";
|
|
9250
|
+
}, {
|
|
9251
|
+
readonly type: "function";
|
|
9252
|
+
readonly name: "get_minter";
|
|
9253
|
+
readonly inputs: readonly [];
|
|
9254
|
+
readonly outputs: readonly [{
|
|
9255
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9256
|
+
}];
|
|
9257
|
+
readonly state_mutability: "view";
|
|
9258
|
+
}, {
|
|
9259
|
+
readonly type: "function";
|
|
9260
|
+
readonly name: "mint";
|
|
7923
9261
|
readonly inputs: readonly [{
|
|
7924
|
-
readonly name: "
|
|
7925
|
-
readonly type: "core::
|
|
9262
|
+
readonly name: "recipient";
|
|
9263
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7926
9264
|
}, {
|
|
7927
|
-
readonly name: "
|
|
9265
|
+
readonly name: "data";
|
|
9266
|
+
readonly type: "ip_sponsorship::types::LicenseData";
|
|
9267
|
+
}];
|
|
9268
|
+
readonly outputs: readonly [{
|
|
7928
9269
|
readonly type: "core::integer::u256";
|
|
7929
9270
|
}];
|
|
7930
|
-
readonly outputs: readonly [];
|
|
7931
9271
|
readonly state_mutability: "external";
|
|
7932
9272
|
}, {
|
|
7933
9273
|
readonly type: "function";
|
|
7934
|
-
readonly name: "
|
|
9274
|
+
readonly name: "get_license_data";
|
|
7935
9275
|
readonly inputs: readonly [{
|
|
7936
|
-
readonly name: "
|
|
9276
|
+
readonly name: "token_id";
|
|
7937
9277
|
readonly type: "core::integer::u256";
|
|
7938
9278
|
}];
|
|
7939
|
-
readonly outputs: readonly [
|
|
7940
|
-
|
|
9279
|
+
readonly outputs: readonly [{
|
|
9280
|
+
readonly type: "ip_sponsorship::types::LicenseData";
|
|
9281
|
+
}];
|
|
9282
|
+
readonly state_mutability: "view";
|
|
7941
9283
|
}, {
|
|
7942
9284
|
readonly type: "function";
|
|
7943
|
-
readonly name: "
|
|
9285
|
+
readonly name: "is_license_valid";
|
|
7944
9286
|
readonly inputs: readonly [{
|
|
7945
|
-
readonly name: "
|
|
9287
|
+
readonly name: "token_id";
|
|
9288
|
+
readonly type: "core::integer::u256";
|
|
9289
|
+
}];
|
|
9290
|
+
readonly outputs: readonly [{
|
|
9291
|
+
readonly type: "core::bool";
|
|
9292
|
+
}];
|
|
9293
|
+
readonly state_mutability: "view";
|
|
9294
|
+
}, {
|
|
9295
|
+
readonly type: "function";
|
|
9296
|
+
readonly name: "last_license_id";
|
|
9297
|
+
readonly inputs: readonly [];
|
|
9298
|
+
readonly outputs: readonly [{
|
|
9299
|
+
readonly type: "core::integer::u256";
|
|
9300
|
+
}];
|
|
9301
|
+
readonly state_mutability: "view";
|
|
9302
|
+
}, {
|
|
9303
|
+
readonly type: "function";
|
|
9304
|
+
readonly name: "royalty_info";
|
|
9305
|
+
readonly inputs: readonly [{
|
|
9306
|
+
readonly name: "token_id";
|
|
7946
9307
|
readonly type: "core::integer::u256";
|
|
7947
9308
|
}, {
|
|
7948
|
-
readonly name: "
|
|
9309
|
+
readonly name: "sale_price";
|
|
9310
|
+
readonly type: "core::integer::u256";
|
|
9311
|
+
}];
|
|
9312
|
+
readonly outputs: readonly [{
|
|
9313
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
|
|
9314
|
+
}];
|
|
9315
|
+
readonly state_mutability: "view";
|
|
9316
|
+
}, {
|
|
9317
|
+
readonly type: "function";
|
|
9318
|
+
readonly name: "royaltyInfo";
|
|
9319
|
+
readonly inputs: readonly [{
|
|
9320
|
+
readonly name: "token_id";
|
|
9321
|
+
readonly type: "core::integer::u256";
|
|
9322
|
+
}, {
|
|
9323
|
+
readonly name: "sale_price";
|
|
9324
|
+
readonly type: "core::integer::u256";
|
|
9325
|
+
}];
|
|
9326
|
+
readonly outputs: readonly [{
|
|
9327
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
|
|
9328
|
+
}];
|
|
9329
|
+
readonly state_mutability: "view";
|
|
9330
|
+
}, {
|
|
9331
|
+
readonly type: "function";
|
|
9332
|
+
readonly name: "version";
|
|
9333
|
+
readonly inputs: readonly [];
|
|
9334
|
+
readonly outputs: readonly [{
|
|
9335
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9336
|
+
}];
|
|
9337
|
+
readonly state_mutability: "view";
|
|
9338
|
+
}];
|
|
9339
|
+
}, {
|
|
9340
|
+
readonly type: "impl";
|
|
9341
|
+
readonly name: "ERC721Impl";
|
|
9342
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
|
|
9343
|
+
}, {
|
|
9344
|
+
readonly type: "struct";
|
|
9345
|
+
readonly name: "core::array::Span::<core::felt252>";
|
|
9346
|
+
readonly members: readonly [{
|
|
9347
|
+
readonly name: "snapshot";
|
|
9348
|
+
readonly type: "@core::array::Array::<core::felt252>";
|
|
9349
|
+
}];
|
|
9350
|
+
}, {
|
|
9351
|
+
readonly type: "interface";
|
|
9352
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721";
|
|
9353
|
+
readonly items: readonly [{
|
|
9354
|
+
readonly type: "function";
|
|
9355
|
+
readonly name: "balance_of";
|
|
9356
|
+
readonly inputs: readonly [{
|
|
9357
|
+
readonly name: "account";
|
|
7949
9358
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7950
9359
|
}];
|
|
7951
9360
|
readonly outputs: readonly [{
|
|
7952
9361
|
readonly type: "core::integer::u256";
|
|
7953
9362
|
}];
|
|
7954
|
-
readonly state_mutability: "
|
|
9363
|
+
readonly state_mutability: "view";
|
|
7955
9364
|
}, {
|
|
7956
9365
|
readonly type: "function";
|
|
7957
|
-
readonly name: "
|
|
9366
|
+
readonly name: "owner_of";
|
|
7958
9367
|
readonly inputs: readonly [{
|
|
7959
|
-
readonly name: "
|
|
9368
|
+
readonly name: "token_id";
|
|
9369
|
+
readonly type: "core::integer::u256";
|
|
9370
|
+
}];
|
|
9371
|
+
readonly outputs: readonly [{
|
|
9372
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9373
|
+
}];
|
|
9374
|
+
readonly state_mutability: "view";
|
|
9375
|
+
}, {
|
|
9376
|
+
readonly type: "function";
|
|
9377
|
+
readonly name: "safe_transfer_from";
|
|
9378
|
+
readonly inputs: readonly [{
|
|
9379
|
+
readonly name: "from";
|
|
9380
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9381
|
+
}, {
|
|
9382
|
+
readonly name: "to";
|
|
9383
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9384
|
+
}, {
|
|
9385
|
+
readonly name: "token_id";
|
|
7960
9386
|
readonly type: "core::integer::u256";
|
|
7961
9387
|
}, {
|
|
9388
|
+
readonly name: "data";
|
|
9389
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
9390
|
+
}];
|
|
9391
|
+
readonly outputs: readonly [];
|
|
9392
|
+
readonly state_mutability: "external";
|
|
9393
|
+
}, {
|
|
9394
|
+
readonly type: "function";
|
|
9395
|
+
readonly name: "transfer_from";
|
|
9396
|
+
readonly inputs: readonly [{
|
|
9397
|
+
readonly name: "from";
|
|
9398
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9399
|
+
}, {
|
|
9400
|
+
readonly name: "to";
|
|
9401
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9402
|
+
}, {
|
|
9403
|
+
readonly name: "token_id";
|
|
9404
|
+
readonly type: "core::integer::u256";
|
|
9405
|
+
}];
|
|
9406
|
+
readonly outputs: readonly [];
|
|
9407
|
+
readonly state_mutability: "external";
|
|
9408
|
+
}, {
|
|
9409
|
+
readonly type: "function";
|
|
9410
|
+
readonly name: "approve";
|
|
9411
|
+
readonly inputs: readonly [{
|
|
7962
9412
|
readonly name: "to";
|
|
7963
9413
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9414
|
+
}, {
|
|
9415
|
+
readonly name: "token_id";
|
|
9416
|
+
readonly type: "core::integer::u256";
|
|
9417
|
+
}];
|
|
9418
|
+
readonly outputs: readonly [];
|
|
9419
|
+
readonly state_mutability: "external";
|
|
9420
|
+
}, {
|
|
9421
|
+
readonly type: "function";
|
|
9422
|
+
readonly name: "set_approval_for_all";
|
|
9423
|
+
readonly inputs: readonly [{
|
|
9424
|
+
readonly name: "operator";
|
|
9425
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9426
|
+
}, {
|
|
9427
|
+
readonly name: "approved";
|
|
9428
|
+
readonly type: "core::bool";
|
|
7964
9429
|
}];
|
|
7965
9430
|
readonly outputs: readonly [];
|
|
7966
9431
|
readonly state_mutability: "external";
|
|
7967
9432
|
}, {
|
|
7968
9433
|
readonly type: "function";
|
|
7969
|
-
readonly name: "
|
|
9434
|
+
readonly name: "get_approved";
|
|
9435
|
+
readonly inputs: readonly [{
|
|
9436
|
+
readonly name: "token_id";
|
|
9437
|
+
readonly type: "core::integer::u256";
|
|
9438
|
+
}];
|
|
9439
|
+
readonly outputs: readonly [{
|
|
9440
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9441
|
+
}];
|
|
9442
|
+
readonly state_mutability: "view";
|
|
9443
|
+
}, {
|
|
9444
|
+
readonly type: "function";
|
|
9445
|
+
readonly name: "is_approved_for_all";
|
|
9446
|
+
readonly inputs: readonly [{
|
|
9447
|
+
readonly name: "owner";
|
|
9448
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9449
|
+
}, {
|
|
9450
|
+
readonly name: "operator";
|
|
9451
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9452
|
+
}];
|
|
9453
|
+
readonly outputs: readonly [{
|
|
9454
|
+
readonly type: "core::bool";
|
|
9455
|
+
}];
|
|
9456
|
+
readonly state_mutability: "view";
|
|
9457
|
+
}];
|
|
9458
|
+
}, {
|
|
9459
|
+
readonly type: "impl";
|
|
9460
|
+
readonly name: "ERC721CamelOnly";
|
|
9461
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
|
|
9462
|
+
}, {
|
|
9463
|
+
readonly type: "interface";
|
|
9464
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
|
|
9465
|
+
readonly items: readonly [{
|
|
9466
|
+
readonly type: "function";
|
|
9467
|
+
readonly name: "balanceOf";
|
|
9468
|
+
readonly inputs: readonly [{
|
|
9469
|
+
readonly name: "account";
|
|
9470
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9471
|
+
}];
|
|
9472
|
+
readonly outputs: readonly [{
|
|
9473
|
+
readonly type: "core::integer::u256";
|
|
9474
|
+
}];
|
|
9475
|
+
readonly state_mutability: "view";
|
|
9476
|
+
}, {
|
|
9477
|
+
readonly type: "function";
|
|
9478
|
+
readonly name: "ownerOf";
|
|
7970
9479
|
readonly inputs: readonly [{
|
|
7971
|
-
readonly name: "
|
|
9480
|
+
readonly name: "tokenId";
|
|
7972
9481
|
readonly type: "core::integer::u256";
|
|
7973
9482
|
}];
|
|
7974
9483
|
readonly outputs: readonly [{
|
|
7975
|
-
readonly type: "
|
|
9484
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7976
9485
|
}];
|
|
7977
9486
|
readonly state_mutability: "view";
|
|
7978
9487
|
}, {
|
|
7979
9488
|
readonly type: "function";
|
|
7980
|
-
readonly name: "
|
|
9489
|
+
readonly name: "safeTransferFrom";
|
|
7981
9490
|
readonly inputs: readonly [{
|
|
7982
|
-
readonly name: "
|
|
7983
|
-
readonly type: "core::
|
|
9491
|
+
readonly name: "from";
|
|
9492
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7984
9493
|
}, {
|
|
7985
|
-
readonly name: "
|
|
9494
|
+
readonly name: "to";
|
|
7986
9495
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7987
|
-
}
|
|
7988
|
-
|
|
9496
|
+
}, {
|
|
9497
|
+
readonly name: "tokenId";
|
|
7989
9498
|
readonly type: "core::integer::u256";
|
|
9499
|
+
}, {
|
|
9500
|
+
readonly name: "data";
|
|
9501
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
7990
9502
|
}];
|
|
7991
|
-
readonly
|
|
9503
|
+
readonly outputs: readonly [];
|
|
9504
|
+
readonly state_mutability: "external";
|
|
7992
9505
|
}, {
|
|
7993
9506
|
readonly type: "function";
|
|
7994
|
-
readonly name: "
|
|
9507
|
+
readonly name: "transferFrom";
|
|
7995
9508
|
readonly inputs: readonly [{
|
|
7996
|
-
readonly name: "
|
|
9509
|
+
readonly name: "from";
|
|
9510
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9511
|
+
}, {
|
|
9512
|
+
readonly name: "to";
|
|
9513
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9514
|
+
}, {
|
|
9515
|
+
readonly name: "tokenId";
|
|
7997
9516
|
readonly type: "core::integer::u256";
|
|
7998
9517
|
}];
|
|
7999
|
-
readonly outputs: readonly [
|
|
8000
|
-
|
|
8001
|
-
}];
|
|
8002
|
-
readonly state_mutability: "view";
|
|
9518
|
+
readonly outputs: readonly [];
|
|
9519
|
+
readonly state_mutability: "external";
|
|
8003
9520
|
}, {
|
|
8004
9521
|
readonly type: "function";
|
|
8005
|
-
readonly name: "
|
|
9522
|
+
readonly name: "setApprovalForAll";
|
|
8006
9523
|
readonly inputs: readonly [{
|
|
8007
|
-
readonly name: "
|
|
8008
|
-
readonly type: "core::
|
|
8009
|
-
}
|
|
8010
|
-
|
|
9524
|
+
readonly name: "operator";
|
|
9525
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9526
|
+
}, {
|
|
9527
|
+
readonly name: "approved";
|
|
8011
9528
|
readonly type: "core::bool";
|
|
8012
9529
|
}];
|
|
8013
|
-
readonly
|
|
9530
|
+
readonly outputs: readonly [];
|
|
9531
|
+
readonly state_mutability: "external";
|
|
8014
9532
|
}, {
|
|
8015
9533
|
readonly type: "function";
|
|
8016
|
-
readonly name: "
|
|
8017
|
-
readonly inputs: readonly [
|
|
8018
|
-
|
|
9534
|
+
readonly name: "getApproved";
|
|
9535
|
+
readonly inputs: readonly [{
|
|
9536
|
+
readonly name: "tokenId";
|
|
8019
9537
|
readonly type: "core::integer::u256";
|
|
8020
9538
|
}];
|
|
9539
|
+
readonly outputs: readonly [{
|
|
9540
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9541
|
+
}];
|
|
8021
9542
|
readonly state_mutability: "view";
|
|
8022
9543
|
}, {
|
|
8023
9544
|
readonly type: "function";
|
|
8024
|
-
readonly name: "
|
|
8025
|
-
readonly inputs: readonly [
|
|
9545
|
+
readonly name: "isApprovedForAll";
|
|
9546
|
+
readonly inputs: readonly [{
|
|
9547
|
+
readonly name: "owner";
|
|
9548
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9549
|
+
}, {
|
|
9550
|
+
readonly name: "operator";
|
|
9551
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9552
|
+
}];
|
|
8026
9553
|
readonly outputs: readonly [{
|
|
8027
|
-
readonly type: "core::
|
|
9554
|
+
readonly type: "core::bool";
|
|
8028
9555
|
}];
|
|
8029
9556
|
readonly state_mutability: "view";
|
|
8030
9557
|
}];
|
|
@@ -8050,197 +9577,146 @@ declare const IPSponsorshipABI: readonly [{
|
|
|
8050
9577
|
}, {
|
|
8051
9578
|
readonly type: "constructor";
|
|
8052
9579
|
readonly name: "constructor";
|
|
8053
|
-
readonly inputs: readonly [
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
9580
|
+
readonly inputs: readonly [{
|
|
9581
|
+
readonly name: "name";
|
|
9582
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9583
|
+
}, {
|
|
9584
|
+
readonly name: "symbol";
|
|
9585
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9586
|
+
}];
|
|
8059
9587
|
}, {
|
|
8060
9588
|
readonly type: "event";
|
|
8061
|
-
readonly name: "
|
|
9589
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
8062
9590
|
readonly kind: "struct";
|
|
8063
9591
|
readonly members: readonly [{
|
|
8064
|
-
readonly name: "
|
|
8065
|
-
readonly type: "core::integer::u256";
|
|
8066
|
-
readonly kind: "key";
|
|
8067
|
-
}, {
|
|
8068
|
-
readonly name: "author";
|
|
9592
|
+
readonly name: "from";
|
|
8069
9593
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8070
9594
|
readonly kind: "key";
|
|
8071
9595
|
}, {
|
|
8072
|
-
readonly name: "
|
|
9596
|
+
readonly name: "to";
|
|
8073
9597
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8074
9598
|
readonly kind: "key";
|
|
8075
9599
|
}, {
|
|
8076
9600
|
readonly name: "token_id";
|
|
8077
9601
|
readonly type: "core::integer::u256";
|
|
8078
|
-
readonly kind: "
|
|
8079
|
-
}, {
|
|
8080
|
-
readonly name: "min_amount";
|
|
8081
|
-
readonly type: "core::integer::u256";
|
|
8082
|
-
readonly kind: "data";
|
|
8083
|
-
}, {
|
|
8084
|
-
readonly name: "duration";
|
|
8085
|
-
readonly type: "core::integer::u64";
|
|
8086
|
-
readonly kind: "data";
|
|
8087
|
-
}, {
|
|
8088
|
-
readonly name: "payment_token";
|
|
8089
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8090
|
-
readonly kind: "data";
|
|
8091
|
-
}, {
|
|
8092
|
-
readonly name: "license_terms_uri";
|
|
8093
|
-
readonly type: "core::byte_array::ByteArray";
|
|
8094
|
-
readonly kind: "data";
|
|
8095
|
-
}, {
|
|
8096
|
-
readonly name: "transferable";
|
|
8097
|
-
readonly type: "core::bool";
|
|
8098
|
-
readonly kind: "data";
|
|
8099
|
-
}, {
|
|
8100
|
-
readonly name: "specific_sponsor";
|
|
8101
|
-
readonly type: "core::option::Option::<core::starknet::contract_address::ContractAddress>";
|
|
8102
|
-
readonly kind: "data";
|
|
8103
|
-
}, {
|
|
8104
|
-
readonly name: "created_at";
|
|
8105
|
-
readonly type: "core::integer::u64";
|
|
8106
|
-
readonly kind: "data";
|
|
9602
|
+
readonly kind: "key";
|
|
8107
9603
|
}];
|
|
8108
9604
|
}, {
|
|
8109
9605
|
readonly type: "event";
|
|
8110
|
-
readonly name: "
|
|
9606
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
8111
9607
|
readonly kind: "struct";
|
|
8112
9608
|
readonly members: readonly [{
|
|
8113
|
-
readonly name: "
|
|
8114
|
-
readonly type: "core::
|
|
9609
|
+
readonly name: "owner";
|
|
9610
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8115
9611
|
readonly kind: "key";
|
|
8116
9612
|
}, {
|
|
8117
|
-
readonly name: "
|
|
8118
|
-
readonly type: "core::
|
|
8119
|
-
readonly kind: "
|
|
9613
|
+
readonly name: "approved";
|
|
9614
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
9615
|
+
readonly kind: "key";
|
|
8120
9616
|
}, {
|
|
8121
|
-
readonly name: "
|
|
8122
|
-
readonly type: "core::integer::
|
|
8123
|
-
readonly kind: "
|
|
9617
|
+
readonly name: "token_id";
|
|
9618
|
+
readonly type: "core::integer::u256";
|
|
9619
|
+
readonly kind: "key";
|
|
8124
9620
|
}];
|
|
8125
9621
|
}, {
|
|
8126
9622
|
readonly type: "event";
|
|
8127
|
-
readonly name: "
|
|
9623
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
8128
9624
|
readonly kind: "struct";
|
|
8129
9625
|
readonly members: readonly [{
|
|
8130
|
-
readonly name: "
|
|
8131
|
-
readonly type: "core::
|
|
9626
|
+
readonly name: "owner";
|
|
9627
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8132
9628
|
readonly kind: "key";
|
|
8133
9629
|
}, {
|
|
8134
|
-
readonly name: "
|
|
9630
|
+
readonly name: "operator";
|
|
8135
9631
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8136
9632
|
readonly kind: "key";
|
|
8137
9633
|
}, {
|
|
8138
|
-
readonly name: "
|
|
8139
|
-
readonly type: "core::
|
|
8140
|
-
readonly kind: "data";
|
|
8141
|
-
}, {
|
|
8142
|
-
readonly name: "bid_at";
|
|
8143
|
-
readonly type: "core::integer::u64";
|
|
9634
|
+
readonly name: "approved";
|
|
9635
|
+
readonly type: "core::bool";
|
|
8144
9636
|
readonly kind: "data";
|
|
8145
9637
|
}];
|
|
8146
9638
|
}, {
|
|
8147
9639
|
readonly type: "event";
|
|
8148
|
-
readonly name: "
|
|
8149
|
-
readonly kind: "
|
|
8150
|
-
readonly
|
|
8151
|
-
readonly name: "
|
|
8152
|
-
readonly type: "
|
|
8153
|
-
readonly kind: "
|
|
9640
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
9641
|
+
readonly kind: "enum";
|
|
9642
|
+
readonly variants: readonly [{
|
|
9643
|
+
readonly name: "Transfer";
|
|
9644
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
9645
|
+
readonly kind: "nested";
|
|
8154
9646
|
}, {
|
|
8155
|
-
readonly name: "
|
|
8156
|
-
readonly type: "
|
|
8157
|
-
readonly kind: "
|
|
9647
|
+
readonly name: "Approval";
|
|
9648
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
9649
|
+
readonly kind: "nested";
|
|
8158
9650
|
}, {
|
|
8159
|
-
readonly name: "
|
|
8160
|
-
readonly type: "
|
|
8161
|
-
readonly kind: "
|
|
9651
|
+
readonly name: "ApprovalForAll";
|
|
9652
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
9653
|
+
readonly kind: "nested";
|
|
8162
9654
|
}];
|
|
8163
9655
|
}, {
|
|
8164
9656
|
readonly type: "event";
|
|
8165
|
-
readonly name: "
|
|
9657
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
9658
|
+
readonly kind: "enum";
|
|
9659
|
+
readonly variants: readonly [];
|
|
9660
|
+
}, {
|
|
9661
|
+
readonly type: "event";
|
|
9662
|
+
readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
|
|
8166
9663
|
readonly kind: "struct";
|
|
8167
9664
|
readonly members: readonly [{
|
|
8168
|
-
readonly name: "
|
|
9665
|
+
readonly name: "token_id";
|
|
8169
9666
|
readonly type: "core::integer::u256";
|
|
8170
9667
|
readonly kind: "key";
|
|
8171
9668
|
}, {
|
|
8172
|
-
readonly name: "
|
|
8173
|
-
readonly type: "core::
|
|
9669
|
+
readonly name: "recipient";
|
|
9670
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8174
9671
|
readonly kind: "key";
|
|
8175
9672
|
}, {
|
|
8176
|
-
readonly name: "
|
|
9673
|
+
readonly name: "author";
|
|
8177
9674
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8178
9675
|
readonly kind: "key";
|
|
8179
9676
|
}, {
|
|
8180
|
-
readonly name: "
|
|
9677
|
+
readonly name: "asset_contract";
|
|
8181
9678
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
8182
9679
|
readonly kind: "data";
|
|
8183
9680
|
}, {
|
|
8184
|
-
readonly name: "
|
|
9681
|
+
readonly name: "asset_token_id";
|
|
8185
9682
|
readonly type: "core::integer::u256";
|
|
8186
9683
|
readonly kind: "data";
|
|
8187
9684
|
}, {
|
|
8188
9685
|
readonly name: "expires_at";
|
|
8189
9686
|
readonly type: "core::integer::u64";
|
|
8190
9687
|
readonly kind: "data";
|
|
8191
|
-
}];
|
|
8192
|
-
}, {
|
|
8193
|
-
readonly type: "event";
|
|
8194
|
-
readonly name: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
|
|
8195
|
-
readonly kind: "struct";
|
|
8196
|
-
readonly members: readonly [{
|
|
8197
|
-
readonly name: "license_id";
|
|
8198
|
-
readonly type: "core::integer::u256";
|
|
8199
|
-
readonly kind: "key";
|
|
8200
9688
|
}, {
|
|
8201
|
-
readonly name: "
|
|
8202
|
-
readonly type: "core::
|
|
8203
|
-
readonly kind: "
|
|
9689
|
+
readonly name: "transferable";
|
|
9690
|
+
readonly type: "core::bool";
|
|
9691
|
+
readonly kind: "data";
|
|
8204
9692
|
}, {
|
|
8205
|
-
readonly name: "
|
|
8206
|
-
readonly type: "core::
|
|
8207
|
-
readonly kind: "
|
|
9693
|
+
readonly name: "royalty_bps";
|
|
9694
|
+
readonly type: "core::integer::u256";
|
|
9695
|
+
readonly kind: "data";
|
|
8208
9696
|
}, {
|
|
8209
|
-
readonly name: "
|
|
9697
|
+
readonly name: "license_terms_uri";
|
|
9698
|
+
readonly type: "core::byte_array::ByteArray";
|
|
9699
|
+
readonly kind: "data";
|
|
9700
|
+
}, {
|
|
9701
|
+
readonly name: "minted_at";
|
|
8210
9702
|
readonly type: "core::integer::u64";
|
|
8211
9703
|
readonly kind: "data";
|
|
8212
9704
|
}];
|
|
8213
9705
|
}, {
|
|
8214
9706
|
readonly type: "event";
|
|
8215
|
-
readonly name: "ip_sponsorship::
|
|
9707
|
+
readonly name: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::Event";
|
|
8216
9708
|
readonly kind: "enum";
|
|
8217
9709
|
readonly variants: readonly [{
|
|
9710
|
+
readonly name: "ERC721Event";
|
|
9711
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
9712
|
+
readonly kind: "flat";
|
|
9713
|
+
}, {
|
|
8218
9714
|
readonly name: "SRC5Event";
|
|
8219
9715
|
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
8220
9716
|
readonly kind: "flat";
|
|
8221
9717
|
}, {
|
|
8222
|
-
readonly name: "
|
|
8223
|
-
readonly type: "ip_sponsorship::
|
|
8224
|
-
readonly kind: "nested";
|
|
8225
|
-
}, {
|
|
8226
|
-
readonly name: "OfferStatusUpdated";
|
|
8227
|
-
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::OfferStatusUpdated";
|
|
8228
|
-
readonly kind: "nested";
|
|
8229
|
-
}, {
|
|
8230
|
-
readonly name: "BidPlaced";
|
|
8231
|
-
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidPlaced";
|
|
8232
|
-
readonly kind: "nested";
|
|
8233
|
-
}, {
|
|
8234
|
-
readonly name: "BidRetracted";
|
|
8235
|
-
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::BidRetracted";
|
|
8236
|
-
readonly kind: "nested";
|
|
8237
|
-
}, {
|
|
8238
|
-
readonly name: "SponsorshipAccepted";
|
|
8239
|
-
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::SponsorshipAccepted";
|
|
8240
|
-
readonly kind: "nested";
|
|
8241
|
-
}, {
|
|
8242
|
-
readonly name: "LicenseTransferred";
|
|
8243
|
-
readonly type: "ip_sponsorship::IPSponsorship::IPSponsorship::LicenseTransferred";
|
|
9718
|
+
readonly name: "LicenseMinted";
|
|
9719
|
+
readonly type: "ip_sponsorship::IPSponsorshipLicense::IPSponsorshipLicense::LicenseMinted";
|
|
8244
9720
|
readonly kind: "nested";
|
|
8245
9721
|
}];
|
|
8246
9722
|
}];
|
|
@@ -8897,6 +10373,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
|
|
|
8897
10373
|
declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
8898
10374
|
declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
|
|
8899
10375
|
|
|
8900
|
-
type
|
|
8901
|
-
|
|
8902
|
-
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, type FeeSurface 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 CreateCreatorCoinParams as aA, type CreateDropParams as aB, type CreateGrantOpts as aC, type CreateListing1155Params as aD, type CreateListingIntentParams as aE, type CreateListingParams as aF, type CreateMintIntentParams as aG, type CreatePopCollectionParams as aH, type CreateRemixOfferParams as aI, type CreateSponsorshipOfferParams as aJ, type CreateTicketCollectionParams as aK, type CreateWebhookParams as aL, CreatorCoinFactoryABI as aM, type CreatorCoinPrice as aN, type CreatorCoinReceiptLike as aO, CreatorCoinService as aP, type DeployCollectionParams as aQ, DropCollectionABI as aR, DropFactoryABI as aS, type DropMintStatus as aT, DropService as aU, ERC1155CollectionService as aV, type EkuboLaunchParams as aW, type EkuboPoolParams as aX, type EnforcementDeclaration as aY, type FeeConfig as aZ, FeeConfigSchema 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 CancelOrder1155Params as aj, type CancelOrderIntentParams as ak, type CancelOrderParams as al, type Cancelation as am, type CartItem as an, type ChainFilter as ao, type ClaimConditions as ap, ClubService as aq, type CollectionSort as ar, type CollectionTokensSort as as, type ConfirmRemixOfferParams as at, type ConfirmSelfRemixParams as au, type ConsiderationItem as av, type CreateClubParams as aw, type CreateCollectionIntentParams as ax, type CreateCollectionParams as ay, type CreateCounterOfferIntentParams as az, ADMIN_SCOPE as b, type TxResult as b$, type FulfillOrder1155Params as b0, type FulfillOrderIntentParams as b1, type FulfillOrderParams as b2, IPClubABI as b3, IPClubNFTABI as b4, IPCollection1155ABI as b5, IPCollection1155FactoryABI as b6, IPCollectionABI as b7, IPGenesisABI as b8, IPMarketplaceABI as b9, type OpenLicense as bA, type Order as bB, type OrderDetails as bC, type OrderParameters as bD, type OrderStatus as bE, POPCollectionABI as bF, POPFactoryABI as bG, type ParsedAdminHeaders as bH, type PopBatchEligibilityItem as bI, type PopClaimStatus as bJ, type PopEventType as bK, PopService as bL, type RemixOfferStatus as bM, type RequestSiwsTokenArgs as bN, type ResolvedConfig as bO, type ResolvedFeeConfig as bP, type ResolvedOrder as bQ, type RetryOptions as bR, type ServiceEventDeclaration as bS, type SiwsSigner as bT, type SortOrder as bU, SponsorshipService as bV, StarknetVenue as bW, type StarknetVenueDeps as bX, type StarknetVenueSigner as bY, type TenantPlan as bZ, TicketService as b_, IPNftABI as ba, IPSponsorshipABI as bb, IPTicketCollectionABI as bc, IPTicketCollectionFactoryABI as bd, type IPType as be, type IntentCall as bf, type IntentStatus as bg, type IntentType as bh, type IpAttribute as bi, type IpNftMetadata as bj, LAUNCH_PRICE_QUOTE_PER_COIN as bk, type MakeOffer1155Params as bl, type MakeOfferIntentParams as bm, type MakeOfferParams as bn, MarketplaceModule as bo, Medialane1155ABI as bp, Medialane1155Module as bq, MedialaneApiError as br, MedialaneClient as bs, type MedialaneConfig as bt, MedialaneError as bu, type MedialaneErrorCode as bv, type MintEditionParams as bw, type MintParams as bx, OPEN_LICENSES as by, type OfferItem as bz, type ActivityType as c, VALIDATED_EKUBO_PARAMS as c0, type WebhookEventType as c1, type WebhookStatus as c2, adminRequestDigest as c3, build1155CancellationTypedData as c4, build1155OrderTypedData as c5, buildAdminSessionTypedData as c6, buildCancellationTypedData as c7, buildCreateCreatorCoinCall as c8, buildFeeCall as c9, verifyAdminRequestSig as cA, buildLaunchOnEkuboCalls as ca, buildOrderTypedData as cb, buybackQuoteRaw as cc, toRaw as cd, createAdminSessionGrant as ce, encodeAdminHeaders as cf, encodeByteArray as cg, fdvHuman as ch, getCreatorCoinPrice as ci, getSiwsStorageKey as cj, getStoredSiwsToken as ck, isSiwsTokenValid as cl, normalizeSiwsSignature as cm, parseAdminHeaders as cn, parseCreatorCoinCreated as co, randomNonce as cp, requestSiwsToken as cq, resolveConfig as cr, resolveFeeConfig as cs, sessionKeyHashOf as ct, signAdminRequest as cu, storeSiwsToken as cv, teamCoinsRaw as cw, validateName as cx, validateSupply as cy, validateSymbol as cz, 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 };
|
|
10376
|
+
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, FeeConfigSchema 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 CreateCreatorCoinParams as aA, type CreateDropParams as aB, type CreateGrantOpts as aC, type CreateListing1155Params as aD, type CreateListingIntentParams as aE, type CreateListingParams as aF, type CreateMintIntentParams as aG, type CreatePopCollectionParams as aH, type CreateRemixOfferParams as aI, type CreateSponsorshipOfferParams as aJ, type CreateTicketCollectionParams as aK, type CreateWebhookParams as aL, CreatorCoinFactoryABI as aM, type CreatorCoinPrice as aN, type CreatorCoinReceiptLike as aO, CreatorCoinService as aP, type DeployClubParams as aQ, type DeployCollectionParams as aR, DropCollectionABI as aS, DropFactoryABI as aT, type DropMintStatus as aU, DropService as aV, ERC1155CollectionService as aW, type EkuboLaunchParams as aX, type EkuboPoolParams as aY, type EnforcementDeclaration as aZ, type FeeConfig 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 CancelOrder1155Params as aj, type CancelOrderIntentParams as ak, type CancelOrderParams as al, type Cancelation as am, type CartItem as an, type ChainFilter as ao, type ClaimConditions as ap, ClubService as aq, type CollectionSort as ar, type CollectionTokensSort as as, type ConfirmRemixOfferParams as at, type ConfirmSelfRemixParams as au, type ConsiderationItem as av, type CreateClubParams as aw, type CreateCollectionIntentParams as ax, type CreateCollectionParams as ay, type CreateCounterOfferIntentParams as az, ADMIN_SCOPE as b, type StarknetVenueDeps as b$, type FeeSurface as b0, type FulfillOrder1155Params as b1, type FulfillOrderIntentParams as b2, type FulfillOrderParams as b3, IPClubABI as b4, IPClubCollectionABI as b5, IPClubFactoryABI as b6, IPClubNFTABI as b7, IPCollection1155ABI as b8, IPCollection1155FactoryABI as b9, type MintEditionParams as bA, type MintParams as bB, OPEN_LICENSES as bC, type OfferItem as bD, type OpenLicense as bE, type Order as bF, type OrderDetails as bG, type OrderParameters as bH, type OrderStatus as bI, POPCollectionABI as bJ, POPFactoryABI as bK, type ParsedAdminHeaders as bL, type PopBatchEligibilityItem as bM, type PopClaimStatus as bN, type PopEventType as bO, PopService as bP, type RemixOfferStatus as bQ, type RequestSiwsTokenArgs as bR, type ResolvedConfig as bS, type ResolvedFeeConfig as bT, type ResolvedOrder as bU, type RetryOptions as bV, type ServiceEventDeclaration as bW, type SiwsSigner as bX, type SortOrder as bY, SponsorshipService as bZ, StarknetVenue as b_, IPCollectionABI as ba, IPGenesisABI as bb, IPMarketplaceABI as bc, IPNftABI as bd, IPSponsorshipABI as be, IPSponsorshipLicenseABI as bf, IPTicketCollectionABI as bg, IPTicketCollectionFactoryABI as bh, type IPType as bi, type IntentCall as bj, type IntentStatus as bk, type IntentType as bl, type IpAttribute as bm, type IpNftMetadata as bn, LAUNCH_PRICE_QUOTE_PER_COIN as bo, type MakeOffer1155Params as bp, type MakeOfferIntentParams as bq, type MakeOfferParams as br, MarketplaceModule as bs, Medialane1155ABI as bt, Medialane1155Module as bu, MedialaneApiError as bv, MedialaneClient as bw, type MedialaneConfig as bx, MedialaneError as by, type MedialaneErrorCode as bz, type ActivityType as c, type TenantPlan as c0, TicketService as c1, type TxResult as c2, VALIDATED_EKUBO_PARAMS as c3, type WebhookEventType as c4, type WebhookStatus as c5, adminRequestDigest as c6, build1155CancellationTypedData as c7, build1155OrderTypedData as c8, buildAdminSessionTypedData as c9, validateName as cA, validateSupply as cB, validateSymbol as cC, verifyAdminRequestSig as cD, buildCancellationTypedData as ca, buildCreateCreatorCoinCall as cb, buildFeeCall as cc, buildLaunchOnEkuboCalls as cd, buildOrderTypedData as ce, buybackQuoteRaw as cf, toRaw as cg, createAdminSessionGrant as ch, encodeAdminHeaders as ci, encodeByteArray as cj, fdvHuman as ck, getCreatorCoinPrice as cl, getSiwsStorageKey as cm, getStoredSiwsToken as cn, isSiwsTokenValid as co, normalizeSiwsSignature as cp, parseAdminHeaders as cq, parseCreatorCoinCreated as cr, randomNonce as cs, requestSiwsToken as ct, resolveConfig as cu, resolveFeeConfig as cv, sessionKeyHashOf as cw, signAdminRequest as cx, storeSiwsToken as cy, teamCoinsRaw as cz, 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 };
|