ISeawaterExecutorAdjustPositionB

Git Source

Functions

decrPosition9A7D32E2

refreshes and takes a position's fees, and adds liquidity, preventing less than the minimum from being taken.

function decrPosition9A7D32E2(
    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 give to the user. May go lower.
amount1Desireduint256to give to the user. May go lower.

Returns

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