Sha256: e3428666846df987a5db5fdd6937903f3efb077bc2678003cc32a97c08653ca3

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

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

# === xdr source ============================================================
#
#   enum AccountMergeResultCode
#   {
#       // codes considered as "success" for the operation
#       ACCOUNT_MERGE_SUCCESS = 0,
#       // codes considered as "failure" for the operation
#       ACCOUNT_MERGE_MALFORMED = -1,  // can't merge onto itself
#       ACCOUNT_MERGE_NO_ACCOUNT = -2, // destination does not exist
#       ACCOUNT_MERGE_HAS_CREDIT = -3, // account has active trust lines
#       ACCOUNT_MERGE_CREDIT_HELD = -4 // an issuer cannot be merged if used
#   };
#
# ===========================================================================
module Stellar
  class AccountMergeResultCode < XDR::Enum
    member :account_merge_success,     0
    member :account_merge_malformed,   -1
    member :account_merge_no_account,  -2
    member :account_merge_has_credit,  -3
    member :account_merge_credit_held, -4

    seal
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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