Sha256: 69229ce4b8e8365b24f2fac0b5cf4511d6ecf8df0e4d5051b372fb8a94d78c80

Contents?: true

Size: 1.58 KB

Versions: 11

Compression:

Stored size: 1.58 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 PathPaymentResultCode
#   {
#       // codes considered as "success" for the operation
#       PATH_PAYMENT_SUCCESS = 0, // success
#   
#       // codes considered as "failure" for the operation
#       PATH_PAYMENT_MALFORMED = -1,      // bad input
#       PATH_PAYMENT_UNDERFUNDED = -2,    // not enough funds in source account
#       PATH_PAYMENT_NO_DESTINATION = -3, // destination account does not exist
#       PATH_PAYMENT_NO_TRUST = -4, // destination missing a trust line for currency
#       PATH_PAYMENT_NOT_AUTHORIZED =
#           -5,                      // destination not authorized to hold currency
#       PATH_PAYMENT_LINE_FULL = -6, // destination would go above their limit
#       PATH_PAYMENT_TOO_FEW_OFFERS = -7, // not enough offers to satisfy path
#       PATH_PAYMENT_OVER_SENDMAX = -8    // could not satisfy sendmax
#   };
#
# ===========================================================================
module Stellar
  class PathPaymentResultCode < XDR::Enum
    member :path_payment_success,        0
    member :path_payment_malformed,      -1
    member :path_payment_underfunded,    -2
    member :path_payment_no_destination, -3
    member :path_payment_no_trust,       -4
    member :path_payment_not_authorized, -5
    member :path_payment_line_full,      -6
    member :path_payment_too_few_offers, -7
    member :path_payment_over_sendmax,   -8

    seal
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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