Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The DAO code has implemented the Standard Token: https://github.com/ethereum/EIPs/issues/20

...

Tokens are created by sending ether to the DAO during the creation period. There is different ether/token creation ration during the period, as specified in the white paper section 5:

Distribution

This means that after 14-May-2016 09:00 UTC you will pay 1,05 ETH per 100 Token and so on.

There are two ways to create those tokens.

...

Additionally you can use the functions transfer  and transferFrom in the DAO contract. The transfer function takes two parameters:

to

...

Recipient of the tokens
value Amount of tokens (base units!) to be transferred

Here the tokens from the sender of the transaction are transferred.

The function transferFrom works similar. It has the same parameters as transfer, but additionally takes

from

...

Sender of the tokens.

 

as the sender of the tokens. This function can only be used, when the owner of the token has approved this spending. He can do this by calling approve with the parameter:

...