Open code423n4 opened 2 years ago
hickuphh3
The following functions can have their visibilities restricted to pure:
getUserTokenAmount()
getSqrtPriceX96()
positionAmounts()
Only getSqrtPriceX96 can be pure. The rest is reading the state.
getSqrtPriceX96
Handle
hickuphh3
Vulnerability details
Impact
The following functions can have their visibilities restricted to pure:
getUserTokenAmount()
getSqrtPriceX96()
positionAmounts()