work-sample/contracts/MagnaToken.sol
2022-11-09 10:19:59 -05:00

13 lines
307 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity =0.8.17;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MagnaToken is ERC20 {
uint256 constant _initial_supply = (10**9) * (10**18);
constructor() ERC20("MagnaToken", "MAGNA") {
_mint(msg.sender, _initial_supply);
}
}