aboutsummaryrefslogblamecommitdiffstats
path: root/packages/order-utils/src/constants.ts
blob: 383a657b8d8b5c1da50e7d9317f3773cf55bbd36 (plain) (tree)
1
2
3
4
5
6
7

                                             

                                                               


                                                                          





                                              
  
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,
    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,
};