XdrLiquidityPoolDepositOperationBase
Table of Contents
Properties
-
$liquidityPoolID
: string
-
$maxAmountA
: BigInteger
-
$maxAmountB
: BigInteger
-
$maxPrice
: XdrPrice
-
$minPrice
: XdrPrice
Methods
-
__construct()
: mixed
-
decode()
: static
-
encode()
: string
-
fromBase64Xdr()
: static
-
fromTxRep()
: static
-
getLiquidityPoolID()
: string
-
getMaxAmountA()
: BigInteger
-
getMaxAmountB()
: BigInteger
-
getMaxPrice()
: XdrPrice
-
getMinPrice()
: XdrPrice
-
setLiquidityPoolID()
: void
-
setMaxAmountA()
: void
-
setMaxAmountB()
: void
-
setMaxPrice()
: void
-
setMinPrice()
: void
-
toBase64Xdr()
: string
-
toTxRep()
: void
$liquidityPoolID
public
string
$liquidityPoolID
$maxAmountA
public
BigInteger
$maxAmountA
$maxAmountB
public
BigInteger
$maxAmountB
$maxPrice
public
XdrPrice
$maxPrice
$minPrice
public
XdrPrice
$minPrice
__construct()
public
__construct(string $liquidityPoolID, BigInteger $maxAmountA, BigInteger $maxAmountB, XdrPrice $minPrice, XdrPrice $maxPrice) : mixed
Parameters
-
$liquidityPoolID
: string
-
-
$maxAmountA
: BigInteger
-
-
$maxAmountB
: BigInteger
-
-
$minPrice
: XdrPrice
-
-
$maxPrice
: XdrPrice
-
decode()
public
static decode(XdrBuffer $xdr) : static
Parameters
-
$xdr
: XdrBuffer
-
encode()
public
encode() : string
fromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
-
$xdr
: string
-
fromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : static
Parameters
-
$map
: array<string|int, mixed>
-
-
$prefix
: string
-
getLiquidityPoolID()
public
getLiquidityPoolID() : string
getMaxAmountA()
public
getMaxAmountA() : BigInteger
getMaxAmountB()
public
getMaxAmountB() : BigInteger
getMaxPrice()
public
getMaxPrice() : XdrPrice
getMinPrice()
public
getMinPrice() : XdrPrice
setLiquidityPoolID()
public
setLiquidityPoolID(string $liquidityPoolID) : void
Parameters
-
$liquidityPoolID
: string
-
setMaxAmountA()
public
setMaxAmountA(BigInteger $maxAmountA) : void
Parameters
-
$maxAmountA
: BigInteger
-
setMaxAmountB()
public
setMaxAmountB(BigInteger $maxAmountB) : void
Parameters
-
$maxAmountB
: BigInteger
-
setMaxPrice()
public
setMaxPrice(XdrPrice $maxPrice) : void
Parameters
-
$maxPrice
: XdrPrice
-
setMinPrice()
public
setMinPrice(XdrPrice $minPrice) : void
Parameters
-
$minPrice
: XdrPrice
-
toBase64Xdr()
public
toBase64Xdr() : string
toTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
-
$prefix
: string
-
-
$lines
: array<string|int, mixed>
-