mysterybox1

This commit is contained in:
owen05
2021-04-14 19:08:11 +08:00
parent 388b294b58
commit be4c049e0a
7 changed files with 73 additions and 51 deletions

View File

@@ -4,6 +4,7 @@
pragma solidity 0.6.9;
import {IERC1155} from "../../intf/IERC1155.sol";
import {IERC165} from "../../intf/IERC165.sol";
import {IERC1155Receiver} from "../../intf/IERC1155Receiver.sol";
import {IERC1155MetadataURI} from "../../intf/IERC1155MetadataURI.sol";
import {ERC165} from "../utils/ERC165.sol";
@@ -31,13 +32,6 @@ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
// Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
string private _uri;
/**
* @dev See {_setURI}.
*/
constructor (string memory uri_) {
_setURI(uri_);
}
/**
* @dev See {IERC165-supportsInterface}.
*/
@@ -399,4 +393,3 @@ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
return array;
}
}