// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./ERC1155MockUpgradeSafe.sol";
import "../token/ERC1155/ERC1155PausableUpgradeSafe.sol";
import "../Initializable.sol";

contract ERC1155PausableMockUpgradeSafe is __Initializable, ERC1155MockUpgradeSafe, ERC1155PausableUpgradeSafe {
    function __ERC1155PausableMock_init(string memory uri) internal __initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC1155_init_unchained(uri);
        __ERC1155Mock_init_unchained(uri);
        __Pausable_init_unchained();
        __ERC1155Pausable_init_unchained();
        __ERC1155PausableMock_init_unchained(uri);
    }

    function __ERC1155PausableMock_init_unchained(string memory uri) internal __initializer { }

    function pause() external {
        _pause();
    }

    function unpause() external {
        _unpause();
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal virtual override(ERC1155UpgradeSafe, ERC1155PausableUpgradeSafe)
    {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}
