Sha256: bcf2eb282e4e7187d1631230c3f2c01127ae700d61c60e8361f3866e43052daf

Contents?: true

Size: 965 Bytes

Versions: 2

Compression:

Stored size: 965 Bytes

Contents

# Automatically generated on 2015-04-26T19:13:29-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   struct TrustLineEntry
#   {
#       AccountID accountID; // account this trustline belongs to
#       Currency currency;   // currency (with issuer)
#       int64 balance;       // how much of this currency the user has.
#                            // Currency defines the unit for this;
#   
#       int64 limit;     // balance cannot be above this
#       bool authorized; // issuer has authorized account to hold its credit
#   };
#
# ===========================================================================
module Stellar
  class TrustLineEntry < XDR::Struct
    attribute :account_id, AccountID
    attribute :currency,   Currency
    attribute :balance,    Int64
    attribute :limit,      Int64
    attribute :authorized, XDR::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.3 generated/stellar/trust_line_entry.rb
stellar-base-0.0.2 generated/stellar/trust_line_entry.rb