From a799d218fdf56a4394b2f4c5dbb8663207988f46 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Mon, 24 Jul 2017 19:13:00 -0300 Subject: [PATCH] add constant qualifier --- contracts/examples/SimpleToken.sol | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/contracts/examples/SimpleToken.sol b/contracts/examples/SimpleToken.sol index 898cb21dd..b1ea2bdcb 100644 --- a/contracts/examples/SimpleToken.sol +++ b/contracts/examples/SimpleToken.sol @@ -1,7 +1,7 @@ pragma solidity ^0.4.11; -import "./StandardToken.sol"; +import "../token/StandardToken.sol"; /** @@ -12,10 +12,11 @@ import "./StandardToken.sol"; */ contract SimpleToken is StandardToken { - string public name = "SimpleToken"; - string public symbol = "SIM"; - uint256 public decimals = 18; - uint256 public INITIAL_SUPPLY = 10000; + string public constant name = "SimpleToken"; + string public constant symbol = "SIM"; + uint256 public constant decimals = 18; + + uint256 public constant INITIAL_SUPPLY = 10000; /** * @dev Contructor that gives msg.sender all of existing tokens.