Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DEEX and OPEN, remove assets #3245

Merged
merged 7 commits into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions app/api/apiConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ export const xbtsxAPIs = {
COINS_LIST: "/coin"
};

export const deexAPIs = {
BASE: "https://deex.exchange/gateway",
COINS_LIST: "/compatibility/get_coins"
};

export const nodeRegions = [
// region of the node follows roughly https://en.wikipedia.org/wiki/Subregion#/media/File:United_Nations_geographical_subregions.png
"Northern Europe",
Expand Down
80 changes: 8 additions & 72 deletions app/branding.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,8 @@ export function getMyMarketsQuotes() {
"GDEX.BTO",
"GDEX.EOS",
"GDEX.ETH",
"GDEX.BTM",
"GDEX.NEO",
"GDEX.GAS",
"GDEX.QTUM",
"GDEX.BKBT",
"GDEX.GXC",
"GDEX.HPB",
"GDEX.SEER",
"GDEX.FOTA",
"GDEX.JRC",
Expand All @@ -159,32 +154,7 @@ export function getMyMarketsQuotes() {
"GDEX.USDT"
],
openledgerTokens: [
"OBITS",
"OPEN.BTC",
"OPEN.DASH",
"OPEN.DGD",
"OPEN.DOGE",
"OPEN.EOS",
"OPEN.EOSDAC",
"OPEN.ETH",
"OPEN.EURT",
"OPEN.GRC",
"OPEN.INCNT",
"OPEN.KRM",
"OPEN.LISK",
"OPEN.LTC",
"OPEN.MAID",
"OPEN.MKR",
"OPEN.NEO",
"OPEN.OMG",
"OPEN.SBD",
"OPEN.STEEM",
"OPEN.TUSD",
"OPEN.USDT",
"OPEN.WAVES",
"OPEN.XMR",
"OPEN.ZEC",
"OPEN.ZRX"
"OBITS"
],
rudexTokens: [
"PPY",
Expand Down Expand Up @@ -220,16 +190,10 @@ export function getMyMarketsQuotes() {
"XBTSX.EXR"
sschiessl-bcp marked this conversation as resolved.
Show resolved Hide resolved
],
otherTokens: [
"BTWTY",
"TWENTIX",

"CVCOIN",
"HERO",
"OCT",
"HERTZ",
"ICOO",
"SMOKE",
"STEALTH",
"CVCOIN",
"HERO",
"OCT",
"HERTZ",
"YOYOW"
sschiessl-bcp marked this conversation as resolved.
Show resolved Hide resolved
]
};
Expand All @@ -252,17 +216,12 @@ export function getFeaturedMarkets(quotes = []) {
}
return [
["USD", "BTS"],
["USD", "OPEN.BTC"],
["USD", "OPEN.USDT"],
["USD", "OPEN.ETH"],
["USD", "OPEN.DASH"],
["USD", "GOLD"],
["USD", "HERO"],
["USD", "GDEX.BTC"],
["USD", "GDEX.ETH"],
["USD", "GDEX.EOS"],
["USD", "GDEX.BTO"],
["USD", "OPEN.EOSDAC"],
["USD", "RUDEX.GOLOS"],
["USD", "RUDEX.STEEM"],
["USD", "RUDEX.EOS"],
Expand All @@ -272,16 +231,13 @@ export function getFeaturedMarkets(quotes = []) {
["USD", "RUDEX.WLS"],
["USD", "RUDEX.SMOKE"],
["CNY", "BTS"],
["CNY", "OPEN.BTC"],
["CNY", "USD"],
["CNY", "OPEN.ETH"],
["CNY", "YOYOW"],
["CNY", "YOYOW"],
["CNY", "OCT"],
["CNY", "GDEX.BTC"],
["CNY", "GDEX.ETH"],
["CNY", "GDEX.EOS"],
sschiessl-bcp marked this conversation as resolved.
Show resolved Hide resolved
["CNY", "GDEX.BTO"],
["CNY", "GDEX.BTM"],
["CNY", "GDEX.SEER"],
["CNY", "GDEX.BKBT"],
["CNY", "GDEX.USDT"],
Expand All @@ -294,33 +250,17 @@ export function getFeaturedMarkets(quotes = []) {
["CNY", "RUDEX.USDT"],
["CNY", "RUDEX.WLS"],
["CNY", "RUDEX.SMOKE"],
["OPEN.BTC", "BTS"],
["OPEN.BTC", "OPEN.ETH"],
["OPEN.BTC", "OPEN.DASH"],
["OPEN.BTC", "OPEN.DGD"],
["OPEN.BTC", "OPEN.STEEM"],
["BTS", "OPEN.ETH"],
["BTS", "OPEN.EOS"],
["BTS", "PPY"],
["BTS", "OPEN.STEEM"],
["BTS", "OBITS"],
["BTS", "RUBLE"],
["BTS", "HERO"],
["BTS", "HERO"],
["BTS", "OCT"],
["BTS", "SILVER"],
["BTS", "GOLD"],
["BTS", "BTWTY"],
["BTS", "SMOKE"],
["BTS", "GDEX.BTC"],
["BTS", "GDEX.ETH"],
["BTS", "GDEX.EOS"],
["BTS", "GDEX.BTO"],
["BTS", "GDEX.USDT"],
["BTS", "OPEN.EOSDAC"],
["USD", "OPEN.STEEM"],
["USD", "OPEN.MAID"],
["OPEN.USDT", "OPEN.BTC"],
["OPEN.BTC", "OPEN.MAID"],
["RUDEX.USDT", "RUDEX.BTC"],
["RUDEX.USDT", "RUDEX.ETH"],
["RUDEX.USDT", "RUDEX.EOS"],
Expand All @@ -332,9 +272,6 @@ export function getFeaturedMarkets(quotes = []) {
["RUDEX.BTC", "RUDEX.GOLOS"],
["RUDEX.BTC", "RUDEX.WLS"],
["RUDEX.BTC", "PPY"],
["BTS", "OPEN.MAID"],
["BTS", "OPEN.HEAT"],
["BTS", "OPEN.INCENT"],
["RUBLE", "RUDEX.BTC"],
["RUBLE", "RUDEX.ETH"],
["RUBLE", "RUDEX.USDT"],
Expand Down Expand Up @@ -365,7 +302,7 @@ export function getAssetNamespaces() {
if (_isTestnet()) {
return [];
}
return ["OPEN.", "RUDEX.", "GDEX.", "XBTSX.", "CITADEL.", "DEEX."];
return ["OPEN.", "RUDEX.", "GDEX.", "XBTSX.", "CITADEL."];
sschiessl-bcp marked this conversation as resolved.
Show resolved Hide resolved
}

/**
Expand All @@ -389,7 +326,6 @@ export function allowedGateway(gateway) {
"RUDEX",
"GDEX",
"XBTSX",
"DEEX",
"CITADEL"
];
if (!gateway) {
Expand Down
28 changes: 4 additions & 24 deletions app/lib/common/gateways.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import {
cryptoBridgeAPIs,
gdex2APIs,
xbtsxAPIs,
citadelAPIs,
deexAPIs
citadelAPIs
} from "api/apiConfig";
import {allowedGateway} from "branding";
import {isGatewayTemporarilyDisabled} from "../chain/onChainConfig";
Expand Down Expand Up @@ -91,14 +90,14 @@ export const availableGateways = {
id: "OPEN",
name: "OpenLedger",
baseAPI: openledgerAPIs,
isEnabled: _isEnabled("OPEN"),
isEnabled: false,
selected: false,
options: {
enabled: false,
selected: false
},
landing: "http://dex.openledger.io",
wallet: "https://openledger.io/"
landing: "https://dex.openledger.io/news/ol-dex-is-closing-all-activities/",
wallet: "Shutdown"
},
RUDEX: {
id: "RUDEX",
Expand Down Expand Up @@ -190,25 +189,6 @@ export const availableGateways = {
},
landing: "https://citadel.li/",
wallet: "https://citadel.li/wallet/"
},
DEEX: {
id: "DEEX",
name: "DEEX",
baseAPI: deexAPIs,
isSimple: true,
simpleAssetGateway: false,
fixedMemo: {
prepend_default: "dex:",
append: ""
},
isEnabled: _isEnabled("DEEX"),
addressValidatorMethod: "POST",
options: {
enabled: false,
selected: false
},
landing: "https://deex.one/",
wallet: "https://deex.exchange/"
}
};

Expand Down