Skip to content

Commit

Permalink
feat: eco erc1155 init
Browse files Browse the repository at this point in the history
  • Loading branch information
seinmyung25 committed Apr 8, 2024
1 parent ead1980 commit 88a1baa
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ import { ERC1155URIStorageUpgradeable } from "@openzeppelin/contracts-upgradeabl

import { ERC1155Upgradeable } from "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";

contract EcoERC1155 is ERC1155MintableUpgradeable, EcoERC1155URIControl {
contract EcoERC1155Upgradeable is ERC1155MintableUpgradeable, EcoERC1155URIControl {
function initEcoERC1155(address initialOwner, string memory baseURI) public initializer {
_initEcoOwnable(initialOwner);
__ERC1155_init(baseURI);
}

function supportsInterface(
bytes4 interfaceId
) public view override(ERC1155MintableUpgradeable, EcoERC1155URIControl) returns (bool) {
Expand Down

0 comments on commit 88a1baa

Please sign in to comment.