Sha256: d0ea135305fe50206e8c404a08f74828edc5982f32822e30f20e7110ffa36f5a

Contents?: true

Size: 1.24 KB

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
stellar-base-0.22.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.21.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.20.0 generated/stellar/change_trust_result_code.rb