diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-26 06:51:43 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-26 07:09:17 +0800 |
commit | 1d68692bb6ae6be25b989cca8e5d3040bd6d1502 (patch) | |
tree | 838f0a3308f092dc16de5fc6bb0cc7bb00b4e454 /packages/contracts/src/utils | |
parent | c7f5e77b3fe7c1805202a5b1e1e1ce1e9d31a6b0 (diff) | |
download | dexon-0x-contracts-1d68692bb6ae6be25b989cca8e5d3040bd6d1502.tar.gz dexon-0x-contracts-1d68692bb6ae6be25b989cca8e5d3040bd6d1502.tar.zst dexon-0x-contracts-1d68692bb6ae6be25b989cca8e5d3040bd6d1502.zip |
Remove contracts -> @0xproject/order-utils dependency
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r-- | packages/contracts/src/utils/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contracts/src/utils/constants.ts b/packages/contracts/src/utils/constants.ts index 483340186..7a0e26a48 100644 --- a/packages/contracts/src/utils/constants.ts +++ b/packages/contracts/src/utils/constants.ts @@ -32,6 +32,7 @@ export const constants = { NUM_DUMMY_ERC721_TO_DEPLOY: 1, NUM_ERC721_TOKENS_TO_MINT: 2, NULL_ADDRESS: '0x0000000000000000000000000000000000000000', + UNLIMITED_ALLOWANCE_IN_BASE_UNITS: new BigNumber(2).pow(256).minus(1), TESTRPC_PRIVATE_KEYS: _.map(TESTRPC_PRIVATE_KEYS_STRINGS, privateKeyString => ethUtil.toBuffer(privateKeyString)), INITIAL_ERC20_BALANCE: Web3Wrapper.toBaseUnitAmount(new BigNumber(10000), 18), INITIAL_ERC20_ALLOWANCE: Web3Wrapper.toBaseUnitAmount(new BigNumber(10000), 18), |