mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-10-30 08:57:38 +00:00
d9905a7cf3
* add support for SimpleSwap exchange * fix edit receive amount field * fixed merge conflicts * Fix issues from code review
20 lines
483 B
Dart
20 lines
483 B
Dart
import 'package:cake_wallet/exchange/trade_request.dart';
|
|
import 'package:cw_core/crypto_currency.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class SimpleSwapRequest extends TradeRequest {
|
|
SimpleSwapRequest({
|
|
@required this.from,
|
|
@required this.to,
|
|
@required this.address,
|
|
@required this.amount,
|
|
@required this.refundAddress,
|
|
});
|
|
|
|
CryptoCurrency from;
|
|
CryptoCurrency to;
|
|
String address;
|
|
String amount;
|
|
String toAmount;
|
|
String refundAddress;
|
|
}
|