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.jsondiffbeforeafterboth18 "name": "CollectionCreated",18 "name": "CollectionCreated",19 "type": "event"19 "type": "event"20 },20 },21 {22 "inputs": [23 { "internalType": "string", "name": "name", "type": "string" },24 { "internalType": "string", "name": "description", "type": "string" },25 { "internalType": "string", "name": "tokenPrefix", "type": "string" },26 { "internalType": "string", "name": "baseUri", "type": "string" }27 ],28 "name": "createERC721MetadataCompatibleCollection",29 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],30 "stateMutability": "nonpayable",31 "type": "function"32 },21 {33 {22 "inputs": [34 "inputs": [23 { "internalType": "string", "name": "name", "type": "string" },35 { "internalType": "string", "name": "name", "type": "string" },