difftreelog
chore update stubs
in: master
4 files changed
pallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth--- a/pallets/unique/src/eth/stubs/CollectionHelpers.sol
+++ b/pallets/unique/src/eth/stubs/CollectionHelpers.sol
@@ -24,7 +24,7 @@
}
/// @title Contract, which allows users to operate with collections
-/// @dev the ERC-165 identifier for this interface is 0xd8b36039
+/// @dev the ERC-165 identifier for this interface is 0x7dea03b1
contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
/// Create an NFT collection
/// @param name Name of the collection
@@ -73,23 +73,6 @@
name;
description;
tokenPrefix;
- dummy = 0;
- return 0x0000000000000000000000000000000000000000;
- }
-
- /// @dev EVM selector for this function is: 0xa5596388,
- /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)
- function createERC721MetadataCompatibleRFTCollection(
- string memory name,
- string memory description,
- string memory tokenPrefix,
- string memory baseUri
- ) public payable returns (address) {
- require(false, stub_error);
- name;
- description;
- tokenPrefix;
- baseUri;
dummy = 0;
return 0x0000000000000000000000000000000000000000;
}
tests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth19}19}202021/// @title Contract, which allows users to operate with collections21/// @title Contract, which allows users to operate with collections22/// @dev the ERC-165 identifier for this interface is 0xd8b3603922/// @dev the ERC-165 identifier for this interface is 0x7dea03b123interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {23interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {24 /// Create an NFT collection24 /// Create an NFT collection25 /// @param name Name of the collection25 /// @param name Name of the collection51 string memory tokenPrefix51 string memory tokenPrefix52 ) external payable returns (address);52 ) external payable returns (address);5354 /// @dev EVM selector for this function is: 0xa5596388,55 /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)56 function createERC721MetadataCompatibleRFTCollection(57 string memory name,58 string memory description,59 string memory tokenPrefix,60 string memory baseUri61 ) external payable returns (address);625363 /// @dev EVM selector for this function is: 0x7335b79f,54 /// @dev EVM selector for this function is: 0x7335b79f,64 /// or in textual repr: createFTCollection(string,uint8,string,string)55 /// or in textual repr: createFTCollection(string,uint8,string,string)tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth--- a/tests/src/eth/collectionHelpersAbi.json
+++ b/tests/src/eth/collectionHelpersAbi.json
@@ -41,18 +41,6 @@
{
"inputs": [
{ "internalType": "string", "name": "name", "type": "string" },
- { "internalType": "string", "name": "description", "type": "string" },
- { "internalType": "string", "name": "tokenPrefix", "type": "string" },
- { "internalType": "string", "name": "baseUri", "type": "string" }
- ],
- "name": "createERC721MetadataCompatibleRFTCollection",
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "payable",
- "type": "function"
- },
- {
- "inputs": [
- { "internalType": "string", "name": "name", "type": "string" },
{ "internalType": "uint8", "name": "decimals", "type": "uint8" },
{ "internalType": "string", "name": "description", "type": "string" },
{ "internalType": "string", "name": "tokenPrefix", "type": "string" }