Skip to content

Instantly share code, notes, and snippets.

@m-bo-one
Created September 16, 2021 20:23
Show Gist options
  • Save m-bo-one/1988f02ff5b7b6afe96205ca4a7d7513 to your computer and use it in GitHub Desktop.
Save m-bo-one/1988f02ff5b7b6afe96205ca4a7d7513 to your computer and use it in GitHub Desktop.
test erc20
//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