Sha256: 3962236877fa35e67d20b2619a97b6e39608dff34ee4505e6f6514f10fad215b

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct LedgerEntry
#   {
#       uint32 lastModifiedLedgerSeq; // ledger the LedgerEntry was last changed
#   
#       union switch (LedgerEntryType type)
#       {
#       case ACCOUNT:
#           AccountEntry account;
#       case TRUSTLINE:
#           TrustLineEntry trustLine;
#       case OFFER:
#           OfferEntry offer;
#       case DATA:
#           DataEntry data;
#       case CLAIMABLE_BALANCE:
#           ClaimableBalanceEntry claimableBalance;
#       case LIQUIDITY_POOL:
#           LiquidityPoolEntry liquidityPool;
#       }
#       data;
#   
#       // reserved for future use
#       union switch (int v)
#       {
#       case 0:
#           void;
#       case 1:
#           LedgerEntryExtensionV1 v1;
#       }
#       ext;
#   };
#
# ===========================================================================
module Stellar
  class LedgerEntry < XDR::Struct
    include XDR::Namespace

    autoload :Data
    autoload :Ext

    attribute :last_modified_ledger_seq, Uint32
    attribute :data,                     Data
    attribute :ext,                      Ext
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/ledger_entry.rb
stellar-base-0.31.0 generated/stellar/ledger_entry.rb
stellar-base-0.30.0 generated/stellar/ledger_entry.rb