aboutsummaryrefslogtreecommitdiffstats
path: root/std/Token.sol
diff options
context:
space:
mode:
Diffstat (limited to 'std/Token.sol')
-rw-r--r--std/Token.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/Token.sol b/std/Token.sol
index 4b4eb71e..7348a8f5 100644
--- a/std/Token.sol
+++ b/std/Token.sol
@@ -4,10 +4,10 @@ contract Token {
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
- function totalSupply() constant public returns (uint256 supply);
- function balanceOf(address _owner) constant public returns (uint256 balance);
+ function totalSupply() view public returns (uint256 supply);
+ function balanceOf(address _owner) view public returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
function approve(address _spender, uint256 _value) public returns (bool success);
- function allowance(address _owner, address _spender) constant public returns (uint256 remaining);
+ function allowance(address _owner, address _spender) view public returns (uint256 remaining);
}