mirror of
https://github.com/luxfi/eoa-contracts.git
synced 2026-10-30 16:58:32 +00:00
17 lines
392 B
Solidity
17 lines
392 B
Solidity
// SPDX-License-Identifier: GPL-3.0
|
|
pragma solidity 0.8.17;
|
|
|
|
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
|
|
|
contract MockToken is ERC20 {
|
|
constructor() ERC20("TST", "MockToken") {}
|
|
|
|
function mint(address sender, uint256 amount) external {
|
|
_mint(sender, amount);
|
|
}
|
|
|
|
function decimals() public view virtual override returns (uint8) {
|
|
return 6;
|
|
}
|
|
}
|