Files
openzeppelin-contracts/contracts/mocks/ERC20Mock.sol
github-actions 6ae39c4dc1 Update docs
2023-05-09 19:56:30 +00:00

17 lines
388 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {ERC20} from "../token/ERC20/ERC20.sol";
contract ERC20Mock is ERC20 {
constructor() ERC20("ERC20Mock", "E20M") {}
function mint(address account, uint256 amount) external {
_mint(account, amount);
}
function burn(address account, uint256 amount) external {
_burn(account, amount);
}
}