@@ -12,7 +12,6 @@ import 'xdr_asset.dart';
12
12
import 'xdr_scp.dart' ;
13
13
import 'xdr_account.dart' ;
14
14
15
-
16
15
class XdrLedgerEntryChangeType {
17
16
final _value;
18
17
const XdrLedgerEntryChangeType ._internal (this ._value);
@@ -21,11 +20,11 @@ class XdrLedgerEntryChangeType {
21
20
get value => this ._value;
22
21
23
22
static const LEDGER_ENTRY_CREATED =
24
- const XdrLedgerEntryChangeType ._internal (0 );
23
+ const XdrLedgerEntryChangeType ._internal (0 );
25
24
static const LEDGER_ENTRY_UPDATED =
26
- const XdrLedgerEntryChangeType ._internal (1 );
25
+ const XdrLedgerEntryChangeType ._internal (1 );
27
26
static const LEDGER_ENTRY_REMOVED =
28
- const XdrLedgerEntryChangeType ._internal (2 );
27
+ const XdrLedgerEntryChangeType ._internal (2 );
29
28
static const LEDGER_ENTRY_STATE = const XdrLedgerEntryChangeType ._internal (3 );
30
29
31
30
static XdrLedgerEntryChangeType decode (XdrDataInputStream stream) {
@@ -92,11 +91,11 @@ class XdrLedgerUpgradeType {
92
91
93
92
static const LEDGER_UPGRADE_VERSION = const XdrLedgerUpgradeType ._internal (1 );
94
93
static const LEDGER_UPGRADE_BASE_FEE =
95
- const XdrLedgerUpgradeType ._internal (2 );
94
+ const XdrLedgerUpgradeType ._internal (2 );
96
95
static const LEDGER_UPGRADE_MAX_TX_SET_SIZE =
97
- const XdrLedgerUpgradeType ._internal (3 );
96
+ const XdrLedgerUpgradeType ._internal (3 );
98
97
static const LEDGER_UPGRADE_BASE_RESERVE =
99
- const XdrLedgerUpgradeType ._internal (4 );
98
+ const XdrLedgerUpgradeType ._internal (4 );
100
99
101
100
static XdrLedgerUpgradeType decode (XdrDataInputStream stream) {
102
101
int value = stream.readInt ();
@@ -503,7 +502,6 @@ class XdrLedgerUpgrade {
503
502
}
504
503
}
505
504
506
-
507
505
class XdrLedgerEntry {
508
506
XdrLedgerEntry ();
509
507
XdrUint32 _lastModifiedLedgerSeq;
@@ -669,7 +667,7 @@ class XdrLedgerEntryChange {
669
667
static XdrLedgerEntryChange decode (XdrDataInputStream stream) {
670
668
XdrLedgerEntryChange decodedLedgerEntryChange = XdrLedgerEntryChange ();
671
669
XdrLedgerEntryChangeType discriminant =
672
- XdrLedgerEntryChangeType .decode (stream);
670
+ XdrLedgerEntryChangeType .decode (stream);
673
671
decodedLedgerEntryChange.discriminant = discriminant;
674
672
switch (decodedLedgerEntryChange.discriminant) {
675
673
case XdrLedgerEntryChangeType .LEDGER_ENTRY_CREATED :
@@ -743,7 +741,7 @@ class XdrLedgerHeaderHistoryEntry {
743
741
744
742
static XdrLedgerHeaderHistoryEntry decode (XdrDataInputStream stream) {
745
743
XdrLedgerHeaderHistoryEntry decodedLedgerHeaderHistoryEntry =
746
- XdrLedgerHeaderHistoryEntry ();
744
+ XdrLedgerHeaderHistoryEntry ();
747
745
decodedLedgerHeaderHistoryEntry.hash = XdrHash .decode (stream);
748
746
decodedLedgerHeaderHistoryEntry.header = XdrLedgerHeader .decode (stream);
749
747
decodedLedgerHeaderHistoryEntry.ext =
@@ -769,7 +767,7 @@ class XdrLedgerHeaderHistoryEntryExt {
769
767
770
768
static XdrLedgerHeaderHistoryEntryExt decode (XdrDataInputStream stream) {
771
769
XdrLedgerHeaderHistoryEntryExt decodedLedgerHeaderHistoryEntryExt =
772
- XdrLedgerHeaderHistoryEntryExt ();
770
+ XdrLedgerHeaderHistoryEntryExt ();
773
771
int discriminant = stream.readInt ();
774
772
decodedLedgerHeaderHistoryEntryExt.discriminant = discriminant;
775
773
switch (decodedLedgerHeaderHistoryEntryExt.discriminant) {
@@ -778,4 +776,4 @@ class XdrLedgerHeaderHistoryEntryExt {
778
776
}
779
777
return decodedLedgerHeaderHistoryEntryExt;
780
778
}
781
- }
779
+ }
0 commit comments