Sha256: 63e71fc5d87b8386b124cd787e0a52313c9d28e1b3944c577a5677b055d89fda

Contents?: true

Size: 1.35 KB

Versions: 17

Compression:

Stored size: 1.35 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct TrustLineEntry
#   {
#       AccountID accountID; // account this trustline belongs to
#       Asset asset;         // type of asset (with issuer)
#       int64 balance;       // how much of this asset the user has.
#                            // Asset defines the unit for this;
#   
#       int64 limit;  // balance cannot be above this
#       uint32 flags; // see TrustLineFlags
#   
#       // reserved for future use
#       union switch (int v)
#       {
#       case 0:
#           void;
#       case 1:
#           struct
#           {
#               Liabilities liabilities;
#   
#               union switch (int v)
#               {
#               case 0:
#                   void;
#               }
#               ext;
#           } v1;
#       }
#       ext;
#   };
#
# ===========================================================================
module Stellar
  class TrustLineEntry < XDR::Struct
    include XDR::Namespace

    autoload :Ext

    attribute :account_id, AccountID
    attribute :asset,      Asset
    attribute :balance,    Int64
    attribute :limit,      Int64
    attribute :flags,      Uint32
    attribute :ext,        Ext
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
stellar-base-0.29.0 generated/stellar/trust_line_entry.rb
stellar-base-0.28.0 generated/stellar/trust_line_entry.rb
stellar-base-0.27.0 generated/stellar/trust_line_entry.rb
stellar-base-0.26.0 generated/stellar/trust_line_entry.rb
stellar-base-0.25.0 generated/stellar/trust_line_entry.rb
stellar-base-0.24.0 generated/stellar/trust_line_entry.rb
stellar-base-0.24.0.pre.1 generated/stellar/trust_line_entry.rb
stellar-base-0.23.1 generated/stellar/trust_line_entry.rb
stellar-base-0.23.0 generated/stellar/trust_line_entry.rb
stellar-base-0.23.0.rc2 generated/stellar/trust_line_entry.rb
stellar-base-0.23.0.rc1 generated/stellar/trust_line_entry.rb
stellar-base-0.23.0.pre1 generated/stellar/trust_line_entry.rb
stellar-base-0.22.0 generated/stellar/trust_line_entry.rb
stellar-base-0.21.0 generated/stellar/trust_line_entry.rb
stellar-base-0.20.0 generated/stellar/trust_line_entry.rb
stellar-base-0.19.0 generated/stellar/trust_line_entry.rb
stellar-base-0.18.0 generated/stellar/trust_line_entry.rb