cake_wallet/lib/exchange/exolix/exolix_request.dart
Procyon Lotor 9eb6867ab9
Exolix integration (#1080)
* 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

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-09-28 19:20:08 +03:00

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;
}