2020-01-04 19:31:52 +00:00
|
|
|
import 'package:flutter/foundation.dart';
|
2021-12-24 12:37:24 +00:00
|
|
|
import 'package:cw_core/crypto_currency.dart';
|
2020-09-21 11:50:26 +00:00
|
|
|
import 'package:cake_wallet/exchange/trade_request.dart';
|
2020-01-04 19:31:52 +00:00
|
|
|
|
|
|
|
class XMRTOTradeRequest extends TradeRequest {
|
|
|
|
XMRTOTradeRequest(
|
|
|
|
{@required this.from,
|
|
|
|
@required this.to,
|
|
|
|
@required this.amount,
|
2020-09-25 19:55:41 +00:00
|
|
|
@required this.receiveAmount,
|
2020-01-04 19:31:52 +00:00
|
|
|
@required this.address,
|
2020-09-25 19:55:41 +00:00
|
|
|
@required this.refundAddress,
|
|
|
|
@required this.isBTCRequest});
|
2020-01-08 12:26:34 +00:00
|
|
|
|
|
|
|
final CryptoCurrency from;
|
|
|
|
final CryptoCurrency to;
|
|
|
|
final String amount;
|
2020-09-25 19:55:41 +00:00
|
|
|
final String receiveAmount;
|
2020-01-08 12:26:34 +00:00
|
|
|
final String address;
|
|
|
|
final String refundAddress;
|
2020-09-25 19:55:41 +00:00
|
|
|
final bool isBTCRequest;
|
2020-01-04 19:31:52 +00:00
|
|
|
}
|