From 07ec4016ced9bf05df9564565c8ee34ee97f345d Mon Sep 17 00:00:00 2001 From: JaheMerah Date: Mon, 30 Oct 2017 20:09:17 +0200 Subject: [PATCH] upgrade pragma to 0.4.17, remove ^ from pragma, add public to constructor --- Crowdsale.sol | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Crowdsale.sol b/Crowdsale.sol index 49749ed..471d2db 100644 --- a/Crowdsale.sol +++ b/Crowdsale.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.16; +pragma solidity 0.4.17; import "./Ownable.sol"; import "./SafeMath.sol"; @@ -7,9 +7,11 @@ import "./SafeMath.sol"; /* Interface of GeeToken contract */ contract Token { - function transfer(address _to, uint256 _value) external; + function transfer(address _to, uint256 _value) + external; - function burn(uint256 _value) external; + function burn(uint256 _value) + external; } @@ -68,6 +70,7 @@ contract Crowdsale is Ownable { //FUNCTION //Payable - can store ETH function Crowdsale(Token _geeToken) + public notZeroAddress(_geeToken) payable {