ClaimLiquidityAtomXdr

data class ClaimLiquidityAtomXdr(val liquidityPoolId: PoolIDXdr, val assetSold: AssetXdr, val amountSold: Int64Xdr, val assetBought: AssetXdr, val amountBought: Int64Xdr)

XDR Source: struct ClaimLiquidityAtom { PoolID liquidityPoolID;

// amount and asset taken from the pool
Asset assetSold;
int64 amountSold;

// amount and asset sent to the pool
Asset assetBought;
int64 amountBought;

};

Constructors

Link copied to clipboard
constructor(liquidityPoolId: PoolIDXdr, assetSold: AssetXdr, amountSold: Int64Xdr, assetBought: AssetXdr, amountBought: Int64Xdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

amount and asset sent to the pool

Link copied to clipboard

amount and asset taken from the pool

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)