public abstract class LiquidityPoolParameters
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
Fee |
Modifier and Type | Method and Description |
---|---|
static LiquidityPoolParameters |
create(org.stellar.sdk.xdr.LiquidityPoolType type,
Asset a,
Asset b,
int feeBP)
LiquidityPoolParameters represents the parameters specifying a liquidity pool.
|
abstract boolean |
equals(java.lang.Object object) |
static LiquidityPoolParameters |
fromXdr(org.stellar.sdk.xdr.LiquidityPoolParameters xdr)
Generates LiquidityPoolParameters object from a given XDR object
|
abstract LiquidityPoolID |
getId() |
abstract org.stellar.sdk.xdr.LiquidityPoolParameters |
toXdr()
Generates XDR object from a given LiquidityPoolParameters object
|
public static LiquidityPoolParameters create(org.stellar.sdk.xdr.LiquidityPoolType type, Asset a, Asset b, int feeBP)
type
- Type of the liquidity poola
- First asset in the liquidity poolb
- Second asset in the liquidity poolfeeBP
- Fee amount in base-pointspublic static LiquidityPoolParameters fromXdr(org.stellar.sdk.xdr.LiquidityPoolParameters xdr)
xdr
- XDR objectpublic abstract boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public abstract org.stellar.sdk.xdr.LiquidityPoolParameters toXdr()
public abstract LiquidityPoolID getId()