public static OperationMeta Decode(XdrDataInputStream stream) { OperationMeta decodedOperationMeta = new OperationMeta(); decodedOperationMeta.Changes = LedgerEntryChanges.Decode(stream); return(decodedOperationMeta); }
public static UpgradeEntryMeta Decode(XdrDataInputStream stream) { UpgradeEntryMeta decodedUpgradeEntryMeta = new UpgradeEntryMeta(); decodedUpgradeEntryMeta.Upgrade = LedgerUpgrade.Decode(stream); decodedUpgradeEntryMeta.Changes = LedgerEntryChanges.Decode(stream); return(decodedUpgradeEntryMeta); }
public static TransactionResultMeta Decode(XdrDataInputStream stream) { TransactionResultMeta decodedTransactionResultMeta = new TransactionResultMeta(); decodedTransactionResultMeta.Result = TransactionResultPair.Decode(stream); decodedTransactionResultMeta.FeeProcessing = LedgerEntryChanges.Decode(stream); decodedTransactionResultMeta.TxApplyProcessing = TransactionMeta.Decode(stream); return(decodedTransactionResultMeta); }
public static TransactionMetaV1 Decode(XdrDataInputStream stream) { TransactionMetaV1 decodedTransactionMetaV1 = new TransactionMetaV1(); decodedTransactionMetaV1.TxChanges = LedgerEntryChanges.Decode(stream); int operationssize = stream.ReadInt(); decodedTransactionMetaV1.Operations = new OperationMeta[operationssize]; for (int i = 0; i < operationssize; i++) { decodedTransactionMetaV1.Operations[i] = OperationMeta.Decode(stream); } return decodedTransactionMetaV1; }
public static TransactionMetaV2 Decode(XdrDataInputStream stream) { TransactionMetaV2 decodedTransactionMetaV2 = new TransactionMetaV2(); decodedTransactionMetaV2.TxChangesBefore = LedgerEntryChanges.Decode(stream); int operationssize = stream.ReadInt(); decodedTransactionMetaV2.Operations = new OperationMeta[operationssize]; for (int i = 0; i < operationssize; i++) { decodedTransactionMetaV2.Operations[i] = OperationMeta.Decode(stream); } decodedTransactionMetaV2.TxChangesAfter = LedgerEntryChanges.Decode(stream); return(decodedTransactionMetaV2); }