Skip to content

Commit

Permalink
Update default assets lists
Browse files Browse the repository at this point in the history
* Update default assets in components

Include the norns, hertz and other tokens to default asset lists

* nftea nfts in bts markets component

* Revert "nftea nfts in bts markets component"

This reverts commit 2932395.
  • Loading branch information
grctest committed Feb 13, 2023
1 parent 21fdfd7 commit 1549d75
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
11 changes: 11 additions & 0 deletions app/branding.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@ export function getFeaturedMarkets(quotes = []) {
["USD", "HONEST.USD"],
["USD", "HONEST.BTCSHORT"],
["USD", "HONEST.USDSHORT"],
["USD", "HERTZ"],
["USD", "URTHR"],
["USD", "SKULD"],
["USD", "VERTHANDI"],
["CNY", "BTS"],
["CNY", "USD"],
["CNY", "YOYOW"],
Expand All @@ -297,6 +301,10 @@ export function getFeaturedMarkets(quotes = []) {
["CNY", "HONEST.BTCSHORT"],
["CNY", "HONEST.USDSHORT"],
["CNY", "HONEST.CNY"],
["CNY", "HERTZ"],
["CNY", "URTHR"],
["CNY", "SKULD"],
["CNY", "VERTHANDI"],
["BTS", "RUBLE"],
["BTS", "HERO"],
["BTS", "OCT"],
Expand Down Expand Up @@ -328,6 +336,9 @@ export function getFeaturedMarkets(quotes = []) {
["BTS", "IOB.XRP"],
["BTS", "IOB.XLM"],
["BTS", "HERTZ"],
["BTS", "URTHR"],
["BTS", "SKULD"],
["BTS", "VERTHANDI"],
].filter(a => {
if (!quotes.length) return true;
return quotes.indexOf(a[0]) !== -1;
Expand Down
6 changes: 5 additions & 1 deletion app/components/Showcases/Borrow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,11 @@ class Borrow extends Component {
"1.3.5661", // HONEST.ETH1
"1.3.5662", // HONEST.XRP1
"1.3.6289", // HONEST.USDSHORT
"1.3.6290", // HONEST.BTCSHORT
"1.3.6290", // HONEST.BTCSHORT
"1.3.4633", // URTHR
"1.3.4634", // SKULD
"1.3.4635", // VERTHANDI
"1.3.1382", // HERTZ
]}
value={this.state.selectedAsset}
onChange={this.onAssetChange.bind(this)}
Expand Down
2 changes: 1 addition & 1 deletion app/components/Transfer/InvoiceRequest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class InvoiceRequest extends React.Component {
recipient_name: null,
recipient_name_account: null,
currency: "BTS",
defaultAssets: ["BTS", "CNY", "USD"]
defaultAssets: ["BTS", "CNY", "USD", "XBTSX.USDT", "HONEST.USD", "GDEX.USDT", "HONEST.CNY", "URTHR", "SKULD", "VERTHANDI", "HERTZ"]
};
}

Expand Down

0 comments on commit 1549d75

Please sign in to comment.