diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-18 22:07:08 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-18 22:07:08 +0800 |
commit | 65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7 (patch) | |
tree | 1cd3c5b20fc840d00b0e05ce70ee361655e19557 /packages/asset-buyer/src/constants.ts | |
parent | f5dbf212e355c6a19126c6bd2d9851210f9ed9aa (diff) | |
download | dexon-sol-tools-65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7.tar dexon-sol-tools-65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7.tar.gz dexon-sol-tools-65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7.tar.bz2 dexon-sol-tools-65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7.tar.lz dexon-sol-tools-65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7.tar.xz dexon-sol-tools-65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7.tar.zst dexon-sol-tools-65f709d50ae559ec1b17f3c44f3d87e5d3cc4da7.zip |
Move all constants to own file
Diffstat (limited to 'packages/asset-buyer/src/constants.ts')
-rw-r--r-- | packages/asset-buyer/src/constants.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/asset-buyer/src/constants.ts b/packages/asset-buyer/src/constants.ts index 5785e705b..e20bcc6ed 100644 --- a/packages/asset-buyer/src/constants.ts +++ b/packages/asset-buyer/src/constants.ts @@ -4,4 +4,8 @@ export const constants = { ZERO_AMOUNT: new BigNumber(0), NULL_ADDRESS: '0x0000000000000000000000000000000000000000', MAINNET_NETWORK_ID: 1, + DEFAULT_SLIPPAGE_PERCENTAGE: 0.2, // 20% slippage protection + DEFAULT_ORDER_REFRESH_INTERVAL_MS: 10000, // 10 seconds + DEFAULT_FEE_PERCENTAGE: 0, + ETHER_TOKEN_DECIMALS: 18, }; |