Sha256: b4202db8701d46de0a1c347ef350e54d9d157efe30b48bedf638369593a14159

Contents?: true

Size: 830 Bytes

Versions: 15

Compression:

Stored size: 830 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union MuxedAccount switch (CryptoKeyType type)
#   {
#   case KEY_TYPE_ED25519:
#       uint256 ed25519;
#   case KEY_TYPE_MUXED_ED25519:
#       struct
#       {
#           uint64 id;
#           uint256 ed25519;
#       } med25519;
#   };
#
# ===========================================================================
module Stellar
  class MuxedAccount < XDR::Union
    include XDR::Namespace

    autoload :Med25519

    switch_on CryptoKeyType, :type

    switch :key_type_ed25519,       :ed25519
    switch :key_type_muxed_ed25519, :med25519

    attribute :ed25519,  Uint256
    attribute :med25519, Med25519
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/muxed_account.rb
stellar-base-0.31.0 generated/stellar/muxed_account.rb
stellar-base-0.30.0 generated/stellar/muxed_account.rb
stellar-base-0.29.0 generated/stellar/muxed_account.rb
stellar-base-0.28.0 generated/stellar/muxed_account.rb
stellar-base-0.27.0 generated/stellar/muxed_account.rb
stellar-base-0.26.0 generated/stellar/muxed_account.rb
stellar-base-0.25.0 generated/stellar/muxed_account.rb
stellar-base-0.24.0 generated/stellar/muxed_account.rb
stellar-base-0.24.0.pre.1 generated/stellar/muxed_account.rb
stellar-base-0.23.1 generated/stellar/muxed_account.rb
stellar-base-0.23.0 generated/stellar/muxed_account.rb
stellar-base-0.23.0.rc2 generated/stellar/muxed_account.rb
stellar-base-0.23.0.rc1 generated/stellar/muxed_account.rb
stellar-base-0.23.0.pre1 generated/stellar/muxed_account.rb