diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 00:51:23 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 01:58:28 +0800 |
commit | d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd (patch) | |
tree | 978dd0a5132eee644d2163a33e25a24fdd4a3f14 /packages/contracts/src/2.0.0/tokens/ZRXToken | |
parent | e796734659ddea76622d81b4416e0b36d5e7c0ed (diff) | |
download | dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.gz dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.zst dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.zip |
Apply new linter rules
Diffstat (limited to 'packages/contracts/src/2.0.0/tokens/ZRXToken')
-rw-r--r-- | packages/contracts/src/2.0.0/tokens/ZRXToken/ZRXToken.sol | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/tokens/ZRXToken/ZRXToken.sol b/packages/contracts/src/2.0.0/tokens/ZRXToken/ZRXToken.sol index ed0670072..28c0b2fb3 100644 --- a/packages/contracts/src/2.0.0/tokens/ZRXToken/ZRXToken.sol +++ b/packages/contracts/src/2.0.0/tokens/ZRXToken/ZRXToken.sol @@ -16,20 +16,24 @@ */ -pragma solidity ^0.4.11; +pragma solidity 0.4.11; +// solhint-disable-next-line max-line-length import { UnlimitedAllowanceToken_v1 as UnlimitedAllowanceToken } from "../../../1.0.0/UnlimitedAllowanceToken/UnlimitedAllowanceToken_v1.sol"; - contract ZRXToken is UnlimitedAllowanceToken { + // solhint-disable const-name-snakecase uint8 constant public decimals = 18; uint public totalSupply = 10**27; // 1 billion tokens, 18 decimal places string constant public name = "0x Protocol Token"; string constant public symbol = "ZRX"; + // solhint-enableconst-name-snakecase - function ZRXToken() { + function ZRXToken() + public + { balances[msg.sender] = totalSupply; } } |