LiquidityPoolDepostOperationResponse
public class LiquidityPoolDepostOperationResponse : OperationResponse, @unchecked Sendable
Represents a liquidity pool deposit operation response. This operation deposits assets into a liquidity pool, providing liquidity to the pool in exchange for pool shares. See Stellar developer docs
-
ID of the liquidity pool receiving the deposit.
Declaration
Swift
public let liquidityPoolId: String -
Maximum amounts of each reserve asset that can be deposited.
Declaration
Swift
public let reservesMax: [ReserveResponse] -
Minimum price (as decimal).
Declaration
Swift
public let minPrice: String -
Minimum price as a rational number (numerator/denominator).
Declaration
Swift
public let minPriceR: LiquidityPoolPriceResponse -
Maximum price (as decimal).
Declaration
Swift
public let maxPrice: String -
Maximum price as a rational number (numerator/denominator).
Declaration
Swift
public let maxPriceR: LiquidityPoolPriceResponse -
Actual amounts deposited for each reserve.
Declaration
Swift
public let reservesDeposited: [ReserveResponse] -
Amount of pool shares received in exchange for the deposit.
Declaration
Swift
public let sharesReceived: String -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public required init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash