aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin
diff options
context:
space:
mode:
authorCryptomental <cryptomental.com@gmail.com>2018-07-10 15:18:19 +0800
committerCryptomental <cryptomental.com@gmail.com>2018-07-11 04:57:59 +0800
commit4116704442aff035acb5b707c6b211ac1f5524fe (patch)
tree6813ae8d78ecfa630cc85fdca09d1534d627c6c5 /test/compilationTests/zeppelin
parenteb92d5f760995aef4c79fcaa3f8c2437718ffc7f (diff)
downloaddexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar.gz
dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.tar.zst
dexon-solidity-4116704442aff035acb5b707c6b211ac1f5524fe.zip
test: Fix typos.
Fix typos using codespell. Refs: #4442
Diffstat (limited to 'test/compilationTests/zeppelin')
-rw-r--r--test/compilationTests/zeppelin/Bounty.sol2
-rw-r--r--test/compilationTests/zeppelin/ReentrancyGuard.sol2
-rw-r--r--test/compilationTests/zeppelin/token/LimitedTransferToken.sol4
-rw-r--r--test/compilationTests/zeppelin/token/MintableToken.sol2
-rw-r--r--test/compilationTests/zeppelin/token/SimpleToken.sol2
-rw-r--r--test/compilationTests/zeppelin/token/StandardToken.sol4
-rw-r--r--test/compilationTests/zeppelin/token/VestedToken.sol14
7 files changed, 15 insertions, 15 deletions
diff --git a/test/compilationTests/zeppelin/Bounty.sol b/test/compilationTests/zeppelin/Bounty.sol
index 6341610b..5b2124ca 100644
--- a/test/compilationTests/zeppelin/Bounty.sol
+++ b/test/compilationTests/zeppelin/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() external payable {
if (claimed) {
diff --git a/test/compilationTests/zeppelin/ReentrancyGuard.sol b/test/compilationTests/zeppelin/ReentrancyGuard.sol
index ca8b643b..60c7927b 100644
--- a/test/compilationTests/zeppelin/ReentrancyGuard.sol
+++ b/test/compilationTests/zeppelin/ReentrancyGuard.sol
@@ -1,7 +1,7 @@
pragma solidity ^0.4.11;
/**
- * @title Helps contracts guard agains rentrancy attacks.
+ * @title Helps contracts guard against rentrancy attacks.
* @author Remco Bloemen <remco@2π.com>
* @notice If you mark a function `nonReentrant`, you should also
* mark it `external`.
diff --git a/test/compilationTests/zeppelin/token/LimitedTransferToken.sol b/test/compilationTests/zeppelin/token/LimitedTransferToken.sol
index 5a056f78..052c28e6 100644
--- a/test/compilationTests/zeppelin/token/LimitedTransferToken.sol
+++ b/test/compilationTests/zeppelin/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 {
@@ -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) public canTransfer(_from, _value) {
diff --git a/test/compilationTests/zeppelin/token/MintableToken.sol b/test/compilationTests/zeppelin/token/MintableToken.sol
index 4c4787e3..f99964d0 100644
--- a/test/compilationTests/zeppelin/token/MintableToken.sol
+++ b/test/compilationTests/zeppelin/token/MintableToken.sol
@@ -27,7 +27,7 @@ contract MintableToken is StandardToken, Ownable {
/**
* @dev Function to mint tokens
- * @param _to The address that will recieve the minted tokens.
+ * @param _to The address that will receive the minted tokens.
* @param _amount The amount of tokens to mint.
* @return A boolean that indicates if the operation was successful.
*/
diff --git a/test/compilationTests/zeppelin/token/SimpleToken.sol b/test/compilationTests/zeppelin/token/SimpleToken.sol
index d0232bca..6c3f5740 100644
--- a/test/compilationTests/zeppelin/token/SimpleToken.sol
+++ b/test/compilationTests/zeppelin/token/SimpleToken.sol
@@ -18,7 +18,7 @@ contract SimpleToken is StandardToken {
uint256 public INITIAL_SUPPLY = 10000;
/**
- * @dev Contructor that gives msg.sender all of existing tokens.
+ * @dev Constructor that gives msg.sender all of existing tokens.
*/
constructor() public {
totalSupply = INITIAL_SUPPLY;
diff --git a/test/compilationTests/zeppelin/token/StandardToken.sol b/test/compilationTests/zeppelin/token/StandardToken.sol
index a55d961c..94b12e57 100644
--- a/test/compilationTests/zeppelin/token/StandardToken.sol
+++ b/test/compilationTests/zeppelin/token/StandardToken.sol
@@ -21,7 +21,7 @@ contract StandardToken is ERC20, BasicToken {
* @dev Transfer tokens from one address to another
* @param _from address The address which you want to send tokens from
* @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) public {
uint256 _allowance = allowed[_from][msg.sender];
@@ -56,7 +56,7 @@ contract StandardToken is ERC20, BasicToken {
* @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 _spender address The address which will spend the funds.
- * @return A uint256 specifing the amount of tokens still avaible for the spender.
+ * @return A uint256 specifying the amount of tokens still available for the spender.
*/
function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
return allowed[_owner][_spender];
diff --git a/test/compilationTests/zeppelin/token/VestedToken.sol b/test/compilationTests/zeppelin/token/VestedToken.sol
index 17141bdf..893a51db 100644
--- a/test/compilationTests/zeppelin/token/VestedToken.sol
+++ b/test/compilationTests/zeppelin/token/VestedToken.sol
@@ -69,7 +69,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
}
/**
- * @dev Revoke the grant of tokens of a specifed address.
+ * @dev Revoke the grant of tokens of a specified address.
* @param _holder The address which will have its tokens revoked.
* @param _grantId The id of the token grant.
*/
@@ -135,13 +135,13 @@ contract VestedToken is StandardToken, LimitedTransferToken {
}
/**
- * @dev Calculate amount of vested tokens at a specifc time.
- * @param tokens uint256 The amount of tokens grantted.
+ * @dev Calculate amount of vested tokens at a specific time.
+ * @param tokens uint256 The amount of tokens granted.
* @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 beginning of the grant
* @param cliff uint64 The cliff period.
* @param vesting uint64 The vesting period.
- * @return An uint256 representing the amount of vested tokensof a specif grant.
+ * @return An uint256 representing the amount of vested tokens of a specific grant.
* transferableTokens
* | _/-------- vestedTokens rect
* | _/
@@ -186,7 +186,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,
@@ -226,7 +226,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 view returns (uint256) {