Sha256: b045aa3bd89212141a5f8cea0e3b8da8405cf06852d59c7ea2de6866ffc4e696

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union PublicKey switch (CryptoKeyType type)
#   {
#   case KEY_TYPES_ED25519:
#       uint256 ed25519;
#   };
#
# ===========================================================================
module Stellar
  class PublicKey < XDR::Union
    switch_on CryptoKeyType, :type

    switch :key_types_ed25519, :ed25519

    attribute :ed25519, Uint256
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.20 generated/stellar/public_key.rb
stellar-base-0.0.19 generated/stellar/public_key.rb