-
Notifications
You must be signed in to change notification settings - Fork 0
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
83442bd
commit d606500
Showing
3 changed files
with
30 additions
and
0 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
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 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
pragma solidity >=0.5.0; | ||
|
||
/// @title The interface for the Uniswap V3 Factory | ||
/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees | ||
interface IUniswapV3Factory { | ||
/// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist | ||
/// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order | ||
/// @param tokenA The contract address of either token0 or token1 | ||
/// @param tokenB The contract address of the other token | ||
/// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip | ||
/// @return pool The pool address | ||
function getPool( | ||
address tokenA, | ||
address tokenB, | ||
uint24 fee | ||
) external view returns (address pool); | ||
} |