BasicERC20
Implements only the required ERC20 methods. This contract is used
test how contracts handle ERC20 contracts that have not implemented decimals()
Mostly copied from Consensys EIP-20 implementation: https://github.com/ConsenSys/Tokens/blob/fdf687c69d998266a95f15216b1955a4965a0a6d/contracts/eip20/EIP20.sol
Functions
Events
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.