From 6fe80e4f6a31c7c5e87f28380b580240a530b2cb Mon Sep 17 00:00:00 2001 From: "David E. Perez Negron Rocha" Date: Fri, 1 Nov 2019 15:18:38 -0600 Subject: [PATCH] fixed: the fields in lines 109-117 should bedeclared constants. NOTE: issues with time as constants in lines 114-117 --- DECA_ERC20_0.5.3.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DECA_ERC20_0.5.3.sol b/DECA_ERC20_0.5.3.sol index ff349cc..1d10d1e 100644 --- a/DECA_ERC20_0.5.3.sol +++ b/DECA_ERC20_0.5.3.sol @@ -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;