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/// @dev inlined interface16interface CollectionHelpersEvents {17 event CollectionCreated(address indexed owner, address indexed collectionId);18 event CollectionDestroyed(address indexed collectionId);19 event CollectionChanged(address indexed collectionId);20}2122/// @title Contract, which allows users to operate with collections23/// @dev the ERC-165 identifier for this interface is 0xe65011aa24interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {25 /// Create an NFT collection26 /// @param name Name of the collection27 /// @param description Informative description of the collection28 /// @param tokenPrefix Token prefix to represent the collection tokens in UI and user applications29 /// @return address Address of the newly created collection30 /// @dev EVM selector for this function is: 0x844af658,31 /// or in textual repr: createNFTCollection(string,string,string)32 function createNFTCollection(33 string memory name,34 string memory description,35 string memory tokenPrefix36 ) external payable returns (address);3738 // /// Create an NFT collection39 // /// @param name Name of the collection40 // /// @param description Informative description of the collection41 // /// @param tokenPrefix Token prefix to represent the collection tokens in UI and user applications42 // /// @return address Address of the newly created collection43 // /// @dev EVM selector for this function is: 0xe34a6844,44 // /// or in textual repr: createNonfungibleCollection(string,string,string)45 // function createNonfungibleCollection(string memory name, string memory description, string memory tokenPrefix) external payable returns (address);4647 /// @dev EVM selector for this function is: 0xab173450,48 /// or in textual repr: createRFTCollection(string,string,string)49 function createRFTCollection(50 string memory name,51 string memory description,52 string memory tokenPrefix53 ) external payable returns (address);5455 /// @dev EVM selector for this function is: 0x7335b79f,56 /// or in textual repr: createFTCollection(string,uint8,string,string)57 function createFTCollection(58 string memory name,59 uint8 decimals,60 string memory description,61 string memory tokenPrefix62 ) external payable returns (address);6364 /// @dev EVM selector for this function is: 0x85624258,65 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)66 function makeCollectionERC721MetadataCompatible(address collection, string memory baseUri) external;6768 /// @dev EVM selector for this function is: 0x564e321f,69 /// or in textual repr: destroyCollection(address)70 function destroyCollection(address collectionAddress) external;7172 /// Check if a collection exists73 /// @param collectionAddress Address of the collection in question74 /// @return bool Does the collection exist?75 /// @dev EVM selector for this function is: 0xc3de1494,76 /// or in textual repr: isCollectionExist(address)77 function isCollectionExist(address collectionAddress) external view returns (bool);7879 /// @dev EVM selector for this function is: 0xd23a7ab1,80 /// or in textual repr: collectionCreationFee()81 function collectionCreationFee() external view returns (uint256);8283 /// Returns address of a collection.84 /// @param collectionId - CollectionId of the collection85 /// @return eth mirror address of the collection86 /// @dev EVM selector for this function is: 0x2e716683,87 /// or in textual repr: collectionAddress(uint32)88 function collectionAddress(uint32 collectionId) external view returns (address);8990 /// Returns collectionId of a collection.91 /// @param collectionAddress - Eth address of the collection92 /// @return collectionId of the collection93 /// @dev EVM selector for this function is: 0xb5cb7498,94 /// or in textual repr: collectionId(address)95 function collectionId(address collectionAddress) external view returns (uint32);96}