ISeawaterExecutorAdjustPositionB
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
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 give to the user. May go lower. |
amount1Desired | uint256 | to give to the user. May go lower. |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | the deltas for token0, and token1 |
<none> | uint256 |