Sha256: 9521eefafa1af0188b60edff231066b5b6f6f873c0c01225e2176b808a2ddac6

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 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;
#       }
#       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

5 entries across 5 versions & 1 rubygems

Version Path
stellar-base-0.1.4 generated/stellar/trust_line_entry.rb
stellar-base-0.1.3 generated/stellar/trust_line_entry.rb
stellar-base-0.1.2 generated/stellar/trust_line_entry.rb
stellar-base-0.1.1 generated/stellar/trust_line_entry.rb
stellar-base-0.1.0 generated/stellar/trust_line_entry.rb