Helpers

Git Source

Inherits:Variables, Structs

Functions

normalSlot

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

calculateStorageSlotUintMapping

Calculating the slot ID for Liquidity contract for single mapping

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

calculateStorageSlotIntMapping

Calculating the slot ID for Liquidity contract for single mapping

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

calculateDoubleIntUintMapping

Calculating the slot ID for Liquidity contract for double mapping

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

tickHelper

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

constructor

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