aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-18 08:18:33 +0800
committerFabio Berger <me@fabioberger.com>2017-12-18 08:18:33 +0800
commit951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565 (patch)
tree6a1979a9a611d2dca92d8e453b3315f0f59b4421 /packages/website/ts/utils
parent89f368a8b8b2419f9f347ad20da94199d533fa26 (diff)
downloaddexon-sol-tools-951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565.tar
dexon-sol-tools-951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565.tar.gz
dexon-sol-tools-951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565.tar.bz2
dexon-sol-tools-951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565.tar.lz
dexon-sol-tools-951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565.tar.xz
dexon-sol-tools-951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565.tar.zst
dexon-sol-tools-951fbc9b76faf6b0f9f44fd2b729bcb54cf9d565.zip
Temporarily pretend as if new WETH contracts are already whitelisted by tokenRegistry and put hacks behind the shouldDeprecateOldWethToken flag
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/configs.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts
index 4a08929cf..20efc66be 100644
--- a/packages/website/ts/utils/configs.ts
+++ b/packages/website/ts/utils/configs.ts
@@ -19,6 +19,13 @@ export const configs = {
lastLocalStorageFillClearanceDate: '2017-11-22',
lastLocalStorageTrackedTokenClearanceDate: '2017-12-13',
isMainnetEnabled: true,
+ shouldDeprecateOldWethToken: true,
+ // newWrappedEthers is temporary until we remove the shouldDeprecateOldWethToken flag
+ // and add the new WETHs to the tokenRegistry
+ newWrappedEthers: {
+ 1: '0xe495bcacaf29a0eb00fb67b86e9cd2a994dd55d8',
+ 42: '0x739e78d6bebbdf24105a5145fa04436589d1cbd9',
+ } as {[networkId: string]: string},
outdatedWrappedEthers: [
{
42: {