aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src/constants.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-08-06 05:47:42 +0800
committerGitHub <noreply@github.com>2018-08-06 05:47:42 +0800
commit47fef1f8ff583879fa83a7a44086b14f69c09e21 (patch)
tree333f93d99e32e75739e3f76bbaa8c393249f71ff /packages/order-utils/src/constants.ts
parent9f7f61085c1a6989b79df575beb0b5d8f2b3652d (diff)
parent3cb955c136bf47b5f40cdbc44bcc4d19ec6d6453 (diff)
downloaddexon-sol-tools-47fef1f8ff583879fa83a7a44086b14f69c09e21.tar
dexon-sol-tools-47fef1f8ff583879fa83a7a44086b14f69c09e21.tar.gz
dexon-sol-tools-47fef1f8ff583879fa83a7a44086b14f69c09e21.tar.bz2
dexon-sol-tools-47fef1f8ff583879fa83a7a44086b14f69c09e21.tar.lz
dexon-sol-tools-47fef1f8ff583879fa83a7a44086b14f69c09e21.tar.xz
dexon-sol-tools-47fef1f8ff583879fa83a7a44086b14f69c09e21.tar.zst
dexon-sol-tools-47fef1f8ff583879fa83a7a44086b14f69c09e21.zip
Merge pull request #936 from 0xProject/feature/contract-wrappers/forwader-optimizations
ForwarderWrapper order optimizations
Diffstat (limited to 'packages/order-utils/src/constants.ts')
-rw-r--r--packages/order-utils/src/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/order-utils/src/constants.ts b/packages/order-utils/src/constants.ts
index bb7482184..ea3f8b932 100644
--- a/packages/order-utils/src/constants.ts
+++ b/packages/order-utils/src/constants.ts
@@ -10,4 +10,6 @@ export const constants = {
ERC721_ASSET_DATA_MINIMUM_BYTE_LENGTH: 53,
SELECTOR_LENGTH: 4,
BASE_16: 16,
+ INFINITE_TIMESTAMP_SEC: new BigNumber(2524604400), // Close to infinite
+ ZERO_AMOUNT: new BigNumber(0),
};