Commit c3cbdb45 by Artiya Thinkumpang Committed by Matt Condon

Fix version error for truffle-flattener. (#794)

parent 7586e383
pragma solidity ^ 0.4.18; pragma solidity ^0.4.18;
import "../../math/SafeMath.sol"; import "../../math/SafeMath.sol";
import "../Crowdsale.sol"; import "../Crowdsale.sol";
...@@ -36,7 +36,7 @@ contract IndividuallyCappedCrowdsale is Crowdsale, Ownable { ...@@ -36,7 +36,7 @@ contract IndividuallyCappedCrowdsale is Crowdsale, Ownable {
} }
/** /**
* @dev Returns the cap of a specific user. * @dev Returns the cap of a specific user.
* @param _beneficiary Address whose cap is to be checked * @param _beneficiary Address whose cap is to be checked
* @return Current cap for individual user * @return Current cap for individual user
*/ */
......
pragma solidity ^ 0.4.18; pragma solidity ^0.4.18;
import "../Crowdsale.sol"; import "../Crowdsale.sol";
import "../../ownership/Ownable.sol"; import "../../ownership/Ownable.sol";
...@@ -27,9 +27,9 @@ contract WhitelistedCrowdsale is Crowdsale, Ownable { ...@@ -27,9 +27,9 @@ contract WhitelistedCrowdsale is Crowdsale, Ownable {
function addToWhitelist(address _beneficiary) external onlyOwner { function addToWhitelist(address _beneficiary) external onlyOwner {
whitelist[_beneficiary] = true; whitelist[_beneficiary] = true;
} }
/** /**
* @dev Adds list of addresses to whitelist. Not overloaded due to limitations with truffle testing. * @dev Adds list of addresses to whitelist. Not overloaded due to limitations with truffle testing.
* @param _beneficiaries Addresses to be added to the whitelist * @param _beneficiaries Addresses to be added to the whitelist
*/ */
function addManyToWhitelist(address[] _beneficiaries) external onlyOwner { function addManyToWhitelist(address[] _beneficiaries) external onlyOwner {
...@@ -39,7 +39,7 @@ contract WhitelistedCrowdsale is Crowdsale, Ownable { ...@@ -39,7 +39,7 @@ contract WhitelistedCrowdsale is Crowdsale, Ownable {
} }
/** /**
* @dev Removes single address from whitelist. * @dev Removes single address from whitelist.
* @param _beneficiary Address to be removed to the whitelist * @param _beneficiary Address to be removed to the whitelist
*/ */
function removeFromWhitelist(address _beneficiary) external onlyOwner { function removeFromWhitelist(address _beneficiary) external onlyOwner {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment