mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 21:04:53 +00:00
Update trade_details_view_model.dart
This commit is contained in:
parent
04ee08a190
commit
7abe95831a
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@ import 'package:cake_wallet/exchange/provider/changenow_exchange_provider.dart';
|
||||||
import 'package:cake_wallet/exchange/provider/exchange_provider.dart';
|
import 'package:cake_wallet/exchange/provider/exchange_provider.dart';
|
||||||
import 'package:cake_wallet/exchange/provider/exolix_exchange_provider.dart';
|
import 'package:cake_wallet/exchange/provider/exolix_exchange_provider.dart';
|
||||||
import 'package:cake_wallet/exchange/provider/letsexchange_exchange_provider.dart';
|
import 'package:cake_wallet/exchange/provider/letsexchange_exchange_provider.dart';
|
||||||
|
import 'package:cake_wallet/exchange/provider/mayachain_exchange.provider.dart';
|
||||||
import 'package:cake_wallet/exchange/provider/quantex_exchange_provider.dart';
|
import 'package:cake_wallet/exchange/provider/quantex_exchange_provider.dart';
|
||||||
import 'package:cake_wallet/exchange/provider/sideshift_exchange_provider.dart';
|
import 'package:cake_wallet/exchange/provider/sideshift_exchange_provider.dart';
|
||||||
import 'package:cake_wallet/exchange/provider/simpleswap_exchange_provider.dart';
|
import 'package:cake_wallet/exchange/provider/simpleswap_exchange_provider.dart';
|
||||||
|
@ -59,6 +60,9 @@ abstract class TradeDetailsViewModelBase with Store {
|
||||||
case ExchangeProviderDescription.thorChain:
|
case ExchangeProviderDescription.thorChain:
|
||||||
_provider = ThorChainExchangeProvider(tradesStore: trades);
|
_provider = ThorChainExchangeProvider(tradesStore: trades);
|
||||||
break;
|
break;
|
||||||
|
case ExchangeProviderDescription.mayaChain:
|
||||||
|
_provider = MayaChainExchangeProvider(tradesStore: trades);
|
||||||
|
break;
|
||||||
case ExchangeProviderDescription.quantex:
|
case ExchangeProviderDescription.quantex:
|
||||||
_provider = QuantexExchangeProvider();
|
_provider = QuantexExchangeProvider();
|
||||||
case ExchangeProviderDescription.letsExchange:
|
case ExchangeProviderDescription.letsExchange:
|
||||||
|
@ -91,6 +95,8 @@ abstract class TradeDetailsViewModelBase with Store {
|
||||||
return 'https://exolix.com/transaction/${trade.id}';
|
return 'https://exolix.com/transaction/${trade.id}';
|
||||||
case ExchangeProviderDescription.thorChain:
|
case ExchangeProviderDescription.thorChain:
|
||||||
return 'https://track.ninerealms.com/${trade.id}';
|
return 'https://track.ninerealms.com/${trade.id}';
|
||||||
|
case ExchangeProviderDescription.mayaChain:
|
||||||
|
return 'https://mayascan.org/${trade.id}';
|
||||||
case ExchangeProviderDescription.quantex:
|
case ExchangeProviderDescription.quantex:
|
||||||
return 'https://myquantex.com/send/${trade.id}';
|
return 'https://myquantex.com/send/${trade.id}';
|
||||||
case ExchangeProviderDescription.letsExchange:
|
case ExchangeProviderDescription.letsExchange:
|
||||||
|
|
Loading…
Reference in a new issue