difftreelog
misc: generate apis
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
@@ -29,7 +29,7 @@
);
}
-// Selector: 20947cd0
+// Selector: 86a0d929
contract CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
// Selector: createNonfungibleCollection(string,string,string) e34a6844
function createNonfungibleCollection(
@@ -45,6 +45,22 @@
return 0x0000000000000000000000000000000000000000;
}
+ // Selector: createERC721MetadataCompatibleCollection(string,string,string,string) a634a5f9
+ function createERC721MetadataCompatibleCollection(
+ string memory name,
+ string memory description,
+ string memory tokenPrefix,
+ string memory baseUri
+ ) public returns (address) {
+ require(false, stub_error);
+ name;
+ description;
+ tokenPrefix;
+ baseUri;
+ dummy = 0;
+ return 0x0000000000000000000000000000000000000000;
+ }
+
// Selector: isCollectionExist(address) c3de1494
function isCollectionExist(address collectionAddress)
public
tests/src/eth/api/CollectionHelpers.soldiffbeforeafterboth--- a/tests/src/eth/api/CollectionHelpers.sol
+++ b/tests/src/eth/api/CollectionHelpers.sol
@@ -20,7 +20,7 @@
);
}
-// Selector: 20947cd0
+// Selector: 86a0d929
interface CollectionHelpers is Dummy, ERC165, CollectionHelpersEvents {
// Selector: createNonfungibleCollection(string,string,string) e34a6844
function createNonfungibleCollection(
@@ -29,6 +29,14 @@
string memory tokenPrefix
) external returns (address);
+ // Selector: createERC721MetadataCompatibleCollection(string,string,string,string) a634a5f9
+ function createERC721MetadataCompatibleCollection(
+ string memory name,
+ string memory description,
+ string memory tokenPrefix,
+ string memory baseUri
+ ) external returns (address);
+
// Selector: isCollectionExist(address) c3de1494
function isCollectionExist(address collectionAddress)
external
tests/src/eth/collectionHelpersAbi.jsondiffbeforeafterboth--- a/tests/src/eth/collectionHelpersAbi.json
+++ b/tests/src/eth/collectionHelpersAbi.json
@@ -22,6 +22,18 @@
"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": "createERC721MetadataCompatibleCollection",
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ { "internalType": "string", "name": "name", "type": "string" },
+ { "internalType": "string", "name": "description", "type": "string" },
{ "internalType": "string", "name": "tokenPrefix", "type": "string" }
],
"name": "createNonfungibleCollection",