-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b4bb3c
commit 50897f7
Showing
3 changed files
with
107 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
pragma solidity >=0.5.0; | ||
|
||
interface ICLFactory { | ||
function getPool(address tokenA, address tokenB, int24 tickSpacing) external view returns (address pool); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
pragma solidity >=0.5.0; | ||
|
||
interface ICLPool { | ||
function slot0() | ||
external | ||
view | ||
returns ( | ||
uint160 sqrtPriceX96, | ||
int24 tick, | ||
uint16 observationIndex, | ||
uint16 observationCardinality, | ||
uint16 observationCardinalityNext, | ||
bool unlocked | ||
); | ||
|
||
function liquidity() external view returns (uint128); | ||
} |