1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| pragma solidity ^0.8.0;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
contract GAME is ERC20, Ownable { constructor( address convert ) ERC20("GAME Token", "GAME") Ownable(msg.sender) { _mint(convert, 100_000_000_000 * 10 ** 18); }
function burn(uint256 value) external { _burn(_msgSender(), value); } }
|