Stellar PHP SDK API Documentation

XdrConstantProduct
in package

Table of Contents

Properties

$params  : XdrLiquidityPoolConstantProductParameters
$poolSharesTrustLineCount  : int
$reserveA  : BigInteger
$reserveB  : BigInteger
$totalPoolShares  : BigInteger

Methods

__construct()  : mixed
decode()  : XdrConstantProduct
encode()  : string
getParams()  : XdrLiquidityPoolConstantProductParameters
getPoolSharesTrustLineCount()  : int
getReserveA()  : BigInteger
getReserveB()  : BigInteger
getTotalPoolShares()  : BigInteger
setParams()  : void
setPoolSharesTrustLineCount()  : void
setReserveA()  : void
setReserveB()  : void
setTotalPoolShares()  : void

Properties

Methods

getPoolSharesTrustLineCount()

public getPoolSharesTrustLineCount() : int
Return values
int

getTotalPoolShares()

public getTotalPoolShares() : BigInteger
Return values
BigInteger

setPoolSharesTrustLineCount()

public setPoolSharesTrustLineCount(int $poolSharesTrustLineCount) : void
Parameters
$poolSharesTrustLineCount : int

setReserveA()

public setReserveA(BigInteger $reserveA) : void
Parameters
$reserveA : BigInteger

setReserveB()

public setReserveB(BigInteger $reserveB) : void
Parameters
$reserveB : BigInteger

setTotalPoolShares()

public setTotalPoolShares(BigInteger $totalPoolShares) : void
Parameters
$totalPoolShares : BigInteger

        
On this page

Search results