diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-15 00:43:20 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-15 00:43:20 +0800 |
commit | 6d386220d93f6fb609f8f05e27d093614a39b459 (patch) | |
tree | 732e6d7f63c7fc146d62946a06ca955da0f4c7b3 /packages/website/ts/utils | |
parent | 7ce1021798ac2d459f80d1827a3259e781b4b201 (diff) | |
download | dexon-0x-contracts-6d386220d93f6fb609f8f05e27d093614a39b459.tar.gz dexon-0x-contracts-6d386220d93f6fb609f8f05e27d093614a39b459.tar.zst dexon-0x-contracts-6d386220d93f6fb609f8f05e27d093614a39b459.zip |
Use new wrap/unwrap buttons, fetch outdated WETH balances and re-fetch after a successful unwrap.
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r-- | packages/website/ts/utils/configs.ts | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts index c887d176f..adc51374f 100644 --- a/packages/website/ts/utils/configs.ts +++ b/packages/website/ts/utils/configs.ts @@ -1,5 +1,9 @@ import * as _ from 'lodash'; -import {Environments, OutdatedWrappedEther} from 'ts/types'; +import { + Environments, + OutdatedWrappedEtherByNetworkId, + TimestampMsRange, +} from 'ts/types'; const BASE_URL = window.location.origin; const isDevelopment = _.includes(BASE_URL, 'https://0xproject.dev:3572') || @@ -18,13 +22,20 @@ export const configs = { isMainnetEnabled: true, outdatedWrappedEthers: [ { - address: '0x05d090b51c40b020eab3bfcb6a2dff130df22e9c', - timestampMsRangeByNetworkId: { - 42: { + 42: { + address: '0x05d090b51c40b020eab3bfcb6a2dff130df22e9c', + timestampMsRange: { startTimestampMs: 1501614680000, endTimestampMs: 1513106129000, }, }, - } as OutdatedWrappedEther, - ], + 1: { + address: '0x2956356cd2a2bf3202f771f50d3d14a367b48070', + timestampMsRange: { + startTimestampMs: 1513123415000, + endTimestampMs: 1513106129000, + }, + }, + }, + ] as OutdatedWrappedEtherByNetworkId[], }; |