Last active
May 11, 2022 23:59
-
-
Save anoochit/b2f9263ef9a121555f31e1059bc2fa0b to your computer and use it in GitHub Desktop.
social network wallet - gift token
This file contains 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.4; | |
import "@openzeppelin/contracts@4.6.0/token/ERC20/utils/SafeERC20.sol"; | |
import "@openzeppelin/contracts@4.6.0/token/ERC20/ERC20.sol"; | |
contract GIFT is ERC20 { | |
using SafeERC20 for ERC20; | |
constructor() ERC20("GIFT Token", "GIFT") { | |
_mint(msg.sender, 1000000000 * 10 ** decimals()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment