Liquidity Pool Entry Constant Product Xdr
data class LiquidityPoolEntryConstantProductXdr(val params: LiquidityPoolConstantProductParametersXdr, val reserveA: Int64Xdr, val reserveB: Int64Xdr, val totalPoolShares: Int64Xdr, val poolSharesTrustLineCount: Int64Xdr)
XDR Source: struct { LiquidityPoolConstantProductParameters params;
int64 reserveA; // amount of A in the pool
int64 reserveB; // amount of B in the pool
int64 totalPoolShares; // total number of pool shares issued
int64 poolSharesTrustLineCount; // number of trust lines for the
// associated pool shares
}Content copied to clipboard
Constructors
Link copied to clipboard
constructor(params: LiquidityPoolConstantProductParametersXdr, reserveA: Int64Xdr, reserveB: Int64Xdr, totalPoolShares: Int64Xdr, poolSharesTrustLineCount: Int64Xdr)