fixed: the fields in lines 109-117 should bedeclared constants. NOTE: issues with time as constants in lines 114-117
This commit is contained in:
parent
872a28108a
commit
6fe80e4f6a
|
@ -106,9 +106,9 @@ contract Owned {
|
||||||
// token transfers
|
// token transfers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
contract DECAToken is ERC20Interface, Owned, SafeMath {
|
contract DECAToken is ERC20Interface, Owned, SafeMath {
|
||||||
string public symbol = "DECA";
|
string constant public symbol = "DECA";
|
||||||
string public name = "DEcentralized CArbon tokens";
|
string constant public name = "DEcentralized CArbon tokens";
|
||||||
uint8 public decimals = 18;
|
uint8 constant public decimals = 18;
|
||||||
uint public totalSupply;
|
uint public totalSupply;
|
||||||
//for testing change weeks for hours...
|
//for testing change weeks for hours...
|
||||||
uint public preICOEnds = now + 1 hours;
|
uint public preICOEnds = now + 1 hours;
|
||||||
|
|
Loading…
Reference in New Issue