Browse Source

Fix comments again

maurelian 8 years ago
parent
commit
c4796bb918
2 changed files with 12 additions and 13 deletions
  1. 1 1
      contracts/token/MintableToken.sol
  2. 11 12
      contracts/token/VestedToken.sol

+ 1 - 1
contracts/token/MintableToken.sol

@@ -40,7 +40,7 @@ contract MintableToken is StandardToken, Ownable {
   }
 
   /**
-   * @dev Function to spot minting new tokens.
+   * @dev Function to stop minting new tokens.
    * @return True if the operation was successful.
    */
   function finishMinting() onlyOwner returns (bool) {

+ 11 - 12
contracts/token/VestedToken.sol

@@ -9,7 +9,6 @@ import "./LimitedTransferToken.sol";
  * @dev Tokens that can be vested for a group of addresses.
  */
 contract VestedToken is StandardToken, LimitedTransferToken {
-
   struct TokenGrant {
     address granter;
     uint256 value;
@@ -24,9 +23,9 @@ contract VestedToken is StandardToken, LimitedTransferToken {
    * @dev Grant tokens to a specified address
    * @param _to address The address which the tokens will be granted to.
    * @param _value uint256 The amount of tokens to be granted.
-   * @param _start uint64 Represents time of the begining of the grant.
-   * @param _cliff uint64 Represents the cliff period.
-   * @param _vesting uint64 Represents the vesting period.
+   * @param _start uint64 Time of the beginning of the grant.
+   * @param _cliff uint64 Time of the cliff period.
+   * @param _vesting uint64 The vesting period.
    */
   function grantVestedTokens(
     address _to,
@@ -121,14 +120,14 @@ contract VestedToken is StandardToken, LimitedTransferToken {
   }
 
   /**
-  * @dev Calculate amount of vested tokens at a specifc time.
-  * @param tokens uint256 The amount of tokens grantted.
-  * @param time uint64 The time to be checked
-  * @param start uint64 A time representing the begining of the grant
-  * @param _cliff uint64 Represents the cliff period.
-  * @param _vesting uint64 Represents the vesting period.
-  * @return An uint representing the amount of vested tokensof a specif grant.
-  */
+   * @dev Calculate amount of vested tokens at a specifc time.
+   * @param tokens uint256 The amount of tokens grantted.
+   * @param time uint64 The time to be checked
+   * @param start uint64 A time representing the begining of the grant
+   * @param _cliff uint64 The cliff period.
+   * @param _vesting uint64 The vesting period.
+   * @return An uint representing the amount of vested tokensof a specif grant.
+   */
   function calculateVestedTokens(
     uint256 tokens,
     uint256 time,