Sha256: be25aa2112bea4344199db6188264c0d96a32d3faf30c148a1a0ce9456a096a2

Contents?: true

Size: 1.1 KB

Versions: 48

Compression:

Stored size: 1.1 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   enum CreateAccountResultCode
#   {
#       // codes considered as "success" for the operation
#       CREATE_ACCOUNT_SUCCESS = 0, // account was created
#   
#       // codes considered as "failure" for the operation
#       CREATE_ACCOUNT_MALFORMED = -1,   // invalid destination
#       CREATE_ACCOUNT_UNDERFUNDED = -2, // not enough funds in source account
#       CREATE_ACCOUNT_LOW_RESERVE =
#           -3, // would create an account below the min reserve
#       CREATE_ACCOUNT_ALREADY_EXIST = -4 // account already exists
#   };
#
# ===========================================================================
module Stellar
  class CreateAccountResultCode < XDR::Enum
    member :create_account_success,       0
    member :create_account_malformed,     -1
    member :create_account_underfunded,   -2
    member :create_account_low_reserve,   -3
    member :create_account_already_exist, -4

    seal
  end
end

Version data entries

48 entries across 48 versions & 3 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/create_account_result_code.rb
stellar-base-0.31.0 generated/stellar/create_account_result_code.rb
stellar-base-0.30.0 generated/stellar/create_account_result_code.rb
stellar-base-0.29.0 generated/stellar/create_account_result_code.rb
stellar-base-0.28.0 generated/stellar/create_account_result_code.rb
stellar-base-0.27.0 generated/stellar/create_account_result_code.rb
stellar-base-0.26.0 generated/stellar/create_account_result_code.rb
stellar-base-0.25.0 generated/stellar/create_account_result_code.rb
stellar-base-0.24.0 generated/stellar/create_account_result_code.rb
stellar-base-0.24.0.pre.1 generated/stellar/create_account_result_code.rb
stellar-base-0.23.1 generated/stellar/create_account_result_code.rb
stellar-base-0.23.0 generated/stellar/create_account_result_code.rb
stellar-base-0.23.0.rc2 generated/stellar/create_account_result_code.rb
stellar-base-0.23.0.rc1 generated/stellar/create_account_result_code.rb
stellar-base-0.23.0.pre1 generated/stellar/create_account_result_code.rb
stellar-base-0.22.0 generated/stellar/create_account_result_code.rb
stellar-base-0.21.0 generated/stellar/create_account_result_code.rb
stellar-base-0.20.0 generated/stellar/create_account_result_code.rb
stellar-base-0.19.0 generated/stellar/create_account_result_code.rb
stellar-base-0.18.0 generated/stellar/create_account_result_code.rb