diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-12 01:21:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-12 01:21:32 +0800 |
commit | 21f7722f1023cc9d1848737b7c986f7df7a07122 (patch) | |
tree | a4b9c57fa75fb8c92bf44ed968df8b7112f478de /packages/order-utils/src/constants.ts | |
parent | e4afe603f9c4dd5128f2446f9fe075516a3d4894 (diff) | |
download | dexon-sol-tools-21f7722f1023cc9d1848737b7c986f7df7a07122.tar dexon-sol-tools-21f7722f1023cc9d1848737b7c986f7df7a07122.tar.gz dexon-sol-tools-21f7722f1023cc9d1848737b7c986f7df7a07122.tar.bz2 dexon-sol-tools-21f7722f1023cc9d1848737b7c986f7df7a07122.tar.lz dexon-sol-tools-21f7722f1023cc9d1848737b7c986f7df7a07122.tar.xz dexon-sol-tools-21f7722f1023cc9d1848737b7c986f7df7a07122.tar.zst dexon-sol-tools-21f7722f1023cc9d1848737b7c986f7df7a07122.zip |
Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils
Diffstat (limited to 'packages/order-utils/src/constants.ts')
-rw-r--r-- | packages/order-utils/src/constants.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/order-utils/src/constants.ts b/packages/order-utils/src/constants.ts index ec2fe744a..ed5bd8101 100644 --- a/packages/order-utils/src/constants.ts +++ b/packages/order-utils/src/constants.ts @@ -1,3 +1,8 @@ +import { BigNumber } from '@0xproject/utils'; + export const constants = { NULL_ADDRESS: '0x0000000000000000000000000000000000000000', + // tslint:disable-next-line:custom-no-magic-numbers + UNLIMITED_ALLOWANCE_IN_BASE_UNITS: new BigNumber(2).pow(256).minus(1), + TESTRPC_NETWORK_ID: 50, }; |