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:
David E. Perez Negron Rocha 2019-11-01 15:18:38 -06:00
parent 872a28108a
commit 6fe80e4f6a
1 changed files with 3 additions and 3 deletions

View File

@ -106,9 +106,9 @@ contract Owned {
// token transfers
// ----------------------------------------------------------------------------
contract DECAToken is ERC20Interface, Owned, SafeMath {
string public symbol = "DECA";
string public name = "DEcentralized CArbon tokens";
uint8 public decimals = 18;
string constant public symbol = "DECA";
string constant public name = "DEcentralized CArbon tokens";
uint8 constant public decimals = 18;
uint public totalSupply;
//for testing change weeks for hours...
uint public preICOEnds = now + 1 hours;