Fix comments again
This commit is contained in:
@ -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.
|
* @return True if the operation was successful.
|
||||||
*/
|
*/
|
||||||
function finishMinting() onlyOwner returns (bool) {
|
function finishMinting() onlyOwner returns (bool) {
|
||||||
|
|||||||
@ -9,7 +9,6 @@ import "./LimitedTransferToken.sol";
|
|||||||
* @dev Tokens that can be vested for a group of addresses.
|
* @dev Tokens that can be vested for a group of addresses.
|
||||||
*/
|
*/
|
||||||
contract VestedToken is StandardToken, LimitedTransferToken {
|
contract VestedToken is StandardToken, LimitedTransferToken {
|
||||||
|
|
||||||
struct TokenGrant {
|
struct TokenGrant {
|
||||||
address granter;
|
address granter;
|
||||||
uint256 value;
|
uint256 value;
|
||||||
@ -24,9 +23,9 @@ contract VestedToken is StandardToken, LimitedTransferToken {
|
|||||||
* @dev Grant tokens to a specified address
|
* @dev Grant tokens to a specified address
|
||||||
* @param _to address The address which the tokens will be granted to.
|
* @param _to address The address which the tokens will be granted to.
|
||||||
* @param _value uint256 The amount of tokens to be granted.
|
* @param _value uint256 The amount of tokens to be granted.
|
||||||
* @param _start uint64 Represents time of the begining of the grant.
|
* @param _start uint64 Time of the beginning of the grant.
|
||||||
* @param _cliff uint64 Represents the cliff period.
|
* @param _cliff uint64 Time of the cliff period.
|
||||||
* @param _vesting uint64 Represents the vesting period.
|
* @param _vesting uint64 The vesting period.
|
||||||
*/
|
*/
|
||||||
function grantVestedTokens(
|
function grantVestedTokens(
|
||||||
address _to,
|
address _to,
|
||||||
@ -121,14 +120,14 @@ contract VestedToken is StandardToken, LimitedTransferToken {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev Calculate amount of vested tokens at a specifc time.
|
* @dev Calculate amount of vested tokens at a specifc time.
|
||||||
* @param tokens uint256 The amount of tokens grantted.
|
* @param tokens uint256 The amount of tokens grantted.
|
||||||
* @param time uint64 The time to be checked
|
* @param time uint64 The time to be checked
|
||||||
* @param start uint64 A time representing the begining of the grant
|
* @param start uint64 A time representing the begining of the grant
|
||||||
* @param _cliff uint64 Represents the cliff period.
|
* @param _cliff uint64 The cliff period.
|
||||||
* @param _vesting uint64 Represents the vesting period.
|
* @param _vesting uint64 The vesting period.
|
||||||
* @return An uint representing the amount of vested tokensof a specif grant.
|
* @return An uint representing the amount of vested tokensof a specif grant.
|
||||||
*/
|
*/
|
||||||
function calculateVestedTokens(
|
function calculateVestedTokens(
|
||||||
uint256 tokens,
|
uint256 tokens,
|
||||||
uint256 time,
|
uint256 time,
|
||||||
|
|||||||
Reference in New Issue
Block a user