DexSwapCalculationResult
public struct DexSwapCalculationResult
A struct to hold all the necessary calculations for a dex trade
-
Declaration
Swift
public let expected: TokenAmount
-
Declaration
Swift
public let minimum: TokenAmount
-
Declaration
Swift
public let displayExchangeRate: Decimal
-
Declaration
Swift
public let displayPriceImpact: Double
-
Declaration
Swift
public init(expected: TokenAmount, minimum: TokenAmount, displayExchangeRate: Decimal, displayPriceImpact: Double)