1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7contract Dummy {8 uint8 dummy;9 string stub_error = "this contract is implemented in native";10}1112contract ERC165 is Dummy {13 function supportsInterface(bytes4 interfaceID)14 external15 view16 returns (bool)17 {18 require(false, stub_error);19 interfaceID;20 return true;21 }22}2324/// @dev inlined interface25contract CollectionHelpersEvents {26 event CollectionCreated(27 address indexed owner,28 address indexed collectionId29 );30}3132/// @title Contract, which allows users to operate with collections33/// @dev the ERC-165 identifier for this interface is 0x675f307434contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {35 /// Create an NFT collection36 /// @param name Name of the collection37 /// @param description Informative description of the collection38 /// @param tokenPrefix Token prefix to represent the collection tokens in UI and user applications39 /// @return address Address of the newly created collection40 /// @dev EVM selector for this function is: 0xe34a6844,41 /// or in textual repr: createNonfungibleCollection(string,string,string)42 function createNonfungibleCollection(43 string memory name,44 string memory description,45 string memory tokenPrefix46 ) public returns (address) {47 require(false, stub_error);48 name;49 description;50 tokenPrefix;51 dummy = 0;52 return 0x0000000000000000000000000000000000000000;53 }5455 /// @dev EVM selector for this function is: 0xa634a5f9,56 /// or in textual repr: createERC721MetadataCompatibleCollection(string,string,string,string)57 function createERC721MetadataCompatibleCollection(58 string memory name,59 string memory description,60 string memory tokenPrefix,61 string memory baseUri62 ) public returns (address) {63 require(false, stub_error);64 name;65 description;66 tokenPrefix;67 baseUri;68 dummy = 0;69 return 0x0000000000000000000000000000000000000000;70 }7172 /// @dev EVM selector for this function is: 0x44a68ad5,73 /// or in textual repr: createRefungibleCollection(string,string,string)74 function createRefungibleCollection(75 string memory name,76 string memory description,77 string memory tokenPrefix78 ) public returns (address) {79 require(false, stub_error);80 name;81 description;82 tokenPrefix;83 dummy = 0;84 return 0x0000000000000000000000000000000000000000;85 }8687 /// @dev EVM selector for this function is: 0xa5596388,88 /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)89 function createERC721MetadataCompatibleRFTCollection(90 string memory name,91 string memory description,92 string memory tokenPrefix,93 string memory baseUri94 ) public returns (address) {95 require(false, stub_error);96 name;97 description;98 tokenPrefix;99 baseUri;100 dummy = 0;101 return 0x0000000000000000000000000000000000000000;102 }103104 /// Check if a collection exists105 /// @param collectionAddress Address of the collection in question106 /// @return bool Does the collection exist?107 /// @dev EVM selector for this function is: 0xc3de1494,108 /// or in textual repr: isCollectionExist(address)109 function isCollectionExist(address collectionAddress)110 public111 view112 returns (bool)113 {114 require(false, stub_error);115 collectionAddress;116 dummy;117 return false;118 }119}