DexAddCalculationResult
public struct DexAddCalculationResult
A struct to hold all the necessary calculations for adding liquidity to a dex contract
-
Declaration
Swift
public let expectedLiquidity: TokenAmount
-
Declaration
Swift
public let minimumLiquidity: TokenAmount
-
Declaration
Swift
public let tokenRequired: TokenAmount
-
Declaration
Swift
public let exchangeRate: Decimal
-
Declaration
Swift
public init(expectedLiquidity: TokenAmount, minimumLiquidity: TokenAmount, tokenRequired: TokenAmount, exchangeRate: Decimal)