diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-26 07:53:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 07:53:15 +0800 |
commit | cba92a01b6dee208b497817445b7ae4048e299c0 (patch) | |
tree | de513c4d4cf75e62488354eb912451c8fb7617ea /packages/order-utils/src/constants.ts | |
parent | 9341afe764a18c2104e598b25699a30cc1438d8e (diff) | |
parent | a89908540f8bca266780c59f3cb1521e7fb16b73 (diff) | |
download | dexon-sol-tools-cba92a01b6dee208b497817445b7ae4048e299c0.tar dexon-sol-tools-cba92a01b6dee208b497817445b7ae4048e299c0.tar.gz dexon-sol-tools-cba92a01b6dee208b497817445b7ae4048e299c0.tar.bz2 dexon-sol-tools-cba92a01b6dee208b497817445b7ae4048e299c0.tar.lz dexon-sol-tools-cba92a01b6dee208b497817445b7ae4048e299c0.tar.xz dexon-sol-tools-cba92a01b6dee208b497817445b7ae4048e299c0.tar.zst dexon-sol-tools-cba92a01b6dee208b497817445b7ae4048e299c0.zip |
Merge pull request #743 from 0xProject/feature/contracts/abi-encoded
ABI encode assetData fields
Diffstat (limited to 'packages/order-utils/src/constants.ts')
-rw-r--r-- | packages/order-utils/src/constants.ts | 6 |
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, }; |