Sha256: 9bd3fde11169a79d27370354ea5e5c95b38c7e38e42928720ce168afdeb66139
Contents?: true
Size: 1.81 KB
Versions: 3
Compression:
Stored size: 1.81 KB
Contents
# This code was automatically generated using xdrgen # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union LedgerKey switch (LedgerEntryType type) # { # case ACCOUNT: # struct # { # AccountID accountID; # } account; # # case TRUSTLINE: # struct # { # AccountID accountID; # TrustLineAsset asset; # } trustLine; # # case OFFER: # struct # { # AccountID sellerID; # int64 offerID; # } offer; # # case DATA: # struct # { # AccountID accountID; # string64 dataName; # } data; # # case CLAIMABLE_BALANCE: # struct # { # ClaimableBalanceID balanceID; # } claimableBalance; # # case LIQUIDITY_POOL: # struct # { # PoolID liquidityPoolID; # } liquidityPool; # }; # # =========================================================================== module Stellar class LedgerKey < XDR::Union include XDR::Namespace autoload :Account autoload :TrustLine autoload :Offer autoload :Data autoload :ClaimableBalance autoload :LiquidityPool switch_on LedgerEntryType, :type switch :account, :account switch :trustline, :trust_line switch :offer, :offer switch :data, :data switch :claimable_balance, :claimable_balance switch :liquidity_pool, :liquidity_pool attribute :account, Account attribute :trust_line, TrustLine attribute :offer, Offer attribute :data, Data attribute :claimable_balance, ClaimableBalance attribute :liquidity_pool, LiquidityPool end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
stellar-base-0.32.0 | generated/stellar/ledger_key.rb |
stellar-base-0.31.0 | generated/stellar/ledger_key.rb |
stellar-base-0.30.0 | generated/stellar/ledger_key.rb |