difftreelog
misc: generate apis
in: master
4 files changed
pallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth29 );29 );30}30}313132// Selector: 20947cd032// Selector: 86a0d92933contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {33contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {34 // Selector: createNonfungibleCollection(string,string,string) e34a684434 // Selector: createNonfungibleCollection(string,string,string) e34a684435 function createNonfungibleCollection(35 function createNonfungibleCollection(45 return 0x0000000000000000000000000000000000000000;45 return 0x0000000000000000000000000000000000000000;46 }46 }4748 // Selector: createERC721MetadataCompatibleCollection(string,string,string,string) a634a5f949 function createERC721MetadataCompatibleCollection(50 string memory name,51 string memory description,52 string memory tokenPrefix,53 string memory baseUri54 ) public returns (address) {55 require(false, stub_error);56 name;57 description;58 tokenPrefix;59 baseUri;60 dummy = 0;61 return 0x0000000000000000000000000000000000000000;62 }476348 // Selector: isCollectionExist(address) c3de149464 // Selector: isCollectionExist(address) c3de149449 function isCollectionExist(address collectionAddress)65 function isCollectionExist(address collectionAddress)tests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth20 );20 );21}21}222223// Selector: 20947cd023// Selector: 86a0d92924interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {24interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {25 // Selector: createNonfungibleCollection(string,string,string) e34a684425 // Selector: createNonfungibleCollection(string,string,string) e34a684426 function createNonfungibleCollection(26 function createNonfungibleCollection(29 string memory tokenPrefix29 string memory tokenPrefix30 ) external returns (address);30 ) external returns (address);3132 // Selector: createERC721MetadataCompatibleCollection(string,string,string,string) a634a5f933 function createERC721MetadataCompatibleCollection(34 string memory name,35 string memory description,36 string memory tokenPrefix,37 string memory baseUri38 ) external returns (address);313932 // Selector: isCollectionExist(address) c3de149440 // Selector: isCollectionExist(address) c3de149433 function isCollectionExist(address collectionAddress)41 function isCollectionExist(address collectionAddress)tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth18 "name": "CollectionCreated",18 "name": "CollectionCreated",19 "type": "event"19 "type": "event"20 },20 },21 {22 "inputs": [23 { "internalType": "string", "name": "name", "type": "string" },24 { "internalType": "string", "name": "description", "type": "string" },25 { "internalType": "string", "name": "tokenPrefix", "type": "string" },26 { "internalType": "string", "name": "baseUri", "type": "string" }27 ],28 "name": "createERC721MetadataCompatibleCollection",29 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],30 "stateMutability": "nonpayable",31 "type": "function"32 },21 {33 {22 "inputs": [34 "inputs": [23 { "internalType": "string", "name": "name", "type": "string" },35 { "internalType": "string", "name": "name", "type": "string" },