Sha256: 8c6e618a8f43e63a08ec6a977a61ff01aa4f506163a35645bdad8945cfdff704

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

# Automatically generated on 2015-06-09T15:04:05-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
#       SET_OPTIONS_CANT_CHANGE = -5,       // can no longer change this option
#       SET_OPTIONS_UNKNOWN_FLAG = -6       // can't set an unknown flag
#   };
#
# ===========================================================================
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
    member :set_options_cant_change,       -5
    member :set_options_unknown_flag,      -6

    seal
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stellar-base-0.0.18 generated/stellar/set_options_result_code.rb
stellar-base-0.0.17 generated/stellar/set_options_result_code.rb
stellar-base-0.0.16 generated/stellar/set_options_result_code.rb