aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src/constants.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-23 08:41:38 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-26 07:19:07 +0800
commita2ff63daa5dce79cd5109a01f645a7075335565d (patch)
tree58d9aa0e385e5dea182ff3effc3c94cb3d4ee340 /packages/order-utils/src/constants.ts
parent7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a (diff)
downloaddexon-sol-tools-a2ff63daa5dce79cd5109a01f645a7075335565d.tar
dexon-sol-tools-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.gz
dexon-sol-tools-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.bz2
dexon-sol-tools-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.lz
dexon-sol-tools-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.xz
dexon-sol-tools-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.zst
dexon-sol-tools-a2ff63daa5dce79cd5109a01f645a7075335565d.zip
Run prettier and fix linting errors
Diffstat (limited to 'packages/order-utils/src/constants.ts')
-rw-r--r--packages/order-utils/src/constants.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/order-utils/src/constants.ts b/packages/order-utils/src/constants.ts
index ed5bd8101..383a657b8 100644
--- a/packages/order-utils/src/constants.ts
+++ b/packages/order-utils/src/constants.ts
@@ -5,4 +5,10 @@ export const constants = {
// tslint:disable-next-line:custom-no-magic-numbers
UNLIMITED_ALLOWANCE_IN_BASE_UNITS: new BigNumber(2).pow(256).minus(1),
TESTRPC_NETWORK_ID: 50,
+ ADDRESS_LENGTH: 20,
+ WORD_LENGTH: 32,
+ ERC20_ASSET_DATA_BYTE_LENGTH: 36,
+ ERC721_ASSET_DATA_MINIMUM_BYTE_LENGTH: 53,
+ SELECTOR_LENGTH: 4,
+ BASE_16: 16,
};