Implementation
static XdrConfigSettingContractLedgerCostV0 decode(
XdrDataInputStream stream) {
XdrUint32 ledgerMaxReadLedgerEntries = XdrUint32.decode(stream);
XdrUint32 ledgerMaxReadBytes = XdrUint32.decode(stream);
XdrUint32 ledgerMaxWriteLedgerEntries = XdrUint32.decode(stream);
XdrUint32 ledgerMaxWriteBytes = XdrUint32.decode(stream);
XdrUint32 txMaxReadLedgerEntries = XdrUint32.decode(stream);
XdrUint32 txMaxReadBytes = XdrUint32.decode(stream);
XdrUint32 txMaxWriteLedgerEntries = XdrUint32.decode(stream);
XdrUint32 txMaxWriteBytes = XdrUint32.decode(stream);
XdrInt64 feeReadLedgerEntry = XdrInt64.decode(stream);
XdrInt64 feeWriteLedgerEntry = XdrInt64.decode(stream);
XdrInt64 feeRead1KB = XdrInt64.decode(stream);
XdrInt64 feeWrite1KB = XdrInt64.decode(stream);
XdrInt64 bucketListSizeBytes = XdrInt64.decode(stream);
XdrInt64 bucketListFeeRateLow = XdrInt64.decode(stream);
XdrInt64 bucketListFeeRateHigh = XdrInt64.decode(stream);
XdrUint32 bucketListGrowthFactor = XdrUint32.decode(stream);
return XdrConfigSettingContractLedgerCostV0(
ledgerMaxReadLedgerEntries,
ledgerMaxReadBytes,
ledgerMaxWriteLedgerEntries,
ledgerMaxWriteBytes,
txMaxReadLedgerEntries,
txMaxReadBytes,
txMaxWriteLedgerEntries,
txMaxWriteBytes,
feeReadLedgerEntry,
feeWriteLedgerEntry,
feeRead1KB,
feeWrite1KB,
bucketListSizeBytes,
bucketListFeeRateLow,
bucketListFeeRateHigh,
bucketListGrowthFactor);
}