Created
September 16, 2021 20:23
-
-
Save m-bo-one/1988f02ff5b7b6afe96205ca4a7d7513 to your computer and use it in GitHub Desktop.
test erc20
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: UNLICENSED | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract SigmaToken is ERC20, Ownable { | |
constructor( | |
string memory _name, | |
string memory _symbol, | |
uint256 _totalSupply | |
) ERC20(_name, _symbol) { | |
_mint(_msgSender(), _totalSupply); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment