Sha256: c257e13ade863445c9d059ec296ef0c7a8541ffaf7d8c28566d338a406a237f8

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

# 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 = 2,
#       MANAGE_OFFER = 3,
#       CREATE_PASSIVE_OFFER = 4,
#       SET_OPTIONS = 5,
#       CHANGE_TRUST = 6,
#       ALLOW_TRUST = 7,
#       ACCOUNT_MERGE = 8,
#       INFLATION = 9,
#       MANAGE_DATA = 10
#   };
#
# ===========================================================================
module Stellar
  class OperationType < XDR::Enum
    member :create_account,       0
    member :payment,              1
    member :path_payment,         2
    member :manage_offer,         3
    member :create_passive_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

    seal
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stellar-base-0.13.0 generated/stellar/operation_type.rb
stellar-base-0.12.0 generated/stellar/operation_type.rb
stellar-base-0.11.0 generated/stellar/operation_type.rb