Skip to content

Instantly share code, notes, and snippets.

@mostr
Created May 2, 2018 09:46
Show Gist options
  • Save mostr/b021f325ba406bf561e5636d42be438c to your computer and use it in GitHub Desktop.
Save mostr/b021f325ba406bf561e5636d42be438c to your computer and use it in GitHub Desktop.
Test ERC20 token contract
pragma solidity ^0.4.16;
import "github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol";
contract TestToken is StandardToken {
constructor(uint256 _initialBalance) public payable {
balances[msg.sender] = _initialBalance;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment