MetaCoin Interface [generic contract]
/contracts/MetaCoin.sol

Author Here

constructor

MetaCoin

event

Transfer ddf252ad

inputs0address_from
inputs1address_to
inputs2uint256_value
function

getBalance f8b2cb4f

Returns MetaCoin balance for a given address

inputs0addressaddr

Queried address

outputs0uint256value

Token balance of account

function

getBalanceInEth 7bd703e8

Returns equivalent Ether balance for a given address

Uses the ConvertLib.sol library for conversions

inputs0addressaddr

Queried address

outputs0uint256value

Ether equivalent balance of account

function

sendCoin 90b98a11

Transfer coins from sender to receiver

This is just a simple example of a coin-like contract. It is not standards compatible and cannot be expected to talk to other coin/token contracts. If you want to create a standards-compliant token, see: ConsenSys/Tokens. Cheers!

inputs0addressreceiver

Address of the receipient

inputs1uint256amount

Amount of tokens to send

outputs0boolsufficient

Transfer is succesful