Skip to content

Commit

Permalink
Change Quantex to SwapTrade
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarHatem28 committed Jan 29, 2025
1 parent f90b171 commit 0967e61
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/exchange/exchange_provider_description.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ExchangeProviderDescription extends EnumerableItem<int> with Serializable<
static const thorChain =
ExchangeProviderDescription(title: 'ThorChain', raw: 8, image: 'assets/images/thorchain.png');
static const quantex =
ExchangeProviderDescription(title: 'Quantex', raw: 9, image: 'assets/images/quantex.png');
ExchangeProviderDescription(title: 'SwapTrade', raw: 9, image: 'assets/images/quantex.png');
static const letsExchange =
ExchangeProviderDescription(title: 'LetsExchange', raw: 10, image: 'assets/images/letsexchange_icon.svg');
static const stealthEx =
Expand Down
4 changes: 2 additions & 2 deletions lib/exchange/provider/quantex_exchange_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ class QuantexExchangeProvider extends ExchangeProvider {

static final markup = secrets.quantexExchangeMarkup;

static const apiAuthority = 'api.myquantex.com';
static const apiAuthority = 'api.swaptrade.io';
static const getRate = '/api/swap/get-rate';
static const getCoins = '/api/swap/get-coins';
static const createOrder = '/api/swap/create-order';

@override
String get title => 'Quantex';
String get title => 'SwapTrade';

@override
bool get isAvailable => true;
Expand Down
2 changes: 1 addition & 1 deletion lib/view_model/support_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ abstract class SupportViewModelBase with Store {
LinkListItem(
title: 'Quantex',
icon: 'assets/images/quantex.png',
linkTitle: 'help.myquantex.com',
linkTitle: 'help.swaptrade.io',
link: 'mailto:[email protected]'),
LinkListItem(
title: 'Trocador',
Expand Down
2 changes: 1 addition & 1 deletion lib/view_model/trade_details_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ abstract class TradeDetailsViewModelBase with Store {
case ExchangeProviderDescription.thorChain:
return 'https://track.ninerealms.com/${trade.id}';
case ExchangeProviderDescription.quantex:
return 'https://myquantex.com/send/${trade.id}';
return 'https://swaptrade.io/send/${trade.id}';
case ExchangeProviderDescription.letsExchange:
return 'https://letsexchange.io/?transactionId=${trade.id}';
case ExchangeProviderDescription.stealthEx:
Expand Down

0 comments on commit 0967e61

Please sign in to comment.