mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-10-30 00:47:48 +00:00
cef3029f6f
* CW-473 Remove deprecated Exchanges * CW-473 Clean up Exchange Code * CW-473 Add Decimals to Crypto Enums * CW-473 Fix minor merge error * CW-473 Fix minor merge error * CW-473 Fix FAQ Locals * CW-473 Apply requested changes * CW-473 Show Error if Exchange Provider is not supported anymore * CW-473 Implement Requested Changes
20 lines
518 B
Dart
20 lines
518 B
Dart
import 'package:cake_wallet/exchange/trade.dart';
|
|
|
|
abstract class ExchangeTradeState {}
|
|
|
|
class ExchangeTradeStateInitial extends ExchangeTradeState {}
|
|
|
|
class TradeIsCreating extends ExchangeTradeState {}
|
|
|
|
class TradeIsCreatedSuccessfully extends ExchangeTradeState {
|
|
TradeIsCreatedSuccessfully({required this.trade});
|
|
|
|
final Trade trade;
|
|
}
|
|
|
|
class TradeIsCreatedFailure extends ExchangeTradeState {
|
|
TradeIsCreatedFailure({required this.title, required this.error});
|
|
|
|
final String title;
|
|
final String error;
|
|
}
|