aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/assets/icons/usdc.svg1
-rw-r--r--packages/instant/src/data/asset_data_network_mapping.ts5
-rw-r--r--packages/instant/src/data/asset_meta_data_map.ts7
3 files changed, 13 insertions, 0 deletions
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 @@
+<svg width="15" height="14" xmlns="http://www.w3.org/2000/svg"><g fill="#FFF" fill-rule="nonzero"><path d="M5.625 13.653c0 .228-.188.358-.406.29C2.187 12.998 0 10.243 0 6.98 0 3.724 2.188.962 5.219.018c.226-.068.406.061.406.29v.57a.436.436 0 0 1-.266.38C2.961 2.119 1.25 4.364 1.25 6.98c0 2.625 1.71 4.862 4.11 5.714a.436.436 0 0 1 .265.38v.58z"/><path d="M7.84 11.87h-.625a.31.31 0 0 1-.312-.305v-.958c-1.367-.183-2.031-.921-2.211-1.94-.031-.176.11-.328.289-.328h.71c.15 0 .274.107.306.244.132.6.492 1.065 1.585 1.065.805 0 1.383-.441 1.383-1.096 0-.654-.336-.905-1.523-1.095-1.75-.229-2.578-.746-2.578-2.078 0-1.027.804-1.833 2.039-2v-.944a.31.31 0 0 1 .312-.305h.625a.31.31 0 0 1 .313.305V3.4c1.008.175 1.648.73 1.86 1.659.038.175-.102.335-.29.335h-.656a.308.308 0 0 1-.297-.221c-.18-.586-.61-.845-1.36-.845-.828 0-1.257.388-1.257.936 0 .578.242.868 1.515 1.043 1.72.228 2.61.707 2.61 2.13 0 1.08-.828 1.955-2.117 2.153v.974a.322.322 0 0 1-.32.305z"/><path d="M9.781 13.927c-.226.069-.406-.06-.406-.29v-.57c0-.167.102-.327.266-.38 2.39-.852 4.109-3.097 4.109-5.714 0-2.625-1.71-4.862-4.11-5.714a.436.436 0 0 1-.265-.38V.306c0-.228.188-.357.406-.289C12.812.947 15 3.708 15 6.965c0 3.264-2.188 6.019-5.219 6.962z"/></g></svg> \ 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<AssetMetaData> = {
symbol: 'dai',
name: 'Dai Stablecoin',
},
+ '0xf47261b0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 6,
+ primaryColor: '#2775CA',
+ symbol: 'usdc',
+ name: 'USD Coin',
+ },
};