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 ChangeNowRequest extends TradeRequest {
|
|
|
|
ChangeNowRequest(
|
2022-10-12 13:09:57 -04:00
|
|
|
{required this.from,
|
|
|
|
required this.to,
|
|
|
|
required this.address,
|
|
|
|
required this.fromAmount,
|
|
|
|
required this.toAmount,
|
|
|
|
required this.refundAddress,
|
|
|
|
required this.isReverse});
|
2020-01-08 14:26:34 +02:00
|
|
|
|
|
|
|
CryptoCurrency from;
|
|
|
|
CryptoCurrency to;
|
|
|
|
String address;
|
2022-01-26 17:44:15 +02:00
|
|
|
String fromAmount;
|
|
|
|
String toAmount;
|
2020-01-08 14:26:34 +02:00
|
|
|
String refundAddress;
|
2022-01-26 17:44:15 +02:00
|
|
|
bool isReverse;
|
2020-01-04 21:31:52 +02:00
|
|
|
}
|