Sha256: 5a7ebcb9fe42484ce5f938d767bc36181a36fbea8977f5cc8069264dcd1e99a7

Contents?: true

Size: 919 Bytes

Versions: 5

Compression:

Stored size: 919 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:
#           opaque assetCode4[4];
#   
#   	case ASSET_TYPE_CREDIT_ALPHANUM12:
#           opaque assetCode12[12];
#   
#           // 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

5 entries across 5 versions & 1 rubygems

Version Path
stellar-base-0.1.4 generated/stellar/allow_trust_op.rb
stellar-base-0.1.3 generated/stellar/allow_trust_op.rb
stellar-base-0.1.2 generated/stellar/allow_trust_op.rb
stellar-base-0.1.1 generated/stellar/allow_trust_op.rb
stellar-base-0.1.0 generated/stellar/allow_trust_op.rb