difftreelog
chore regenerate 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
@@ -23,7 +23,7 @@
}
/// @title Contract, which allows users to operate with collections
-/// @dev the ERC-165 identifier for this interface is 0x542f5079
+/// @dev the ERC-165 identifier for this interface is 0x58918631
contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
/// Create an NFT collection
/// @param name Name of the collection
@@ -56,28 +56,11 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) public payable returns (address) {
- require(false, stub_error);
- name;
- description;
- tokenPrefix;
- dummy = 0;
- return 0x0000000000000000000000000000000000000000;
- }
-
- /// @dev EVM selector for this function is: 0xa9e7b5c0,
- /// or in textual repr: createERC721MetadataCompatibleNFTCollection(string,string,string,string)
- function createERC721MetadataCompatibleNFTCollection(
- 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;
}
@@ -88,28 +71,11 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) public payable returns (address) {
- require(false, stub_error);
- 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.soldiffbeforeafterboth18}18}191920/// @title Contract, which allows users to operate with collections20/// @title Contract, which allows users to operate with collections21/// @dev the ERC-165 identifier for this interface is 0x542f507921/// @dev the ERC-165 identifier for this interface is 0x5891863122interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {22interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {23 /// Create an NFT collection23 /// Create an NFT collection24 /// @param name Name of the collection24 /// @param name Name of the collection46 string memory tokenPrefix46 string memory tokenPrefix47 ) external payable returns (address);47 ) external payable returns (address);4849 /// @dev EVM selector for this function is: 0xa9e7b5c0,50 /// or in textual repr: createERC721MetadataCompatibleNFTCollection(string,string,string,string)51 function createERC721MetadataCompatibleNFTCollection(52 string memory name,53 string memory description,54 string memory tokenPrefix,55 string memory baseUri56 ) external payable returns (address);574858 /// @dev EVM selector for this function is: 0xab173450,49 /// @dev EVM selector for this function is: 0xab173450,59 /// or in textual repr: createRFTCollection(string,string,string)50 /// or in textual repr: createRFTCollection(string,string,string)63 string memory tokenPrefix54 string memory tokenPrefix64 ) external payable returns (address);55 ) external payable returns (address);6566 /// @dev EVM selector for this function is: 0xa5596388,67 /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)68 function createERC721MetadataCompatibleRFTCollection(69 string memory name,70 string memory description,71 string memory tokenPrefix,72 string memory baseUri73 ) external payable returns (address);745675 /// @dev EVM selector for this function is: 0x85624258,57 /// @dev EVM selector for this function is: 0x85624258,76 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)58 /// or in textual repr: makeCollectionERC721MetadataCompatible(address,string)tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth--- a/tests/src/eth/collectionHelpersAbi.json
+++ b/tests/src/eth/collectionHelpersAbi.json
@@ -29,30 +29,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": "createERC721MetadataCompatibleNFTCollection",
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "stateMutability": "payable",
- "type": "function"
- },
- {
- "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": "string", "name": "description", "type": "string" },
{ "internalType": "string", "name": "tokenPrefix", "type": "string" }
],
"name": "createNFTCollection",