Skip to content

Instantly share code, notes, and snippets.

@tcichowicz
Created August 16, 2017 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcichowicz/64f476a8eec86d155e24ccb32d9a6cd4 to your computer and use it in GitHub Desktop.
Save tcichowicz/64f476a8eec86d155e24ccb32d9a6cd4 to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.15;
import 'zeppelin-solidity/contracts/token/ERC20Basic.sol';
import 'zeppelin-solidity/contracts/token/PausableToken.sol';
contract EspeoTokenIco is PausableToken {
using SafeMath for uint256;
string public name = "Espeo Token";
string public symbol = "ESP";
uint256 public decimals = 18;
uint256 public totalSupply = 1000000 * (10 ** decimals);
address public fundsWallet;
function EspeoTokenIco(address _fundsWallet) {
fundsWallet = _fundsWallet;
// initially assign all tokens to the fundsWallet
balances[fundsWallet] = totalSupply;
Transfer(0x0, fundsWallet, totalSupply);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment