// Mocks generated by Mockito 5.3.2 from annotations // in stackwallet/test/services/coins/manager_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i10; import 'package:decimal/decimal.dart' as _i8; import 'package:isar/isar.dart' as _i7; import 'package:mockito/mockito.dart' as _i1; import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i5; import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i4; import 'package:stackwallet/models/balance.dart' as _i6; import 'package:stackwallet/models/isar/models/isar_models.dart' as _i12; import 'package:stackwallet/models/lelantus_coin.dart' as _i13; import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i3; import 'package:stackwallet/services/coins/firo/firo_wallet.dart' as _i9; import 'package:stackwallet/services/transaction_notification_tracker.dart' as _i2; import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i11; // ignore_for_file: type=lint // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class class _FakeTransactionNotificationTracker_0 extends _i1.SmartFake implements _i2.TransactionNotificationTracker { _FakeTransactionNotificationTracker_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeFeeObject_1 extends _i1.SmartFake implements _i3.FeeObject { _FakeFeeObject_1( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeElectrumX_2 extends _i1.SmartFake implements _i4.ElectrumX { _FakeElectrumX_2( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeCachedElectrumX_3 extends _i1.SmartFake implements _i5.CachedElectrumX { _FakeCachedElectrumX_3( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeBalance_4 extends _i1.SmartFake implements _i6.Balance { _FakeBalance_4( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeIsar_5 extends _i1.SmartFake implements _i7.Isar { _FakeIsar_5( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } class _FakeDecimal_6 extends _i1.SmartFake implements _i8.Decimal { _FakeDecimal_6( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [FiroWallet]. /// /// See the documentation for Mockito's code generation for more information. class MockFiroWallet extends _i1.Mock implements _i9.FiroWallet { MockFiroWallet() { _i1.throwOnMissingStub(this); } @override set timer(_i10.Timer? _timer) => super.noSuchMethod( Invocation.setter( #timer, _timer, ), returnValueForMissingStub: null, ); @override _i2.TransactionNotificationTracker get txTracker => (super.noSuchMethod( Invocation.getter(#txTracker), returnValue: _FakeTransactionNotificationTracker_0( this, Invocation.getter(#txTracker), ), ) as _i2.TransactionNotificationTracker); @override set txTracker(_i2.TransactionNotificationTracker? _txTracker) => super.noSuchMethod( Invocation.setter( #txTracker, _txTracker, ), returnValueForMissingStub: null, ); @override bool get refreshMutex => (super.noSuchMethod( Invocation.getter(#refreshMutex), returnValue: false, ) as bool); @override set refreshMutex(bool? _refreshMutex) => super.noSuchMethod( Invocation.setter( #refreshMutex, _refreshMutex, ), returnValueForMissingStub: null, ); @override bool get longMutex => (super.noSuchMethod( Invocation.getter(#longMutex), returnValue: false, ) as bool); @override set longMutex(bool? _longMutex) => super.noSuchMethod( Invocation.setter( #longMutex, _longMutex, ), returnValueForMissingStub: null, ); @override bool get isActive => (super.noSuchMethod( Invocation.getter(#isActive), returnValue: false, ) as bool); @override set isActive(bool? _isActive) => super.noSuchMethod( Invocation.setter( #isActive, _isActive, ), returnValueForMissingStub: null, ); @override bool get shouldAutoSync => (super.noSuchMethod( Invocation.getter(#shouldAutoSync), returnValue: false, ) as bool); @override set shouldAutoSync(bool? shouldAutoSync) => super.noSuchMethod( Invocation.setter( #shouldAutoSync, shouldAutoSync, ), returnValueForMissingStub: null, ); @override set isFavorite(bool? markFavorite) => super.noSuchMethod( Invocation.setter( #isFavorite, markFavorite, ), returnValueForMissingStub: null, ); @override bool get isFavorite => (super.noSuchMethod( Invocation.getter(#isFavorite), returnValue: false, ) as bool); @override _i11.Coin get coin => (super.noSuchMethod( Invocation.getter(#coin), returnValue: _i11.Coin.bitcoin, ) as _i11.Coin); @override _i10.Future> get mnemonic => (super.noSuchMethod( Invocation.getter(#mnemonic), returnValue: _i10.Future>.value([]), ) as _i10.Future>); @override _i10.Future> get lelantusTransactionData => (super.noSuchMethod( Invocation.getter(#lelantusTransactionData), returnValue: _i10.Future>.value(<_i12.Transaction>[]), ) as _i10.Future>); @override _i10.Future get maxFee => (super.noSuchMethod( Invocation.getter(#maxFee), returnValue: _i10.Future.value(0), ) as _i10.Future); @override _i10.Future<_i3.FeeObject> get fees => (super.noSuchMethod( Invocation.getter(#fees), returnValue: _i10.Future<_i3.FeeObject>.value(_FakeFeeObject_1( this, Invocation.getter(#fees), )), ) as _i10.Future<_i3.FeeObject>); @override _i10.Future get currentReceivingAddress => (super.noSuchMethod( Invocation.getter(#currentReceivingAddress), returnValue: _i10.Future.value(''), ) as _i10.Future); @override _i10.Future get currentChangeAddress => (super.noSuchMethod( Invocation.getter(#currentChangeAddress), returnValue: _i10.Future.value(''), ) as _i10.Future); @override String get walletName => (super.noSuchMethod( Invocation.getter(#walletName), returnValue: '', ) as String); @override set walletName(String? newName) => super.noSuchMethod( Invocation.setter( #walletName, newName, ), returnValueForMissingStub: null, ); @override String get walletId => (super.noSuchMethod( Invocation.getter(#walletId), returnValue: '', ) as String); @override bool get isConnected => (super.noSuchMethod( Invocation.getter(#isConnected), returnValue: false, ) as bool); @override _i4.ElectrumX get electrumXClient => (super.noSuchMethod( Invocation.getter(#electrumXClient), returnValue: _FakeElectrumX_2( this, Invocation.getter(#electrumXClient), ), ) as _i4.ElectrumX); @override _i5.CachedElectrumX get cachedElectrumXClient => (super.noSuchMethod( Invocation.getter(#cachedElectrumXClient), returnValue: _FakeCachedElectrumX_3( this, Invocation.getter(#cachedElectrumXClient), ), ) as _i5.CachedElectrumX); @override bool get isRefreshing => (super.noSuchMethod( Invocation.getter(#isRefreshing), returnValue: false, ) as bool); @override bool get hasCalledExit => (super.noSuchMethod( Invocation.getter(#hasCalledExit), returnValue: false, ) as bool); @override _i10.Future get chainHeight => (super.noSuchMethod( Invocation.getter(#chainHeight), returnValue: _i10.Future.value(0), ) as _i10.Future); @override int get storedChainHeight => (super.noSuchMethod( Invocation.getter(#storedChainHeight), returnValue: 0, ) as int); @override _i6.Balance get balance => (super.noSuchMethod( Invocation.getter(#balance), returnValue: _FakeBalance_4( this, Invocation.getter(#balance), ), ) as _i6.Balance); @override _i6.Balance get balancePrivate => (super.noSuchMethod( Invocation.getter(#balancePrivate), returnValue: _FakeBalance_4( this, Invocation.getter(#balancePrivate), ), ) as _i6.Balance); @override _i10.Future> get utxos => (super.noSuchMethod( Invocation.getter(#utxos), returnValue: _i10.Future>.value(<_i12.UTXO>[]), ) as _i10.Future>); @override _i10.Future> get transactions => (super.noSuchMethod( Invocation.getter(#transactions), returnValue: _i10.Future>.value(<_i12.Transaction>[]), ) as _i10.Future>); @override _i7.Isar get isarInstance => (super.noSuchMethod( Invocation.getter(#isarInstance), returnValue: _FakeIsar_5( this, Invocation.getter(#isarInstance), ), ) as _i7.Isar); @override set onIsActiveWalletChanged(void Function(bool)? _onIsActiveWalletChanged) => super.noSuchMethod( Invocation.setter( #onIsActiveWalletChanged, _onIsActiveWalletChanged, ), returnValueForMissingStub: null, ); @override _i7.Isar get isar => (super.noSuchMethod( Invocation.getter(#isar), returnValue: _FakeIsar_5( this, Invocation.getter(#isar), ), ) as _i7.Isar); @override bool validateAddress(String? address) => (super.noSuchMethod( Invocation.method( #validateAddress, [address], ), returnValue: false, ) as bool); @override _i10.Future updateSentCachedTxData(Map? txData) => (super.noSuchMethod( Invocation.method( #updateSentCachedTxData, [txData], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future testNetworkConnection() => (super.noSuchMethod( Invocation.method( #testNetworkConnection, [], ), returnValue: _i10.Future.value(false), ) as _i10.Future); @override void startNetworkAlivePinging() => super.noSuchMethod( Invocation.method( #startNetworkAlivePinging, [], ), returnValueForMissingStub: null, ); @override void stopNetworkAlivePinging() => super.noSuchMethod( Invocation.method( #stopNetworkAlivePinging, [], ), returnValueForMissingStub: null, ); @override _i10.Future> prepareSendPublic({ required String? address, required int? satoshiAmount, Map? args, }) => (super.noSuchMethod( Invocation.method( #prepareSendPublic, [], { #address: address, #satoshiAmount: satoshiAmount, #args: args, }, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future confirmSendPublic({dynamic txData}) => (super.noSuchMethod( Invocation.method( #confirmSendPublic, [], {#txData: txData}, ), returnValue: _i10.Future.value(''), ) as _i10.Future); @override _i10.Future> prepareSend({ required String? address, required int? satoshiAmount, Map? args, }) => (super.noSuchMethod( Invocation.method( #prepareSend, [], { #address: address, #satoshiAmount: satoshiAmount, #args: args, }, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future confirmSend({required Map? txData}) => (super.noSuchMethod( Invocation.method( #confirmSend, [], {#txData: txData}, ), returnValue: _i10.Future.value(''), ) as _i10.Future); @override int estimateTxFee({ required int? vSize, required int? feeRatePerKB, }) => (super.noSuchMethod( Invocation.method( #estimateTxFee, [], { #vSize: vSize, #feeRatePerKB: feeRatePerKB, }, ), returnValue: 0, ) as int); @override dynamic coinSelection( int? satoshiAmountToSend, int? selectedTxFeeRate, String? _recipientAddress, bool? isSendAll, { int? additionalOutputs = 0, List<_i12.UTXO>? utxos, }) => super.noSuchMethod(Invocation.method( #coinSelection, [ satoshiAmountToSend, selectedTxFeeRate, _recipientAddress, isSendAll, ], { #additionalOutputs: additionalOutputs, #utxos: utxos, }, )); @override _i10.Future> fetchBuildTxData( List<_i12.UTXO>? utxosToUse) => (super.noSuchMethod( Invocation.method( #fetchBuildTxData, [utxosToUse], ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future> buildTransaction({ required List<_i12.UTXO>? utxosToUse, required Map? utxoSigningData, required List? recipients, required List? satoshiAmounts, }) => (super.noSuchMethod( Invocation.method( #buildTransaction, [], { #utxosToUse: utxosToUse, #utxoSigningData: utxoSigningData, #recipients: recipients, #satoshiAmounts: satoshiAmounts, }, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future updateNode(bool? shouldRefresh) => (super.noSuchMethod( Invocation.method( #updateNode, [shouldRefresh], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future initializeNew() => (super.noSuchMethod( Invocation.method( #initializeNew, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future initializeExisting() => (super.noSuchMethod( Invocation.method( #initializeExisting, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future refreshIfThereIsNewData() => (super.noSuchMethod( Invocation.method( #refreshIfThereIsNewData, [], ), returnValue: _i10.Future.value(false), ) as _i10.Future); @override _i10.Future getAllTxsToWatch() => (super.noSuchMethod( Invocation.method( #getAllTxsToWatch, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future refresh() => (super.noSuchMethod( Invocation.method( #refresh, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override List> getLelantusCoinMap() => (super.noSuchMethod( Invocation.method( #getLelantusCoinMap, [], ), returnValue: >[], ) as List>); @override _i10.Future anonymizeAllPublicFunds() => (super.noSuchMethod( Invocation.method( #anonymizeAllPublicFunds, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future>> createMintsFromAmount(int? total) => (super.noSuchMethod( Invocation.method( #createMintsFromAmount, [total], ), returnValue: _i10.Future>>.value( >[]), ) as _i10.Future>>); @override _i10.Future submitHexToNetwork(String? hex) => (super.noSuchMethod( Invocation.method( #submitHexToNetwork, [hex], ), returnValue: _i10.Future.value(''), ) as _i10.Future); @override _i10.Future> buildMintTransaction( List<_i12.UTXO>? utxosToUse, int? satoshisPerRecipient, List>? mintsMap, ) => (super.noSuchMethod( Invocation.method( #buildMintTransaction, [ utxosToUse, satoshisPerRecipient, mintsMap, ], ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future checkReceivingAddressForTransactions() => (super.noSuchMethod( Invocation.method( #checkReceivingAddressForTransactions, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future checkChangeAddressForTransactions() => (super.noSuchMethod( Invocation.method( #checkChangeAddressForTransactions, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future fillAddresses( String? suppliedMnemonic, { int? perBatch = 50, int? numberOfThreads = 4, }) => (super.noSuchMethod( Invocation.method( #fillAddresses, [suppliedMnemonic], { #perBatch: perBatch, #numberOfThreads: numberOfThreads, }, ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future fullRescan( int? maxUnusedAddressGap, int? maxNumberOfIndexesToCheck, ) => (super.noSuchMethod( Invocation.method( #fullRescan, [ maxUnusedAddressGap, maxNumberOfIndexesToCheck, ], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future recoverFromMnemonic({ required String? mnemonic, required int? maxUnusedAddressGap, required int? maxNumberOfIndexesToCheck, required int? height, }) => (super.noSuchMethod( Invocation.method( #recoverFromMnemonic, [], { #mnemonic: mnemonic, #maxUnusedAddressGap: maxUnusedAddressGap, #maxNumberOfIndexesToCheck: maxNumberOfIndexesToCheck, #height: height, }, ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future> getSetDataMap(int? latestSetId) => (super.noSuchMethod( Invocation.method( #getSetDataMap, [latestSetId], ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future>> fetchAnonymitySets() => (super.noSuchMethod( Invocation.method( #fetchAnonymitySets, [], ), returnValue: _i10.Future>>.value( >[]), ) as _i10.Future>>); @override _i10.Future getLatestSetId() => (super.noSuchMethod( Invocation.method( #getLatestSetId, [], ), returnValue: _i10.Future.value(0), ) as _i10.Future); @override _i10.Future> getUsedCoinSerials() => (super.noSuchMethod( Invocation.method( #getUsedCoinSerials, [], ), returnValue: _i10.Future>.value([]), ) as _i10.Future>); @override _i10.Future exit() => (super.noSuchMethod( Invocation.method( #exit, [], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future getCoinsToJoinSplit(int? required) => (super.noSuchMethod( Invocation.method( #getCoinsToJoinSplit, [required], ), returnValue: _i10.Future.value(), ) as _i10.Future); @override _i10.Future estimateJoinSplitFee(int? spendAmount) => (super.noSuchMethod( Invocation.method( #estimateJoinSplitFee, [spendAmount], ), returnValue: _i10.Future.value(0), ) as _i10.Future); @override _i10.Future estimateFeeFor( int? satoshiAmount, int? feeRate, ) => (super.noSuchMethod( Invocation.method( #estimateFeeFor, [ satoshiAmount, feeRate, ], ), returnValue: _i10.Future.value(0), ) as _i10.Future); @override _i10.Future estimateFeeForPublic( int? satoshiAmount, int? feeRate, ) => (super.noSuchMethod( Invocation.method( #estimateFeeForPublic, [ satoshiAmount, feeRate, ], ), returnValue: _i10.Future.value(0), ) as _i10.Future); @override int roughFeeEstimate( int? inputCount, int? outputCount, int? feeRatePerKB, ) => (super.noSuchMethod( Invocation.method( #roughFeeEstimate, [ inputCount, outputCount, feeRatePerKB, ], ), returnValue: 0, ) as int); @override _i10.Future sweepAllEstimate(int? feeRate) => (super.noSuchMethod( Invocation.method( #sweepAllEstimate, [feeRate], ), returnValue: _i10.Future.value(0), ) as _i10.Future); @override _i10.Future>> fastFetch( List? allTxHashes) => (super.noSuchMethod( Invocation.method( #fastFetch, [allTxHashes], ), returnValue: _i10.Future>>.value( >[]), ) as _i10.Future>>); @override _i10.Future> getJMintTransactions( _i5.CachedElectrumX? cachedClient, List? transactions, _i11.Coin? coin, ) => (super.noSuchMethod( Invocation.method( #getJMintTransactions, [ cachedClient, transactions, coin, ], ), returnValue: _i10.Future>.value(<_i12.Transaction>[]), ) as _i10.Future>); @override _i10.Future generateNewAddress() => (super.noSuchMethod( Invocation.method( #generateNewAddress, [], ), returnValue: _i10.Future.value(false), ) as _i10.Future); @override _i8.Decimal availablePrivateBalance() => (super.noSuchMethod( Invocation.method( #availablePrivateBalance, [], ), returnValue: _FakeDecimal_6( this, Invocation.method( #availablePrivateBalance, [], ), ), ) as _i8.Decimal); @override _i8.Decimal availablePublicBalance() => (super.noSuchMethod( Invocation.method( #availablePublicBalance, [], ), returnValue: _FakeDecimal_6( this, Invocation.method( #availablePublicBalance, [], ), ), ) as _i8.Decimal); @override void initCache( String? walletId, _i11.Coin? coin, ) => super.noSuchMethod( Invocation.method( #initCache, [ walletId, coin, ], ), returnValueForMissingStub: null, ); @override _i10.Future updateCachedId(String? id) => (super.noSuchMethod( Invocation.method( #updateCachedId, [id], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override int getCachedChainHeight() => (super.noSuchMethod( Invocation.method( #getCachedChainHeight, [], ), returnValue: 0, ) as int); @override _i10.Future updateCachedChainHeight(int? height) => (super.noSuchMethod( Invocation.method( #updateCachedChainHeight, [height], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override bool getCachedIsFavorite() => (super.noSuchMethod( Invocation.method( #getCachedIsFavorite, [], ), returnValue: false, ) as bool); @override _i10.Future updateCachedIsFavorite(bool? isFavorite) => (super.noSuchMethod( Invocation.method( #updateCachedIsFavorite, [isFavorite], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i6.Balance getCachedBalance() => (super.noSuchMethod( Invocation.method( #getCachedBalance, [], ), returnValue: _FakeBalance_4( this, Invocation.method( #getCachedBalance, [], ), ), ) as _i6.Balance); @override _i10.Future updateCachedBalance(_i6.Balance? balance) => (super.noSuchMethod( Invocation.method( #updateCachedBalance, [balance], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i6.Balance getCachedBalanceSecondary() => (super.noSuchMethod( Invocation.method( #getCachedBalanceSecondary, [], ), returnValue: _FakeBalance_4( this, Invocation.method( #getCachedBalanceSecondary, [], ), ), ) as _i6.Balance); @override _i10.Future updateCachedBalanceSecondary(_i6.Balance? balance) => (super.noSuchMethod( Invocation.method( #updateCachedBalanceSecondary, [balance], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future isarInit(String? walletId) => (super.noSuchMethod( Invocation.method( #isarInit, [walletId], ), returnValue: _i10.Future.value(false), ) as _i10.Future); @override _i10.Future isarClose() => (super.noSuchMethod( Invocation.method( #isarClose, [], ), returnValue: _i10.Future.value(false), ) as _i10.Future); @override void initFiroHive(String? walletId) => super.noSuchMethod( Invocation.method( #initFiroHive, [walletId], ), returnValueForMissingStub: null, ); @override _i10.Future firoUpdateJIndex(List? jIndex) => (super.noSuchMethod( Invocation.method( #firoUpdateJIndex, [jIndex], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future firoUpdateLelantusCoins(List? lelantusCoins) => (super.noSuchMethod( Invocation.method( #firoUpdateLelantusCoins, [lelantusCoins], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); @override _i10.Future firoUpdateMintIndex(int? mintIndex) => (super.noSuchMethod( Invocation.method( #firoUpdateMintIndex, [mintIndex], ), returnValue: _i10.Future.value(), returnValueForMissingStub: _i10.Future.value(), ) as _i10.Future); } /// A class which mocks [ElectrumX]. /// /// See the documentation for Mockito's code generation for more information. class MockElectrumX extends _i1.Mock implements _i4.ElectrumX { MockElectrumX() { _i1.throwOnMissingStub(this); } @override set failovers(List<_i4.ElectrumXNode>? _failovers) => super.noSuchMethod( Invocation.setter( #failovers, _failovers, ), returnValueForMissingStub: null, ); @override int get currentFailoverIndex => (super.noSuchMethod( Invocation.getter(#currentFailoverIndex), returnValue: 0, ) as int); @override set currentFailoverIndex(int? _currentFailoverIndex) => super.noSuchMethod( Invocation.setter( #currentFailoverIndex, _currentFailoverIndex, ), returnValueForMissingStub: null, ); @override String get host => (super.noSuchMethod( Invocation.getter(#host), returnValue: '', ) as String); @override int get port => (super.noSuchMethod( Invocation.getter(#port), returnValue: 0, ) as int); @override bool get useSSL => (super.noSuchMethod( Invocation.getter(#useSSL), returnValue: false, ) as bool); @override _i10.Future request({ required String? command, List? args = const [], Duration? connectionTimeout = const Duration(seconds: 60), String? requestID, int? retries = 2, }) => (super.noSuchMethod( Invocation.method( #request, [], { #command: command, #args: args, #connectionTimeout: connectionTimeout, #requestID: requestID, #retries: retries, }, ), returnValue: _i10.Future.value(), ) as _i10.Future); @override _i10.Future>> batchRequest({ required String? command, required Map>? args, Duration? connectionTimeout = const Duration(seconds: 60), int? retries = 2, }) => (super.noSuchMethod( Invocation.method( #batchRequest, [], { #command: command, #args: args, #connectionTimeout: connectionTimeout, #retries: retries, }, ), returnValue: _i10.Future>>.value( >[]), ) as _i10.Future>>); @override _i10.Future ping({ String? requestID, int? retryCount = 1, }) => (super.noSuchMethod( Invocation.method( #ping, [], { #requestID: requestID, #retryCount: retryCount, }, ), returnValue: _i10.Future.value(false), ) as _i10.Future); @override _i10.Future> getBlockHeadTip({String? requestID}) => (super.noSuchMethod( Invocation.method( #getBlockHeadTip, [], {#requestID: requestID}, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future> getServerFeatures({String? requestID}) => (super.noSuchMethod( Invocation.method( #getServerFeatures, [], {#requestID: requestID}, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future broadcastTransaction({ required String? rawTx, String? requestID, }) => (super.noSuchMethod( Invocation.method( #broadcastTransaction, [], { #rawTx: rawTx, #requestID: requestID, }, ), returnValue: _i10.Future.value(''), ) as _i10.Future); @override _i10.Future> getBalance({ required String? scripthash, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getBalance, [], { #scripthash: scripthash, #requestID: requestID, }, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future>> getHistory({ required String? scripthash, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getHistory, [], { #scripthash: scripthash, #requestID: requestID, }, ), returnValue: _i10.Future>>.value( >[]), ) as _i10.Future>>); @override _i10.Future>>> getBatchHistory( {required Map>? args}) => (super.noSuchMethod( Invocation.method( #getBatchHistory, [], {#args: args}, ), returnValue: _i10.Future>>>.value( >>{}), ) as _i10.Future>>>); @override _i10.Future>> getUTXOs({ required String? scripthash, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getUTXOs, [], { #scripthash: scripthash, #requestID: requestID, }, ), returnValue: _i10.Future>>.value( >[]), ) as _i10.Future>>); @override _i10.Future>>> getBatchUTXOs( {required Map>? args}) => (super.noSuchMethod( Invocation.method( #getBatchUTXOs, [], {#args: args}, ), returnValue: _i10.Future>>>.value( >>{}), ) as _i10.Future>>>); @override _i10.Future> getTransaction({ required String? txHash, bool? verbose = true, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getTransaction, [], { #txHash: txHash, #verbose: verbose, #requestID: requestID, }, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future> getAnonymitySet({ String? groupId = r'1', String? blockhash = r'', String? requestID, }) => (super.noSuchMethod( Invocation.method( #getAnonymitySet, [], { #groupId: groupId, #blockhash: blockhash, #requestID: requestID, }, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future getMintData({ dynamic mints, String? requestID, }) => (super.noSuchMethod( Invocation.method( #getMintData, [], { #mints: mints, #requestID: requestID, }, ), returnValue: _i10.Future.value(), ) as _i10.Future); @override _i10.Future> getUsedCoinSerials({ String? requestID, required int? startNumber, }) => (super.noSuchMethod( Invocation.method( #getUsedCoinSerials, [], { #requestID: requestID, #startNumber: startNumber, }, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future getLatestCoinId({String? requestID}) => (super.noSuchMethod( Invocation.method( #getLatestCoinId, [], {#requestID: requestID}, ), returnValue: _i10.Future.value(0), ) as _i10.Future); @override _i10.Future> getFeeRate({String? requestID}) => (super.noSuchMethod( Invocation.method( #getFeeRate, [], {#requestID: requestID}, ), returnValue: _i10.Future>.value({}), ) as _i10.Future>); @override _i10.Future<_i8.Decimal> estimateFee({ String? requestID, required int? blocks, }) => (super.noSuchMethod( Invocation.method( #estimateFee, [], { #requestID: requestID, #blocks: blocks, }, ), returnValue: _i10.Future<_i8.Decimal>.value(_FakeDecimal_6( this, Invocation.method( #estimateFee, [], { #requestID: requestID, #blocks: blocks, }, ), )), ) as _i10.Future<_i8.Decimal>); @override _i10.Future<_i8.Decimal> relayFee({String? requestID}) => (super.noSuchMethod( Invocation.method( #relayFee, [], {#requestID: requestID}, ), returnValue: _i10.Future<_i8.Decimal>.value(_FakeDecimal_6( this, Invocation.method( #relayFee, [], {#requestID: requestID}, ), )), ) as _i10.Future<_i8.Decimal>); }