Sha256: 857c5bd89cf1b2375f8df802caafc38e1e4b13fa128b5fed4eb18d195164b70d

Contents?: true

Size: 1.8 KB

Versions: 10

Compression:

Stored size: 1.8 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<MAX_SIGNERS>; // possible signers for this account
#   
#       // reserved for future use
#       union switch (int v)
#       {
#       case 0:
#           void;
#       case 1:
#           AccountEntryExtensionV1 v1;
#       }
#       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, MAX_SIGNERS]
    attribute :ext,             Ext
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/account_entry.rb
stellar-base-0.31.0 generated/stellar/account_entry.rb
stellar-base-0.30.0 generated/stellar/account_entry.rb
stellar-base-0.29.0 generated/stellar/account_entry.rb
stellar-base-0.28.0 generated/stellar/account_entry.rb
stellar-base-0.27.0 generated/stellar/account_entry.rb
stellar-base-0.26.0 generated/stellar/account_entry.rb
stellar-base-0.25.0 generated/stellar/account_entry.rb
stellar-base-0.24.0 generated/stellar/account_entry.rb
stellar-base-0.24.0.pre.1 generated/stellar/account_entry.rb