aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-16 23:47:27 +0800
committerFabio Berger <me@fabioberger.com>2018-02-16 23:47:27 +0800
commit6a8f624e7594bf8fa405e0743b7314495e2063d9 (patch)
tree93b4c87c1e7ddedf938988be1881ea35537b251f
parent0801b1ddf977c6346da312a8b025d27b0afdf30c (diff)
downloaddexon-sol-tools-6a8f624e7594bf8fa405e0743b7314495e2063d9.tar.gz
dexon-sol-tools-6a8f624e7594bf8fa405e0743b7314495e2063d9.tar.zst
dexon-sol-tools-6a8f624e7594bf8fa405e0743b7314495e2063d9.zip
Add Rinkeby network to smart contract docs
-rw-r--r--packages/website/ts/pages/documentation/documentation.tsx1
-rw-r--r--packages/website/ts/utils/colors.ts1
-rw-r--r--packages/website/ts/utils/configs.ts6
3 files changed, 8 insertions, 0 deletions
diff --git a/packages/website/ts/pages/documentation/documentation.tsx b/packages/website/ts/pages/documentation/documentation.tsx
index 691a5e9be..da3728a60 100644
--- a/packages/website/ts/pages/documentation/documentation.tsx
+++ b/packages/website/ts/pages/documentation/documentation.tsx
@@ -44,6 +44,7 @@ const networkNameToColor: { [network: string]: string } = {
[Networks.Kovan]: colors.purple,
[Networks.Ropsten]: colors.red,
[Networks.Mainnet]: colors.turquois,
+ [Networks.Rinkeby]: colors.darkYellow,
};
export interface DocumentationAllProps {
diff --git a/packages/website/ts/utils/colors.ts b/packages/website/ts/utils/colors.ts
index b55543151..2eead95c7 100644
--- a/packages/website/ts/utils/colors.ts
+++ b/packages/website/ts/utils/colors.ts
@@ -44,4 +44,5 @@ export const colors = {
amber600: '#FFB300',
orange: '#E69D00',
amber800: '#FF8F00',
+ darkYellow: '#caca03',
};
diff --git a/packages/website/ts/utils/configs.ts b/packages/website/ts/utils/configs.ts
index 69773eae7..8e359f8bd 100644
--- a/packages/website/ts/utils/configs.ts
+++ b/packages/website/ts/utils/configs.ts
@@ -39,6 +39,12 @@ export const configs = {
[SmartContractDocSections.ZRXToken]: '0x6ff6c0ff1d68b964901f986d4c9fa3ac68346570',
[SmartContractDocSections.TokenRegistry]: '0xf18e504561f4347bea557f3d4558f559dddbae7f',
},
+ [Networks.Rinkeby]: {
+ [SmartContractDocSections.Exchange]: '0x1d16ef40fac01cec8adac2ac49427b9384192c05',
+ [SmartContractDocSections.TokenTransferProxy]: '0xa8e9fa8f91e5ae138c74648c9c304f1c75003a8d',
+ [SmartContractDocSections.ZRXToken]: '0x00f58d6d585f84b2d7267940cede30ce2fe6eae8',
+ [SmartContractDocSections.TokenRegistry]: '0x4e9aad8184de8833365fea970cd9149372fdf1e6',
+ },
},
} as ContractAddresses,
DEFAULT_DERIVATION_PATH: `44'/60'/0'`,