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