// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../token/ERC777/ERC777Upgradeable.sol"; import {Initializable} from "../../proxy/utils/Initializable.sol"; abstract contract ERC777MockUpgradeable is Initializable, ERC777Upgradeable { event BeforeTokenTransfer(); function __ERC777Mock_init() internal onlyInitializing { } function __ERC777Mock_init_unchained() internal onlyInitializing { } function _beforeTokenTransfer(address, address, address, uint256) internal override { emit BeforeTokenTransfer(); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }