Sha256: 9780a76c616d8deee5f0cb60f1586f1a7953848c5ce0efaae9a47fe85fead482

Contents?: true

Size: 809 Bytes

Versions: 12

Compression:

Stored size: 809 Bytes

Contents

# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten

require 'xdr'

# === xdr source ============================================================
#
#   union LedgerUpgrade switch (LedgerUpgradeType type)
#   {
#   case LEDGER_UPGRADE_VERSION:
#       uint32 newLedgerVersion; // update ledgerVersion
#   case LEDGER_UPGRADE_BASE_FEE:
#       uint32 newBaseFee; // update baseFee
#   };
#
# ===========================================================================
module Stellar
  class LedgerUpgrade < XDR::Union
    switch_on LedgerUpgradeType, :type

    switch :ledger_upgrade_version,  :new_ledger_version
    switch :ledger_upgrade_base_fee, :new_base_fee

    attribute :new_ledger_version, Uint32
    attribute :new_base_fee,       Uint32
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
stellar-base-0.5.0 generated/stellar/ledger_upgrade.rb
stellar-base-0.4.0 generated/stellar/ledger_upgrade.rb
open-core-0.3.0 generated/stellar/ledger_upgrade.rb
stellar-base-0.3.0 generated/stellar/ledger_upgrade.rb
stellar-base-0.2.0 generated/stellar/ledger_upgrade.rb
stellar-base-0.1.4 generated/stellar/ledger_upgrade.rb
stellar-base-0.1.3 generated/stellar/ledger_upgrade.rb
stellar-base-0.1.2 generated/stellar/ledger_upgrade.rb
stellar-base-0.1.1 generated/stellar/ledger_upgrade.rb
stellar-base-0.1.0 generated/stellar/ledger_upgrade.rb
stellar-base-0.0.20 generated/stellar/ledger_upgrade.rb
stellar-base-0.0.19 generated/stellar/ledger_upgrade.rb