Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 437 Bytes

crowdsaletoken.rst

File metadata and controls

14 lines (10 loc) · 437 Bytes

CrowdsaleToken

Simple ERC20 Token example, with crowdsale token creation.

Inherits from contract StandardToken.

createTokens(address recipient) payable

Creates tokens based on message value and credits to the recipient.

getPrice() constant returns (uint result)

Returns the amount of tokens per 1 ether.