aboutsummaryrefslogblamecommitdiffstats
path: root/packages/0x.js/src/utils/constants.ts
blob: 3de3f5bc13566b6ebcea71c46b741463a0f114a2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                     
 

                                                               
                           
                                       

                                            
                                                                          
                                         
  
import BigNumber from 'bignumber.js';

export const constants = {
    NULL_ADDRESS: '0x0000000000000000000000000000000000000000',
    TESTRPC_NETWORK_ID: 50,
    MAX_DIGITS_IN_UNSIGNED_256_INT: 78,
    INVALID_JUMP_PATTERN: 'invalid JUMP at',
    OUT_OF_GAS_PATTERN: 'out of gas',
    UNLIMITED_ALLOWANCE_IN_BASE_UNITS: new BigNumber(2).pow(256).minus(1),
    DEFAULT_BLOCK_POLLING_INTERVAL: 1000,
};