fixed typos in standart token doc

pull/380/head
Petr Korolev 8 years ago
parent 0ed98ea9b9
commit 99efe80c61
  1. 6
      contracts/token/StandardToken.sol

@ -21,7 +21,7 @@ contract StandardToken is ERC20, BasicToken {
* @dev Transfer tokens from one address to another * @dev Transfer tokens from one address to another
* @param _from address The address which you want to send tokens from * @param _from address The address which you want to send tokens from
* @param _to address The address which you want to transfer to * @param _to address The address which you want to transfer to
* @param _value uint256 the amout of tokens to be transfered * @param _value uint256 the amount of tokens to be transferred
*/ */
function transferFrom(address _from, address _to, uint256 _value) returns (bool) { function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
var _allowance = allowed[_from][msg.sender]; var _allowance = allowed[_from][msg.sender];
@ -37,7 +37,7 @@ contract StandardToken is ERC20, BasicToken {
} }
/** /**
* @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender. * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
* @param _spender The address which will spend the funds. * @param _spender The address which will spend the funds.
* @param _value The amount of tokens to be spent. * @param _value The amount of tokens to be spent.
*/ */
@ -58,7 +58,7 @@ contract StandardToken is ERC20, BasicToken {
* @dev Function to check the amount of tokens that an owner allowed to a spender. * @dev Function to check the amount of tokens that an owner allowed to a spender.
* @param _owner address The address which owns the funds. * @param _owner address The address which owns the funds.
* @param _spender address The address which will spend the funds. * @param _spender address The address which will spend the funds.
* @return A uint256 specifing the amount of tokens still available for the spender. * @return A uint256 specifying the amount of tokens still available for the spender.
*/ */
function allowance(address _owner, address _spender) constant returns (uint256 remaining) { function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
return allowed[_owner][_spender]; return allowed[_owner][_spender];

Loading…
Cancel
Save