Fix typos (#1082)
This commit is contained in:
committed by
Nicolás Venturo
parent
5f6d511af9
commit
45d6943913
@ -2,7 +2,7 @@ pragma solidity ^0.4.24;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @title Eliptic curve signature operations
|
* @title Elliptic curve signature operations
|
||||||
* @dev Based on https://gist.github.com/axic/5b33912c6f61ae6fd96d6c4a47afde6d
|
* @dev Based on https://gist.github.com/axic/5b33912c6f61ae6fd96d6c4a47afde6d
|
||||||
* TODO Remove this library once solidity supports passing a signature to ecrecover.
|
* TODO Remove this library once solidity supports passing a signature to ecrecover.
|
||||||
* See https://github.com/ethereum/solidity/issues/864
|
* See https://github.com/ethereum/solidity/issues/864
|
||||||
|
|||||||
@ -2,7 +2,7 @@ pragma solidity ^0.4.24;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @title Helps contracts guard agains reentrancy attacks.
|
* @title Helps contracts guard against reentrancy attacks.
|
||||||
* @author Remco Bloemen <remco@2π.com>
|
* @author Remco Bloemen <remco@2π.com>
|
||||||
* @notice If you mark a function `nonReentrant`, you should also
|
* @notice If you mark a function `nonReentrant`, you should also
|
||||||
* mark it `external`.
|
* mark it `external`.
|
||||||
|
|||||||
@ -12,7 +12,7 @@ import "../token/ERC20/SafeERC20.sol";
|
|||||||
* such functionality in its most fundamental form and can be extended to provide additional
|
* such functionality in its most fundamental form and can be extended to provide additional
|
||||||
* functionality and/or custom behavior.
|
* functionality and/or custom behavior.
|
||||||
* The external interface represents the basic interface for purchasing tokens, and conform
|
* The external interface represents the basic interface for purchasing tokens, and conform
|
||||||
* the base architecture for crowdsales. They are *not* intended to be modified / overriden.
|
* the base architecture for crowdsales. They are *not* intended to be modified / overridden.
|
||||||
* The internal interface conforms the extensible and modifiable surface of crowdsales. Override
|
* The internal interface conforms the extensible and modifiable surface of crowdsales. Override
|
||||||
* the methods to add functionality. Consider using 'super' where appropriate to concatenate
|
* the methods to add functionality. Consider using 'super' where appropriate to concatenate
|
||||||
* behavior.
|
* behavior.
|
||||||
@ -197,4 +197,4 @@ contract Crowdsale {
|
|||||||
function _forwardFunds() internal {
|
function _forwardFunds() internal {
|
||||||
wallet.transfer(msg.value);
|
wallet.transfer(msg.value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,7 @@ contract IncreasingPriceCrowdsale is TimedCrowdsale {
|
|||||||
uint256 public finalRate;
|
uint256 public finalRate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev Constructor, takes intial and final rates of tokens received per wei contributed.
|
* @dev Constructor, takes initial and final rates of tokens received per wei contributed.
|
||||||
* @param _initialRate Number of tokens a buyer gets per wei at the start of the crowdsale
|
* @param _initialRate Number of tokens a buyer gets per wei at the start of the crowdsale
|
||||||
* @param _finalRate Number of tokens a buyer gets per wei at the end of the crowdsale
|
* @param _finalRate Number of tokens a buyer gets per wei at the end of the crowdsale
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,12 +18,12 @@ contract ERC721Receiver {
|
|||||||
* @notice Handle the receipt of an NFT
|
* @notice Handle the receipt of an NFT
|
||||||
* @dev The ERC721 smart contract calls this function on the recipient
|
* @dev The ERC721 smart contract calls this function on the recipient
|
||||||
* after a `safetransfer`. This function MAY throw to revert and reject the
|
* after a `safetransfer`. This function MAY throw to revert and reject the
|
||||||
* transfer. Return of other than the magic value MUST result in the
|
* transfer. Return of other than the magic value MUST result in the
|
||||||
* transaction being reverted.
|
* transaction being reverted.
|
||||||
* Note: the contract address is always the message sender.
|
* Note: the contract address is always the message sender.
|
||||||
* @param _operator The address which called `safeTransferFrom` function
|
* @param _operator The address which called `safeTransferFrom` function
|
||||||
* @param _from The address which previously owned the token
|
* @param _from The address which previously owned the token
|
||||||
* @param _tokenId The NFT identifier which is being transfered
|
* @param _tokenId The NFT identifier which is being transferred
|
||||||
* @param _data Additional data with no specified format
|
* @param _data Additional data with no specified format
|
||||||
* @return `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
|
* @return `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user