Skip to content

Commit

Permalink
feat(exchanges): add logos and aggregators
Browse files Browse the repository at this point in the history
  • Loading branch information
maxklenk committed Dec 30, 2021
1 parent eeb210c commit f5cf9fa
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 44 deletions.
Binary file added src/assets/icons/exchanges/matcha.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/exchanges/openocean.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions src/base.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BridgeTool } from './bridges'
import { ExchangeTools } from './exchanges'

export enum CoinKey {
ETH = 'ETH',
Expand Down Expand Up @@ -152,15 +153,10 @@ export interface Coin {
}

export interface ExchangeDefinition {
tool: ExchangeTool | string
tool: ExchangeTools
chains: number[]
}

export enum ExchangeTool {
oneinch = '1inch',
paraswap = 'paraswap',
}

export interface BridgeDefinition {
tool: BridgeTool
fromChainId: number
Expand Down
19 changes: 12 additions & 7 deletions src/bridges.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export enum BridgeTool {
nxtp = 'nxtp',
hop = 'hop',
Expand All @@ -22,17 +21,20 @@ export const supportedBridges: Array<Bridge> = [
{
key: BridgeTool.nxtp,
name: 'Connext',
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/connext.png',
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/connext.png',
bridgeUrl: 'https://xpollinate.io/',
discordUrl: 'https://chat.connext.network/',
supportUrl: 'https://www.notion.so/connext/Connext-NXTP-Support-19a357ebabdd4e888cfcd138fe3e4644',
supportUrl:
'https://www.notion.so/connext/Connext-NXTP-Support-19a357ebabdd4e888cfcd138fe3e4644',
docsUrl: 'https://docs.connext.network/',
explorerUrl: 'https://connextscan.io/',
},
{
key: BridgeTool.hop,
name: 'Hop',
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/hop.png',
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/hop.png',
bridgeUrl: 'https://app.hop.exchange/',
discordUrl: 'https://discord.gg/PwCF88emV4',
supportUrl: 'https://help.hop.exchange/hc/en-us',
Expand All @@ -42,7 +44,8 @@ export const supportedBridges: Array<Bridge> = [
{
key: BridgeTool.anyswap,
name: 'Multichain (AnySwap)',
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/anyswap.png',
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/anyswap.png',
bridgeUrl: 'https://app.multichain.org/',
// discordUrl: '',
supportUrl: 'https://multichain.zendesk.com/hc/en-us',
Expand All @@ -52,7 +55,8 @@ export const supportedBridges: Array<Bridge> = [
{
key: BridgeTool.cbridge,
name: 'cBRIDGE',
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/cbridge.png',
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/cbridge.png',
bridgeUrl: 'https://cbridge.celer.network/',
discordUrl: 'https://discord.com/invite/uGx4fjQ',
supportUrl: 'https://form.typeform.com/to/Q4LMjUaK',
Expand All @@ -63,7 +67,8 @@ export const supportedBridges: Array<Bridge> = [
{
key: BridgeTool.horizon,
name: 'Horizon',
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/horizon.png',
logoURI:
'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/horizon.png',
bridgeUrl: 'https://bridge.harmony.one/',
discordUrl: 'https://harmony.one/discord',
supportUrl: 'https://bridge.harmony.one/help',
Expand Down

0 comments on commit f5cf9fa

Please sign in to comment.