git.delta.rocks / unique-network / refs/commits / 011ab4685f48

difftreelog

chore update stubs

Grigoriy Simonov2022-10-26parent: #c388a1a.patch.diff
in: master

4 files changed

modifiedpallets/unique/src/eth/stubs/CollectionHelpers.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth
24}24}
2525
26/// @title Contract, which allows users to operate with collections26/// @title Contract, which allows users to operate with collections
27/// @dev the ERC-165 identifier for this interface is 0xd8b3603927/// @dev the ERC-165 identifier for this interface is 0x7dea03b1
28contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {28contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
29 /// Create an NFT collection29 /// Create an NFT collection
30 /// @param name Name of the collection30 /// @param name Name of the collection
77 return 0x0000000000000000000000000000000000000000;77 return 0x0000000000000000000000000000000000000000;
78 }78 }
79
80 /// @dev EVM selector for this function is: 0xa5596388,
81 /// or in textual repr: createERC721MetadataCompatibleRFTCollection(string,string,string,string)
82 function createERC721MetadataCompatibleRFTCollection(
83 string memory name,
84 string memory description,
85 string memory tokenPrefix,
86 string memory baseUri
87 ) public payable returns (address) {
88 require(false, stub_error);
89 name;
90 description;
91 tokenPrefix;
92 baseUri;
93 dummy = 0;
94 return 0x0000000000000000000000000000000000000000;
95 }
9679
97 /// @dev EVM selector for this function is: 0x7335b79f,80 /// @dev EVM selector for this function is: 0x7335b79f,
98 /// or in textual repr: createFTCollection(string,uint8,string,string)81 /// or in textual repr: createFTCollection(string,uint8,string,string)
modifiedtests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth
19}19}
2020
21/// @title Contract, which allows users to operate with collections21/// @title Contract, which allows users to operate with collections
22/// @dev the ERC-165 identifier for this interface is 0xd8b3603922/// @dev the ERC-165 identifier for this interface is 0x7dea03b1
23interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {23interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
24 /// Create an NFT collection24 /// Create an NFT collection
25 /// @param name Name of the collection25 /// @param name Name of the collection
51 string memory tokenPrefix51 string memory tokenPrefix
52 ) external payable returns (address);52 ) external payable returns (address);
53
54 /// @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 baseUri
61 ) external payable returns (address);
6253
63 /// @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)
modifiedtests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth
38 "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" },