mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-26 13:29:23 +00:00
33 lines
761 B
Dart
33 lines
761 B
Dart
|
import 'package:decimal/decimal.dart';
|
||
|
import 'package:stackwallet/models/exchange/change_now/exchange_transaction.dart';
|
||
|
import 'package:stackwallet/pages/exchange_view/sub_widgets/exchange_rate_sheet.dart';
|
||
|
|
||
|
class IncompleteExchangeModel {
|
||
|
final String sendTicker;
|
||
|
final String receiveTicker;
|
||
|
|
||
|
final String rateInfo;
|
||
|
|
||
|
final Decimal sendAmount;
|
||
|
final Decimal receiveAmount;
|
||
|
|
||
|
final ExchangeRateType rateType;
|
||
|
|
||
|
String? recipientAddress;
|
||
|
String? refundAddress;
|
||
|
|
||
|
String? rateId;
|
||
|
|
||
|
ExchangeTransaction? trade;
|
||
|
|
||
|
IncompleteExchangeModel({
|
||
|
required this.sendTicker,
|
||
|
required this.receiveTicker,
|
||
|
required this.rateInfo,
|
||
|
required this.sendAmount,
|
||
|
required this.receiveAmount,
|
||
|
required this.rateType,
|
||
|
this.rateId,
|
||
|
});
|
||
|
}
|