BasicERC20

Implements only the required ERC20 methods. This contract is used test how contracts handle ERC20 contracts that have not implemented decimals()

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) event

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) event

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

© UMA Project 2018-2019