Sha256: 2772ae6c12264cde3d9cd6a73d51583c043a06f47c9977824934ae31ad2ec93b

Contents?: true

Size: 982 Bytes

Versions: 9

Compression:

Stored size: 982 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct AllowTrustOp
#   {
#       AccountID trustor;
#       union switch (AssetType type)
#       {
#       // ASSET_TYPE_NATIVE is not allowed
#       case ASSET_TYPE_CREDIT_ALPHANUM4:
#           AssetCode4 assetCode4;
#   
#       case ASSET_TYPE_CREDIT_ALPHANUM12:
#           AssetCode12 assetCode12;
#   
#           // add other asset types here in the future
#       }
#       asset;
#   
#       // 0, or any bitwise combination of TrustLineFlags
#       uint32 authorize;
#   };
#
# ===========================================================================
module Stellar
  class AllowTrustOp < XDR::Struct
    include XDR::Namespace

    autoload :Asset

    attribute :trustor,   AccountID
    attribute :asset,     Asset
    attribute :authorize, Uint32
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
stellar-base-0.26.0 generated/stellar/allow_trust_op.rb
stellar-base-0.25.0 generated/stellar/allow_trust_op.rb
stellar-base-0.24.0 generated/stellar/allow_trust_op.rb
stellar-base-0.24.0.pre.1 generated/stellar/allow_trust_op.rb
stellar-base-0.23.1 generated/stellar/allow_trust_op.rb
stellar-base-0.23.0 generated/stellar/allow_trust_op.rb
stellar-base-0.23.0.rc2 generated/stellar/allow_trust_op.rb
stellar-base-0.23.0.rc1 generated/stellar/allow_trust_op.rb
stellar-base-0.23.0.pre1 generated/stellar/allow_trust_op.rb