Skip to main content

Function: buildAddLiquidityDto

buildAddLiquidityDto(input): AddLiquidityDTO

Builds the AddLiquidity DTO: exactly one of depositQuantityToken0 / depositQuantityToken1 (the other side is derived on chain). Key order: token0, token1, fee, tickLower, tickUpper, uniqueKey, <deposit>.

Parameters​

ParameterType
inputAddLiquidityInput

Returns​

AddLiquidityDTO