mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 09:57:46 +00:00
a035872fc9
* Add Exolix exchange integration * update tx payload * remove import * Improve mapping * Additional fixes * fix apiBaseUrl * Update trade_details_view_model.dart * Update exolix_exchange_provider.dart * Fix status URL * Fix fetch rates API error handling update limits API to use a valid amount and validate on success status code * bugfix added apiToken for fetchRate --------- Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com> Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
20 lines
516 B
Dart
20 lines
516 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:cw_core/crypto_currency.dart';
|
|
import 'package:cake_wallet/exchange/trade_request.dart';
|
|
|
|
class ExolixRequest extends TradeRequest {
|
|
ExolixRequest(
|
|
{required this.from,
|
|
required this.to,
|
|
required this.address,
|
|
required this.fromAmount,
|
|
required this.toAmount,
|
|
required this.refundAddress});
|
|
|
|
CryptoCurrency from;
|
|
CryptoCurrency to;
|
|
String address;
|
|
String fromAmount;
|
|
String toAmount;
|
|
String refundAddress;
|
|
}
|