Sha256: 7a309d6719c24be595de25a5d8b341c7d5868e980145633ebad275fc0d5cbda6

Contents?: true

Size: 936 Bytes

Versions: 15

Compression:

Stored size: 936 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union TransactionEnvelope switch (EnvelopeType type)
#   {
#   case ENVELOPE_TYPE_TX_V0:
#       TransactionV0Envelope v0;
#   case ENVELOPE_TYPE_TX:
#       TransactionV1Envelope v1;
#   case ENVELOPE_TYPE_TX_FEE_BUMP:
#       FeeBumpTransactionEnvelope feeBump;
#   };
#
# ===========================================================================
module Stellar
  class TransactionEnvelope < XDR::Union
    switch_on EnvelopeType, :type

    switch :envelope_type_tx_v0,       :v0
    switch :envelope_type_tx,          :v1
    switch :envelope_type_tx_fee_bump, :fee_bump

    attribute :v0,       TransactionV0Envelope
    attribute :v1,       TransactionV1Envelope
    attribute :fee_bump, FeeBumpTransactionEnvelope
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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