Sha256: 2ab02b4bd1f88b5f8e61be4faa9f1aec1fb406c882748ad2c81814d81738406a

Contents?: true

Size: 1.79 KB

Versions: 3

Compression:

Stored size: 1.79 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct AccountEntry
#   {
#       AccountID accountID;      // master public key for this account
#       int64 balance;            // in stroops
#       SequenceNumber seqNum;    // last sequence number used for this account
#       uint32 numSubEntries;     // number of sub-entries this account has
#                                 // drives the reserve
#       AccountID* inflationDest; // Account to vote for during inflation
#       uint32 flags;             // see AccountFlags
#   
#       string32 homeDomain; // can be used for reverse federation and memo lookup
#   
#       // fields used for signatures
#       // thresholds stores unsigned bytes: [weight of master|low|medium|high]
#       Thresholds thresholds;
#   
#       Signer signers<20>; // possible signers for this account
#   
#       string32 codeKYC;
#       // reserved for future use
#       union switch (int v)
#       {
#       case 0:
#           void;
#       }
#       ext;
#   };
#
# ===========================================================================
module Stellar
  class AccountEntry < XDR::Struct
    include XDR::Namespace

    autoload :Ext

    attribute :account_id,      AccountID
    attribute :balance,         Int64
    attribute :seq_num,         SequenceNumber
    attribute :num_sub_entries, Uint32
    attribute :inflation_dest,  XDR::Option[AccountID]
    attribute :flags,           Uint32
    attribute :home_domain,     String32
    attribute :thresholds,      Thresholds
    attribute :signers,         XDR::VarArray[Signer, 20]
    attribute :code_kyc,        String32
    attribute :ext,             Ext
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
auction-ruby-base-0.1.3 generated/stellar/account_entry.rb
auction-ruby-base-0.1.2 generated/stellar/account_entry.rb
auction-ruby-base-0.1.1 generated/stellar/account_entry.rb