You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.0 KiB
26 lines
1.0 KiB
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "./ERC1155Mock.sol";
|
|
import "../token/ERC1155/extensions/ERC1155Supply.sol";
|
|
|
|
contract ERC1155SupplyMock is ERC1155Mock, ERC1155Supply {
|
|
constructor(string memory uri) ERC1155Mock(uri) { }
|
|
|
|
function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual override(ERC1155, ERC1155Supply) {
|
|
super._mint(account, id, amount, data);
|
|
}
|
|
|
|
function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual override(ERC1155, ERC1155Supply) {
|
|
super._mintBatch(to, ids, amounts, data);
|
|
}
|
|
|
|
function _burn(address account, uint256 id, uint256 amount) internal virtual override(ERC1155, ERC1155Supply) {
|
|
super._burn(account, id, amount);
|
|
}
|
|
|
|
function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual override(ERC1155, ERC1155Supply) {
|
|
super._burnBatch(account, ids, amounts);
|
|
}
|
|
}
|
|
|