Permalink
Browse files

better variable names

  • Loading branch information...
conejoninja committed Jun 5, 2018
1 parent 88334eb commit f7dc4c80cc9627aaa3857870d57dfaa5cff7242e
Showing with 7 additions and 7 deletions.
  1. +7 −7 contracts/tokens.sol
@@ -78,10 +78,10 @@ contract Tokens is HardcodedWallets, ERC20 {
}

/**
* @notice Get the token balance of a wallet with address _someone
* @notice Get the token balance of a wallet with address _owner
*/
function balanceOf(address _someone) public constant returns (uint256 balance) {
return balances[_someone];
function balanceOf(address _owner) public constant returns (uint256 balance) {
return balances[_owner];
}

/**
@@ -147,10 +147,10 @@ contract Tokens is HardcodedWallets, ERC20 {
}

/**
* @notice Returns the amount which _spender is still allowed to withdraw from _someone
* @notice Returns the amount which _spender is still allowed to withdraw from _owner
*/
function allowance(address _someone, address _spender) public constant returns (uint256 remaining) {
return allowed[_someone][_spender];
function allowance(address _owner, address _spender) public constant returns (uint256 remaining) {
return allowed[_owner][_spender];
}

/**
@@ -242,7 +242,7 @@ contract Tokens is HardcodedWallets, ERC20 {
event Transfer(address indexed _from, address indexed _to, uint256 _amount);

// Triggered when someone approves a spender to move its tokens
event Approval(address indexed _someone, address indexed _spender, uint256 _amount);
event Approval(address indexed _owner, address indexed _spender, uint256 _amount);

// Triggered when Owner updates token timelock
event UpdateTimeLock(uint256 _timelockEndTime);

0 comments on commit f7dc4c8

Please sign in to comment.