aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/data/asset_meta_data_map.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-19 01:43:41 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-19 01:43:41 +0800
commita764dfa789ba44e519371b4a1e4569db7f551fb7 (patch)
tree80cd8aff6fcf941269afdec8022d0dd5759700fa /packages/instant/src/data/asset_meta_data_map.ts
parent5ec4b27200297708298deca97603849a37b2f66a (diff)
downloaddexon-0x-contracts-a764dfa789ba44e519371b4a1e4569db7f551fb7.tar.gz
dexon-0x-contracts-a764dfa789ba44e519371b4a1e4569db7f551fb7.tar.zst
dexon-0x-contracts-a764dfa789ba44e519371b4a1e4569db7f551fb7.zip
feat: MVP of passing in sraApiUrl, assetData and other settings from render method
Diffstat (limited to 'packages/instant/src/data/asset_meta_data_map.ts')
-rw-r--r--packages/instant/src/data/asset_meta_data_map.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/instant/src/data/asset_meta_data_map.ts b/packages/instant/src/data/asset_meta_data_map.ts
new file mode 100644
index 000000000..7d83865f1
--- /dev/null
+++ b/packages/instant/src/data/asset_meta_data_map.ts
@@ -0,0 +1,14 @@
+import { AssetProxyId, ObjectMap } from '@0xproject/types';
+
+import { AssetMetaData } from '../types';
+
+// Map from assetData string to AssetMetaData object
+// TODO: import this from somewhere else.
+export const assetMetaDataMap: ObjectMap<AssetMetaData> = {
+ '0xf47261b0000000000000000000000000e41d2489571d322189246dafa5ebde1f4699f498': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: 'rgb(54, 50, 60)',
+ symbol: 'zrx',
+ },
+};