Skip to main content



Mostly copied from Consensys EIP-20 implementation:


constructor(uint256 _initialAmount) (public)
totalSupply() โ†’ uint256 (public)
transfer(address _to, uint256 _value) โ†’ bool success (public)
transferFrom(address _from, address _to, uint256 _value) โ†’ bool success (public)
balanceOf(address _owner) โ†’ uint256 balance (public)
approve(address _spender, uint256 _value) โ†’ bool success (public)
allowance(address _owner, address _spender) โ†’ uint256 remaining (public)


Transfer(address from, address to, uint256 value)

Emitted when value tokens are moved from one account (from) to another (to). Note that value may be zero.

Approval(address owner, address spender, uint256 value)

Emitted when the allowance of a spender for an owner is set by a call to {approve}. value is the new allowance.