diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-06 06:09:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 06:09:41 +0800 |
commit | 51b86742d10a9e73fd017a0d052e0e423685eb69 (patch) | |
tree | 29739a23d999221ca2f5bdde4ae767a5b1fc6e37 /packages/contracts/src/2.0.0/tokens/ERC20Token | |
parent | 51fa8d3e24939cffc043bf97e478390df129ca27 (diff) | |
parent | f21b042ed1df87ff546fa5cfdae91832e1e3ba2b (diff) | |
download | dexon-0x-contracts-51b86742d10a9e73fd017a0d052e0e423685eb69.tar dexon-0x-contracts-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.gz dexon-0x-contracts-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.bz2 dexon-0x-contracts-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.lz dexon-0x-contracts-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.xz dexon-0x-contracts-51b86742d10a9e73fd017a0d052e0e423685eb69.tar.zst dexon-0x-contracts-51b86742d10a9e73fd017a0d052e0e423685eb69.zip |
Merge pull request #824 from protofire/v2-prototype-solhint
Add and apply solidity linter (V2, updated)
Diffstat (limited to 'packages/contracts/src/2.0.0/tokens/ERC20Token')
-rw-r--r-- | packages/contracts/src/2.0.0/tokens/ERC20Token/ERC20Token.sol | 1 | ||||
-rw-r--r-- | packages/contracts/src/2.0.0/tokens/ERC20Token/IERC20Token.sol | 1 |
2 files changed, 2 insertions, 0 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 b6961a6ec..59dc7d7bf 100644 --- a/packages/contracts/src/2.0.0/tokens/ERC20Token/ERC20Token.sol +++ b/packages/contracts/src/2.0.0/tokens/ERC20Token/ERC20Token.sol @@ -21,6 +21,7 @@ pragma experimental ABIEncoderV2; import "./IERC20Token.sol"; + contract ERC20Token is IERC20Token { string constant INSUFFICIENT_BALANCE = "ERC20_INSUFFICIENT_BALANCE"; diff --git a/packages/contracts/src/2.0.0/tokens/ERC20Token/IERC20Token.sol b/packages/contracts/src/2.0.0/tokens/ERC20Token/IERC20Token.sol index eb879b6a8..de4ed2af9 100644 --- a/packages/contracts/src/2.0.0/tokens/ERC20Token/IERC20Token.sol +++ b/packages/contracts/src/2.0.0/tokens/ERC20Token/IERC20Token.sol @@ -19,6 +19,7 @@ pragma solidity ^0.4.24; pragma experimental ABIEncoderV2; + contract IERC20Token { /// @notice send `value` token to `to` from `msg.sender` |