IChecks
Functions
checkSqrtPrice
Function to check if the price of a pool is within specified bounds.
Parameters
Name | Type | Description |
---|---|---|
|
| The MaverickV2Pool contract to check. |
|
| The minimum acceptable square root price. |
|
| The maximum acceptable square root price. |
checkDeadline
Function to check if a given deadline has passed.
Parameters
Name | Type | Description |
---|---|---|
|
| The timestamp representing the deadline. |
Errors
PositionExceededPriceBounds
PositionDeadlinePassed
Last updated