update generated

This commit is contained in:
Julian 2024-07-17 08:39:37 -06:00 committed by julian-CStack
parent 5c7983154a
commit 6f4493f638
13 changed files with 1665 additions and 24 deletions

View file

@ -87,7 +87,10 @@ class TransactionV2 {
);
}
@ignore
int? get size => _getFromOtherData(key: TxV2OdKeys.size) as int?;
@ignore
int? get vSize => _getFromOtherData(key: TxV2OdKeys.vSize) as int?;
bool get isEpiccashTransaction =>

File diff suppressed because it is too large Load diff

View file

@ -147,6 +147,15 @@ class MockElectrumXClient extends _i1.Mock implements _i5.ElectrumXClient {
returnValueForMissingStub: _i7.Future<void>.value(),
) as _i7.Future<void>);
@override
_i7.Future<void> checkElectrumAdapter() => (super.noSuchMethod(
Invocation.method(
#checkElectrumAdapter,
[],
),
returnValue: _i7.Future<void>.value(),
returnValueForMissingStub: _i7.Future<void>.value(),
) as _i7.Future<void>);
@override
_i7.Future<dynamic> request({
required String? command,
List<dynamic>? args = const [],
@ -465,7 +474,14 @@ class MockElectrumXClient extends _i1.Mock implements _i5.ElectrumXClient {
returnValue: _i7.Future<Set<String>>.value(<String>{}),
) as _i7.Future<Set<String>>);
@override
_i7.Future<Map<String, dynamic>> getMempoolSparkData({
_i7.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>> getMempoolSparkData({
String? requestID,
required List<String>? txids,
}) =>
@ -478,9 +494,27 @@ class MockElectrumXClient extends _i1.Mock implements _i5.ElectrumXClient {
#txids: txids,
},
),
returnValue:
_i7.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i7.Future<Map<String, dynamic>>);
returnValue: _i7.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>.value(<({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>[]),
) as _i7.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>);
@override
_i7.Future<List<List<dynamic>>> getSparkUnhashedUsedCoinsTagsWithTxHashes({
String? requestID,
@ -498,6 +532,24 @@ class MockElectrumXClient extends _i1.Mock implements _i5.ElectrumXClient {
returnValue: _i7.Future<List<List<dynamic>>>.value(<List<dynamic>>[]),
) as _i7.Future<List<List<dynamic>>>);
@override
_i7.Future<bool> isMasterNodeCollateral({
String? requestID,
required String? txid,
required int? index,
}) =>
(super.noSuchMethod(
Invocation.method(
#isMasterNodeCollateral,
[],
{
#requestID: requestID,
#txid: txid,
#index: index,
},
),
returnValue: _i7.Future<bool>.value(false),
) as _i7.Future<bool>);
@override
_i7.Future<Map<String, dynamic>> getFeeRate({String? requestID}) =>
(super.noSuchMethod(
Invocation.method(
@ -941,6 +993,19 @@ class MockPrefs extends _i1.Mock implements _i8.Prefs {
returnValueForMissingStub: null,
);
@override
bool get autoPin => (super.noSuchMethod(
Invocation.getter(#autoPin),
returnValue: false,
) as bool);
@override
set autoPin(bool? autoPin) => super.noSuchMethod(
Invocation.setter(
#autoPin,
autoPin,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -1000,6 +1000,19 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
returnValueForMissingStub: null,
);
@override
bool get autoPin => (super.noSuchMethod(
Invocation.getter(#autoPin),
returnValue: false,
) as bool);
@override
set autoPin(bool? autoPin) => super.noSuchMethod(
Invocation.setter(
#autoPin,
autoPin,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -473,6 +473,19 @@ class MockPrefs extends _i1.Mock implements _i5.Prefs {
returnValueForMissingStub: null,
);
@override
bool get autoPin => (super.noSuchMethod(
Invocation.getter(#autoPin),
returnValue: false,
) as bool);
@override
set autoPin(bool? autoPin) => super.noSuchMethod(
Invocation.setter(
#autoPin,
autoPin,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -144,6 +144,15 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<void> checkElectrumAdapter() => (super.noSuchMethod(
Invocation.method(
#checkElectrumAdapter,
[],
),
returnValue: _i6.Future<void>.value(),
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<dynamic> request({
required String? command,
List<dynamic>? args = const [],
@ -462,7 +471,14 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<Set<String>>.value(<String>{}),
) as _i6.Future<Set<String>>);
@override
_i6.Future<Map<String, dynamic>> getMempoolSparkData({
_i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>> getMempoolSparkData({
String? requestID,
required List<String>? txids,
}) =>
@ -475,9 +491,27 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
#txids: txids,
},
),
returnValue:
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i6.Future<Map<String, dynamic>>);
returnValue: _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>.value(<({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>[]),
) as _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>);
@override
_i6.Future<List<List<dynamic>>> getSparkUnhashedUsedCoinsTagsWithTxHashes({
String? requestID,
@ -495,6 +529,24 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<List<List<dynamic>>>.value(<List<dynamic>>[]),
) as _i6.Future<List<List<dynamic>>>);
@override
_i6.Future<bool> isMasterNodeCollateral({
String? requestID,
required String? txid,
required int? index,
}) =>
(super.noSuchMethod(
Invocation.method(
#isMasterNodeCollateral,
[],
{
#requestID: requestID,
#txid: txid,
#index: index,
},
),
returnValue: _i6.Future<bool>.value(false),
) as _i6.Future<bool>);
@override
_i6.Future<Map<String, dynamic>> getFeeRate({String? requestID}) =>
(super.noSuchMethod(
Invocation.method(

View file

@ -144,6 +144,15 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<void> checkElectrumAdapter() => (super.noSuchMethod(
Invocation.method(
#checkElectrumAdapter,
[],
),
returnValue: _i6.Future<void>.value(),
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<dynamic> request({
required String? command,
List<dynamic>? args = const [],
@ -462,7 +471,14 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<Set<String>>.value(<String>{}),
) as _i6.Future<Set<String>>);
@override
_i6.Future<Map<String, dynamic>> getMempoolSparkData({
_i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>> getMempoolSparkData({
String? requestID,
required List<String>? txids,
}) =>
@ -475,9 +491,27 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
#txids: txids,
},
),
returnValue:
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i6.Future<Map<String, dynamic>>);
returnValue: _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>.value(<({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>[]),
) as _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>);
@override
_i6.Future<List<List<dynamic>>> getSparkUnhashedUsedCoinsTagsWithTxHashes({
String? requestID,
@ -495,6 +529,24 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<List<List<dynamic>>>.value(<List<dynamic>>[]),
) as _i6.Future<List<List<dynamic>>>);
@override
_i6.Future<bool> isMasterNodeCollateral({
String? requestID,
required String? txid,
required int? index,
}) =>
(super.noSuchMethod(
Invocation.method(
#isMasterNodeCollateral,
[],
{
#requestID: requestID,
#txid: txid,
#index: index,
},
),
returnValue: _i6.Future<bool>.value(false),
) as _i6.Future<bool>);
@override
_i6.Future<Map<String, dynamic>> getFeeRate({String? requestID}) =>
(super.noSuchMethod(
Invocation.method(

View file

@ -144,6 +144,15 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<void> checkElectrumAdapter() => (super.noSuchMethod(
Invocation.method(
#checkElectrumAdapter,
[],
),
returnValue: _i6.Future<void>.value(),
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<dynamic> request({
required String? command,
List<dynamic>? args = const [],
@ -462,7 +471,14 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<Set<String>>.value(<String>{}),
) as _i6.Future<Set<String>>);
@override
_i6.Future<Map<String, dynamic>> getMempoolSparkData({
_i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>> getMempoolSparkData({
String? requestID,
required List<String>? txids,
}) =>
@ -475,9 +491,27 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
#txids: txids,
},
),
returnValue:
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i6.Future<Map<String, dynamic>>);
returnValue: _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>.value(<({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>[]),
) as _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>);
@override
_i6.Future<List<List<dynamic>>> getSparkUnhashedUsedCoinsTagsWithTxHashes({
String? requestID,
@ -495,6 +529,24 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<List<List<dynamic>>>.value(<List<dynamic>>[]),
) as _i6.Future<List<List<dynamic>>>);
@override
_i6.Future<bool> isMasterNodeCollateral({
String? requestID,
required String? txid,
required int? index,
}) =>
(super.noSuchMethod(
Invocation.method(
#isMasterNodeCollateral,
[],
{
#requestID: requestID,
#txid: txid,
#index: index,
},
),
returnValue: _i6.Future<bool>.value(false),
) as _i6.Future<bool>);
@override
_i6.Future<Map<String, dynamic>> getFeeRate({String? requestID}) =>
(super.noSuchMethod(
Invocation.method(

View file

@ -144,6 +144,15 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<void> checkElectrumAdapter() => (super.noSuchMethod(
Invocation.method(
#checkElectrumAdapter,
[],
),
returnValue: _i6.Future<void>.value(),
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<dynamic> request({
required String? command,
List<dynamic>? args = const [],
@ -462,7 +471,14 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<Set<String>>.value(<String>{}),
) as _i6.Future<Set<String>>);
@override
_i6.Future<Map<String, dynamic>> getMempoolSparkData({
_i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>> getMempoolSparkData({
String? requestID,
required List<String>? txids,
}) =>
@ -475,9 +491,27 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
#txids: txids,
},
),
returnValue:
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i6.Future<Map<String, dynamic>>);
returnValue: _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>.value(<({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>[]),
) as _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>);
@override
_i6.Future<List<List<dynamic>>> getSparkUnhashedUsedCoinsTagsWithTxHashes({
String? requestID,
@ -495,6 +529,24 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<List<List<dynamic>>>.value(<List<dynamic>>[]),
) as _i6.Future<List<List<dynamic>>>);
@override
_i6.Future<bool> isMasterNodeCollateral({
String? requestID,
required String? txid,
required int? index,
}) =>
(super.noSuchMethod(
Invocation.method(
#isMasterNodeCollateral,
[],
{
#requestID: requestID,
#txid: txid,
#index: index,
},
),
returnValue: _i6.Future<bool>.value(false),
) as _i6.Future<bool>);
@override
_i6.Future<Map<String, dynamic>> getFeeRate({String? requestID}) =>
(super.noSuchMethod(
Invocation.method(

View file

@ -144,6 +144,15 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<void> checkElectrumAdapter() => (super.noSuchMethod(
Invocation.method(
#checkElectrumAdapter,
[],
),
returnValue: _i6.Future<void>.value(),
returnValueForMissingStub: _i6.Future<void>.value(),
) as _i6.Future<void>);
@override
_i6.Future<dynamic> request({
required String? command,
List<dynamic>? args = const [],
@ -462,7 +471,14 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<Set<String>>.value(<String>{}),
) as _i6.Future<Set<String>>);
@override
_i6.Future<Map<String, dynamic>> getMempoolSparkData({
_i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>> getMempoolSparkData({
String? requestID,
required List<String>? txids,
}) =>
@ -475,9 +491,27 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
#txids: txids,
},
),
returnValue:
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i6.Future<Map<String, dynamic>>);
returnValue: _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>.value(<({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>[]),
) as _i6.Future<
List<
({
List<String> coins,
List<String> lTags,
List<String> serialContext,
String txid
})>>);
@override
_i6.Future<List<List<dynamic>>> getSparkUnhashedUsedCoinsTagsWithTxHashes({
String? requestID,
@ -495,6 +529,24 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
returnValue: _i6.Future<List<List<dynamic>>>.value(<List<dynamic>>[]),
) as _i6.Future<List<List<dynamic>>>);
@override
_i6.Future<bool> isMasterNodeCollateral({
String? requestID,
required String? txid,
required int? index,
}) =>
(super.noSuchMethod(
Invocation.method(
#isMasterNodeCollateral,
[],
{
#requestID: requestID,
#txid: txid,
#index: index,
},
),
returnValue: _i6.Future<bool>.value(false),
) as _i6.Future<bool>);
@override
_i6.Future<Map<String, dynamic>> getFeeRate({String? requestID}) =>
(super.noSuchMethod(
Invocation.method(

View file

@ -729,6 +729,19 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
returnValueForMissingStub: null,
);
@override
bool get autoPin => (super.noSuchMethod(
Invocation.getter(#autoPin),
returnValue: false,
) as bool);
@override
set autoPin(bool? autoPin) => super.noSuchMethod(
Invocation.setter(
#autoPin,
autoPin,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -615,6 +615,19 @@ class MockPrefs extends _i1.Mock implements _i12.Prefs {
returnValueForMissingStub: null,
);
@override
bool get autoPin => (super.noSuchMethod(
Invocation.getter(#autoPin),
returnValue: false,
) as bool);
@override
set autoPin(bool? autoPin) => super.noSuchMethod(
Invocation.setter(
#autoPin,
autoPin,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,

View file

@ -718,6 +718,19 @@ class MockPrefs extends _i1.Mock implements _i14.Prefs {
returnValueForMissingStub: null,
);
@override
bool get autoPin => (super.noSuchMethod(
Invocation.getter(#autoPin),
returnValue: false,
) as bool);
@override
set autoPin(bool? autoPin) => super.noSuchMethod(
Invocation.setter(
#autoPin,
autoPin,
),
returnValueForMissingStub: null,
);
@override
bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners),
returnValue: false,