aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-18 21:37:22 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-10-18 21:37:22 +0800
commit392d3394438fdadf4e3b4201c493e3a2921d8380 (patch)
tree88801e5747f905b31060ebe3af7cc42a11878c34
parentece76e58748f235c73a662b748ccb695ac20c1e0 (diff)
downloaddexon-sol-tools-392d3394438fdadf4e3b4201c493e3a2921d8380.tar
dexon-sol-tools-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.gz
dexon-sol-tools-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.bz2
dexon-sol-tools-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.lz
dexon-sol-tools-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.xz
dexon-sol-tools-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.zst
dexon-sol-tools-392d3394438fdadf4e3b4201c493e3a2921d8380.zip
Add index signature to FakeTokenRegistry
-rw-r--r--packages/website/ts/utils/fake_token_registry.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/website/ts/utils/fake_token_registry.ts b/packages/website/ts/utils/fake_token_registry.ts
index 1cb529102..607dd2553 100644
--- a/packages/website/ts/utils/fake_token_registry.ts
+++ b/packages/website/ts/utils/fake_token_registry.ts
@@ -1,4 +1,11 @@
-export const fakeTokenRegistry = {
+export interface FakeTokenRegistryEntry {
+ address: string;
+ name: string;
+ symbol: string;
+ decimals: number;
+}
+
+export const fakeTokenRegistry: { [networkId: string]: FakeTokenRegistryEntry[] } = {
'1': [
{
address: '0xe41d2489571d322189246dafa5ebde1f4699f498',