mirror of
				https://github.com/Instadapp/aave-protocol-v2.git
				synced 2024-07-29 21:47:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			758 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			758 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| // SPDX-License-Identifier: agpl-3.0
 | |
| pragma solidity 0.6.12;
 | |
| 
 | |
| interface IUniswapV2Router02 {
 | |
|   function swapExactTokensForTokens(
 | |
|     uint256 amountIn,
 | |
|     uint256 amountOutMin,
 | |
|     address[] calldata path,
 | |
|     address to,
 | |
|     uint256 deadline
 | |
|   ) external returns (uint256[] memory amounts);
 | |
| 
 | |
|   function swapTokensForExactTokens(
 | |
|     uint256 amountOut,
 | |
|     uint256 amountInMax,
 | |
|     address[] calldata path,
 | |
|     address to,
 | |
|     uint256 deadline
 | |
|   ) external returns (uint256[] memory amounts);
 | |
| 
 | |
|   function getAmountsOut(uint256 amountIn, address[] calldata path)
 | |
|     external
 | |
|     view
 | |
|     returns (uint256[] memory amounts);
 | |
| 
 | |
|   function getAmountsIn(uint256 amountOut, address[] calldata path)
 | |
|     external
 | |
|     view
 | |
|     returns (uint256[] memory amounts);
 | |
| }
 | 
