LiquidityMath
Functions
addDelta
Add a signed liquidity delta to liquidity and revert if it overflows or underflows
Parameters:
Name | Type | Description |
---|---|---|
| uint128 | The liquidity before change |
| int128 | The delta by which liquidity should be changed |
Return Values:
Name | Type | Description |
---|---|---|
| uint128 | The liquidity delta |
Last updated