From cf9d64b6374ece6fb779d588fa56cf389c7c65c4 Mon Sep 17 00:00:00 2001 From: Rafael Saes Date: Thu, 26 Dec 2024 19:27:56 -0300 Subject: [PATCH] chore: build --- cw_bitcoin/pubspec.lock | 4 ++-- cw_haven/pubspec.lock | 4 ++-- cw_monero/pubspec.lock | 4 ++-- cw_nano/pubspec.lock | 4 ++-- cw_wownero/pubspec.lock | 4 ++-- tool/configure.dart | 34 ++++++++++++++++++++++++++++++---- 6 files changed, 40 insertions(+), 14 deletions(-) diff --git a/cw_bitcoin/pubspec.lock b/cw_bitcoin/pubspec.lock index 48c4b6a86..66d164f69 100644 --- a/cw_bitcoin/pubspec.lock +++ b/cw_bitcoin/pubspec.lock @@ -918,8 +918,8 @@ packages: dependency: "direct main" description: path: "." - ref: cake-update-v3 - resolved-ref: "2c21e53fd652e0aee1ee5fcd891376c10334237b" + ref: cake-update-v4 + resolved-ref: bae6ecb9cd10b80e6c496dc963c26de2aee9751c url: "https://github.com/cake-tech/sp_scanner.git" source: git version: "0.0.1" diff --git a/cw_haven/pubspec.lock b/cw_haven/pubspec.lock index b6cae9f39..cb5d3e2c3 100644 --- a/cw_haven/pubspec.lock +++ b/cw_haven/pubspec.lock @@ -716,10 +716,10 @@ packages: dependency: transitive description: name: vm_service - sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.4" + version: "14.2.5" watcher: dependency: "direct overridden" description: diff --git a/cw_monero/pubspec.lock b/cw_monero/pubspec.lock index 24be1c0dd..9aa076a56 100644 --- a/cw_monero/pubspec.lock +++ b/cw_monero/pubspec.lock @@ -829,10 +829,10 @@ packages: dependency: transitive description: name: vm_service - sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.4" + version: "14.2.5" watcher: dependency: "direct overridden" description: diff --git a/cw_nano/pubspec.lock b/cw_nano/pubspec.lock index f426d96dc..f4d5c00f8 100644 --- a/cw_nano/pubspec.lock +++ b/cw_nano/pubspec.lock @@ -874,10 +874,10 @@ packages: dependency: transitive description: name: vm_service - sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.4" + version: "14.2.5" watcher: dependency: "direct overridden" description: diff --git a/cw_wownero/pubspec.lock b/cw_wownero/pubspec.lock index 1e16fa089..532bb236b 100644 --- a/cw_wownero/pubspec.lock +++ b/cw_wownero/pubspec.lock @@ -757,10 +757,10 @@ packages: dependency: transitive description: name: vm_service - sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.4" + version: "14.2.5" watcher: dependency: "direct overridden" description: diff --git a/tool/configure.dart b/tool/configure.dart index 112dbb5a7..2cd99c5df 100644 --- a/tool/configure.dart +++ b/tool/configure.dart @@ -242,10 +242,36 @@ abstract class Bitcoin { Future canReplaceByFee(Object wallet, Object tx); int getTransactionVSize(Object wallet, String txHex); Future isChangeSufficientForFee(Object wallet, String txId, String newFee); - int getFeeAmountForPriority(Object wallet, TransactionPriority priority, int inputsCount, int outputsCount, {int? size}); - int getEstimatedFeeWithFeeRate(Object wallet, int feeRate, int? amount, - {int? outputsCount, int? size}); - int feeAmountWithFeeRate(Object wallet, int feeRate, int inputsCount, int outputsCount, {int? size}); + int getFeeAmountForOutputsWithFeeRate( + Object wallet, { + required int feeRate, + required List inputAddresses, + required List outputAddresses, + String? memo, + bool enableRBF = true, + }); + int getFeeAmountForOutputsWithPriority( + Object wallet, { + required TransactionPriority priority, + required List inputAddresses, + required List outputAddresses, + String? memo, + bool enableRBF = true, + }); + int estimatedFeeForOutputsWithPriority( + Object wallet, { + required TransactionPriority priority, + required String outputAddress, + String? memo, + bool enableRBF = true, + }); + int estimatedFeeForOutputWithFeeRate( + Object wallet, { + required int feeRate, + required String outputAddress, + String? memo, + bool enableRBF = true, + }); Future registerSilentPaymentsKey(Object wallet, bool active); Future checkIfMempoolAPIIsEnabled(Object wallet); Future getHeightByDate({required DateTime date, bool? bitcoinMempoolAPIEnabled});