git.delta.rocks / unique-network / refs/commits / 6afd9fe97b2d

difftreelog

source

tests/src/eth/api/UniqueNFT.sol33.3 KiBsourcehistory
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7interface Dummy {89}1011interface ERC165 is Dummy {12	function supportsInterface(bytes4 interfaceID) external view returns (bool);13}1415/// @title A contract that allows to set and delete token properties and change token property permissions.16/// @dev the ERC-165 identifier for this interface is 0x55dba91917interface TokenProperties is Dummy, ERC165 {18	/// @notice Set permissions for token property.19	/// @dev Throws error if `msg.sender` is not admin or owner of the collection.20	/// @param key Property key.21	/// @param isMutable Permission to mutate property.22	/// @param collectionAdmin Permission to mutate property by collection admin if property is mutable.23	/// @param tokenOwner Permission to mutate property by token owner if property is mutable.24	/// @dev EVM selector for this function is: 0x222d97fa,25	///  or in textual repr: setTokenPropertyPermission(string,bool,bool,bool)26	function setTokenPropertyPermission(27		string memory key,28		bool isMutable,29		bool collectionAdmin,30		bool tokenOwner31	) external;3233	/// @notice Set token property value.34	/// @dev Throws error if `msg.sender` has no permission to edit the property.35	/// @param tokenId ID of the token.36	/// @param key Property key.37	/// @param value Property value.38	/// @dev EVM selector for this function is: 0x1752d67b,39	///  or in textual repr: setProperty(uint256,string,bytes)40	function setProperty(41		uint256 tokenId,42		string memory key,43		bytes memory value44	) external;4546	/// @notice Set token properties value.47	/// @dev Throws error if `msg.sender` has no permission to edit the property.48	/// @param tokenId ID of the token.49	/// @param properties settable properties50	/// @dev EVM selector for this function is: 0x14ed3a6e,51	///  or in textual repr: setProperties(uint256,(string,bytes)[])52	function setProperties(uint256 tokenId, Tuple19[] memory properties) external;5354	/// @notice Delete token property value.55	/// @dev Throws error if `msg.sender` has no permission to edit the property.56	/// @param tokenId ID of the token.57	/// @param key Property key.58	/// @dev EVM selector for this function is: 0x066111d1,59	///  or in textual repr: deleteProperty(uint256,string)60	function deleteProperty(uint256 tokenId, string memory key) external;6162	/// @notice Get token property value.63	/// @dev Throws error if key not found64	/// @param tokenId ID of the token.65	/// @param key Property key.66	/// @return Property value bytes67	/// @dev EVM selector for this function is: 0x7228c327,68	///  or in textual repr: property(uint256,string)69	function property(uint256 tokenId, string memory key) external view returns (bytes memory);70}7172/// @title A contract that allows you to work with collections.73<<<<<<< HEAD74<<<<<<< HEAD75<<<<<<< HEAD76/// @dev the ERC-165 identifier for this interface is 0xb3152af377=======78/// @dev the ERC-165 identifier for this interface is 0x674be72679>>>>>>> feat: Add custum signature with unlimited nesting.80=======81/// @dev the ERC-165 identifier for this interface is 0x943ee09482>>>>>>> fix: after rebase83=======84/// @dev the ERC-165 identifier for this interface is 0xefe988e085>>>>>>> misk: update stubs86interface Collection is Dummy, ERC165 {87	/// Set collection property.88	///89	/// @param key Property key.90	/// @param value Propery value.91	/// @dev EVM selector for this function is: 0x2f073f66,92	///  or in textual repr: setCollectionProperty(string,bytes)93	function setCollectionProperty(string memory key, bytes memory value) external;9495	/// Set collection properties.96	///97	/// @param properties Vector of properties key/value pair.98	/// @dev EVM selector for this function is: 0x50b26b2a,99	///  or in textual repr: setCollectionProperties((string,bytes)[])100	function setCollectionProperties(Tuple21[] memory properties) external;101102	/// Delete collection property.103	///104	/// @param key Property key.105	/// @dev EVM selector for this function is: 0x7b7debce,106	///  or in textual repr: deleteCollectionProperty(string)107	function deleteCollectionProperty(string memory key) external;108109	/// Delete collection properties.110	///111	/// @param keys Properties keys.112	/// @dev EVM selector for this function is: 0xee206ee3,113	///  or in textual repr: deleteCollectionProperties(string[])114	function deleteCollectionProperties(string[] memory keys) external;115116	/// Get collection property.117	///118	/// @dev Throws error if key not found.119	///120	/// @param key Property key.121	/// @return bytes The property corresponding to the key.122	/// @dev EVM selector for this function is: 0xcf24fd6d,123	///  or in textual repr: collectionProperty(string)124	function collectionProperty(string memory key) external view returns (bytes memory);125126	/// Get collection properties.127	///128	/// @param keys Properties keys. Empty keys for all propertyes.129	/// @return Vector of properties key/value pairs.130	/// @dev EVM selector for this function is: 0x285fb8e6,131	///  or in textual repr: collectionProperties(string[])132	function collectionProperties(string[] memory keys) external view returns (Tuple21[] memory);133134	/// Set the sponsor of the collection.135	///136	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.137	///138	/// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.139	/// @dev EVM selector for this function is: 0x7623402e,140	///  or in textual repr: setCollectionSponsor(address)141	function setCollectionSponsor(address sponsor) external;142143	/// Set the sponsor of the collection.144	///145	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.146	///147	/// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.148<<<<<<< HEAD149	/// @dev EVM selector for this function is: 0x403e96a7,150	///  or in textual repr: setCollectionSponsorCross((address,uint256))151	function setCollectionSponsorCross(Tuple6 memory sponsor) external;152=======153	/// @dev EVM selector for this function is: 0x84a1d5a8,154	///  or in textual repr: setCollectionSponsorCross(EthCrossAccount)155	///  or in the expanded repr: setCollectionSponsorCross((address,uint256))156	function setCollectionSponsorCross(EthCrossAccount memory sponsor) external;157>>>>>>> misk: update stubs158159	/// Whether there is a pending sponsor.160	/// @dev EVM selector for this function is: 0x058ac185,161	///  or in textual repr: hasCollectionPendingSponsor()162	function hasCollectionPendingSponsor() external view returns (bool);163164	/// Collection sponsorship confirmation.165	///166	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.167	/// @dev EVM selector for this function is: 0x3c50e97a,168	///  or in textual repr: confirmCollectionSponsorship()169	function confirmCollectionSponsorship() external;170171	/// Remove collection sponsor.172	/// @dev EVM selector for this function is: 0x6e0326a3,173	///  or in textual repr: removeCollectionSponsor()174	function removeCollectionSponsor() external;175176	/// Get current sponsor.177	///178	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.179	/// @dev EVM selector for this function is: 0x6ec0a9f1,180	///  or in textual repr: collectionSponsor()181	function collectionSponsor() external view returns (Tuple24 memory);182183	/// Set limits for the collection.184	/// @dev Throws error if limit not found.185	/// @param limit Name of the limit. Valid names:186	/// 	"accountTokenOwnershipLimit",187	/// 	"sponsoredDataSize",188	/// 	"sponsoredDataRateLimit",189	/// 	"tokenLimit",190	/// 	"sponsorTransferTimeout",191	/// 	"sponsorApproveTimeout"192	/// @param value Value of the limit.193	/// @dev EVM selector for this function is: 0x6a3841db,194	///  or in textual repr: setCollectionLimit(string,uint32)195	function setCollectionLimit(string memory limit, uint32 value) external;196197	/// Set limits for the collection.198	/// @dev Throws error if limit not found.199	/// @param limit Name of the limit. Valid names:200	/// 	"ownerCanTransfer",201	/// 	"ownerCanDestroy",202	/// 	"transfersEnabled"203	/// @param value Value of the limit.204	/// @dev EVM selector for this function is: 0x993b7fba,205	///  or in textual repr: setCollectionLimit(string,bool)206	function setCollectionLimit(string memory limit, bool value) external;207208	/// Get contract address.209	/// @dev EVM selector for this function is: 0xf6b4dfb4,210	///  or in textual repr: contractAddress()211	function contractAddress() external view returns (address);212213	/// Add collection admin.214	/// @param newAdmin Cross account administrator address.215<<<<<<< HEAD216	/// @dev EVM selector for this function is: 0x62e3c7c2,217	///  or in textual repr: addCollectionAdminCross((address,uint256))218	function addCollectionAdminCross(Tuple6 memory newAdmin) external;219220	/// Remove collection admin.221	/// @param admin Cross account administrator address.222	/// @dev EVM selector for this function is: 0x810d1503,223	///  or in textual repr: removeCollectionAdminCross((address,uint256))224	function removeCollectionAdminCross(Tuple6 memory admin) external;225=======226	/// @dev EVM selector for this function is: 0x859aa7d6,227	///  or in textual repr: addCollectionAdminCross(EthCrossAccount)228	///  or in the expanded repr: addCollectionAdminCross((address,uint256))229	function addCollectionAdminCross(EthCrossAccount memory newAdmin) external;230231	/// Remove collection admin.232	/// @param admin Cross account administrator address.233	/// @dev EVM selector for this function is: 0x6c0cd173,234	///  or in textual repr: removeCollectionAdminCross(EthCrossAccount)235	///  or in the expanded repr: removeCollectionAdminCross((address,uint256))236	function removeCollectionAdminCross(EthCrossAccount memory admin) external;237>>>>>>> misk: update stubs238239	/// Add collection admin.240	/// @param newAdmin Address of the added administrator.241	/// @dev EVM selector for this function is: 0x92e462c7,242	///  or in textual repr: addCollectionAdmin(address)243	function addCollectionAdmin(address newAdmin) external;244245	/// Remove collection admin.246	///247	/// @param admin Address of the removed administrator.248	/// @dev EVM selector for this function is: 0xfafd7b42,249	///  or in textual repr: removeCollectionAdmin(address)250	function removeCollectionAdmin(address admin) external;251252	/// Toggle accessibility of collection nesting.253	///254	/// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'255	/// @dev EVM selector for this function is: 0x112d4586,256	///  or in textual repr: setCollectionNesting(bool)257	function setCollectionNesting(bool enable) external;258259	/// Toggle accessibility of collection nesting.260	///261	/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'262	/// @param collections Addresses of collections that will be available for nesting.263	/// @dev EVM selector for this function is: 0x64872396,264	///  or in textual repr: setCollectionNesting(bool,address[])265	function setCollectionNesting(bool enable, address[] memory collections) external;266267	/// Set the collection access method.268	/// @param mode Access mode269	/// 	0 for Normal270	/// 	1 for AllowList271	/// @dev EVM selector for this function is: 0x41835d4c,272	///  or in textual repr: setCollectionAccess(uint8)273	function setCollectionAccess(uint8 mode) external;274275	/// Checks that user allowed to operate with collection.276	///277	/// @param user User address to check.278	/// @dev EVM selector for this function is: 0xd63a8e11,279	///  or in textual repr: allowed(address)280	function allowed(address user) external view returns (bool);281282	/// Add the user to the allowed list.283	///284	/// @param user Address of a trusted user.285	/// @dev EVM selector for this function is: 0x67844fe6,286	///  or in textual repr: addToCollectionAllowList(address)287	function addToCollectionAllowList(address user) external;288289	/// Add user to allowed list.290	///291	/// @param user User cross account address.292<<<<<<< HEAD293	/// @dev EVM selector for this function is: 0xf074da88,294	///  or in textual repr: addToCollectionAllowListCross((address,uint256))295	function addToCollectionAllowListCross(Tuple6 memory user) external;296=======297	/// @dev EVM selector for this function is: 0xa0184a3a,298	///  or in textual repr: addToCollectionAllowListCross(EthCrossAccount)299	///  or in the expanded repr: addToCollectionAllowListCross((address,uint256))300	function addToCollectionAllowListCross(EthCrossAccount memory user) external;301>>>>>>> misk: update stubs302303	/// Remove the user from the allowed list.304	///305	/// @param user Address of a removed user.306	/// @dev EVM selector for this function is: 0x85c51acb,307	///  or in textual repr: removeFromCollectionAllowList(address)308	function removeFromCollectionAllowList(address user) external;309310	/// Remove user from allowed list.311	///312	/// @param user User cross account address.313<<<<<<< HEAD314	/// @dev EVM selector for this function is: 0xc00df45c,315	///  or in textual repr: removeFromCollectionAllowListCross((address,uint256))316	function removeFromCollectionAllowListCross(Tuple6 memory user) external;317=======318	/// @dev EVM selector for this function is: 0x09ba452a,319	///  or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)320	///  or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))321	function removeFromCollectionAllowListCross(EthCrossAccount memory user) external;322>>>>>>> misk: update stubs323324	/// Switch permission for minting.325	///326	/// @param mode Enable if "true".327	/// @dev EVM selector for this function is: 0x00018e84,328	///  or in textual repr: setCollectionMintMode(bool)329	function setCollectionMintMode(bool mode) external;330331	/// Check that account is the owner or admin of the collection332	///333	/// @param user account to verify334	/// @return "true" if account is the owner or admin335	/// @dev EVM selector for this function is: 0x9811b0c7,336	///  or in textual repr: isOwnerOrAdmin(address)337	function isOwnerOrAdmin(address user) external view returns (bool);338339	/// Check that account is the owner or admin of the collection340	///341	/// @param user User cross account to verify342	/// @return "true" if account is the owner or admin343<<<<<<< HEAD344	/// @dev EVM selector for this function is: 0x5aba3351,345	///  or in textual repr: isOwnerOrAdminCross((address,uint256))346	function isOwnerOrAdminCross(Tuple6 memory user) external view returns (bool);347=======348	/// @dev EVM selector for this function is: 0x3e75a905,349	///  or in textual repr: isOwnerOrAdminCross(EthCrossAccount)350	///  or in the expanded repr: isOwnerOrAdminCross((address,uint256))351	function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool);352>>>>>>> misk: update stubs353354	/// Returns collection type355	///356	/// @return `Fungible` or `NFT` or `ReFungible`357	/// @dev EVM selector for this function is: 0xd34b55b8,358	///  or in textual repr: uniqueCollectionType()359	function uniqueCollectionType() external view returns (string memory);360361	/// Get collection owner.362	///363	/// @return Tuple with sponsor address and his substrate mirror.364	/// If address is canonical then substrate mirror is zero and vice versa.365	/// @dev EVM selector for this function is: 0xdf727d3b,366	///  or in textual repr: collectionOwner()367	function collectionOwner() external view returns (EthCrossAccount memory);368369	/// Changes collection owner to another account370	///371	/// @dev Owner can be changed only by current owner372	/// @param newOwner new owner account373	/// @dev EVM selector for this function is: 0x4f53e226,374	///  or in textual repr: changeCollectionOwner(address)375	function changeCollectionOwner(address newOwner) external;376377	/// Get collection administrators378	///379	/// @return Vector of tuples with admins address and his substrate mirror.380	/// If address is canonical then substrate mirror is zero and vice versa.381	/// @dev EVM selector for this function is: 0x5813216b,382	///  or in textual repr: collectionAdmins()383<<<<<<< HEAD384	function collectionAdmins() external view returns (Tuple6[] memory);385=======386	function collectionAdmins() external view returns (EthCrossAccount[] memory);387>>>>>>> misk: update stubs388389	/// Changes collection owner to another account390	///391	/// @dev Owner can be changed only by current owner392	/// @param newOwner new owner cross account393<<<<<<< HEAD394	/// @dev EVM selector for this function is: 0xbdff793d,395	///  or in textual repr: setOwnerCross((address,uint256))396	function setOwnerCross(Tuple6 memory newOwner) external;397=======398	/// @dev EVM selector for this function is: 0xe5c9913f,399	///  or in textual repr: setOwnerCross(EthCrossAccount)400	///  or in the expanded repr: setOwnerCross((address,uint256))401	function setOwnerCross(EthCrossAccount memory newOwner) external;402}403404/// @dev Cross account struct405struct EthCrossAccount {406	address eth;407	uint256 sub;408}409410/// @dev anonymous struct411struct Tuple24 {412	address field_0;413	uint256 field_1;414>>>>>>> misk: update stubs415}416417<<<<<<< HEAD418/// @dev anonymous struct419struct Tuple19 {420	address field_0;421	uint256 field_1;422}423424<<<<<<< HEAD425/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension426/// @dev See https://eips.ethereum.org/EIPS/eip-721427/// @dev the ERC-165 identifier for this interface is 0x5b5e139f428interface ERC721Metadata is Dummy, ERC165 {429	// /// @notice A descriptive name for a collection of NFTs in this contract430	// /// @dev real implementation of this function lies in `ERC721UniqueExtensions`431	// /// @dev EVM selector for this function is: 0x06fdde03,432	// ///  or in textual repr: name()433	// function name() external view returns (string memory);434435	// /// @notice An abbreviated name for NFTs in this contract436	// /// @dev real implementation of this function lies in `ERC721UniqueExtensions`437	// /// @dev EVM selector for this function is: 0x95d89b41,438	// ///  or in textual repr: symbol()439	// function symbol() external view returns (string memory);440441	/// @notice A distinct Uniform Resource Identifier (URI) for a given asset.442	///443	/// @dev If the token has a `url` property and it is not empty, it is returned.444	///  Else If the collection does not have a property with key `schemaName` or its value is not equal to `ERC721Metadata`, it return an error `tokenURI not set`.445	///  If the collection property `baseURI` is empty or absent, return "" (empty string)446	///  otherwise, if token property `suffix` present and is non-empty, return concatenation of baseURI and suffix447	///  otherwise, return concatenation of `baseURI` and stringified token id (decimal stringifying, without paddings).448	///449	/// @return token's const_metadata450	/// @dev EVM selector for this function is: 0xc87b56dd,451	///  or in textual repr: tokenURI(uint256)452	function tokenURI(uint256 tokenId) external view returns (string memory);453}454455=======456>>>>>>> feat: Add custum signature with unlimited nesting.457=======458/// @dev anonymous struct459struct Tuple21 {460	string field_0;461	bytes field_1;462}463464>>>>>>> fix: after rebase465/// @title ERC721 Token that can be irreversibly burned (destroyed).466/// @dev the ERC-165 identifier for this interface is 0x42966c68467interface ERC721Burnable is Dummy, ERC165 {468	/// @notice Burns a specific ERC721 token.469	/// @dev Throws unless `msg.sender` is the current NFT owner, or an authorized470	///  operator of the current owner.471	/// @param tokenId The NFT to approve472	/// @dev EVM selector for this function is: 0x42966c68,473	///  or in textual repr: burn(uint256)474	function burn(uint256 tokenId) external;475}476477/// @dev inlined interface478interface ERC721UniqueMintableEvents {479	event MintingFinished();480}481482/// @title ERC721 minting logic.483/// @dev the ERC-165 identifier for this interface is 0x476ff149484interface ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {485	/// @dev EVM selector for this function is: 0x05d2035b,486	///  or in textual repr: mintingFinished()487	function mintingFinished() external view returns (bool);488489	/// @notice Function to mint token.490	/// @param to The new owner491	/// @return uint256 The id of the newly minted token492	/// @dev EVM selector for this function is: 0x6a627842,493	///  or in textual repr: mint(address)494	function mint(address to) external returns (uint256);495496	// /// @notice Function to mint token.497	// /// @dev `tokenId` should be obtained with `nextTokenId` method,498	// ///  unlike standard, you can't specify it manually499	// /// @param to The new owner500	// /// @param tokenId ID of the minted NFT501	// /// @dev EVM selector for this function is: 0x40c10f19,502	// ///  or in textual repr: mint(address,uint256)503	// function mint(address to, uint256 tokenId) external returns (bool);504505	/// @notice Function to mint token with the given tokenUri.506	/// @param to The new owner507	/// @param tokenUri Token URI that would be stored in the NFT properties508	/// @return uint256 The id of the newly minted token509	/// @dev EVM selector for this function is: 0x45c17782,510	///  or in textual repr: mintWithTokenURI(address,string)511	function mintWithTokenURI(address to, string memory tokenUri) external returns (uint256);512513	// /// @notice Function to mint token with the given tokenUri.514	// /// @dev `tokenId` should be obtained with `nextTokenId` method,515	// ///  unlike standard, you can't specify it manually516	// /// @param to The new owner517	// /// @param tokenId ID of the minted NFT518	// /// @param tokenUri Token URI that would be stored in the NFT properties519	// /// @dev EVM selector for this function is: 0x50bb4e7f,520	// ///  or in textual repr: mintWithTokenURI(address,uint256,string)521	// function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) external returns (bool);522523	/// @dev Not implemented524	/// @dev EVM selector for this function is: 0x7d64bcb4,525	///  or in textual repr: finishMinting()526	function finishMinting() external returns (bool);527}528529/// @title Unique extensions for ERC721.530<<<<<<< HEAD531<<<<<<< HEAD532/// @dev the ERC-165 identifier for this interface is 0x244543ee533=======534/// @dev the ERC-165 identifier for this interface is 0xcc97cb35535>>>>>>> feat: Add custum signature with unlimited nesting.536=======537/// @dev the ERC-165 identifier for this interface is 0xb76006ac538>>>>>>> misk: update stubs539interface ERC721UniqueExtensions is Dummy, ERC165 {540	/// @notice A descriptive name for a collection of NFTs in this contract541	/// @dev EVM selector for this function is: 0x06fdde03,542	///  or in textual repr: name()543	function name() external view returns (string memory);544545	/// @notice An abbreviated name for NFTs in this contract546	/// @dev EVM selector for this function is: 0x95d89b41,547	///  or in textual repr: symbol()548	function symbol() external view returns (string memory);549550	/// @notice Set or reaffirm the approved address for an NFT551	/// @dev The zero address indicates there is no approved address.552	/// @dev Throws unless `msg.sender` is the current NFT owner, or an authorized553	///  operator of the current owner.554	/// @param approved The new substrate address approved NFT controller555	/// @param tokenId The NFT to approve556<<<<<<< HEAD557	/// @dev EVM selector for this function is: 0x106fdb59,558	///  or in textual repr: approveCross((address,uint256),uint256)559	function approveCross(Tuple6 memory approved, uint256 tokenId) external;560=======561	/// @dev EVM selector for this function is: 0x0ecd0ab0,562	///  or in textual repr: approveCross(EthCrossAccount,uint256)563	///  or in the expanded repr: approveCross((address,uint256),uint256)564	function approveCross(EthCrossAccount memory approved, uint256 tokenId) external;565>>>>>>> misk: update stubs566567	/// @notice Transfer ownership of an NFT568	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`569	///  is the zero address. Throws if `tokenId` is not a valid NFT.570	/// @param to The new owner571	/// @param tokenId The NFT to transfer572	/// @dev EVM selector for this function is: 0xa9059cbb,573	///  or in textual repr: transfer(address,uint256)574	function transfer(address to, uint256 tokenId) external;575576	/// @notice Transfer ownership of an NFT from cross account address to cross account address577	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`578	///  is the zero address. Throws if `tokenId` is not a valid NFT.579	/// @param from Cross acccount address of current owner580	/// @param to Cross acccount address of new owner581	/// @param tokenId The NFT to transfer582	/// @dev EVM selector for this function is: 0xd5cf430b,583	///  or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)584	///  or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)585	function transferFromCross(586<<<<<<< HEAD587		Tuple6 memory from,588		Tuple6 memory to,589=======590		EthCrossAccount memory from,591		EthCrossAccount memory to,592>>>>>>> feat: Add custum signature with unlimited nesting.593		uint256 tokenId594	) external;595596	/// @notice Burns a specific ERC721 token.597	/// @dev Throws unless `msg.sender` is the current owner or an authorized598	///  operator for this NFT. Throws if `from` is not the current owner. Throws599	///  if `to` is the zero address. Throws if `tokenId` is not a valid NFT.600	/// @param from The current owner of the NFT601	/// @param tokenId The NFT to transfer602	/// @dev EVM selector for this function is: 0x79cc6790,603	///  or in textual repr: burnFrom(address,uint256)604	function burnFrom(address from, uint256 tokenId) external;605606	/// @notice Burns a specific ERC721 token.607	/// @dev Throws unless `msg.sender` is the current owner or an authorized608	///  operator for this NFT. Throws if `from` is not the current owner. Throws609	///  if `to` is the zero address. Throws if `tokenId` is not a valid NFT.610	/// @param from The current owner of the NFT611	/// @param tokenId The NFT to transfer612<<<<<<< HEAD613	/// @dev EVM selector for this function is: 0xa8106d4a,614	///  or in textual repr: burnFromCross((address,uint256),uint256)615	function burnFromCross(Tuple6 memory from, uint256 tokenId) external;616=======617	/// @dev EVM selector for this function is: 0xbb2f5a58,618	///  or in textual repr: burnFromCross(EthCrossAccount,uint256)619	///  or in the expanded repr: burnFromCross((address,uint256),uint256)620	function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external;621>>>>>>> misk: update stubs622623	/// @notice Returns next free NFT ID.624	/// @dev EVM selector for this function is: 0x75794a3c,625	///  or in textual repr: nextTokenId()626	function nextTokenId() external view returns (uint256);627<<<<<<< HEAD628	// /// @notice Function to mint multiple tokens.629	// /// @dev `tokenIds` should be an array of consecutive numbers and first number630	// ///  should be obtained with `nextTokenId` method631	// /// @param to The new owner632	// /// @param tokenIds IDs of the minted NFTs633	// /// @dev EVM selector for this function is: 0x44a9945e,634	// ///  or in textual repr: mintBulk(address,uint256[])635	// function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);636637	// /// @notice Function to mint multiple tokens with the given tokenUris.638	// /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive639	// ///  numbers and first number should be obtained with `nextTokenId` method640	// /// @param to The new owner641	// /// @param tokens array of pairs of token ID and token URI for minted tokens642	// /// @dev EVM selector for this function is: 0x36543006,643	// ///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])644	// function mintBulkWithTokenURI(address to, Tuple8[] memory tokens) external returns (bool);645}646647/// @dev anonymous struct648struct Tuple8 {649=======650651	/// @notice Function to mint multiple tokens.652	/// @dev `tokenIds` should be an array of consecutive numbers and first number653	///  should be obtained with `nextTokenId` method654	/// @param to The new owner655	/// @param tokenIds IDs of the minted NFTs656	/// @dev EVM selector for this function is: 0x44a9945e,657	///  or in textual repr: mintBulk(address,uint256[])658	function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);659660	/// @notice Function to mint multiple tokens with the given tokenUris.661	/// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive662	///  numbers and first number should be obtained with `nextTokenId` method663	/// @param to The new owner664	/// @param tokens array of pairs of token ID and token URI for minted tokens665	/// @dev EVM selector for this function is: 0x36543006,666	///  or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])667	function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) external returns (bool);668}669670/// @dev anonymous struct671struct Tuple12 {672>>>>>>> feat: Add custum signature with unlimited nesting.673	uint256 field_0;674	string field_1;675}676677<<<<<<< HEAD678/// @dev anonymous struct679struct Tuple8 {680	address field_0;681	uint256 field_1;682}683684/// @dev anonymous struct685struct Tuple8 {686	address field_0;687	uint256 field_1;688}689690=======691>>>>>>> misk: update stubs692/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension693/// @dev See https://eips.ethereum.org/EIPS/eip-721694/// @dev the ERC-165 identifier for this interface is 0x780e9d63695interface ERC721Enumerable is Dummy, ERC165 {696	/// @notice Enumerate valid NFTs697	/// @param index A counter less than `totalSupply()`698	/// @return The token identifier for the `index`th NFT,699	///  (sort order not specified)700	/// @dev EVM selector for this function is: 0x4f6ccce7,701	///  or in textual repr: tokenByIndex(uint256)702	function tokenByIndex(uint256 index) external view returns (uint256);703704	/// @dev Not implemented705	/// @dev EVM selector for this function is: 0x2f745c59,706	///  or in textual repr: tokenOfOwnerByIndex(address,uint256)707	function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);708709	/// @notice Count NFTs tracked by this contract710	/// @return A count of valid NFTs tracked by this contract, where each one of711	///  them has an assigned and queryable owner not equal to the zero address712	/// @dev EVM selector for this function is: 0x18160ddd,713	///  or in textual repr: totalSupply()714	function totalSupply() external view returns (uint256);715}716717/// @dev inlined interface718interface ERC721Events {719	event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);720	event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);721	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);722}723724/// @title ERC-721 Non-Fungible Token Standard725/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md726/// @dev the ERC-165 identifier for this interface is 0x80ac58cd727interface ERC721 is Dummy, ERC165, ERC721Events {728	/// @notice Count all NFTs assigned to an owner729	/// @dev NFTs assigned to the zero address are considered invalid, and this730	///  function throws for queries about the zero address.731	/// @param owner An address for whom to query the balance732	/// @return The number of NFTs owned by `owner`, possibly zero733	/// @dev EVM selector for this function is: 0x70a08231,734	///  or in textual repr: balanceOf(address)735	function balanceOf(address owner) external view returns (uint256);736737	/// @notice Find the owner of an NFT738	/// @dev NFTs assigned to zero address are considered invalid, and queries739	///  about them do throw.740	/// @param tokenId The identifier for an NFT741	/// @return The address of the owner of the NFT742	/// @dev EVM selector for this function is: 0x6352211e,743	///  or in textual repr: ownerOf(uint256)744	function ownerOf(uint256 tokenId) external view returns (address);745746	/// @dev Not implemented747	/// @dev EVM selector for this function is: 0xb88d4fde,748	///  or in textual repr: safeTransferFrom(address,address,uint256,bytes)749	function safeTransferFrom(750		address from,751		address to,752		uint256 tokenId,753		bytes memory data754	) external;755756	/// @dev Not implemented757	/// @dev EVM selector for this function is: 0x42842e0e,758	///  or in textual repr: safeTransferFrom(address,address,uint256)759	function safeTransferFrom(760		address from,761		address to,762		uint256 tokenId763	) external;764765	/// @notice Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE766	///  TO CONFIRM THAT `to` IS CAPABLE OF RECEIVING NFTS OR ELSE767	///  THEY MAY BE PERMANENTLY LOST768	/// @dev Throws unless `msg.sender` is the current owner or an authorized769	///  operator for this NFT. Throws if `from` is not the current owner. Throws770	///  if `to` is the zero address. Throws if `tokenId` is not a valid NFT.771	/// @param from The current owner of the NFT772	/// @param to The new owner773	/// @param tokenId The NFT to transfer774	/// @dev EVM selector for this function is: 0x23b872dd,775	///  or in textual repr: transferFrom(address,address,uint256)776	function transferFrom(777		address from,778		address to,779		uint256 tokenId780	) external;781782	/// @notice Set or reaffirm the approved address for an NFT783	/// @dev The zero address indicates there is no approved address.784	/// @dev Throws unless `msg.sender` is the current NFT owner, or an authorized785	///  operator of the current owner.786	/// @param approved The new approved NFT controller787	/// @param tokenId The NFT to approve788	/// @dev EVM selector for this function is: 0x095ea7b3,789	///  or in textual repr: approve(address,uint256)790	function approve(address approved, uint256 tokenId) external;791792	/// @dev Not implemented793	/// @dev EVM selector for this function is: 0xa22cb465,794	///  or in textual repr: setApprovalForAll(address,bool)795	function setApprovalForAll(address operator, bool approved) external;796797	/// @dev Not implemented798	/// @dev EVM selector for this function is: 0x081812fc,799	///  or in textual repr: getApproved(uint256)800	function getApproved(uint256 tokenId) external view returns (address);801802	/// @dev Not implemented803	/// @dev EVM selector for this function is: 0xe985e9c5,804	///  or in textual repr: isApprovedForAll(address,address)805	function isApprovedForAll(address owner, address operator) external view returns (address);806}807808interface UniqueNFT is809	Dummy,810	ERC165,811	ERC721,812	ERC721Enumerable,813	ERC721UniqueExtensions,814	ERC721UniqueMintable,815	ERC721Burnable,816	ERC721Metadata,817	Collection,818	TokenProperties819{}