Crowdsale inheritance order (#1128)
* Changed Crowdsale inheritance order. * Changed FinalizableCrowdsale inheritance order.
This commit is contained in:
committed by
Francisco Giordano
parent
e77d70f8c1
commit
3d86c58d2c
@ -10,7 +10,7 @@ import "../validation/TimedCrowdsale.sol";
|
||||
* @dev Extension of Crowdsale where an owner can do extra work
|
||||
* after finishing.
|
||||
*/
|
||||
contract FinalizableCrowdsale is TimedCrowdsale, Ownable {
|
||||
contract FinalizableCrowdsale is Ownable, TimedCrowdsale {
|
||||
using SafeMath for uint256;
|
||||
|
||||
bool public isFinalized = false;
|
||||
|
||||
@ -9,7 +9,7 @@ import "../../ownership/Ownable.sol";
|
||||
* @title IndividuallyCappedCrowdsale
|
||||
* @dev Crowdsale with per-user caps.
|
||||
*/
|
||||
contract IndividuallyCappedCrowdsale is Crowdsale, Ownable {
|
||||
contract IndividuallyCappedCrowdsale is Ownable, Crowdsale {
|
||||
using SafeMath for uint256;
|
||||
|
||||
mapping(address => uint256) public contributions;
|
||||
|
||||
Reference in New Issue
Block a user