mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
updated mocks
This commit is contained in:
parent
f9aac8ea36
commit
e5e17f92b7
6 changed files with 132 additions and 342 deletions
|
@ -1342,48 +1342,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
|
|||
)),
|
||||
) as _i23.Future<_i10.ElectrumXNode>);
|
||||
@override
|
||||
_i23.Future<void> addDerivation({
|
||||
required int? chain,
|
||||
required String? address,
|
||||
required String? pubKey,
|
||||
required String? wif,
|
||||
required _i28.DerivePathType? derivePathType,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivation,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#address: address,
|
||||
#pubKey: pubKey,
|
||||
#wif: wif,
|
||||
#derivePathType: derivePathType,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<void> addDerivations({
|
||||
required int? chain,
|
||||
required _i28.DerivePathType? derivePathType,
|
||||
required Map<String, dynamic>? derivationsToAdd,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivations,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#derivePathType: derivePathType,
|
||||
#derivationsToAdd: derivationsToAdd,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<List<Map<String, dynamic>>> fastFetch(
|
||||
List<String>? allTxHashes) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -1787,14 +1745,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
|
|||
fetchBuildTxData,
|
||||
required _i23.Future<void> Function()? refresh,
|
||||
required _i23.Future<void> Function()? checkChangeAddressForTransactions,
|
||||
required _i23.Future<void> Function({
|
||||
required String address,
|
||||
required int chain,
|
||||
required _i28.DerivePathType derivePathType,
|
||||
required String pubKey,
|
||||
required String wif,
|
||||
})?
|
||||
addDerivation,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -1821,7 +1771,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
|
|||
#refresh: refresh,
|
||||
#checkChangeAddressForTransactions:
|
||||
checkChangeAddressForTransactions,
|
||||
#addDerivation: addDerivation,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
|
@ -1920,17 +1869,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
|
|||
) as _i23.Future<_i18.BIP32>);
|
||||
@override
|
||||
_i23.Future<_i19.PaymentCode> getPaymentCode(
|
||||
_i28.DerivePathType? derivePathType) =>
|
||||
_i28.DerivePathType? derivePathType, [
|
||||
_i18.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i19.PaymentCode>.value(_FakePaymentCode_17(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i19.PaymentCode>);
|
||||
|
@ -2197,17 +2154,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
|
|||
) as _i23.Future<_i17.Address>);
|
||||
@override
|
||||
_i23.Future<_i17.Address> getMyNotificationAddress(
|
||||
_i28.DerivePathType? derivePathType) =>
|
||||
_i28.DerivePathType? derivePathType, [
|
||||
_i18.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i17.Address>.value(_FakeAddress_15(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i17.Address>);
|
||||
|
|
|
@ -1133,48 +1133,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
)),
|
||||
) as _i23.Future<_i9.ElectrumXNode>);
|
||||
@override
|
||||
_i23.Future<void> addDerivation({
|
||||
required int? chain,
|
||||
required String? address,
|
||||
required String? pubKey,
|
||||
required String? wif,
|
||||
required _i27.DerivePathType? derivePathType,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivation,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#address: address,
|
||||
#pubKey: pubKey,
|
||||
#wif: wif,
|
||||
#derivePathType: derivePathType,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<void> addDerivations({
|
||||
required int? chain,
|
||||
required _i27.DerivePathType? derivePathType,
|
||||
required Map<String, dynamic>? derivationsToAdd,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivations,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#derivePathType: derivePathType,
|
||||
#derivationsToAdd: derivationsToAdd,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<List<Map<String, dynamic>>> fastFetch(
|
||||
List<String>? allTxHashes) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -1578,14 +1536,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
fetchBuildTxData,
|
||||
required _i23.Future<void> Function()? refresh,
|
||||
required _i23.Future<void> Function()? checkChangeAddressForTransactions,
|
||||
required _i23.Future<void> Function({
|
||||
required String address,
|
||||
required int chain,
|
||||
required _i27.DerivePathType derivePathType,
|
||||
required String pubKey,
|
||||
required String wif,
|
||||
})?
|
||||
addDerivation,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -1612,7 +1562,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
#refresh: refresh,
|
||||
#checkChangeAddressForTransactions:
|
||||
checkChangeAddressForTransactions,
|
||||
#addDerivation: addDerivation,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
|
@ -1711,17 +1660,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
) as _i23.Future<_i17.BIP32>);
|
||||
@override
|
||||
_i23.Future<_i18.PaymentCode> getPaymentCode(
|
||||
_i27.DerivePathType? derivePathType) =>
|
||||
_i27.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i18.PaymentCode>);
|
||||
|
@ -1988,17 +1945,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
) as _i23.Future<_i16.Address>);
|
||||
@override
|
||||
_i23.Future<_i16.Address> getMyNotificationAddress(
|
||||
_i27.DerivePathType? derivePathType) =>
|
||||
_i27.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i16.Address>);
|
||||
|
|
|
@ -1120,48 +1120,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
|
|||
)),
|
||||
) as _i22.Future<_i9.ElectrumXNode>);
|
||||
@override
|
||||
_i22.Future<void> addDerivation({
|
||||
required int? chain,
|
||||
required String? address,
|
||||
required String? pubKey,
|
||||
required String? wif,
|
||||
required _i26.DerivePathType? derivePathType,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivation,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#address: address,
|
||||
#pubKey: pubKey,
|
||||
#wif: wif,
|
||||
#derivePathType: derivePathType,
|
||||
},
|
||||
),
|
||||
returnValue: _i22.Future<void>.value(),
|
||||
returnValueForMissingStub: _i22.Future<void>.value(),
|
||||
) as _i22.Future<void>);
|
||||
@override
|
||||
_i22.Future<void> addDerivations({
|
||||
required int? chain,
|
||||
required _i26.DerivePathType? derivePathType,
|
||||
required Map<String, dynamic>? derivationsToAdd,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivations,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#derivePathType: derivePathType,
|
||||
#derivationsToAdd: derivationsToAdd,
|
||||
},
|
||||
),
|
||||
returnValue: _i22.Future<void>.value(),
|
||||
returnValueForMissingStub: _i22.Future<void>.value(),
|
||||
) as _i22.Future<void>);
|
||||
@override
|
||||
_i22.Future<List<Map<String, dynamic>>> fastFetch(
|
||||
List<String>? allTxHashes) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -1565,14 +1523,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
|
|||
fetchBuildTxData,
|
||||
required _i22.Future<void> Function()? refresh,
|
||||
required _i22.Future<void> Function()? checkChangeAddressForTransactions,
|
||||
required _i22.Future<void> Function({
|
||||
required String address,
|
||||
required int chain,
|
||||
required _i26.DerivePathType derivePathType,
|
||||
required String pubKey,
|
||||
required String wif,
|
||||
})?
|
||||
addDerivation,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -1599,7 +1549,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
|
|||
#refresh: refresh,
|
||||
#checkChangeAddressForTransactions:
|
||||
checkChangeAddressForTransactions,
|
||||
#addDerivation: addDerivation,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
|
@ -1698,17 +1647,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
|
|||
) as _i22.Future<_i17.BIP32>);
|
||||
@override
|
||||
_i22.Future<_i18.PaymentCode> getPaymentCode(
|
||||
_i26.DerivePathType? derivePathType) =>
|
||||
_i26.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i22.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i22.Future<_i18.PaymentCode>);
|
||||
|
@ -1975,17 +1932,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
|
|||
) as _i22.Future<_i16.Address>);
|
||||
@override
|
||||
_i22.Future<_i16.Address> getMyNotificationAddress(
|
||||
_i26.DerivePathType? derivePathType) =>
|
||||
_i26.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i22.Future<_i16.Address>.value(_FakeAddress_14(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i22.Future<_i16.Address>);
|
||||
|
|
|
@ -875,48 +875,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
|
|||
)),
|
||||
) as _i21.Future<_i9.ElectrumXNode>);
|
||||
@override
|
||||
_i21.Future<void> addDerivation({
|
||||
required int? chain,
|
||||
required String? address,
|
||||
required String? pubKey,
|
||||
required String? wif,
|
||||
required _i25.DerivePathType? derivePathType,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivation,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#address: address,
|
||||
#pubKey: pubKey,
|
||||
#wif: wif,
|
||||
#derivePathType: derivePathType,
|
||||
},
|
||||
),
|
||||
returnValue: _i21.Future<void>.value(),
|
||||
returnValueForMissingStub: _i21.Future<void>.value(),
|
||||
) as _i21.Future<void>);
|
||||
@override
|
||||
_i21.Future<void> addDerivations({
|
||||
required int? chain,
|
||||
required _i25.DerivePathType? derivePathType,
|
||||
required Map<String, dynamic>? derivationsToAdd,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivations,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#derivePathType: derivePathType,
|
||||
#derivationsToAdd: derivationsToAdd,
|
||||
},
|
||||
),
|
||||
returnValue: _i21.Future<void>.value(),
|
||||
returnValueForMissingStub: _i21.Future<void>.value(),
|
||||
) as _i21.Future<void>);
|
||||
@override
|
||||
_i21.Future<List<Map<String, dynamic>>> fastFetch(
|
||||
List<String>? allTxHashes) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -1320,14 +1278,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
|
|||
fetchBuildTxData,
|
||||
required _i21.Future<void> Function()? refresh,
|
||||
required _i21.Future<void> Function()? checkChangeAddressForTransactions,
|
||||
required _i21.Future<void> Function({
|
||||
required String address,
|
||||
required int chain,
|
||||
required _i25.DerivePathType derivePathType,
|
||||
required String pubKey,
|
||||
required String wif,
|
||||
})?
|
||||
addDerivation,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -1354,7 +1304,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
|
|||
#refresh: refresh,
|
||||
#checkChangeAddressForTransactions:
|
||||
checkChangeAddressForTransactions,
|
||||
#addDerivation: addDerivation,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
|
@ -1453,17 +1402,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
|
|||
) as _i21.Future<_i17.BIP32>);
|
||||
@override
|
||||
_i21.Future<_i18.PaymentCode> getPaymentCode(
|
||||
_i25.DerivePathType? derivePathType) =>
|
||||
_i25.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i21.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i21.Future<_i18.PaymentCode>);
|
||||
|
@ -1730,17 +1687,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
|
|||
) as _i21.Future<_i16.Address>);
|
||||
@override
|
||||
_i21.Future<_i16.Address> getMyNotificationAddress(
|
||||
_i25.DerivePathType? derivePathType) =>
|
||||
_i25.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i21.Future<_i16.Address>.value(_FakeAddress_14(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i21.Future<_i16.Address>);
|
||||
|
|
|
@ -1132,48 +1132,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
)),
|
||||
) as _i23.Future<_i9.ElectrumXNode>);
|
||||
@override
|
||||
_i23.Future<void> addDerivation({
|
||||
required int? chain,
|
||||
required String? address,
|
||||
required String? pubKey,
|
||||
required String? wif,
|
||||
required _i27.DerivePathType? derivePathType,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivation,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#address: address,
|
||||
#pubKey: pubKey,
|
||||
#wif: wif,
|
||||
#derivePathType: derivePathType,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<void> addDerivations({
|
||||
required int? chain,
|
||||
required _i27.DerivePathType? derivePathType,
|
||||
required Map<String, dynamic>? derivationsToAdd,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivations,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#derivePathType: derivePathType,
|
||||
#derivationsToAdd: derivationsToAdd,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<List<Map<String, dynamic>>> fastFetch(
|
||||
List<String>? allTxHashes) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -1577,14 +1535,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
fetchBuildTxData,
|
||||
required _i23.Future<void> Function()? refresh,
|
||||
required _i23.Future<void> Function()? checkChangeAddressForTransactions,
|
||||
required _i23.Future<void> Function({
|
||||
required String address,
|
||||
required int chain,
|
||||
required _i27.DerivePathType derivePathType,
|
||||
required String pubKey,
|
||||
required String wif,
|
||||
})?
|
||||
addDerivation,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -1611,7 +1561,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
#refresh: refresh,
|
||||
#checkChangeAddressForTransactions:
|
||||
checkChangeAddressForTransactions,
|
||||
#addDerivation: addDerivation,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
|
@ -1710,17 +1659,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
) as _i23.Future<_i17.BIP32>);
|
||||
@override
|
||||
_i23.Future<_i18.PaymentCode> getPaymentCode(
|
||||
_i27.DerivePathType? derivePathType) =>
|
||||
_i27.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i18.PaymentCode>);
|
||||
|
@ -1987,17 +1944,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
) as _i23.Future<_i16.Address>);
|
||||
@override
|
||||
_i23.Future<_i16.Address> getMyNotificationAddress(
|
||||
_i27.DerivePathType? derivePathType) =>
|
||||
_i27.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i16.Address>);
|
||||
|
|
|
@ -1132,48 +1132,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
)),
|
||||
) as _i23.Future<_i9.ElectrumXNode>);
|
||||
@override
|
||||
_i23.Future<void> addDerivation({
|
||||
required int? chain,
|
||||
required String? address,
|
||||
required String? pubKey,
|
||||
required String? wif,
|
||||
required _i27.DerivePathType? derivePathType,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivation,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#address: address,
|
||||
#pubKey: pubKey,
|
||||
#wif: wif,
|
||||
#derivePathType: derivePathType,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<void> addDerivations({
|
||||
required int? chain,
|
||||
required _i27.DerivePathType? derivePathType,
|
||||
required Map<String, dynamic>? derivationsToAdd,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#addDerivations,
|
||||
[],
|
||||
{
|
||||
#chain: chain,
|
||||
#derivePathType: derivePathType,
|
||||
#derivationsToAdd: derivationsToAdd,
|
||||
},
|
||||
),
|
||||
returnValue: _i23.Future<void>.value(),
|
||||
returnValueForMissingStub: _i23.Future<void>.value(),
|
||||
) as _i23.Future<void>);
|
||||
@override
|
||||
_i23.Future<List<Map<String, dynamic>>> fastFetch(
|
||||
List<String>? allTxHashes) =>
|
||||
(super.noSuchMethod(
|
||||
|
@ -1577,14 +1535,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
fetchBuildTxData,
|
||||
required _i23.Future<void> Function()? refresh,
|
||||
required _i23.Future<void> Function()? checkChangeAddressForTransactions,
|
||||
required _i23.Future<void> Function({
|
||||
required String address,
|
||||
required int chain,
|
||||
required _i27.DerivePathType derivePathType,
|
||||
required String pubKey,
|
||||
required String wif,
|
||||
})?
|
||||
addDerivation,
|
||||
}) =>
|
||||
super.noSuchMethod(
|
||||
Invocation.method(
|
||||
|
@ -1611,7 +1561,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
#refresh: refresh,
|
||||
#checkChangeAddressForTransactions:
|
||||
checkChangeAddressForTransactions,
|
||||
#addDerivation: addDerivation,
|
||||
},
|
||||
),
|
||||
returnValueForMissingStub: null,
|
||||
|
@ -1710,17 +1659,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
) as _i23.Future<_i17.BIP32>);
|
||||
@override
|
||||
_i23.Future<_i18.PaymentCode> getPaymentCode(
|
||||
_i27.DerivePathType? derivePathType) =>
|
||||
_i27.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getPaymentCode,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i18.PaymentCode>);
|
||||
|
@ -1987,17 +1944,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
|
|||
) as _i23.Future<_i16.Address>);
|
||||
@override
|
||||
_i23.Future<_i16.Address> getMyNotificationAddress(
|
||||
_i27.DerivePathType? derivePathType) =>
|
||||
_i27.DerivePathType? derivePathType, [
|
||||
_i17.BIP32? bip32Root,
|
||||
]) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14(
|
||||
this,
|
||||
Invocation.method(
|
||||
#getMyNotificationAddress,
|
||||
[derivePathType],
|
||||
[
|
||||
derivePathType,
|
||||
bip32Root,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i23.Future<_i16.Address>);
|
||||
|
|
Loading…
Reference in a new issue