From 1e939591ae244a4cde45df3e04afbd41276c94ec Mon Sep 17 00:00:00 2001 From: David Sun Date: Sat, 26 Jan 2019 19:26:40 -0500 Subject: added USDC as an option --- packages/instant/src/assets/icons/usdc.svg | 1 + packages/instant/src/data/asset_data_network_mapping.ts | 5 +++++ packages/instant/src/data/asset_meta_data_map.ts | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 packages/instant/src/assets/icons/usdc.svg (limited to 'packages/instant/src') diff --git a/packages/instant/src/assets/icons/usdc.svg b/packages/instant/src/assets/icons/usdc.svg new file mode 100644 index 000000000..6302c7b51 --- /dev/null +++ b/packages/instant/src/assets/icons/usdc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/instant/src/data/asset_data_network_mapping.ts b/packages/instant/src/data/asset_data_network_mapping.ts index 4fd0a25ed..77fe75adc 100644 --- a/packages/instant/src/data/asset_data_network_mapping.ts +++ b/packages/instant/src/data/asset_data_network_mapping.ts @@ -63,4 +63,9 @@ export const assetDataNetworkMapping: AssetDataByNetwork[] = [ [Network.Kovan]: '0xf47261b00000000000000000000000008cb3971b8eb709c14616bd556ff6683019e90d9c', [Network.Mainnet]: '0xf47261b00000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862', }, + // USDC + { + [Network.Kovan]: '', + [Network.Mainnet]: '0xf47261b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', + }, ]; diff --git a/packages/instant/src/data/asset_meta_data_map.ts b/packages/instant/src/data/asset_meta_data_map.ts index 88611a8c0..a8cb349f0 100644 --- a/packages/instant/src/data/asset_meta_data_map.ts +++ b/packages/instant/src/data/asset_meta_data_map.ts @@ -199,4 +199,11 @@ export const assetMetaDataMap: ObjectMap = { symbol: 'dai', name: 'Dai Stablecoin', }, + '0xf47261b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48': { + assetProxyId: AssetProxyId.ERC20, + decimals: 6, + primaryColor: '#2775CA', + symbol: 'usdc', + name: 'USD Coin', + }, }; -- cgit From ba645692b08e649a33b1f6ccdccadc57cb7ef128 Mon Sep 17 00:00:00 2001 From: David Sun Date: Tue, 29 Jan 2019 16:19:00 -0500 Subject: updated svg asset --- packages/instant/src/assets/icons/usdc.svg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages/instant/src') diff --git a/packages/instant/src/assets/icons/usdc.svg b/packages/instant/src/assets/icons/usdc.svg index 6302c7b51..a9201efb6 100644 --- a/packages/instant/src/assets/icons/usdc.svg +++ b/packages/instant/src/assets/icons/usdc.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + + + -- cgit