Sha256: c6edee2dc612b82f482663f63e07ac7fb7b4d4d7eb221b75e08c8dc2ace8ecd7

Contents?: true

Size: 709 Bytes

Versions: 3

Compression:

Stored size: 709 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union LiquidityPoolParameters switch (LiquidityPoolType type)
#   {
#   case LIQUIDITY_POOL_CONSTANT_PRODUCT:
#       LiquidityPoolConstantProductParameters constantProduct;
#   };
#
# ===========================================================================
module Stellar
  class LiquidityPoolParameters < XDR::Union
    switch_on LiquidityPoolType, :type

    switch :liquidity_pool_constant_product, :constant_product

    attribute :constant_product, LiquidityPoolConstantProductParameters
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/liquidity_pool_parameters.rb
stellar-base-0.31.0 generated/stellar/liquidity_pool_parameters.rb
stellar-base-0.30.0 generated/stellar/liquidity_pool_parameters.rb