new event for ubi claim
This commit is contained in:
parent
9ad2ae9ad3
commit
5ac8cead5f
3 changed files with 10 additions and 8 deletions
|
|
@ -149,7 +149,7 @@ contract BaseLineLP {
|
|||
|
||||
uint160 internal constant MIN_SQRT_RATIO = 4295128739;
|
||||
|
||||
function tickAtPrice(uint256 tokenAmount, uint256 ethAmount) internal returns (int24 tick_) {
|
||||
function tickAtPrice(uint256 tokenAmount, uint256 ethAmount) internal view returns (int24 tick_) {
|
||||
require(ethAmount > 0, "ETH amount cannot be zero");
|
||||
uint160 sqrtPriceX96;
|
||||
if (tokenAmount == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue