Sha256: 1ff80aa1cd479ca0d0e26faf433ce7d03f2b76a4a39db84d6710e97d180640a2

Contents?: true

Size: 965 Bytes

Versions: 1

Compression:

Stored size: 965 Bytes

Contents

# Automatically generated on 2015-04-07T10:52:07-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

1 entries across 1 versions & 1 rubygems

Version Path
stellar-base-0.0.1 generated/stellar/trust_line_entry.rb