Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add constant qualifier
  • Loading branch information
frangio committed Jul 26, 2017
commit a799d218fdf56a4394b2f4c5dbb8663207988f46
11 changes: 6 additions & 5 deletions contracts/examples/SimpleToken.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.11;


import "./StandardToken.sol";
import "../token/StandardToken.sol";


/**
Expand All @@ -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.
Expand Down