What is an Ethereum token?(blockgeeks.com) |
What is an Ethereum token?(blockgeeks.com) |
function totalSupply() constant returns (uint totalSupply);
function balanceOf(address _owner) constant returns (uint balance);
function transfer(address _to, uint _value) returns (bool success);
function transferFrom(address _from, address _to, uint _value) returns (bool success);
function approve(address _spender, uint _value) returns (bool success);
function allowance(address _owner, address _spender) constant returns (uint remaining);
event Transfer(address indexed _from, address indexed _to, uint _value);
event Approval(address indexed _owner, address indexed _spender, uint _value);
How the tokens are distributed and what owners of them are allowed to do with them is where things get interesting, of course.Good night overall. I'm still skeptical of ETH, however.
They're not transferrable in the way ETH is between accounts; the original Token smart contract account just moves internal balances between accounts.
Which is really what ETH does at a higher level anyway, lol.