diff options
author | Xianny <8582774+xianny@users.noreply.github.com> | 2019-01-11 05:07:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 05:07:52 +0800 |
commit | a5b7a351609a5e6689bb97990216153f64302462 (patch) | |
tree | c5a3c0299c491737c869929e372d6c0318c11f73 /packages/pipeline/src/data_sources/ddex/index.ts | |
parent | 53fc860d6190c19f13c451eb89dd5c0c1cdcd1f4 (diff) | |
download | dexon-sol-tools-a5b7a351609a5e6689bb97990216153f64302462.tar dexon-sol-tools-a5b7a351609a5e6689bb97990216153f64302462.tar.gz dexon-sol-tools-a5b7a351609a5e6689bb97990216153f64302462.tar.bz2 dexon-sol-tools-a5b7a351609a5e6689bb97990216153f64302462.tar.lz dexon-sol-tools-a5b7a351609a5e6689bb97990216153f64302462.tar.xz dexon-sol-tools-a5b7a351609a5e6689bb97990216153f64302462.tar.zst dexon-sol-tools-a5b7a351609a5e6689bb97990216153f64302462.zip |
upgrade to ddex api v3 (#1507)
Diffstat (limited to 'packages/pipeline/src/data_sources/ddex/index.ts')
-rw-r--r-- | packages/pipeline/src/data_sources/ddex/index.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/pipeline/src/data_sources/ddex/index.ts b/packages/pipeline/src/data_sources/ddex/index.ts index 2bbd8c29b..7ef92b90f 100644 --- a/packages/pipeline/src/data_sources/ddex/index.ts +++ b/packages/pipeline/src/data_sources/ddex/index.ts @@ -1,6 +1,6 @@ import { fetchAsync, logUtils } from '@0x/utils'; -const DDEX_BASE_URL = 'https://api.ddex.io/v2'; +const DDEX_BASE_URL = 'https://api.ddex.io/v3'; const ACTIVE_MARKETS_URL = `${DDEX_BASE_URL}/markets`; const NO_AGGREGATION_LEVEL = 3; // See https://docs.ddex.io/#get-orderbook const ORDERBOOK_ENDPOINT = `/orderbook?level=${NO_AGGREGATION_LEVEL}`; @@ -23,7 +23,6 @@ export interface DdexMarket { baseTokenDecimals: number; baseTokenAddress: string; minOrderSize: string; - maxOrderSize: string; pricePrecision: number; priceDecimals: number; amountDecimals: number; |