Checks
Inherits: IChecks
Functions
checkSqrtPrice
Function to check if the price of a pool is within specified bounds.
Parameters
Name
Type
Description
pool
IMaverickV2Pool
The MaverickV2Pool contract to check.
minSqrtPrice
uint256
The minimum acceptable square root price.
maxSqrtPrice
uint256
The maximum acceptable square root price.
checkDeadline
Function to check if a given deadline has passed.
Parameters
Name
Type
Description
deadline
uint256
The timestamp representing the deadline.
Last updated