View Source StellarBase.XDR.ConstantProduct (Elixir Stellar Base v0.16.0)
Representation of Stellar ConstantProduct
type.
Summary
Types
@type t() :: %StellarBase.XDR.ConstantProduct{ params: StellarBase.XDR.LiquidityPoolConstantProductParameters.t(), pool_shares_trust_line_count: StellarBase.XDR.Int64.t(), reserve_a: StellarBase.XDR.Int64.t(), reserve_b: StellarBase.XDR.Int64.t(), total_pool_shares: StellarBase.XDR.Int64.t() }
Functions
Link to this function
new(params, reserve_a, reserve_b, total_pool_shares, pool_shares_trust_line_count)
View Source@spec new( params :: StellarBase.XDR.LiquidityPoolConstantProductParameters.t(), reserve_a :: StellarBase.XDR.Int64.t(), reserve_b :: StellarBase.XDR.Int64.t(), total_pool_shares :: StellarBase.XDR.Int64.t(), pool_shares_trust_line_count :: StellarBase.XDR.Int64.t() ) :: t()