diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-16 01:55:48 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-17 08:32:16 +0800 |
commit | 8bce73dc679cb05353835d011b8e1dfcff7f4670 (patch) | |
tree | adc92957584ee92ba8da8e531ae24b701a908c57 /packages/contracts/src/2.0.0/test/DummyERC20Token | |
parent | c13f538400e0ef9e06a5ea52e174979a5cc82bdc (diff) | |
download | dexon-0x-contracts-8bce73dc679cb05353835d011b8e1dfcff7f4670.tar.gz dexon-0x-contracts-8bce73dc679cb05353835d011b8e1dfcff7f4670.tar.zst dexon-0x-contracts-8bce73dc679cb05353835d011b8e1dfcff7f4670.zip |
Fix typos, run prettier, and allow anyone to call on DummyERC721Token
Diffstat (limited to 'packages/contracts/src/2.0.0/test/DummyERC20Token')
-rw-r--r-- | packages/contracts/src/2.0.0/test/DummyERC20Token/DummyERC20Token.sol | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/src/2.0.0/test/DummyERC20Token/DummyERC20Token.sol b/packages/contracts/src/2.0.0/test/DummyERC20Token/DummyERC20Token.sol index c6797c0d8..412c5d1ad 100644 --- a/packages/contracts/src/2.0.0/test/DummyERC20Token/DummyERC20Token.sol +++ b/packages/contracts/src/2.0.0/test/DummyERC20Token/DummyERC20Token.sol @@ -29,6 +29,7 @@ contract DummyERC20Token is string public name; string public symbol; uint256 public decimals; + uint256 public constant MAX_MINT_AMOUNT = 10000000000000000000000; constructor ( string _name, @@ -67,7 +68,7 @@ contract DummyERC20Token is external { require( - _value <= 10000000000000000000000, + _value <= MAX_MINT_AMOUNT, "VALUE_TOO_LARGE" ); |