Package org.stellar.sdk.xdr
Class ConfigSettingContractLedgerCostExtV0
java.lang.Object
org.stellar.sdk.xdr.ConfigSettingContractLedgerCostExtV0
- All Implemented Interfaces:
XdrElement
ConfigSettingContractLedgerCostExtV0's original definition in the XDR file is:
struct ConfigSettingContractLedgerCostExtV0 { // Maximum number of RO+RW entries in the transaction footprint. uint32 txMaxFootprintEntries; // Fee per 1 KB of data written to the ledger. // Unlike the rent fee, this is a flat fee that is charged for any ledger // write, independent of the type of the entry being written. int64 feeWrite1KB; };
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionConfigSettingContractLedgerCostExtV0
(Uint32 txMaxFootprintEntries, Int64 feeWrite1KB) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setFeeWrite1KB
(Int64 feeWrite1KB) void
setTxMaxFootprintEntries
(Uint32 txMaxFootprintEntries) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ConfigSettingContractLedgerCostExtV0
public ConfigSettingContractLedgerCostExtV0() -
ConfigSettingContractLedgerCostExtV0
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
public static ConfigSettingContractLedgerCostExtV0 decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
public static ConfigSettingContractLedgerCostExtV0.ConfigSettingContractLedgerCostExtV0Builder builder() -
toBuilder
-
getTxMaxFootprintEntries
-
getFeeWrite1KB
-
setTxMaxFootprintEntries
-
setFeeWrite1KB
-
equals
-
hashCode
public int hashCode() -
toString
-