mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
45 lines
1.1 KiB
Dart
45 lines
1.1 KiB
Dart
|
abstract class Buy {
|
||
|
String get name;
|
||
|
|
||
|
// Future<BuyResponse<List<Currency>>> getAllCurrencies(bool fixedRate);
|
||
|
//
|
||
|
// Future<BuyResponse<List<Pair>>> getPairsFor(
|
||
|
// String currency,
|
||
|
// bool fixedRate,
|
||
|
// );
|
||
|
//
|
||
|
// Future<BuyResponse<List<Pair>>> getAllPairs(bool fixedRate);
|
||
|
//
|
||
|
// Future<BuyResponse<Trade>> getTrade(String tradeId);
|
||
|
// Future<BuyResponse<Trade>> updateTrade(Trade trade);
|
||
|
//
|
||
|
// Future<BuyResponse<List<Trade>>> getTrades();
|
||
|
//
|
||
|
// Future<BuyResponse<Range>> getRange(
|
||
|
// String from,
|
||
|
// String to,
|
||
|
// bool fixedRate,
|
||
|
// );
|
||
|
//
|
||
|
// Future<BuyResponse<Estimate>> getEstimate(
|
||
|
// String from,
|
||
|
// String to,
|
||
|
// Decimal amount,
|
||
|
// bool fixedRate,
|
||
|
// bool reversed,
|
||
|
// );
|
||
|
//
|
||
|
// Future<BuyResponse<Trade>> createTrade({
|
||
|
// required String from,
|
||
|
// required String to,
|
||
|
// required bool fixedRate,
|
||
|
// required Decimal amount,
|
||
|
// required String addressTo,
|
||
|
// String? extraId,
|
||
|
// required String addressRefund,
|
||
|
// required String refundExtraId,
|
||
|
// String? rateId,
|
||
|
// required bool reversed,
|
||
|
// });
|
||
|
}
|