aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/fake_token_registry.ts
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 /packages/website/ts/utils/fake_token_registry.ts
parentece76e58748f235c73a662b748ccb695ac20c1e0 (diff)
downloaddexon-0x-contracts-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.gz
dexon-0x-contracts-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.zst
dexon-0x-contracts-392d3394438fdadf4e3b4201c493e3a2921d8380.zip
Add index signature to FakeTokenRegistry
Diffstat (limited to 'packages/website/ts/utils/fake_token_registry.ts')
-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',