Changes to remove warnings
This commit is contained in:
@ -11,7 +11,7 @@ contract CappedToken is MintableToken {
|
||||
|
||||
uint256 public cap;
|
||||
|
||||
function CappedToken(uint256 _cap) {
|
||||
function CappedToken(uint256 _cap) public {
|
||||
require(_cap > 0);
|
||||
cap = _cap;
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@ contract DetailedERC20 is ERC20 {
|
||||
string public symbol;
|
||||
uint8 public decimals;
|
||||
|
||||
function DetailedERC20(string _name, string _symbol, uint8 _decimals) {
|
||||
function DetailedERC20(string _name, string _symbol, uint8 _decimals) public {
|
||||
name = _name;
|
||||
symbol = _symbol;
|
||||
decimals = _decimals;
|
||||
|
||||
@ -21,7 +21,7 @@ contract TokenTimelock {
|
||||
// timestamp when token release is enabled
|
||||
uint64 public releaseTime;
|
||||
|
||||
function TokenTimelock(ERC20Basic _token, address _beneficiary, uint64 _releaseTime) {
|
||||
function TokenTimelock(ERC20Basic _token, address _beneficiary, uint64 _releaseTime) public {
|
||||
require(_releaseTime > now);
|
||||
token = _token;
|
||||
beneficiary = _beneficiary;
|
||||
|
||||
@ -39,7 +39,7 @@ contract TokenVesting is Ownable {
|
||||
* @param _duration duration in seconds of the period in which the tokens will vest
|
||||
* @param _revocable whether the vesting is revocable or not
|
||||
*/
|
||||
function TokenVesting(address _beneficiary, uint256 _start, uint256 _cliff, uint256 _duration, bool _revocable) {
|
||||
function TokenVesting(address _beneficiary, uint256 _start, uint256 _cliff, uint256 _duration, bool _revocable) public {
|
||||
require(_beneficiary != address(0));
|
||||
require(_cliff <= _duration);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user