LiquidityPoolWithdrawOpXdr

data class LiquidityPoolWithdrawOpXdr(val liquidityPoolId: PoolIDXdr, val amount: Int64Xdr, val minAmountA: Int64Xdr, val minAmountB: Int64Xdr)

XDR Source: struct LiquidityPoolWithdrawOp { PoolID liquidityPoolID; int64 amount; // amount of pool shares to withdraw int64 minAmountA; // minimum amount of first asset to withdraw int64 minAmountB; // minimum amount of second asset to withdraw };

Constructors

Link copied to clipboard
constructor(liquidityPoolId: PoolIDXdr, amount: Int64Xdr, minAmountA: Int64Xdr, minAmountB: Int64Xdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

amount of pool shares to withdraw

Link copied to clipboard
Link copied to clipboard

minimum amount of first asset to withdraw

Link copied to clipboard

minimum amount of second asset to withdraw

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)