diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/instant/src/assets/icons/usdc.svg | 5 | ||||
-rw-r--r-- | packages/instant/src/data/asset_data_network_mapping.ts | 5 | ||||
-rw-r--r-- | packages/instant/src/data/asset_meta_data_map.ts | 7 |
3 files changed, 17 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..a9201efb6 --- /dev/null +++ b/packages/instant/src/assets/icons/usdc.svg @@ -0,0 +1,5 @@ +<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> +<path d="M7.5625 19.039C7.5625 19.3437 7.31875 19.5164 7.03438 19.425C3.09375 18.1656 0.25 14.489 0.25 10.132C0.25 5.78513 3.09375 2.09841 7.03438 0.839039C7.32891 0.747633 7.5625 0.920289 7.5625 1.22498V1.9867C7.5625 2.18982 7.41016 2.42341 7.21719 2.49451C4.09922 3.64216 1.875 6.63826 1.875 10.132C1.875 13.6359 4.09922 16.6219 7.21719 17.7594C7.41016 17.8304 7.5625 18.064 7.5625 18.2672V19.039Z" fill="white"/> +<path d="M10.8125 16.2258C10.8125 16.4492 10.6297 16.632 10.4063 16.632H9.59376C9.37033 16.632 9.18751 16.4492 9.18751 16.2258V14.9461C7.41017 14.7023 6.54689 13.7172 6.31329 12.3562C6.27267 12.1226 6.45548 11.9195 6.68908 11.9195H7.61329C7.80626 11.9195 7.96876 12.0617 8.00939 12.2445C8.18204 13.0469 8.64923 13.6664 10.0711 13.6664C11.1172 13.6664 11.8688 13.0773 11.8688 12.2039C11.8688 11.3305 11.432 10.9953 9.88829 10.7414C7.61329 10.4367 6.53673 9.74608 6.53673 7.96874C6.53673 6.59764 7.58282 5.52108 9.18751 5.29764V4.03827C9.18751 3.81483 9.37033 3.63202 9.59376 3.63202H10.4063C10.6297 3.63202 10.8125 3.81483 10.8125 4.03827V5.32811C12.1227 5.56171 12.9555 6.30311 13.2297 7.54218C13.2805 7.77577 13.0977 7.98905 12.8539 7.98905H12.0008C11.818 7.98905 11.6656 7.86718 11.6149 7.69452C11.3813 6.91249 10.8227 6.56717 9.84767 6.56717C8.77111 6.56717 8.21251 7.08514 8.21251 7.81639C8.21251 8.58827 8.52736 8.97421 10.1828 9.2078C12.4172 9.51249 13.575 10.1523 13.575 12.0515C13.575 13.4937 12.4985 14.6617 10.8227 14.9258V16.2258H10.8125Z" fill="white"/> +<path d="M12.9656 19.425C12.6711 19.5164 12.4375 19.3437 12.4375 19.0391V18.2773C12.4375 18.0539 12.5695 17.8406 12.7828 17.7695C15.8906 16.632 18.125 13.6359 18.125 10.1422C18.125 6.63827 15.9008 3.65233 12.7828 2.51483C12.5898 2.44374 12.4375 2.21015 12.4375 2.00702V1.2453C12.4375 0.940614 12.6812 0.767957 12.9656 0.859364C16.9062 2.09843 19.75 5.78515 19.75 10.132C19.75 14.4891 16.9062 18.1656 12.9656 19.425Z" fill="white"/> +</svg> 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', + }, }; |