Stellar PHP SDK API Documentation

XdrClaimLiquidityAtom
in package

Table of Contents

Properties

$amountBought  : BigInteger
$amountSold  : BigInteger
$assetBought  : XdrAsset
$assetSold  : XdrAsset
$liquidityPoolID  : string

Methods

__construct()  : mixed
decode()  : XdrClaimLiquidityAtom
encode()  : string
fromBase64Xdr()  : static
getAmountBought()  : BigInteger
getAmountSold()  : BigInteger
getAssetBought()  : XdrAsset
getAssetSold()  : XdrAsset
getLiquidityPoolID()  : string
setAmountBought()  : void
setAmountSold()  : void
setAssetBought()  : void
setAssetSold()  : void
setLiquidityPoolID()  : void
toBase64Xdr()  : string

Properties

Methods

__construct()

public __construct(string $liquidityPoolID, XdrAsset $assetSold, BigInteger $amountSold, XdrAsset $assetBought, BigInteger $amountBought) : mixed
Parameters
$liquidityPoolID : string
$assetSold : XdrAsset
$amountSold : BigInteger
$assetBought : XdrAsset
$amountBought : BigInteger

fromBase64Xdr()

public static fromBase64Xdr(string $xdr) : static
Parameters
$xdr : string
Return values
static

setAmountBought()

public setAmountBought(BigInteger $amountBought) : void
Parameters
$amountBought : BigInteger

setAmountSold()

public setAmountSold(BigInteger $amountSold) : void
Parameters
$amountSold : BigInteger

setLiquidityPoolID()

public setLiquidityPoolID(string $liquidityPoolID) : void
Parameters
$liquidityPoolID : string

        
On this page

Search results