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

require 'xdr'

# === xdr source ============================================================
#
#   enum OperationType
#   {
#       CREATE_ACCOUNT = 0,
#       PAYMENT = 1,
#       PATH_PAYMENT_STRICT_RECEIVE = 2,
#       MANAGE_SELL_OFFER = 3,
#       CREATE_PASSIVE_SELL_OFFER = 4,
#       SET_OPTIONS = 5,
#       CHANGE_TRUST = 6,
#       ALLOW_TRUST = 7,
#       ACCOUNT_MERGE = 8,
#       INFLATION = 9,
#       MANAGE_DATA = 10,
#       BUMP_SEQUENCE = 11,
#       MANAGE_BUY_OFFER = 12,
#       PATH_PAYMENT_STRICT_SEND = 13,
#       CREATE_CLAIMABLE_BALANCE = 14,
#       CLAIM_CLAIMABLE_BALANCE = 15,
#       BEGIN_SPONSORING_FUTURE_RESERVES = 16,
#       END_SPONSORING_FUTURE_RESERVES = 17,
#       REVOKE_SPONSORSHIP = 18,
#       CLAWBACK = 19,
#       CLAWBACK_CLAIMABLE_BALANCE = 20,
#       SET_TRUST_LINE_FLAGS = 21,
#       LIQUIDITY_POOL_DEPOSIT = 22,
#       LIQUIDITY_POOL_WITHDRAW = 23
#   };
#
# ===========================================================================
module Stellar
  class OperationType < XDR::Enum
    member :create_account,                   0
    member :payment,                          1
    member :path_payment_strict_receive,      2
    member :manage_sell_offer,                3
    member :create_passive_sell_offer,        4
    member :set_options,                      5
    member :change_trust,                     6
    member :allow_trust,                      7
    member :account_merge,                    8
    member :inflation,                        9
    member :manage_data,                      10
    member :bump_sequence,                    11
    member :manage_buy_offer,                 12
    member :path_payment_strict_send,         13
    member :create_claimable_balance,         14
    member :claim_claimable_balance,          15
    member :begin_sponsoring_future_reserves, 16
    member :end_sponsoring_future_reserves,   17
    member :revoke_sponsorship,               18
    member :clawback,                         19
    member :clawback_claimable_balance,       20
    member :set_trust_line_flags,             21
    member :liquidity_pool_deposit,           22
    member :liquidity_pool_withdraw,          23

    seal
  end
end
