Sha256: 35de77f3d1ba03e6db7a55872da00d722b307154f7c8e2767e9931e38bd23d21

Contents?: true

Size: 853 Bytes

Versions: 2

Compression:

Stored size: 853 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct AllowTrustOp
#   {
#       AccountID trustor;
#       union switch (CurrencyType type)
#       {
#       // CURRENCY_TYPE_NATIVE is not allowed
#       case CURRENCY_TYPE_ALPHANUM:
#           opaque currencyCode[4];
#   
#           // add other currency types here in the future
#       }
#       currency;
#   
#       bool authorize;
#   };
#
# ===========================================================================
module Stellar
  class AllowTrustOp < XDR::Struct
    include XDR::Namespace

    autoload :Currency

    attribute :trustor,   AccountID
    attribute :currency,  Currency
    attribute :authorize, XDR::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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