Sha256: cf8ca4fac0db344142b49dae29c58edc37bb3e5fe440a64c7dc8b4809120cdd4

Contents?: true

Size: 924 Bytes

Versions: 3

Compression:

Stored size: 924 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;
#   
#       bool authorize;
#   };
#
# ===========================================================================
module Stellar
  class AllowTrustOp < XDR::Struct
    include XDR::Namespace

    autoload :Asset

    attribute :trustor,   AccountID
    attribute :asset,     Asset
    attribute :authorize, XDR::Bool
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stellar-base-0.22.0 generated/stellar/allow_trust_op.rb
stellar-base-0.21.0 generated/stellar/allow_trust_op.rb
stellar-base-0.20.0 generated/stellar/allow_trust_op.rb