Sha256: cebab20348c81d1a405e51f1647c37fcec05d234ebcba6dfe24384e9071a6fb4

Contents?: true

Size: 1.11 KB

Versions: 20

Compression:

Stored size: 1.11 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
#   };
#
# ===========================================================================
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

    seal
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
stellar-base-0.11.0 generated/stellar/allow_trust_result_code.rb
auction-ruby-base-0.1.3 generated/stellar/allow_trust_result_code.rb
auction-ruby-base-0.1.2 generated/stellar/allow_trust_result_code.rb
auction-ruby-base-0.1.1 generated/stellar/allow_trust_result_code.rb
stellar-base-0.10.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.9.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.8.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.7.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.6.1 generated/stellar/allow_trust_result_code.rb
stellar-base-0.6.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.5.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.4.0 generated/stellar/allow_trust_result_code.rb
open-core-0.3.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.3.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.2.0 generated/stellar/allow_trust_result_code.rb
stellar-base-0.1.4 generated/stellar/allow_trust_result_code.rb
stellar-base-0.1.3 generated/stellar/allow_trust_result_code.rb
stellar-base-0.1.2 generated/stellar/allow_trust_result_code.rb
stellar-base-0.1.1 generated/stellar/allow_trust_result_code.rb
stellar-base-0.1.0 generated/stellar/allow_trust_result_code.rb