mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-26 13:29:23 +00:00
1413 lines
41 KiB
Dart
1413 lines
41 KiB
Dart
// Mocks generated by Mockito 5.4.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 _i11;
|
|
|
|
import 'package:decimal/decimal.dart' as _i9;
|
|
import 'package:mockito/mockito.dart' as _i1;
|
|
import 'package:stackwallet/db/isar/main_db.dart' as _i7;
|
|
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 _i13;
|
|
import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i3;
|
|
import 'package:stackwallet/models/signing_data.dart' as _i14;
|
|
import 'package:stackwallet/services/coins/firo/firo_wallet.dart' as _i10;
|
|
import 'package:stackwallet/services/transaction_notification_tracker.dart'
|
|
as _i2;
|
|
import 'package:stackwallet/utilities/amount/amount.dart' as _i8;
|
|
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i12;
|
|
|
|
// 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 _FakeMainDB_5 extends _i1.SmartFake implements _i7.MainDB {
|
|
_FakeMainDB_5(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeAmount_6 extends _i1.SmartFake implements _i8.Amount {
|
|
_FakeAmount_6(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeDuration_7 extends _i1.SmartFake implements Duration {
|
|
_FakeDuration_7(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeDecimal_8 extends _i1.SmartFake implements _i9.Decimal {
|
|
_FakeDecimal_8(
|
|
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 _i10.FiroWallet {
|
|
MockFiroWallet() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
set timer(_i11.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
|
|
_i12.Coin get coin => (super.noSuchMethod(
|
|
Invocation.getter(#coin),
|
|
returnValue: _i12.Coin.bitcoin,
|
|
) as _i12.Coin);
|
|
@override
|
|
_i11.Future<List<String>> get mnemonic => (super.noSuchMethod(
|
|
Invocation.getter(#mnemonic),
|
|
returnValue: _i11.Future<List<String>>.value(<String>[]),
|
|
) as _i11.Future<List<String>>);
|
|
@override
|
|
_i11.Future<String?> get mnemonicString => (super.noSuchMethod(
|
|
Invocation.getter(#mnemonicString),
|
|
returnValue: _i11.Future<String?>.value(),
|
|
) as _i11.Future<String?>);
|
|
@override
|
|
_i11.Future<String?> get mnemonicPassphrase => (super.noSuchMethod(
|
|
Invocation.getter(#mnemonicPassphrase),
|
|
returnValue: _i11.Future<String?>.value(),
|
|
) as _i11.Future<String?>);
|
|
@override
|
|
_i11.Future<int> get maxFee => (super.noSuchMethod(
|
|
Invocation.getter(#maxFee),
|
|
returnValue: _i11.Future<int>.value(0),
|
|
) as _i11.Future<int>);
|
|
@override
|
|
_i11.Future<_i3.FeeObject> get fees => (super.noSuchMethod(
|
|
Invocation.getter(#fees),
|
|
returnValue: _i11.Future<_i3.FeeObject>.value(_FakeFeeObject_1(
|
|
this,
|
|
Invocation.getter(#fees),
|
|
)),
|
|
) as _i11.Future<_i3.FeeObject>);
|
|
@override
|
|
_i11.Future<String> get currentReceivingAddress => (super.noSuchMethod(
|
|
Invocation.getter(#currentReceivingAddress),
|
|
returnValue: _i11.Future<String>.value(''),
|
|
) as _i11.Future<String>);
|
|
@override
|
|
_i11.Future<String> get currentChangeAddress => (super.noSuchMethod(
|
|
Invocation.getter(#currentChangeAddress),
|
|
returnValue: _i11.Future<String>.value(''),
|
|
) as _i11.Future<String>);
|
|
@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
|
|
_i11.Future<int> get chainHeight => (super.noSuchMethod(
|
|
Invocation.getter(#chainHeight),
|
|
returnValue: _i11.Future<int>.value(0),
|
|
) as _i11.Future<int>);
|
|
@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
|
|
_i11.Future<List<_i13.UTXO>> get utxos => (super.noSuchMethod(
|
|
Invocation.getter(#utxos),
|
|
returnValue: _i11.Future<List<_i13.UTXO>>.value(<_i13.UTXO>[]),
|
|
) as _i11.Future<List<_i13.UTXO>>);
|
|
@override
|
|
_i11.Future<List<_i13.Transaction>> get transactions => (super.noSuchMethod(
|
|
Invocation.getter(#transactions),
|
|
returnValue:
|
|
_i11.Future<List<_i13.Transaction>>.value(<_i13.Transaction>[]),
|
|
) as _i11.Future<List<_i13.Transaction>>);
|
|
@override
|
|
_i11.Future<String> get xpub => (super.noSuchMethod(
|
|
Invocation.getter(#xpub),
|
|
returnValue: _i11.Future<String>.value(''),
|
|
) as _i11.Future<String>);
|
|
@override
|
|
set onIsActiveWalletChanged(void Function(bool)? _onIsActiveWalletChanged) =>
|
|
super.noSuchMethod(
|
|
Invocation.setter(
|
|
#onIsActiveWalletChanged,
|
|
_onIsActiveWalletChanged,
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
@override
|
|
_i7.MainDB get db => (super.noSuchMethod(
|
|
Invocation.getter(#db),
|
|
returnValue: _FakeMainDB_5(
|
|
this,
|
|
Invocation.getter(#db),
|
|
),
|
|
) as _i7.MainDB);
|
|
@override
|
|
bool validateAddress(String? address) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#validateAddress,
|
|
[address],
|
|
),
|
|
returnValue: false,
|
|
) as bool);
|
|
@override
|
|
_i11.Future<void> updateSentCachedTxData(Map<String, dynamic>? txData) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateSentCachedTxData,
|
|
[txData],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<bool> testNetworkConnection() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#testNetworkConnection,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<bool>.value(false),
|
|
) as _i11.Future<bool>);
|
|
@override
|
|
void startNetworkAlivePinging() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#startNetworkAlivePinging,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
@override
|
|
void stopNetworkAlivePinging() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#stopNetworkAlivePinging,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> prepareSendPublic({
|
|
required String? address,
|
|
required _i8.Amount? amount,
|
|
Map<String, dynamic>? args,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#prepareSendPublic,
|
|
[],
|
|
{
|
|
#address: address,
|
|
#amount: amount,
|
|
#args: args,
|
|
},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<String> confirmSendPublic({dynamic txData}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#confirmSendPublic,
|
|
[],
|
|
{#txData: txData},
|
|
),
|
|
returnValue: _i11.Future<String>.value(''),
|
|
) as _i11.Future<String>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> prepareSend({
|
|
required String? address,
|
|
required _i8.Amount? amount,
|
|
Map<String, dynamic>? args,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#prepareSend,
|
|
[],
|
|
{
|
|
#address: address,
|
|
#amount: amount,
|
|
#args: args,
|
|
},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<String> confirmSend({required Map<String, dynamic>? txData}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#confirmSend,
|
|
[],
|
|
{#txData: txData},
|
|
),
|
|
returnValue: _i11.Future<String>.value(''),
|
|
) as _i11.Future<String>);
|
|
@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? satsPerVByte,
|
|
int? additionalOutputs = 0,
|
|
List<_i13.UTXO>? utxos,
|
|
}) =>
|
|
super.noSuchMethod(Invocation.method(
|
|
#coinSelection,
|
|
[
|
|
satoshiAmountToSend,
|
|
selectedTxFeeRate,
|
|
_recipientAddress,
|
|
isSendAll,
|
|
],
|
|
{
|
|
#satsPerVByte: satsPerVByte,
|
|
#additionalOutputs: additionalOutputs,
|
|
#utxos: utxos,
|
|
},
|
|
));
|
|
@override
|
|
_i11.Future<List<_i14.SigningData>> fetchBuildTxData(
|
|
List<_i13.UTXO>? utxosToUse) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#fetchBuildTxData,
|
|
[utxosToUse],
|
|
),
|
|
returnValue:
|
|
_i11.Future<List<_i14.SigningData>>.value(<_i14.SigningData>[]),
|
|
) as _i11.Future<List<_i14.SigningData>>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> buildTransaction({
|
|
required List<_i14.SigningData>? utxoSigningData,
|
|
required List<String>? recipients,
|
|
required List<int>? satoshiAmounts,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#buildTransaction,
|
|
[],
|
|
{
|
|
#utxoSigningData: utxoSigningData,
|
|
#recipients: recipients,
|
|
#satoshiAmounts: satoshiAmounts,
|
|
},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<void> updateNode(bool? shouldRefresh) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateNode,
|
|
[shouldRefresh],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<void> initializeNew() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#initializeNew,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<void> initializeExisting() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#initializeExisting,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<bool> refreshIfThereIsNewData() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#refreshIfThereIsNewData,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<bool>.value(false),
|
|
) as _i11.Future<bool>);
|
|
@override
|
|
_i11.Future<void> getAllTxsToWatch() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getAllTxsToWatch,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<void> refresh() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#refresh,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<void> anonymizeAllPublicFunds() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#anonymizeAllPublicFunds,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<List<Map<String, dynamic>>> createMintsFromAmount(int? total) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#createMintsFromAmount,
|
|
[total],
|
|
),
|
|
returnValue: _i11.Future<List<Map<String, dynamic>>>.value(
|
|
<Map<String, dynamic>>[]),
|
|
) as _i11.Future<List<Map<String, dynamic>>>);
|
|
@override
|
|
_i11.Future<String> submitHexToNetwork(String? hex) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#submitHexToNetwork,
|
|
[hex],
|
|
),
|
|
returnValue: _i11.Future<String>.value(''),
|
|
) as _i11.Future<String>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> buildMintTransaction(
|
|
List<_i13.UTXO>? utxosToUse,
|
|
int? satoshisPerRecipient,
|
|
List<Map<String, dynamic>>? mintsMap,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#buildMintTransaction,
|
|
[
|
|
utxosToUse,
|
|
satoshisPerRecipient,
|
|
mintsMap,
|
|
],
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<void> checkReceivingAddressForTransactions() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#checkReceivingAddressForTransactions,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<void> checkChangeAddressForTransactions() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#checkChangeAddressForTransactions,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<void> fullRescan(
|
|
int? maxUnusedAddressGap,
|
|
int? maxNumberOfIndexesToCheck,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#fullRescan,
|
|
[
|
|
maxUnusedAddressGap,
|
|
maxNumberOfIndexesToCheck,
|
|
],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<void> recoverFromMnemonic({
|
|
required String? mnemonic,
|
|
String? mnemonicPassphrase,
|
|
required int? maxUnusedAddressGap,
|
|
required int? maxNumberOfIndexesToCheck,
|
|
required int? height,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#recoverFromMnemonic,
|
|
[],
|
|
{
|
|
#mnemonic: mnemonic,
|
|
#mnemonicPassphrase: mnemonicPassphrase,
|
|
#maxUnusedAddressGap: maxUnusedAddressGap,
|
|
#maxNumberOfIndexesToCheck: maxNumberOfIndexesToCheck,
|
|
#height: height,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<Map<int, dynamic>> getSetDataMap(int? latestSetId) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getSetDataMap,
|
|
[latestSetId],
|
|
),
|
|
returnValue: _i11.Future<Map<int, dynamic>>.value(<int, dynamic>{}),
|
|
) as _i11.Future<Map<int, dynamic>>);
|
|
@override
|
|
_i11.Future<void> getTransactionCacheEarly(List<String>? allAddresses) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getTransactionCacheEarly,
|
|
[allAddresses],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<List<Map<String, dynamic>>> fetchAnonymitySets() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#fetchAnonymitySets,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<List<Map<String, dynamic>>>.value(
|
|
<Map<String, dynamic>>[]),
|
|
) as _i11.Future<List<Map<String, dynamic>>>);
|
|
@override
|
|
_i11.Future<int> getLatestSetId() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getLatestSetId,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<int>.value(0),
|
|
) as _i11.Future<int>);
|
|
@override
|
|
_i11.Future<List<String>> getUsedCoinSerials() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getUsedCoinSerials,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<List<String>>.value(<String>[]),
|
|
) as _i11.Future<List<String>>);
|
|
@override
|
|
_i11.Future<void> exit() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#exit,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i11.Future<int> estimateJoinSplitFee(int? spendAmount) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#estimateJoinSplitFee,
|
|
[spendAmount],
|
|
),
|
|
returnValue: _i11.Future<int>.value(0),
|
|
) as _i11.Future<int>);
|
|
@override
|
|
_i11.Future<_i8.Amount> estimateFeeFor(
|
|
_i8.Amount? amount,
|
|
int? feeRate,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#estimateFeeFor,
|
|
[
|
|
amount,
|
|
feeRate,
|
|
],
|
|
),
|
|
returnValue: _i11.Future<_i8.Amount>.value(_FakeAmount_6(
|
|
this,
|
|
Invocation.method(
|
|
#estimateFeeFor,
|
|
[
|
|
amount,
|
|
feeRate,
|
|
],
|
|
),
|
|
)),
|
|
) as _i11.Future<_i8.Amount>);
|
|
@override
|
|
_i11.Future<_i8.Amount> estimateFeeForPublic(
|
|
_i8.Amount? amount,
|
|
int? feeRate,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#estimateFeeForPublic,
|
|
[
|
|
amount,
|
|
feeRate,
|
|
],
|
|
),
|
|
returnValue: _i11.Future<_i8.Amount>.value(_FakeAmount_6(
|
|
this,
|
|
Invocation.method(
|
|
#estimateFeeForPublic,
|
|
[
|
|
amount,
|
|
feeRate,
|
|
],
|
|
),
|
|
)),
|
|
) as _i11.Future<_i8.Amount>);
|
|
@override
|
|
_i8.Amount roughFeeEstimate(
|
|
int? inputCount,
|
|
int? outputCount,
|
|
int? feeRatePerKB,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#roughFeeEstimate,
|
|
[
|
|
inputCount,
|
|
outputCount,
|
|
feeRatePerKB,
|
|
],
|
|
),
|
|
returnValue: _FakeAmount_6(
|
|
this,
|
|
Invocation.method(
|
|
#roughFeeEstimate,
|
|
[
|
|
inputCount,
|
|
outputCount,
|
|
feeRatePerKB,
|
|
],
|
|
),
|
|
),
|
|
) as _i8.Amount);
|
|
@override
|
|
_i11.Future<_i8.Amount> sweepAllEstimate(int? feeRate) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#sweepAllEstimate,
|
|
[feeRate],
|
|
),
|
|
returnValue: _i11.Future<_i8.Amount>.value(_FakeAmount_6(
|
|
this,
|
|
Invocation.method(
|
|
#sweepAllEstimate,
|
|
[feeRate],
|
|
),
|
|
)),
|
|
) as _i11.Future<_i8.Amount>);
|
|
@override
|
|
_i11.Future<List<Map<String, dynamic>>> fastFetch(
|
|
List<String>? allTxHashes) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#fastFetch,
|
|
[allTxHashes],
|
|
),
|
|
returnValue: _i11.Future<List<Map<String, dynamic>>>.value(
|
|
<Map<String, dynamic>>[]),
|
|
) as _i11.Future<List<Map<String, dynamic>>>);
|
|
@override
|
|
_i11.Future<Map<_i13.Address, _i13.Transaction>> getJMintTransactions(
|
|
_i5.CachedElectrumX? cachedClient,
|
|
List<String>? transactions,
|
|
_i12.Coin? coin,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getJMintTransactions,
|
|
[
|
|
cachedClient,
|
|
transactions,
|
|
coin,
|
|
],
|
|
),
|
|
returnValue: _i11.Future<Map<_i13.Address, _i13.Transaction>>.value(
|
|
<_i13.Address, _i13.Transaction>{}),
|
|
) as _i11.Future<Map<_i13.Address, _i13.Transaction>>);
|
|
@override
|
|
_i11.Future<bool> generateNewAddress() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#generateNewAddress,
|
|
[],
|
|
),
|
|
returnValue: _i11.Future<bool>.value(false),
|
|
) as _i11.Future<bool>);
|
|
@override
|
|
_i8.Amount availablePrivateBalance() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#availablePrivateBalance,
|
|
[],
|
|
),
|
|
returnValue: _FakeAmount_6(
|
|
this,
|
|
Invocation.method(
|
|
#availablePrivateBalance,
|
|
[],
|
|
),
|
|
),
|
|
) as _i8.Amount);
|
|
@override
|
|
_i8.Amount availablePublicBalance() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#availablePublicBalance,
|
|
[],
|
|
),
|
|
returnValue: _FakeAmount_6(
|
|
this,
|
|
Invocation.method(
|
|
#availablePublicBalance,
|
|
[],
|
|
),
|
|
),
|
|
) as _i8.Amount);
|
|
@override
|
|
void initCache(
|
|
String? walletId,
|
|
_i12.Coin? coin,
|
|
) =>
|
|
super.noSuchMethod(
|
|
Invocation.method(
|
|
#initCache,
|
|
[
|
|
walletId,
|
|
coin,
|
|
],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
@override
|
|
_i11.Future<void> updateCachedId(String? id) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateCachedId,
|
|
[id],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
int getCachedChainHeight() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getCachedChainHeight,
|
|
[],
|
|
),
|
|
returnValue: 0,
|
|
) as int);
|
|
@override
|
|
_i11.Future<void> updateCachedChainHeight(int? height) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateCachedChainHeight,
|
|
[height],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
bool getCachedIsFavorite() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getCachedIsFavorite,
|
|
[],
|
|
),
|
|
returnValue: false,
|
|
) as bool);
|
|
@override
|
|
_i11.Future<void> updateCachedIsFavorite(bool? isFavorite) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateCachedIsFavorite,
|
|
[isFavorite],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i6.Balance getCachedBalance() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getCachedBalance,
|
|
[],
|
|
),
|
|
returnValue: _FakeBalance_4(
|
|
this,
|
|
Invocation.method(
|
|
#getCachedBalance,
|
|
[],
|
|
),
|
|
),
|
|
) as _i6.Balance);
|
|
@override
|
|
_i11.Future<void> updateCachedBalance(_i6.Balance? balance) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateCachedBalance,
|
|
[balance],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
_i6.Balance getCachedBalanceSecondary() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getCachedBalanceSecondary,
|
|
[],
|
|
),
|
|
returnValue: _FakeBalance_4(
|
|
this,
|
|
Invocation.method(
|
|
#getCachedBalanceSecondary,
|
|
[],
|
|
),
|
|
),
|
|
) as _i6.Balance);
|
|
@override
|
|
_i11.Future<void> updateCachedBalanceSecondary(_i6.Balance? balance) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateCachedBalanceSecondary,
|
|
[balance],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
List<String> getWalletTokenContractAddresses() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getWalletTokenContractAddresses,
|
|
[],
|
|
),
|
|
returnValue: <String>[],
|
|
) as List<String>);
|
|
@override
|
|
_i11.Future<void> updateWalletTokenContractAddresses(
|
|
List<String>? contractAddresses) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateWalletTokenContractAddresses,
|
|
[contractAddresses],
|
|
),
|
|
returnValue: _i11.Future<void>.value(),
|
|
returnValueForMissingStub: _i11.Future<void>.value(),
|
|
) as _i11.Future<void>);
|
|
@override
|
|
void initWalletDB({_i7.MainDB? mockableOverride}) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#initWalletDB,
|
|
[],
|
|
{#mockableOverride: mockableOverride},
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
}
|
|
|
|
/// 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
|
|
Duration get connectionTimeoutForSpecialCaseJsonRPCClients =>
|
|
(super.noSuchMethod(
|
|
Invocation.getter(#connectionTimeoutForSpecialCaseJsonRPCClients),
|
|
returnValue: _FakeDuration_7(
|
|
this,
|
|
Invocation.getter(#connectionTimeoutForSpecialCaseJsonRPCClients),
|
|
),
|
|
) as Duration);
|
|
@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
|
|
_i11.Future<dynamic> request({
|
|
required String? command,
|
|
List<dynamic>? args = const [],
|
|
String? requestID,
|
|
int? retries = 2,
|
|
Duration? requestTimeout = const Duration(seconds: 60),
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#request,
|
|
[],
|
|
{
|
|
#command: command,
|
|
#args: args,
|
|
#requestID: requestID,
|
|
#retries: retries,
|
|
#requestTimeout: requestTimeout,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<dynamic>.value(),
|
|
) as _i11.Future<dynamic>);
|
|
@override
|
|
_i11.Future<List<Map<String, dynamic>>> batchRequest({
|
|
required String? command,
|
|
required Map<String, List<dynamic>>? args,
|
|
Duration? requestTimeout = const Duration(seconds: 60),
|
|
int? retries = 2,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#batchRequest,
|
|
[],
|
|
{
|
|
#command: command,
|
|
#args: args,
|
|
#requestTimeout: requestTimeout,
|
|
#retries: retries,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<List<Map<String, dynamic>>>.value(
|
|
<Map<String, dynamic>>[]),
|
|
) as _i11.Future<List<Map<String, dynamic>>>);
|
|
@override
|
|
_i11.Future<bool> ping({
|
|
String? requestID,
|
|
int? retryCount = 1,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#ping,
|
|
[],
|
|
{
|
|
#requestID: requestID,
|
|
#retryCount: retryCount,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<bool>.value(false),
|
|
) as _i11.Future<bool>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> getBlockHeadTip({String? requestID}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getBlockHeadTip,
|
|
[],
|
|
{#requestID: requestID},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> getServerFeatures({String? requestID}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getServerFeatures,
|
|
[],
|
|
{#requestID: requestID},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<String> broadcastTransaction({
|
|
required String? rawTx,
|
|
String? requestID,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#broadcastTransaction,
|
|
[],
|
|
{
|
|
#rawTx: rawTx,
|
|
#requestID: requestID,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<String>.value(''),
|
|
) as _i11.Future<String>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> getBalance({
|
|
required String? scripthash,
|
|
String? requestID,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getBalance,
|
|
[],
|
|
{
|
|
#scripthash: scripthash,
|
|
#requestID: requestID,
|
|
},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<List<Map<String, dynamic>>> getHistory({
|
|
required String? scripthash,
|
|
String? requestID,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getHistory,
|
|
[],
|
|
{
|
|
#scripthash: scripthash,
|
|
#requestID: requestID,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<List<Map<String, dynamic>>>.value(
|
|
<Map<String, dynamic>>[]),
|
|
) as _i11.Future<List<Map<String, dynamic>>>);
|
|
@override
|
|
_i11.Future<Map<String, List<Map<String, dynamic>>>> getBatchHistory(
|
|
{required Map<String, List<dynamic>>? args}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getBatchHistory,
|
|
[],
|
|
{#args: args},
|
|
),
|
|
returnValue: _i11.Future<Map<String, List<Map<String, dynamic>>>>.value(
|
|
<String, List<Map<String, dynamic>>>{}),
|
|
) as _i11.Future<Map<String, List<Map<String, dynamic>>>>);
|
|
@override
|
|
_i11.Future<List<Map<String, dynamic>>> getUTXOs({
|
|
required String? scripthash,
|
|
String? requestID,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getUTXOs,
|
|
[],
|
|
{
|
|
#scripthash: scripthash,
|
|
#requestID: requestID,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<List<Map<String, dynamic>>>.value(
|
|
<Map<String, dynamic>>[]),
|
|
) as _i11.Future<List<Map<String, dynamic>>>);
|
|
@override
|
|
_i11.Future<Map<String, List<Map<String, dynamic>>>> getBatchUTXOs(
|
|
{required Map<String, List<dynamic>>? args}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getBatchUTXOs,
|
|
[],
|
|
{#args: args},
|
|
),
|
|
returnValue: _i11.Future<Map<String, List<Map<String, dynamic>>>>.value(
|
|
<String, List<Map<String, dynamic>>>{}),
|
|
) as _i11.Future<Map<String, List<Map<String, dynamic>>>>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> getTransaction({
|
|
required String? txHash,
|
|
bool? verbose = true,
|
|
String? requestID,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getTransaction,
|
|
[],
|
|
{
|
|
#txHash: txHash,
|
|
#verbose: verbose,
|
|
#requestID: requestID,
|
|
},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> getAnonymitySet({
|
|
String? groupId = r'1',
|
|
String? blockhash = r'',
|
|
String? requestID,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getAnonymitySet,
|
|
[],
|
|
{
|
|
#groupId: groupId,
|
|
#blockhash: blockhash,
|
|
#requestID: requestID,
|
|
},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<dynamic> getMintData({
|
|
dynamic mints,
|
|
String? requestID,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getMintData,
|
|
[],
|
|
{
|
|
#mints: mints,
|
|
#requestID: requestID,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<dynamic>.value(),
|
|
) as _i11.Future<dynamic>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> getUsedCoinSerials({
|
|
String? requestID,
|
|
required int? startNumber,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getUsedCoinSerials,
|
|
[],
|
|
{
|
|
#requestID: requestID,
|
|
#startNumber: startNumber,
|
|
},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<int> getLatestCoinId({String? requestID}) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getLatestCoinId,
|
|
[],
|
|
{#requestID: requestID},
|
|
),
|
|
returnValue: _i11.Future<int>.value(0),
|
|
) as _i11.Future<int>);
|
|
@override
|
|
_i11.Future<Map<String, dynamic>> getFeeRate({String? requestID}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getFeeRate,
|
|
[],
|
|
{#requestID: requestID},
|
|
),
|
|
returnValue:
|
|
_i11.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
) as _i11.Future<Map<String, dynamic>>);
|
|
@override
|
|
_i11.Future<_i9.Decimal> estimateFee({
|
|
String? requestID,
|
|
required int? blocks,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#estimateFee,
|
|
[],
|
|
{
|
|
#requestID: requestID,
|
|
#blocks: blocks,
|
|
},
|
|
),
|
|
returnValue: _i11.Future<_i9.Decimal>.value(_FakeDecimal_8(
|
|
this,
|
|
Invocation.method(
|
|
#estimateFee,
|
|
[],
|
|
{
|
|
#requestID: requestID,
|
|
#blocks: blocks,
|
|
},
|
|
),
|
|
)),
|
|
) as _i11.Future<_i9.Decimal>);
|
|
@override
|
|
_i11.Future<_i9.Decimal> relayFee({String? requestID}) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#relayFee,
|
|
[],
|
|
{#requestID: requestID},
|
|
),
|
|
returnValue: _i11.Future<_i9.Decimal>.value(_FakeDecimal_8(
|
|
this,
|
|
Invocation.method(
|
|
#relayFee,
|
|
[],
|
|
{#requestID: requestID},
|
|
),
|
|
)),
|
|
) as _i11.Future<_i9.Decimal>);
|
|
}
|