Sha256: 39f917d45b6cf3c0d73ebaf456ff54ddeb760f41c2a931ff128284c895f7d78e

Contents?: true

Size: 1.1 KB

Versions: 11

Compression:

Stored size: 1.1 KB

Contents

# Automatically generated on 2015-05-13T15:00:04-07:00
# 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

11 entries across 11 versions & 1 rubygems

Version Path
stellar-base-0.0.18 generated/stellar/create_account_result_code.rb
stellar-base-0.0.17 generated/stellar/create_account_result_code.rb
stellar-base-0.0.16 generated/stellar/create_account_result_code.rb
stellar-base-0.0.15 generated/stellar/create_account_result_code.rb
stellar-base-0.0.14 generated/stellar/create_account_result_code.rb
stellar-base-0.0.13 generated/stellar/create_account_result_code.rb
stellar-base-0.0.12 generated/stellar/create_account_result_code.rb
stellar-base-0.0.11 generated/stellar/create_account_result_code.rb
stellar-base-0.0.10 generated/stellar/create_account_result_code.rb
stellar-base-0.0.9 generated/stellar/create_account_result_code.rb
stellar-base-0.0.8 generated/stellar/create_account_result_code.rb