From b069827bad5869ad9914772b45d5b405160079ae Mon Sep 17 00:00:00 2001 From: sot528 Date: Tue, 19 Sep 2017 01:57:50 +0900 Subject: [PATCH] fix typo. --- contracts/Bounty.sol | 2 +- contracts/DayLimit.sol | 2 +- contracts/crowdsale/CappedCrowdsale.sol | 2 +- contracts/crowdsale/FinalizableCrowdsale.sol | 4 ++-- contracts/examples/SimpleToken.sol | 2 +- contracts/ownership/CanReclaimToken.sol | 2 +- contracts/token/LimitedTransferToken.sol | 4 ++-- contracts/token/VestedToken.sol | 6 +++--- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/contracts/Bounty.sol b/contracts/Bounty.sol index 367e130f0..1d00ca917 100644 --- a/contracts/Bounty.sol +++ b/contracts/Bounty.sol @@ -16,7 +16,7 @@ contract Bounty is PullPayment, Destructible { event TargetCreated(address createdAddress); /** - * @dev Fallback function allowing the contract to recieve funds, if they haven't already been claimed. + * @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed. */ function() payable { require(!claimed); diff --git a/contracts/DayLimit.sol b/contracts/DayLimit.sol index bbadcaabd..6efe8b661 100644 --- a/contracts/DayLimit.sol +++ b/contracts/DayLimit.sol @@ -38,7 +38,7 @@ contract DayLimit { /** * @dev Checks to see if there is enough resource to spend today. If true, the resource may be expended. * @param _value uint256 representing the amount of resource to spend. - * @return A boolean that is True if the resource was spended and false otherwise. + * @return A boolean that is True if the resource was spent and false otherwise. */ function underLimit(uint256 _value) internal returns (bool) { // reset the spend limit if we're on a different day to last time. diff --git a/contracts/crowdsale/CappedCrowdsale.sol b/contracts/crowdsale/CappedCrowdsale.sol index f4f864e93..a9c54ac90 100644 --- a/contracts/crowdsale/CappedCrowdsale.sol +++ b/contracts/crowdsale/CappedCrowdsale.sol @@ -5,7 +5,7 @@ import './Crowdsale.sol'; /** * @title CappedCrowdsale - * @dev Extension of Crowsdale with a max amount of funds raised + * @dev Extension of Crowdsale with a max amount of funds raised */ contract CappedCrowdsale is Crowdsale { using SafeMath for uint256; diff --git a/contracts/crowdsale/FinalizableCrowdsale.sol b/contracts/crowdsale/FinalizableCrowdsale.sol index f07d3a96a..49a291c4b 100644 --- a/contracts/crowdsale/FinalizableCrowdsale.sol +++ b/contracts/crowdsale/FinalizableCrowdsale.sol @@ -6,7 +6,7 @@ import './Crowdsale.sol'; /** * @title FinalizableCrowdsale - * @dev Extension of Crowsdale where an owner can do extra work + * @dev Extension of Crowdsale where an owner can do extra work * after finishing. */ contract FinalizableCrowdsale is Crowdsale, Ownable { @@ -31,7 +31,7 @@ contract FinalizableCrowdsale is Crowdsale, Ownable { } /** - * @dev Can be overriden to add finalization logic. The overriding function + * @dev Can be overridden to add finalization logic. The overriding function * should call super.finalization() to ensure the chain of finalization is * executed entirely. */ diff --git a/contracts/examples/SimpleToken.sol b/contracts/examples/SimpleToken.sol index 0e24d4ace..f0ad644db 100644 --- a/contracts/examples/SimpleToken.sol +++ b/contracts/examples/SimpleToken.sol @@ -19,7 +19,7 @@ contract SimpleToken is StandardToken { uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals)); /** - * @dev Contructor that gives msg.sender all of existing tokens. + * @dev Constructor that gives msg.sender all of existing tokens. */ function SimpleToken() { totalSupply = INITIAL_SUPPLY; diff --git a/contracts/ownership/CanReclaimToken.sol b/contracts/ownership/CanReclaimToken.sol index 2d03fab30..d26212df9 100644 --- a/contracts/ownership/CanReclaimToken.sol +++ b/contracts/ownership/CanReclaimToken.sol @@ -7,7 +7,7 @@ import "../token/SafeERC20.sol"; /** * @title Contracts that should be able to recover tokens * @author SylTi - * @dev This allow a contract to recover any ERC20 token received in a contract by transfering the balance to the contract owner. + * @dev This allow a contract to recover any ERC20 token received in a contract by transferring the balance to the contract owner. * This will prevent any accidental loss of tokens. */ contract CanReclaimToken is Ownable { diff --git a/contracts/token/LimitedTransferToken.sol b/contracts/token/LimitedTransferToken.sol index 50e3f1661..408e0797d 100644 --- a/contracts/token/LimitedTransferToken.sol +++ b/contracts/token/LimitedTransferToken.sol @@ -29,7 +29,7 @@ contract LimitedTransferToken is ERC20 { /** * @dev Checks modifier and allows transfer if tokens are not locked. - * @param _to The address that will recieve the tokens. + * @param _to The address that will receive the tokens. * @param _value The amount of tokens to be transferred. */ function transfer(address _to, uint256 _value) canTransfer(msg.sender, _value) public returns (bool) { @@ -39,7 +39,7 @@ contract LimitedTransferToken is ERC20 { /** * @dev Checks modifier and allows transfer if tokens are not locked. * @param _from The address that will send the tokens. - * @param _to The address that will recieve the tokens. + * @param _to The address that will receive the tokens. * @param _value The amount of tokens to be transferred. */ function transferFrom(address _from, address _to, uint256 _value) canTransfer(_from, _value) public returns (bool) { diff --git a/contracts/token/VestedToken.sol b/contracts/token/VestedToken.sol index f0f99a23b..8b9dd94bc 100644 --- a/contracts/token/VestedToken.sol +++ b/contracts/token/VestedToken.sol @@ -179,7 +179,7 @@ contract VestedToken is StandardToken, LimitedTransferToken { } /** - * @dev Get all information about a specifc grant. + * @dev Get all information about a specific grant. * @param _holder The address which will have its tokens revoked. * @param _grantId The id of the token grant. * @return Returns all the values that represent a TokenGrant(address, value, start, cliff, @@ -219,7 +219,7 @@ contract VestedToken is StandardToken, LimitedTransferToken { * @dev Calculate the amount of non vested tokens at a specific time. * @param grant TokenGrant The grant to be checked. * @param time uint64 The time to be checked - * @return An uint256 representing the amount of non vested tokens of a specifc grant on the + * @return An uint256 representing the amount of non vested tokens of a specific grant on the * passed time frame. */ function nonVestedTokens(TokenGrant grant, uint64 time) private constant returns (uint256) { @@ -227,7 +227,7 @@ contract VestedToken is StandardToken, LimitedTransferToken { } /** - * @dev Calculate the date when the holder can trasfer all its tokens + * @dev Calculate the date when the holder can transfer all its tokens * @param holder address The address of the holder * @return An uint256 representing the date of the last transferable tokens. */