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 event TokenChanged(address indexed collectionId, uint256 tokenId);21}2223/// @title Contract, which allows users to operate with collections24/// @dev the ERC-165 identifier for this interface is 0xe65011aa25interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {26 /// Create an NFT collection27 /// @param name Name of the collection28 /// @param description Informative description of the collection29 /// @param tokenPrefix Token prefix to represent the collection tokens in UI and user applications30 /// @return address Address of the newly created collection31 /// @dev EVM selector for this function is: 0x844af658,32 /// or in textual repr: createNFTCollection(string,string,string)33 function createNFTCollection(34 string memory name,35 string memory description,36 string memory tokenPrefix37 ) external payable returns (address);3839 // /// Create an NFT collection40 // /// @param name Name of the collection41 // /// @param description Informative description of the collection42 // /// @param tokenPrefix Token prefix to represent the collection tokens in UI and user applications43 // /// @return address Address of the newly created collection44 // /// @dev EVM selector for this function is: 0xe34a6844,45 // /// or in textual repr: createNonfungibleCollection(string,string,string)46 // function createNonfungibleCollection(string memory name, string memory description, string memory tokenPrefix) external payable returns (address);4748 /// @dev EVM selector for this function is: 0xab173450,49 /// or in textual repr: createRFTCollection(string,string,string)50 function createRFTCollection(51 string memory name,52 string memory description,53 string memory tokenPrefix54 ) external payable returns (address);5556 /// @dev EVM selector for this function is: 0x7335b79f,57 /// or in textual repr: createFTCollection(string,uint8,string,string)58 function createFTCollection(59 string memory name,60 uint8 decimals,61 string memory description,62 string memory tokenPrefix63 ) external payable returns (address);6465 /// @dev EVM selector for this function is: 0x85624258,66 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)67 function makeCollectionERC721MetadataCompatible(address collection, string memory baseUri) external;6869 /// @dev EVM selector for this function is: 0x564e321f,70 /// or in textual repr: destroyCollection(address)71 function destroyCollection(address collectionAddress) external;7273 /// Check if a collection exists74 /// @param collectionAddress Address of the collection in question75 /// @return bool Does the collection exist?76 /// @dev EVM selector for this function is: 0xc3de1494,77 /// or in textual repr: isCollectionExist(address)78 function isCollectionExist(address collectionAddress) external view returns (bool);7980 /// @dev EVM selector for this function is: 0xd23a7ab1,81 /// or in textual repr: collectionCreationFee()82 function collectionCreationFee() external view returns (uint256);8384 /// Returns address of a collection.85 /// @param collectionId - CollectionId of the collection86 /// @return eth mirror address of the collection87 /// @dev EVM selector for this function is: 0x2e716683,88 /// or in textual repr: collectionAddress(uint32)89 function collectionAddress(uint32 collectionId) external view returns (address);9091 /// Returns collectionId of a collection.92 /// @param collectionAddress - Eth address of the collection93 /// @return collectionId of the collection94 /// @dev EVM selector for this function is: 0xb5cb7498,95 /// or in textual repr: collectionId(address)96 function collectionId(address collectionAddress) external view returns (uint32);97}