Sha256: 32ad23420501d86e250ae1b3bab1003d30bd1bba8c65c9ae05cf7e7a0b117f9e

Contents?: true

Size: 1.24 KB

Versions: 18

Compression:

Stored size: 1.24 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   enum ChangeTrustResultCode
#   {
#       // codes considered as "success" for the operation
#       CHANGE_TRUST_SUCCESS = 0,
#       // codes considered as "failure" for the operation
#       CHANGE_TRUST_MALFORMED = -1,     // bad input
#       CHANGE_TRUST_NO_ISSUER = -2,     // could not find issuer
#       CHANGE_TRUST_INVALID_LIMIT = -3, // cannot drop limit below balance
#                                        // cannot create with a limit of 0
#       CHANGE_TRUST_LOW_RESERVE =
#           -4, // not enough funds to create a new trust line,
#       CHANGE_TRUST_SELF_NOT_ALLOWED = -5 // trusting self is not allowed
#   };
#
# ===========================================================================
module Stellar
  class ChangeTrustResultCode < XDR::Enum
    member :change_trust_success,          0
    member :change_trust_malformed,        -1
    member :change_trust_no_issuer,        -2
    member :change_trust_invalid_limit,    -3
    member :change_trust_low_reserve,      -4
    member :change_trust_self_not_allowed, -5

    seal
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
stellar-base-0.29.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.28.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.27.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.26.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.25.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.24.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.24.0.pre.1 generated/stellar/change_trust_result_code.rb
stellar-base-0.23.1 generated/stellar/change_trust_result_code.rb
stellar-base-0.23.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.23.0.rc2 generated/stellar/change_trust_result_code.rb
stellar-base-0.23.0.rc1 generated/stellar/change_trust_result_code.rb
stellar-base-0.23.0.pre1 generated/stellar/change_trust_result_code.rb
stellar-base-0.19.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.18.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.17.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.16.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.15.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.14.0 generated/stellar/change_trust_result_code.rb