code-423n4 / 2021-09-wildcredit-findings

0 stars 0 forks source link

UniV3Helper: Function visibilities can be restricted to pure #66

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

hickuphh3

Vulnerability details

Impact

The following functions can have their visibilities restricted to pure:

talegift commented 3 years ago

Only getSqrtPriceX96 can be pure. The rest is reading the state.