aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-26 10:54:11 +0800
committerFabio Berger <me@fabioberger.com>2018-05-26 10:54:11 +0800
commitdea322e2c50f168e7df30b907bc9ca65f724a5e1 (patch)
tree2f90bbe7436905d4901c6f7fa91be614f028a38d /packages/contracts/src/utils
parent790af0fd72754314025c2c396a785167671f8bb6 (diff)
parented5b9c2b56185fc5d8e83c17d85cc8044fee0872 (diff)
downloaddexon-sol-tools-dea322e2c50f168e7df30b907bc9ca65f724a5e1.tar
dexon-sol-tools-dea322e2c50f168e7df30b907bc9ca65f724a5e1.tar.gz
dexon-sol-tools-dea322e2c50f168e7df30b907bc9ca65f724a5e1.tar.bz2
dexon-sol-tools-dea322e2c50f168e7df30b907bc9ca65f724a5e1.tar.lz
dexon-sol-tools-dea322e2c50f168e7df30b907bc9ca65f724a5e1.tar.xz
dexon-sol-tools-dea322e2c50f168e7df30b907bc9ca65f724a5e1.tar.zst
dexon-sol-tools-dea322e2c50f168e7df30b907bc9ca65f724a5e1.zip
Merge branch 'v2-prototype' into refactor/order-utils/for-v2
* v2-prototype: Hide wallet management option and expand component on small screens Remove registry override Revert "Change the registry in yarn.lock" Change the registry in yarn.lock Remove contracts -> @0xproject/order-utils dependency
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r--packages/contracts/src/utils/constants.ts1
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),