from Xdr
Creates a LiquidityPool from its XDR representation.
Return
A new LiquidityPool object
Parameters
xdr
The XDR object to convert from
Throws
if the XDR discriminant is not LIQUIDITY_POOL_CONSTANT_PRODUCT
Creates a LiquidityPool from its XDR representation.
A new LiquidityPool object
The XDR object to convert from
if the XDR discriminant is not LIQUIDITY_POOL_CONSTANT_PRODUCT