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.soldiffbeforeafterboth--- a/tests/src/eth/api/CollectionHelpers.sol
+++ b/tests/src/eth/api/CollectionHelpers.sol
@@ -19,7 +19,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
interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
/// Create an NFT collection
/// @param name Name of the collection
@@ -49,15 +49,6 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) external payable returns (address);
-
- /// @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
) external payable returns (address);
/// @dev EVM selector for this function is: 0x7335b79f,
tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth38 "stateMutability": "view",38 "stateMutability": "view",39 "type": "function"39 "type": "function"40 },40 },41 {42 "inputs": [43 { "internalType": "string", "name": "name", "type": "string" },44 { "internalType": "string", "name": "description", "type": "string" },45 { "internalType": "string", "name": "tokenPrefix", "type": "string" },46 { "internalType": "string", "name": "baseUri", "type": "string" }47 ],48 "name": "createERC721MetadataCompatibleRFTCollection",49 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],50 "stateMutability": "payable",51 "type": "function"52 },53 {41 {54 "inputs": [42 "inputs": [55 { "internalType": "string", "name": "name", "type": "string" },43 { "internalType": "string", "name": "name", "type": "string" },