ISeawaterExecutorAdjustPositionA

Git Source

Functions

incrPositionE2437399

refreshes and takes a position's fees, and returns liquidity, preventing less than the minimum from being taken to be sent to the user.

function incrPositionE2437399(
    address pool,
    uint256 id,
    uint256 amount0Min,
    uint256 amount1Min,
    uint256 amount0Desired,
    uint256 amount1Desired
) external returns (uint256, uint256);

Parameters

NameTypeDescription
pooladdressof the token to use
iduint256the id of the position
amount0Minuint256minimum of amount0 to take from the user
amount1Minuint256minimum of amount1 to take from the user
amount0Desireduint256to take from the user. May exceed.
amount1Desireduint256to take from the user. May exceed.

Returns

NameTypeDescription
<none>uint256the deltas for token0, and token1
<none>uint256