Minor changes to doc comments for token and other contracts

This commit is contained in:
maurelian
2017-05-08 09:07:03 -04:00
committed by maurelian
parent 83f2849446
commit d357cf3a2e
12 changed files with 147 additions and 143 deletions

View File

@ -7,9 +7,9 @@ import '../ownership/Ownable.sol';
/**
* @tit;e Mintable token
* @title Mintable token
* @dev: Simple ERC20 Token example, with mintable token creation
@dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120
* @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120
* Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
*/
@ -27,11 +27,11 @@ contract MintableToken is StandardToken, Ownable {
}
/**
* @dev Function to mint tokens
* @param _to address The address that will recieve the minted tokens
* @param _amout uint The amount of tokens to mint
* @return A boolean that indicates if the operation was successful
*/
* @dev Function to mint tokens
* @param _to The address that will recieve the minted tokens.
* @param _amount The amount of tokens to mint.
* @return A boolean that indicates if the operation was successful.
*/
function mint(address _to, uint _amount) onlyOwner canMint returns (bool) {
totalSupply = totalSupply.add(_amount);
balances[_to] = balances[_to].add(_amount);
@ -40,9 +40,9 @@ contract MintableToken is StandardToken, Ownable {
}
/**
* @dev Function to spot minting new tokens
* @return True if the operation was successful
*/
* @dev Function to spot minting new tokens.
* @return True if the operation was successful.
*/
function finishMinting() onlyOwner returns (bool) {
mintingFinished = true;
MintFinished();