generated from FraxFinance/frax-template
-
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
d33ee37
commit e5e34f1
Showing
4 changed files
with
170 additions
and
182 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,18 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import { IUniswapV2Router02 } from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; | ||
|
||
interface IFraxswapRouter is IUniswapV2Router02 { | ||
function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) external pure returns (uint256 amountB); | ||
function getAmountsOut(uint256 amountIn, address[] memory path) external view returns (uint256[] memory amounts); | ||
function getAmountsIn(uint256 amountOut, address[] memory path) external view returns (uint256[] memory amounts); | ||
function getAmountsOutWithTwamm( | ||
uint256 amountIn, | ||
address[] memory path | ||
) external returns (uint256[] memory amounts); | ||
function getAmountsInWithTwamm( | ||
uint256 amountOut, | ||
address[] memory path | ||
) external returns (uint256[] memory amounts); | ||
} |
Oops, something went wrong.