diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-05 01:37:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-05 01:37:24 +0800 |
commit | 51760f9bddafbd326ca635a283ebff54625c31cf (patch) | |
tree | 04cbe061658c4062423aa6ac40c0968c5b250c90 /packages/contracts/src/2.0.0/tokens/ERC20Token | |
parent | 11df29fa8e4f355ec438966fa9e40cb09fe97380 (diff) | |
parent | 6a619a4084188d1c48d8030d0fe2a1ba777c55e3 (diff) | |
download | dexon-sol-tools-51760f9bddafbd326ca635a283ebff54625c31cf.tar dexon-sol-tools-51760f9bddafbd326ca635a283ebff54625c31cf.tar.gz dexon-sol-tools-51760f9bddafbd326ca635a283ebff54625c31cf.tar.bz2 dexon-sol-tools-51760f9bddafbd326ca635a283ebff54625c31cf.tar.lz dexon-sol-tools-51760f9bddafbd326ca635a283ebff54625c31cf.tar.xz dexon-sol-tools-51760f9bddafbd326ca635a283ebff54625c31cf.tar.zst dexon-sol-tools-51760f9bddafbd326ca635a283ebff54625c31cf.zip |
merge development
Diffstat (limited to 'packages/contracts/src/2.0.0/tokens/ERC20Token')
3 files changed, 0 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/tokens/ERC20Token/ERC20Token.sol b/packages/contracts/src/2.0.0/tokens/ERC20Token/ERC20Token.sol index 5ef5ee7ce..725d304df 100644 --- a/packages/contracts/src/2.0.0/tokens/ERC20Token/ERC20Token.sol +++ b/packages/contracts/src/2.0.0/tokens/ERC20Token/ERC20Token.sol @@ -24,7 +24,6 @@ import "./IERC20Token.sol"; contract ERC20Token is IERC20Token { - mapping (address => uint256) internal balances; mapping (address => mapping (address => uint256)) internal allowed; diff --git a/packages/contracts/src/2.0.0/tokens/ERC20Token/MintableERC20Token.sol b/packages/contracts/src/2.0.0/tokens/ERC20Token/MintableERC20Token.sol index cd1c7b4bb..9dc924422 100644 --- a/packages/contracts/src/2.0.0/tokens/ERC20Token/MintableERC20Token.sol +++ b/packages/contracts/src/2.0.0/tokens/ERC20Token/MintableERC20Token.sol @@ -26,7 +26,6 @@ contract MintableERC20Token is SafeMath, UnlimitedAllowanceERC20Token { - /// @dev Mints new tokens /// @param _to Address of the beneficiary that will own the minted token /// @param _value Amount of tokens to mint diff --git a/packages/contracts/src/2.0.0/tokens/ERC20Token/UnlimitedAllowanceERC20Token.sol b/packages/contracts/src/2.0.0/tokens/ERC20Token/UnlimitedAllowanceERC20Token.sol index e6f7c063e..2e5bd4348 100644 --- a/packages/contracts/src/2.0.0/tokens/ERC20Token/UnlimitedAllowanceERC20Token.sol +++ b/packages/contracts/src/2.0.0/tokens/ERC20Token/UnlimitedAllowanceERC20Token.sol @@ -24,7 +24,6 @@ import "../ERC20Token/ERC20Token.sol"; contract UnlimitedAllowanceERC20Token is ERC20Token { - uint256 constant internal MAX_UINT = 2**256 - 1; /// @dev ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited allowance. See https://github.com/ethereum/EIPs/issues/717 |