0x00000002 / rootcore

Apache License 2.0
0 stars 1 forks source link

state mutibility can be restricted to pure #6

Open gabriel-canaan opened 6 years ago

gabriel-canaan commented 6 years ago

rootcore/blob/master/contracts/interfaces/IERC20Token.sol Line 8-13

 function name() public constant returns (string name) { name; }
    function symbol() public constant returns (string symbol) { symbol; }
    function decimals() public constant returns (uint8 decimals) { decimals; }
    function totalSupply() public constant returns (uint256 totalSupply) { totalSupply; }
    function balanceOf(address _owner) public constant returns (uint256 balance) { _owner; balance; }
    function allowance(address _owner, address _spender) public constant returns (uint256 remaining) { _owner; _spender; remaining; }

rootcore/blob/master/contracts/interfaces/IOwned.sol Line 8

 function owner() public constant returns (address owner) { owner; }