ISeawaterExecutorAdjustPositionA
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
Name | Type | Description |
---|---|---|
pool | address | of the token to use |
id | uint256 | the id of the position |
amount0Min | uint256 | minimum of amount0 to take from the user |
amount1Min | uint256 | minimum of amount1 to take from the user |
amount0Desired | uint256 | to take from the user. May exceed. |
amount1Desired | uint256 | to take from the user. May exceed. |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | the deltas for token0, and token1 |
<none> | uint256 |