XdrLiquidityPoolBody
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- decode() : XdrLiquidityPoolBody
- encode() : string
- fromBase64Xdr() : static
- getConstantProduct() : XdrConstantProduct|null
- getType() : XdrLiquidityPoolType
- setConstantProduct() : void
- setType() : void
- toBase64Xdr() : string
Properties
$constantProduct
public
XdrConstantProduct|null
$constantProduct
= null
$type
public
XdrLiquidityPoolType
$type
Methods
__construct()
public
__construct([XdrLiquidityPoolType|null $type = null ]) : mixed
Parameters
- $type : XdrLiquidityPoolType|null = null
decode()
public
static decode(XdrBuffer $xdr) : XdrLiquidityPoolBody
Parameters
- $xdr : XdrBuffer
Return values
XdrLiquidityPoolBodyencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticgetConstantProduct()
public
getConstantProduct() : XdrConstantProduct|null
Return values
XdrConstantProduct|nullgetType()
public
getType() : XdrLiquidityPoolType
Return values
XdrLiquidityPoolTypesetConstantProduct()
public
setConstantProduct(XdrConstantProduct|null $constantProduct) : void
Parameters
- $constantProduct : XdrConstantProduct|null
setType()
public
setType(XdrLiquidityPoolType $type) : void
Parameters
- $type : XdrLiquidityPoolType
toBase64Xdr()
public
toBase64Xdr() : string