Variables ​
State Variables ​
FACTORY ​
solidity
IFluidDexFactory public immutable FACTORY;
LIQUIDITY ​
solidity
IFluidLiquidity public immutable LIQUIDITY;
LIQUIDITY_RESOLVER ​
solidity
IFluidLiquidityResolver public immutable LIQUIDITY_RESOLVER;
DEPLOYER_CONTRACT ​
Address of contract used for deploying center price & hook related contract
solidity
address public immutable DEPLOYER_CONTRACT;
X2 ​
solidity
uint256 internal constant X2 = 0x3;
X3 ​
solidity
uint256 internal constant X3 = 0x7;
X5 ​
solidity
uint256 internal constant X5 = 0x1f;
X7 ​
solidity
uint256 internal constant X7 = 0x7f;
X8 ​
solidity
uint256 internal constant X8 = 0xff;
X9 ​
solidity
uint256 internal constant X9 = 0x1ff;
X10 ​
solidity
uint256 internal constant X10 = 0x3ff;
X11 ​
solidity
uint256 internal constant X11 = 0x7ff;
X14 ​
solidity
uint256 internal constant X14 = 0x3fff;
X16 ​
solidity
uint256 internal constant X16 = 0xffff;
X17 ​
solidity
uint256 internal constant X17 = 0x1ffff;
X20 ​
solidity
uint256 internal constant X20 = 0xfffff;
X22 ​
solidity
uint256 internal constant X22 = 0x3fffff;
X23 ​
solidity
uint256 internal constant X23 = 0x7fffff;
X24 ​
solidity
uint256 internal constant X24 = 0xffffff;
X28 ​
solidity
uint256 internal constant X28 = 0xfffffff;
X30 ​
solidity
uint256 internal constant X30 = 0x3fffffff;
X32 ​
solidity
uint256 internal constant X32 = 0xffffffff;
X33 ​
solidity
uint256 internal constant X33 = 0x1ffffffff;
X40 ​
solidity
uint256 internal constant X40 = 0xffffffffff;
X64 ​
solidity
uint256 internal constant X64 = 0xffffffffffffffff;
NATIVE_TOKEN_ADDRESS ​
address that is mapped to the chain native token
solidity
address internal constant NATIVE_TOKEN_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
Functions ​
constructor ​
solidity
constructor(address factory_, address liquidity_, address liquidityResolver_, address deployer_);