diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-18 21:37:22 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-18 21:37:22 +0800 |
commit | 392d3394438fdadf4e3b4201c493e3a2921d8380 (patch) | |
tree | 88801e5747f905b31060ebe3af7cc42a11878c34 | |
parent | ece76e58748f235c73a662b748ccb695ac20c1e0 (diff) | |
download | dexon-0x-contracts-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.gz dexon-0x-contracts-392d3394438fdadf4e3b4201c493e3a2921d8380.tar.zst dexon-0x-contracts-392d3394438fdadf4e3b4201c493e3a2921d8380.zip |
Add index signature to FakeTokenRegistry
-rw-r--r-- | packages/website/ts/utils/fake_token_registry.ts | 9 |
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', |