dsa-connectors/contracts/arbitrum/connectors/uniswap-sell-beta/libraries/FixedPoint96.sol
pradyuman-verma 69ce278335
update
2021-11-19 18:29:55 +05:30

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;
}