git.delta.rocks / unique-network / refs/commits / ac8475bfded9

difftreelog

source

tests/src/eth/api/CollectionHelpers.sol2.0 KiBsourcehistory
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56// Common stubs holder7interface Dummy {89}1011interface ERC165 is Dummy {12	function supportsInterface(bytes4 interfaceID) external view returns (bool);13}1415// Inline16interface CollectionHelpersEvents {17	event CollectionCreated(18		address indexed owner,19		address indexed collectionId20	);21}2223// Selector: 675f307424interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {25	// Create an NFT collection26	// @param name Name of the collection27	// @param description Informative description of the collection28	// @param token_prefix Token prefix to represent the collection tokens in UI and user applications29	// @return address Address of the newly created collection30	//31	// Selector: createNonfungibleCollection(string,string,string) e34a684432	function createNonfungibleCollection(33		string memory name,34		string memory description,35		string memory tokenPrefix36	) external returns (address);3738	// Selector: createERC721MetadataCompatibleCollection(string,string,string,string) a634a5f939	function createERC721MetadataCompatibleCollection(40		string memory name,41		string memory description,42		string memory tokenPrefix,43		string memory baseUri44	) external returns (address);4546	// Selector: createRefungibleCollection(string,string,string) 44a68ad547	function createRefungibleCollection(48		string memory name,49		string memory description,50		string memory tokenPrefix51	) external view returns (address);5253	// Selector: createERC721MetadataCompatibleRFTCollection(string,string,string,string) a559638854	function createERC721MetadataCompatibleRFTCollection(55		string memory name,56		string memory description,57		string memory tokenPrefix,58		string memory baseUri59	) external returns (address);6061	// Check if a collection exists62	// @param collection_address Address of the collection in question63	// @return bool Does the collection exist?64	//65	// Selector: isCollectionExist(address) c3de149466	function isCollectionExist(address collectionAddress)67		external68		view69		returns (bool);70}