Skip to content

Helpers ​

Git Source

Inherits:Variables, Structs

Functions ​

normalSlot ​

solidity
function normalSlot(uint256 slot_) public pure returns (bytes32);

calculateStorageSlotUintMapping ​

Calculating the slot ID for Liquidity contract for single mapping

solidity
function calculateStorageSlotUintMapping(uint256 slot_, uint256 key_) public pure returns (bytes32);

calculateStorageSlotIntMapping ​

Calculating the slot ID for Liquidity contract for single mapping

solidity
function calculateStorageSlotIntMapping(uint256 slot_, int256 key_) public pure returns (bytes32);

calculateDoubleIntUintMapping ​

Calculating the slot ID for Liquidity contract for double mapping

solidity
function calculateDoubleIntUintMapping(uint256 slot_, int256 key1_, uint256 key2_) public pure returns (bytes32);

tickHelper ​

solidity
function tickHelper(uint256 tickRaw_) public pure returns (int256 tick);

constructor ​

solidity
constructor(address factory_, address liquidityResolver_) Variables(factory_, liquidityResolver_);