mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
Cw 473 exchange refactoring (#1126)
* CW-473 Remove deprecated Exchanges * CW-473 Clean up Exchange Code * CW-473 Add Decimals to Crypto Enums * CW-473 Fix minor merge error * CW-473 Fix minor merge error * CW-473 Fix FAQ Locals * CW-473 Apply requested changes * CW-473 Show Error if Exchange Provider is not supported anymore * CW-473 Implement Requested Changes
This commit is contained in:
parent
db7f025b71
commit
cef3029f6f
74 changed files with 941 additions and 1783 deletions
|
@ -1 +1,20 @@
|
|||
abstract class TradeRequest {}
|
||||
import 'package:cw_core/crypto_currency.dart';
|
||||
|
||||
class TradeRequest {
|
||||
TradeRequest(
|
||||
{required this.fromCurrency,
|
||||
required this.toCurrency,
|
||||
required this.toAddress,
|
||||
required this.refundAddress,
|
||||
required this.fromAmount,
|
||||
this.toAmount = '',
|
||||
this.isFixedRate = false});
|
||||
|
||||
final CryptoCurrency fromCurrency;
|
||||
final CryptoCurrency toCurrency;
|
||||
final String toAddress;
|
||||
final String refundAddress;
|
||||
final String fromAmount;
|
||||
final String toAmount;
|
||||
final bool isFixedRate;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue