Sha256: 7d39a7685980e2db99f79ff3f39a41b0b917d8aba8c06fc39659a0417408e20a

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

# Automatically generated on 2015-04-26T19:13:29-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   enum SetOptionsResultCode
#   {
#       // codes considered as "success" for the operation
#       SET_OPTIONS_SUCCESS = 0,
#       // codes considered as "failure" for the operation
#       SET_OPTIONS_LOW_RESERVE = -1,      // not enough funds to add a signer
#       SET_OPTIONS_TOO_MANY_SIGNERS = -2, // max number of signers already reached
#       SET_OPTIONS_BAD_FLAGS = -3,        // invalid combination of clear/set flags
#       SET_OPTIONS_INVALID_INFLATION = -4 // inflation account does not exist
#   };
#
# ===========================================================================
module Stellar
  class SetOptionsResultCode < XDR::Enum
    member :set_options_success,           0
    member :set_options_low_reserve,       -1
    member :set_options_too_many_signers,  -2
    member :set_options_bad_flags,         -3
    member :set_options_invalid_inflation, -4

    seal
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.3 generated/stellar/set_options_result_code.rb
stellar-base-0.0.2 generated/stellar/set_options_result_code.rb