Sha256: fc813ed53abbb972068553193136303887c838427bef3dab9d11f4b6703b0e5b

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   enum LiquidityPoolWithdrawResultCode
#   {
#       // codes considered as "success" for the operation
#       LIQUIDITY_POOL_WITHDRAW_SUCCESS = 0,
#   
#       // codes considered as "failure" for the operation
#       LIQUIDITY_POOL_WITHDRAW_MALFORMED = -1,      // bad input
#       LIQUIDITY_POOL_WITHDRAW_NO_TRUST = -2,       // no trust line for one of the
#                                                    // assets
#       LIQUIDITY_POOL_WITHDRAW_UNDERFUNDED = -3,    // not enough balance of the
#                                                    // pool share
#       LIQUIDITY_POOL_WITHDRAW_LINE_FULL = -4,      // would go above limit for one
#                                                    // of the assets
#       LIQUIDITY_POOL_WITHDRAW_UNDER_MINIMUM = -5   // didn't withdraw enough
#   };
#
# ===========================================================================
module Stellar
  class LiquidityPoolWithdrawResultCode < XDR::Enum
    member :liquidity_pool_withdraw_success,       0
    member :liquidity_pool_withdraw_malformed,     -1
    member :liquidity_pool_withdraw_no_trust,      -2
    member :liquidity_pool_withdraw_underfunded,   -3
    member :liquidity_pool_withdraw_line_full,     -4
    member :liquidity_pool_withdraw_under_minimum, -5

    seal
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.31.0 generated/stellar/liquidity_pool_withdraw_result_code.rb
stellar-base-0.30.0 generated/stellar/liquidity_pool_withdraw_result_code.rb