Sorry for dumb question.
How to make Upgradeable contract both Pausable and Burnable
Compiler error:
TypeError: Derived contract must override function “_beforeTokenTransfer”. Two or more base classes define function with same name and parameter type
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
//import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/SafeERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20BurnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
contract SomeToken is
ERC20Upgradeable,
ERC20PausableUpgradeable,
ERC20BurnableUpgradeable
// OwnableUpgradeable
{
function initialize() public initializer {
__ERC20_init("Some Token", "CX");
__ERC20Pausable_init();
}
}