reorder currencies

This commit is contained in:
Barry Gitarts 2019-08-22 11:52:50 -04:00 committed by Barry G
parent 12bbc52626
commit 772e165f7a
1 changed files with 17 additions and 17 deletions

View File

@ -10,6 +10,23 @@ export const TOKEN_ICON_API = 'https://raw.githubusercontent.com/TrustWallet/tok
export const TOKEN_COIN_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/coins' export const TOKEN_COIN_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/coins'
export const TOKEN_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/tokens' export const TOKEN_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/tokens'
export const currencies = [ export const currencies = [
{
value: SNT._address,
label: 'SNT',
img: sntIco,
contract: SNT,
humanReadibleFn: toEther,
chainReadibleFn: toWei
},
{
value: '0xf5dce57282a584d2746faf1593d3121fcac444dc',
label: 'cDAI',
img: `${TOKEN_API}/0xf5dce57282a584d2746faf1593d3121fcac444dc.png`,
width: '5%',
contract: cDAI,
humanReadibleFn: compoundWhole,
chainReadibleFn: compoundToChain
},
{ {
value: '0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5', value: '0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5',
label: 'cETH', label: 'cETH',
@ -27,14 +44,6 @@ export const currencies = [
humanReadibleFn: toEther, humanReadibleFn: toEther,
chainReadibleFn: toWei chainReadibleFn: toWei
}, },
{
value: SNT._address,
label: 'SNT',
img: sntIco,
contract: SNT,
humanReadibleFn: toEther,
chainReadibleFn: toWei
},
{ {
value: '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', value: '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359',
label: 'DAI', label: 'DAI',
@ -43,15 +52,6 @@ export const currencies = [
contract: DAI, contract: DAI,
humanReadibleFn: toEther, humanReadibleFn: toEther,
chainReadibleFn: toWei chainReadibleFn: toWei
},
{
value: '0xf5dce57282a584d2746faf1593d3121fcac444dc',
label: 'cDAI',
img: `${TOKEN_API}/0xf5dce57282a584d2746faf1593d3121fcac444dc.png`,
width: '5%',
contract: cDAI,
humanReadibleFn: compoundWhole,
chainReadibleFn: compoundToChain
} }
] ]