Skip to content

Instantly share code, notes, and snippets.

@JuanXavier
Created July 9, 2022 01:33
Show Gist options
  • Select an option

  • Save JuanXavier/409b9d14dd05a5e7ff99e44e43ad5f3f to your computer and use it in GitHub Desktop.

Select an option

Save JuanXavier/409b9d14dd05a5e7ff99e44e43ad5f3f to your computer and use it in GitHub Desktop.
// 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