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.soldiffbeforeafterboth--- a/tests/src/eth/api/CollectionHelpers.sol
+++ b/tests/src/eth/api/CollectionHelpers.sol
@@ -18,7 +18,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
interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
/// Create an NFT collection
/// @param name Name of the collection
@@ -44,15 +44,6 @@
string memory name,
string memory description,
string memory tokenPrefix
- ) external payable returns (address);
-
- /// @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
) external payable returns (address);
/// @dev EVM selector for this function is: 0xab173450,
@@ -61,15 +52,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: 0x85624258,
tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth1[2 {3 "anonymous": false,4 "inputs": [5 {6 "indexed": true,7 "internalType": "address",8 "name": "owner",9 "type": "address"10 },11 {12 "indexed": true,13 "internalType": "address",14 "name": "collectionId",15 "type": "address"16 }17 ],18 "name": "CollectionCreated",19 "type": "event"20 },21 {22 "inputs": [],23 "name": "collectionCreationFee",24 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],25 "stateMutability": "view",26 "type": "function"27 },28 {29 "inputs": [30 { "internalType": "string", "name": "name", "type": "string" },31 { "internalType": "string", "name": "description", "type": "string" },32 { "internalType": "string", "name": "tokenPrefix", "type": "string" },33 { "internalType": "string", "name": "baseUri", "type": "string" }34 ],35 "name": "createERC721MetadataCompatibleNFTCollection",36 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],37 "stateMutability": "payable",38 "type": "function"39 },40 {41 "inputs": [42 { "internalType": "string", "name": "name", "type": "string" },43 { "internalType": "string", "name": "description", "type": "string" },44 { "internalType": "string", "name": "tokenPrefix", "type": "string" },45 { "internalType": "string", "name": "baseUri", "type": "string" }46 ],47 "name": "createERC721MetadataCompatibleRFTCollection",48 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],49 "stateMutability": "payable",50 "type": "function"51 },52 {53 "inputs": [54 { "internalType": "string", "name": "name", "type": "string" },55 { "internalType": "string", "name": "description", "type": "string" },56 { "internalType": "string", "name": "tokenPrefix", "type": "string" }57 ],58 "name": "createNFTCollection",59 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],60 "stateMutability": "payable",61 "type": "function"62 },63 {64 "inputs": [65 { "internalType": "string", "name": "name", "type": "string" },66 { "internalType": "string", "name": "description", "type": "string" },67 { "internalType": "string", "name": "tokenPrefix", "type": "string" }68 ],69 "name": "createNonfungibleCollection",70 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],71 "stateMutability": "payable",72 "type": "function"73 },74 {75 "inputs": [76 { "internalType": "string", "name": "name", "type": "string" },77 { "internalType": "string", "name": "description", "type": "string" },78 { "internalType": "string", "name": "tokenPrefix", "type": "string" }79 ],80 "name": "createRFTCollection",81 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],82 "stateMutability": "payable",83 "type": "function"84 },85 {86 "inputs": [87 {88 "internalType": "address",89 "name": "collectionAddress",90 "type": "address"91 }92 ],93 "name": "isCollectionExist",94 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],95 "stateMutability": "view",96 "type": "function"97 },98 {99 "inputs": [100 { "internalType": "address", "name": "collection", "type": "address" },101 { "internalType": "string", "name": "baseUri", "type": "string" }102 ],103 "name": "makeCollectionERC721MetadataCompatible",104 "outputs": [],105 "stateMutability": "nonpayable",106 "type": "function"107 },108 {109 "inputs": [110 { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }111 ],112 "name": "supportsInterface",113 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],114 "stateMutability": "view",115 "type": "function"116 }117]1[2 {3 "anonymous": false,4 "inputs": [5 {6 "indexed": true,7 "internalType": "address",8 "name": "owner",9 "type": "address"10 },11 {12 "indexed": true,13 "internalType": "address",14 "name": "collectionId",15 "type": "address"16 }17 ],18 "name": "CollectionCreated",19 "type": "event"20 },21 {22 "inputs": [],23 "name": "collectionCreationFee",24 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],25 "stateMutability": "view",26 "type": "function"27 },28 {29 "inputs": [30 { "internalType": "string", "name": "name", "type": "string" },31 { "internalType": "string", "name": "description", "type": "string" },32 { "internalType": "string", "name": "tokenPrefix", "type": "string" }33 ],34 "name": "createNFTCollection",35 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],36 "stateMutability": "payable",37 "type": "function"38 },39 {40 "inputs": [41 { "internalType": "string", "name": "name", "type": "string" },42 { "internalType": "string", "name": "description", "type": "string" },43 { "internalType": "string", "name": "tokenPrefix", "type": "string" }44 ],45 "name": "createNonfungibleCollection",46 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],47 "stateMutability": "payable",48 "type": "function"49 },50 {51 "inputs": [52 { "internalType": "string", "name": "name", "type": "string" },53 { "internalType": "string", "name": "description", "type": "string" },54 { "internalType": "string", "name": "tokenPrefix", "type": "string" }55 ],56 "name": "createRFTCollection",57 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],58 "stateMutability": "payable",59 "type": "function"60 },61 {62 "inputs": [63 {64 "internalType": "address",65 "name": "collectionAddress",66 "type": "address"67 }68 ],69 "name": "isCollectionExist",70 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],71 "stateMutability": "view",72 "type": "function"73 },74 {75 "inputs": [76 { "internalType": "address", "name": "collection", "type": "address" },77 { "internalType": "string", "name": "baseUri", "type": "string" }78 ],79 "name": "makeCollectionERC721MetadataCompatible",80 "outputs": [],81 "stateMutability": "nonpayable",82 "type": "function"83 },84 {85 "inputs": [86 { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }87 ],88 "name": "supportsInterface",89 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],90 "stateMutability": "view",91 "type": "function"92 }93]