Sha256: 79dd86c7c2af3b35b30b7624acc915b13e8954caef3c0ed62e1709eef513c276

Contents?: true

Size: 1.42 KB

Versions: 18

Compression:

Stored size: 1.42 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
#       AccountID* sourceAccount;
#   
#       union switch (OperationType type)
#       {
#       case CREATE_ACCOUNT:
#           CreateAccountOp createAccountOp;
#       case PAYMENT:
#           PaymentOp paymentOp;
#       case PATH_PAYMENT:
#           PathPaymentOp pathPaymentOp;
#       case MANAGE_OFFER:
#           ManageOfferOp manageOfferOp;
#       case CREATE_PASSIVE_OFFER:
#           CreatePassiveOfferOp createPassiveOfferOp;
#       case SET_OPTIONS:
#           SetOptionsOp setOptionsOp;
#       case CHANGE_TRUST:
#           ChangeTrustOp changeTrustOp;
#       case ALLOW_TRUST:
#           AllowTrustOp allowTrustOp;
#       case ACCOUNT_MERGE:
#           AccountID destination;
#       case INFLATION:
#           void;
#       }
#       body;
#   };
#
# ===========================================================================
module Stellar
  class Operation < XDR::Struct
    include XDR::Namespace

    autoload :Body

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

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
stellar-base-0.10.0 generated/stellar/operation.rb
stellar-base-0.9.0 generated/stellar/operation.rb
stellar-base-0.8.0 generated/stellar/operation.rb
stellar-base-0.7.0 generated/stellar/operation.rb
stellar-base-0.6.1 generated/stellar/operation.rb
stellar-base-0.6.0 generated/stellar/operation.rb
stellar-base-0.5.0 generated/stellar/operation.rb
stellar-base-0.4.0 generated/stellar/operation.rb
open-core-0.3.0 generated/stellar/operation.rb
stellar-base-0.3.0 generated/stellar/operation.rb
stellar-base-0.2.0 generated/stellar/operation.rb
stellar-base-0.1.4 generated/stellar/operation.rb
stellar-base-0.1.3 generated/stellar/operation.rb
stellar-base-0.1.2 generated/stellar/operation.rb
stellar-base-0.1.1 generated/stellar/operation.rb
stellar-base-0.1.0 generated/stellar/operation.rb
stellar-base-0.0.20 generated/stellar/operation.rb
stellar-base-0.0.19 generated/stellar/operation.rb