-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
22 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,22 @@ | ||
// To combine kyberswap & kyberswap-static into one option on UI | ||
// They are both kyberswap classic, one is dynamic fee, other is static fee | ||
// To combine all kyber options 1 option on UI | ||
export const KYBERSWAP_KS_DEXES_TO_UI_DEXES: { [key: string]: string | undefined } = { | ||
'kyberswap-elastic': 'kyberswap-elastic', | ||
kyberswap: 'kyberswapv1', // kyberswap classic old contract | ||
'kyberswap-static': 'kyberswapv1', // kyberswap classic new contract -> with static fee | ||
'kyberswap-elastic': 'kyberswap-elastic', | ||
'kyberswap-limit-order': 'kyberswap-limit-order', | ||
'kyberswap-limit-order-v2': 'kyberswap-limit-order-v2', | ||
'kyber-pmm': 'kyber-pmm', | ||
} | ||
|
||
export const KYBERSWAP_UI_DEXES: { | ||
// only put dex need to be custom, otherwise get from admin | ||
export const KYBERSWAP_UI_DEXES_CUSTOM: { | ||
[key: string]: { | ||
name: string | ||
id: string | ||
logoURL: string | ||
} | ||
} = { | ||
'kyberswap-elastic': { | ||
name: 'KyberSwap Elastic', | ||
id: 'kyberswap-elastic', | ||
logoURL: 'https://kyberswap.com/favicon.ico', | ||
}, | ||
kyberswapv1: { | ||
name: 'KyberSwap Classic', | ||
id: 'kyberswapv1', | ||
logoURL: 'https://kyberswap.com/favicon.ico', | ||
}, | ||
'kyberswap-limit-order': { | ||
name: 'KyberSwap Limit Order', | ||
id: 'kyberswap-limit-order', | ||
logoURL: 'https://kyberswap.com/favicon.ico', | ||
}, | ||
'kyberswap-limit-order-v2': { | ||
name: 'KyberSwap Limit Order V2', | ||
id: 'kyberswap-limit-order-v2', | ||
logoURL: 'https://kyberswap.com/favicon.ico', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters