Sha256: 3fcde06de66bea48a61227c599a122d20192c5376110ba72004c621c4e1ae88c

Contents?: true

Size: 1.8 KB

Versions: 5

Compression:

Stored size: 1.8 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct Operation
#   {
#       // sourceAccount is the account used to run the operation
#       // if not set, the runtime defaults to "sourceAccount" specified at
#       // the transaction level
#       MuxedAccount* sourceAccount;
#   
#       union switch (OperationType type)
#       {
#       case CREATE_ACCOUNT:
#           CreateAccountOp createAccountOp;
#       case PAYMENT:
#           PaymentOp paymentOp;
#       case PATH_PAYMENT_STRICT_RECEIVE:
#           PathPaymentStrictReceiveOp pathPaymentStrictReceiveOp;
#       case MANAGE_SELL_OFFER:
#           ManageSellOfferOp manageSellOfferOp;
#       case CREATE_PASSIVE_SELL_OFFER:
#           CreatePassiveSellOfferOp createPassiveSellOfferOp;
#       case SET_OPTIONS:
#           SetOptionsOp setOptionsOp;
#       case CHANGE_TRUST:
#           ChangeTrustOp changeTrustOp;
#       case ALLOW_TRUST:
#           AllowTrustOp allowTrustOp;
#       case ACCOUNT_MERGE:
#           MuxedAccount destination;
#       case INFLATION:
#           void;
#       case MANAGE_DATA:
#           ManageDataOp manageDataOp;
#       case BUMP_SEQUENCE:
#           BumpSequenceOp bumpSequenceOp;
#       case MANAGE_BUY_OFFER:
#           ManageBuyOfferOp manageBuyOfferOp;
#       case PATH_PAYMENT_STRICT_SEND:
#           PathPaymentStrictSendOp pathPaymentStrictSendOp;
#       }
#       body;
#   };
#
# ===========================================================================
module Stellar
  class Operation < XDR::Struct
    include XDR::Namespace

    autoload :Body

    attribute :source_account, XDR::Option[MuxedAccount]
    attribute :body,           Body
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stellar-base-0.23.1 generated/stellar/operation.rb
stellar-base-0.23.0 generated/stellar/operation.rb
stellar-base-0.23.0.rc2 generated/stellar/operation.rb
stellar-base-0.23.0.rc1 generated/stellar/operation.rb
stellar-base-0.23.0.pre1 generated/stellar/operation.rb