Sha256: 31bd57536dfd00b8acdbdf931a5120ecd5ed8a692520838ae53ab3bdc6c19b99

Contents?: true

Size: 1.1 KB

Versions: 10

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 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
#   };
#
# ===========================================================================
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

    seal
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
stellar-base-0.11.0 generated/stellar/change_trust_result_code.rb
auction-ruby-base-0.1.3 generated/stellar/change_trust_result_code.rb
auction-ruby-base-0.1.2 generated/stellar/change_trust_result_code.rb
auction-ruby-base-0.1.1 generated/stellar/change_trust_result_code.rb
stellar-base-0.10.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.9.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.8.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.7.0 generated/stellar/change_trust_result_code.rb
stellar-base-0.6.1 generated/stellar/change_trust_result_code.rb
stellar-base-0.6.0 generated/stellar/change_trust_result_code.rb