LedgerUpgradeXdr

sealed class LedgerUpgradeXdr

XDR Source: union LedgerUpgrade switch (LedgerUpgradeType type) { case LEDGER_UPGRADE_VERSION: uint32 newLedgerVersion; // update ledgerVersion case LEDGER_UPGRADE_BASE_FEE: uint32 newBaseFee; // update baseFee case LEDGER_UPGRADE_MAX_TX_SET_SIZE: uint32 newMaxTxSetSize; // update maxTxSetSize case LEDGER_UPGRADE_BASE_RESERVE: uint32 newBaseReserve; // update baseReserve case LEDGER_UPGRADE_FLAGS: uint32 newFlags; // update flags case LEDGER_UPGRADE_CONFIG: // Update arbitrary ConfigSetting entries identified by the key. ConfigUpgradeSetKey newConfig; case LEDGER_UPGRADE_MAX_SOROBAN_TX_SET_SIZE: // Update ConfigSettingContractExecutionLanesV0.ledgerMaxTxCount without // using LEDGER_UPGRADE_CONFIG. uint32 newMaxSorobanTxSetSize; };

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class NewBaseFee(val value: Uint32Xdr) : LedgerUpgradeXdr
Link copied to clipboard
data class NewBaseReserve(val value: Uint32Xdr) : LedgerUpgradeXdr
Link copied to clipboard

Update arbitrary ConfigSetting entries identified by the key.

Link copied to clipboard
data class NewFlags(val value: Uint32Xdr) : LedgerUpgradeXdr
Link copied to clipboard
Link copied to clipboard

Update ConfigSettingContractExecutionLanesV0.ledgerMaxTxCount without

Link copied to clipboard
data class NewMaxTxSetSize(val value: Uint32Xdr) : LedgerUpgradeXdr

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)