Sha256: 66b6392d44bc4f91425f737e86babb7755e5384d01642fded07e9e9877f3ff08

Contents?: true

Size: 1.23 KB

Versions: 21

Compression:

Stored size: 1.23 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   enum AllowTrustResultCode
#   {
#       // codes considered as "success" for the operation
#       ALLOW_TRUST_SUCCESS = 0,
#       // codes considered as "failure" for the operation
#       ALLOW_TRUST_MALFORMED = -1,     // asset is not ASSET_TYPE_ALPHANUM
#       ALLOW_TRUST_NO_TRUST_LINE = -2, // trustor does not have a trustline
#                                       // source account does not require trust
#       ALLOW_TRUST_TRUST_NOT_REQUIRED = -3,
#       ALLOW_TRUST_CANT_REVOKE = -4,     // source account can't revoke trust,
#       ALLOW_TRUST_SELF_NOT_ALLOWED = -5 // trusting self is not allowed
#   };
#
# ===========================================================================
module Stellar
  class AllowTrustResultCode < XDR::Enum
    member :allow_trust_success,            0
    member :allow_trust_malformed,          -1
    member :allow_trust_no_trust_line,      -2
    member :allow_trust_trust_not_required, -3
    member :allow_trust_cant_revoke,        -4
    member :allow_trust_self_not_allowed,   -5

    seal
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
stellar-base-0.29.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.28.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.27.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.26.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.25.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.24.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.24.0.pre.1 generated/stellar/allow_trust_result_code.rb
stellar-base-0.23.1 generated/stellar/allow_trust_result_code.rb
stellar-base-0.23.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.23.0.rc2 generated/stellar/allow_trust_result_code.rb
stellar-base-0.23.0.rc1 generated/stellar/allow_trust_result_code.rb
stellar-base-0.23.0.pre1 generated/stellar/allow_trust_result_code.rb
stellar-base-0.22.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.21.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.20.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.19.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.18.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.17.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.16.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.15.0 generated/stellar/allow_trust_result_code.rb