DexRemoveCalculationResult
public struct DexRemoveCalculationResult
A struct to hold all the necessary calculations for removing liquidity from a dex contract
-
Declaration
Swift
public let expectedXTZ: XTZAmount
-
Declaration
Swift
public let minimumXTZ: XTZAmount
-
Declaration
Swift
public let expectedToken: TokenAmount
-
Declaration
Swift
public let minimumToken: TokenAmount
-
Declaration
Swift
public let exchangeRate: Decimal
-
Declaration
Swift
public init(expectedXTZ: XTZAmount, minimumXTZ: XTZAmount, expectedToken: TokenAmount, minimumToken: TokenAmount, exchangeRate: Decimal)