Sha256: 3c712d64742467f5d7724c2c0b293dc0c08e7167f1291b1b4828f38327552b3c

Contents?: true

Size: 953 Bytes

Versions: 1

Compression:

Stored size: 953 Bytes

Contents

# Automatically generated on 2015-04-07T10:52:07-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   enum ChangeTrustResultCode
#   {
#       // codes considered as "success" for the operation
#       CHANGE_TRUST_SUCCESS = 0,
#       // codes considered as "failure" for the operation
#       CHANGE_TRUST_NO_ISSUER = 1,     // could not find issuer
#       CHANGE_TRUST_INVALID_LIMIT = 2, // cannot drop limit below balance
#       CHANGE_TRUST_LOW_RESERVE = 3 // not enough funds to create a new trust line
#   };
#
# ===========================================================================
module Stellar
  class ChangeTrustResultCode < XDR::Enum
    member :change_trust_success,       0
    member :change_trust_no_issuer,     1
    member :change_trust_invalid_limit, 2
    member :change_trust_low_reserve,   3

    seal
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stellar-base-0.0.1 generated/stellar/change_trust_result_code.rb