mirror of
				https://github.com/Instadapp/dsa-connectors.git
				synced 2024-07-29 22:37:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			380 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			380 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0-or-later
 | |
| pragma solidity >=0.4.0;
 | |
| 
 | |
| /// @title FixedPoint96
 | |
| /// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)
 | |
| /// @dev Used in SqrtPriceMath.sol
 | |
| library FixedPoint96 {
 | |
|     uint8 internal constant RESOLUTION = 96;
 | |
|     uint256 internal constant Q96 = 0x1000000000000000000000000;
 | |
| }
 | 
