Skip to content

Commit

Permalink
add RUDEX.USDT
Browse files Browse the repository at this point in the history
  • Loading branch information
serdrdoor committed Nov 26, 2019
1 parent 39f50af commit 98435c5
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 66 deletions.
Binary file added app/assets/asset-symbols/rudex.usdt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/asset-symbols/rudex.usdt2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/asset-symbols/symbols.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ require("file-loader?name=asset-symbols/silver.png!./silver.png");
// rudex assets
require("file-loader?name=asset-symbols/[name].png!./ppy.png");
require("file-loader?name=asset-symbols/[name].png!./rudex.btc.png");
require("file-loader?name=asset-symbols/[name].png!./rudex.usdt.png");
require("file-loader?name=asset-symbols/[name].png!./rudex.dgb.png");
require("file-loader?name=asset-symbols/[name].png!./rudex.eos.png");
require("file-loader?name=asset-symbols/[name].png!./rudex.eth.png");
Expand Down
61 changes: 38 additions & 23 deletions app/branding.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,15 @@ export function getUnits(chainId = "4018d784") {
*/

export function getMyMarketsBases() {
//return ["BTS", "RUDEX.BTC", "RUDEX.EOS", "RUBLE", "USD", "CNY"];
return ["BTS", "RUDEX.BTC", "RUDEX.EOS"];
return [
"BTS",
"RUDEX.BTC",
"RUDEX.USDT",
"RUDEX.EOS",
"RUBLE",
"USD",
"CNY"
];
}

/**
Expand All @@ -89,14 +96,14 @@ export function getMyMarketsBases() {
export function getMyMarketsQuotes() {
let tokens = {
nativeTokens: [
//"BTC",
"BTS"
///"CNY",
//"EUR",
//"GOLD",
//"RUBLE",
//"SILVER",
//"USD"
"BTC",
"BTS",
"CNY",
"EUR",
"GOLD",
"RUBLE",
"SILVER",
"USD"
],
//bridgeTokens: ["BRIDGE.BCO", "BRIDGE.BTC", "BRIDGE.MONA", "BRIDGE.ZNY"],
//gdexTokens: ["GDEX.BTC", "GDEX.BTO", "GDEX.EOS", "GDEX.ETH"],
Expand Down Expand Up @@ -132,20 +139,20 @@ export function getMyMarketsQuotes() {
rudexTokens: [
"RUDEX.BTC",
"RUDEX.ETH",
"RUDEX.EOS",
"PPY",
"RUDEX.STEEM",
"RUDEX.SBD",
"RUDEX.USDT",
"RUDEX.GOLOS",
"RUDEX.GBG",
"RUDEX.STEEM",
"RUDEX.SBD",
"RUDEX.KRM",
"RUDEX.EOS",
"RUDEX.GRC",
"RUDEX.SMOKE",
"RUDEX.WLS",
"RUDEX.SMOKE"
"PPY"
],
// winTokens: ["WIN.ETC", "WIN.ETH", "WIN.HSR"],
//otherTokens: ["HERTZ"]
otherTokens: []
otherTokens: ["HERTZ"]
};

let allTokens = [];
Expand All @@ -162,21 +169,26 @@ export function getMyMarketsQuotes() {
*/
export function getFeaturedMarkets(quotes = []) {
return [
["RUDEX.USDT", "RUDEX.BTC"],
["RUDEX.USDT", "RUDEX.EOS"],
["RUDEX.USDT", "RUDEX.ETH"],
["BTS", "RUDEX.USDT"],

["RUDEX.BTC", "RUDEX.EOS"],
["RUDEX.BTC", "BTS"],
["RUDEX.BTC", "RUDEX.ETH"],
["RUDEX.BTC", "PPY"],
["RUDEX.BTC", "RUDEX.STEEM"],

//["BTS", "CNY"],
//["BTS", "USD"],
//["BTS", "EUR"],
//["BTS", "RUBLE"],
//["BTS", "GOLD"],

["BTS", "RUDEX.EOS"],
["BTS", "RUDEX.BTC"],
["BTS", "RUDEX.ETH"],
["BTS", "RUDEX.EOS"],
["BTS", "PPY"],
["BTS", "RUDEX.ETH"],

["BTS", "RUDEX.GOLOS"],
["RUDEX.BTC", "RUDEX.GOLOS"],
Expand All @@ -185,12 +197,15 @@ export function getFeaturedMarkets(quotes = []) {

//["RUBLE", "RUDEX.GOLOS"],
//["RUBLE", "RUDEX.GBG"],
//["BTS", "RUDEX.STEEM"],
//["BTS", "RUDEX.SBD"],
["RUDEX.USDT", "RUDEX.GOLOS"],
["RUDEX.USDT", "RUDEX.GBG"],
["BTS", "RUDEX.STEEM"],
["RUDEX.BTC", "RUDEX.STEEM"],
["BTS", "RUDEX.SBD"],
["RUDEX.BTC", "RUDEX.SBD"],

["BTS", "RUDEX.KRM"],
//["BTS", "RUDEX.KRM"],
["RUDEX.USDT", "RUDEX.STEEM"],
["BTS", "RUDEX.GRC"],
["BTS", "RUDEX.SMOKE"],
["BTS", "RUDEX.WLS"]
Expand Down
84 changes: 43 additions & 41 deletions app/components/Account/AccountDepositWithdraw.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,14 @@ class AccountDepositWithdraw extends React.Component {
)
});

/*
serList.push({
name: "Openledger (OPEN.X)",
template: (
<div className="content-block">
{/* <div className="float-right">
{/!* <div className="float-right">
<a href="https://www.ccedk.com/" target="__blank" rel="noopener noreferrer"><Translate content="gateway.website" /></a>
</div> */}
</div> *!/}
<div
className="service-selector"
style={{marginBottom: "2rem"}}
Expand Down Expand Up @@ -306,49 +307,49 @@ class AccountDepositWithdraw extends React.Component {
{olService === "gateway" &&
openLedgerGatewayCoins.length ? (
<div>
<div>
<Translate
style={{
color: "darkred",
marginBottom: "1em",
display: "block"
}}
component="h5"
content="gateway.rudex.openledger_notice1"
/>
<a
href="https://blog.openledger.info/2017/12/18/openledger-official-web-sites-get-updates-by-the-first"
target="_blank"
>
<div>
<Translate
style={{
color: "darkred",
marginBottom: "1em",
display: "block"
}}
component="h5"
content="gateway.rudex.openledger_notice1"
/>
<a
href="https://blog.openledger.info/2017/12/18/openledger-official-web-sites-get-updates-by-the-first"
target="_blank"
>
https://blog.openledger.info/2017/12/18/openledger-official-web-sites-get-updates-by-the-first
</a>

<h5>
<input
type="checkbox"
defaultChecked={
this.state.olNotice1Informed
}
onChange={this.onolNotice1Informed.bind(
this
)}
/>{" "}
</a>
<h5>
<input
type="checkbox"
defaultChecked={
this.state.olNotice1Informed
}
onChange={this.onolNotice1Informed.bind(
this
)}
/>{" "}
-{" "}
<Translate content="gateway.rudex.openledger_notice1_informed" />
</h5>
</div>
<Translate content="gateway.rudex.openledger_notice1_informed" />
</h5>
</div>
<hr />
{olNotice1Informed ? (
<OpenledgerGateway
account={account}
coins={openLedgerGatewayCoins}
provider="openledger"
/>
) : null}
</div>
) : null}
<hr />
{olNotice1Informed ? (
<OpenledgerGateway
account={account}
coins={openLedgerGatewayCoins}
provider="openledger"
/>
) : null}
</div>
) : null}
{olService === "fiat" ? (
<div>
Expand All @@ -373,6 +374,7 @@ class AccountDepositWithdraw extends React.Component {
</div>
)
});
*/

// serList.push({
// name: "BlockTrades",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RuDEX-light",
"version": "2.2.191002",
"version": "2.2.191126",
"description": "Advanced wallet interface for the BitShares financial blockchain.",
"homepage": "https://github.com/blckchnd/rudex-ui",
"author": "RuDEX Team <[email protected]>",
Expand Down

0 comments on commit 98435c5

Please sign in to comment.