From 0e260369ea36c88b13035930f5b44373fd1bed49 Mon Sep 17 00:00:00 2001 From: Lukas Rosario Date: Mon, 25 Sep 2023 16:53:39 -0400 Subject: [PATCH] add 1inch wampl knc to bridge ui --- apps/bridge/.env.mainnet.example | 2 +- apps/bridge/assets.ts | 36 +++++++++++ apps/bridge/public/icons/currency/1inch.svg | 67 +++++++++++++++++++++ apps/bridge/public/icons/currency/knc.svg | 1 + apps/bridge/public/icons/currency/wampl.svg | 18 ++++++ 5 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 apps/bridge/public/icons/currency/1inch.svg create mode 100644 apps/bridge/public/icons/currency/knc.svg create mode 100644 apps/bridge/public/icons/currency/wampl.svg diff --git a/apps/bridge/.env.mainnet.example b/apps/bridge/.env.mainnet.example index c995c3d9b2..b983e1f299 100644 --- a/apps/bridge/.env.mainnet.example +++ b/apps/bridge/.env.mainnet.example @@ -1,4 +1,4 @@ -ASSETS=eth,dai,usdc,cbeth,bal,rpl,reth,sofi,zrx,sushi,crv +ASSETS=eth,dai,usdc,cbeth,bal,rpl,reth,sofi,zrx,sushi,crv,1inch,wampl,knc L1_CHAIN_ID=1 L1_EXPLORER_URL=https://etherscan.io L1_EXPLORER_API_URL=https://api.etherscan.io/api diff --git a/apps/bridge/assets.ts b/apps/bridge/assets.ts index 56435ccd35..4a674f9904 100644 --- a/apps/bridge/assets.ts +++ b/apps/bridge/assets.ts @@ -143,6 +143,42 @@ const assets: Asset[] = [ L2icon: '/icons/currency/curve.svg', decimals: 18, }, + { + L1symbol: '1INCH', + L2symbol: '1INCH', + L1chainId: 1, + L2chainId: 8453, + L1contract: '0x111111111117dC0aa78b770fA6A738034120C302', + L2contract: '0xc5fecC3a29Fb57B5024eEc8a2239d4621e111CBE', + apiId: '1inch', + L1icon: '/icons/currency/1inch.svg', + L2icon: '/icons/currency/1inch.svg', + decimals: 18, + }, + { + L1symbol: 'WAMPL', + L2symbol: 'WAMPL', + L1chainId: 1, + L2chainId: 8453, + L1contract: '0xEDB171C18cE90B633DB442f2A6F72874093b49Ef', + L2contract: '0x489fe42C267fe0366B16b0c39e7AEEf977E841eF', + apiId: 'wrapped-ampleforth', + L1icon: '/icons/currency/wampl.svg', + L2icon: '/icons/currency/wampl.svg', + decimals: 18, + }, + { + L1symbol: 'KNC', + L2symbol: 'KNC', + L1chainId: 1, + L2chainId: 8453, + L1contract: '0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202', + L2contract: '0x28fe69Ff6864C1C218878BDCA01482D36B9D57b1', + apiId: 'kyber-network-crystal', + L1icon: '/icons/currency/knc.svg', + L2icon: '/icons/currency/knc.svg', + decimals: 18, + }, { L1symbol: 'ETH', L2symbol: 'ETH', diff --git a/apps/bridge/public/icons/currency/1inch.svg b/apps/bridge/public/icons/currency/1inch.svg new file mode 100644 index 0000000000..6277cceb83 --- /dev/null +++ b/apps/bridge/public/icons/currency/1inch.svg @@ -0,0 +1,67 @@ + + + diff --git a/apps/bridge/public/icons/currency/knc.svg b/apps/bridge/public/icons/currency/knc.svg new file mode 100644 index 0000000000..fa649f2d18 --- /dev/null +++ b/apps/bridge/public/icons/currency/knc.svg @@ -0,0 +1 @@ +kyber-network-knc-logo \ No newline at end of file diff --git a/apps/bridge/public/icons/currency/wampl.svg b/apps/bridge/public/icons/currency/wampl.svg new file mode 100644 index 0000000000..9b76288195 --- /dev/null +++ b/apps/bridge/public/icons/currency/wampl.svg @@ -0,0 +1,18 @@ + + + +logo_black + +