mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
CAKE-43 | added the ability to enter an amount for xmr.to exchange in both currencies xmr and btc; added isReceiveAmountEntered to ExchangeViewModel; added receiveAmount and isBTCRequest to XMRTOTradeRequest; added isReceiveAmount to calculateAmount method of ExchangeProvider; fixed XMRTOExchangeProvider
This commit is contained in:
parent
dcbaf01118
commit
bc85058ad8
8 changed files with 50 additions and 20 deletions
|
@ -7,12 +7,16 @@ class XMRTOTradeRequest extends TradeRequest {
|
|||
{@required this.from,
|
||||
@required this.to,
|
||||
@required this.amount,
|
||||
@required this.receiveAmount,
|
||||
@required this.address,
|
||||
@required this.refundAddress});
|
||||
@required this.refundAddress,
|
||||
@required this.isBTCRequest});
|
||||
|
||||
final CryptoCurrency from;
|
||||
final CryptoCurrency to;
|
||||
final String amount;
|
||||
final String receiveAmount;
|
||||
final String address;
|
||||
final String refundAddress;
|
||||
final bool isBTCRequest;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue