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.
33 lines
719 B
33 lines
719 B
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity >=0.6.0 <0.8.0;
|
|
|
|
import "../token/ERC20/ERC20Pausable.sol";
|
|
|
|
// mock class using ERC20Pausable
|
|
contract ERC20PausableMock is ERC20Pausable {
|
|
constructor (
|
|
string memory name,
|
|
string memory symbol,
|
|
address initialAccount,
|
|
uint256 initialBalance
|
|
) public ERC20(name, symbol) {
|
|
_mint(initialAccount, initialBalance);
|
|
}
|
|
|
|
function pause() external {
|
|
_pause();
|
|
}
|
|
|
|
function unpause() external {
|
|
_unpause();
|
|
}
|
|
|
|
function mint(address to, uint256 amount) public {
|
|
_mint(to, amount);
|
|
}
|
|
|
|
function burn(address from, uint256 amount) public {
|
|
_burn(from, amount);
|
|
}
|
|
}
|
|
|