Created
July 9, 2022 01:33
-
-
Save JuanXavier/409b9d14dd05a5e7ff99e44e43ad5f3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| contract DamnValuableToken is ERC20 { | |
| // Decimals are set to 18 by default in `ERC20` | |
| constructor() ERC20("DamnValuableToken", "DVT") { | |
| _mint(msg.sender, type(uint256).max); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment