solidity-language-server 0.1.36

A fast Solidity language server powered by solc and Foundry
Documentation
{
  "storage": [
    {
      "astId": 10,
      "contract": "v4-core/src/PoolManager.sol:PoolManager",
      "label": "owner",
      "offset": 0,
      "slot": "0",
      "type": "t_address"
    },
    {
      "astId": 1808,
      "contract": "v4-core/src/PoolManager.sol:PoolManager",
      "label": "protocolFeesAccrued",
      "offset": 0,
      "slot": "1",
      "type": "t_mapping(t_userDefinedValueType(Currency)9334,t_uint256)"
    },
    {
      "astId": 1811,
      "contract": "v4-core/src/PoolManager.sol:PoolManager",
      "label": "protocolFeeController",
      "offset": 0,
      "slot": "2",
      "type": "t_address"
    },
    {
      "astId": 72,
      "contract": "v4-core/src/PoolManager.sol:PoolManager",
      "label": "isOperator",
      "offset": 0,
      "slot": "3",
      "type": "t_mapping(t_address,t_mapping(t_address,t_bool))"
    },
    {
      "astId": 78,
      "contract": "v4-core/src/PoolManager.sol:PoolManager",
      "label": "balanceOf",
      "offset": 0,
      "slot": "4",
      "type": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))"
    },
    {
      "astId": 86,
      "contract": "v4-core/src/PoolManager.sol:PoolManager",
      "label": "allowance",
      "offset": 0,
      "slot": "5",
      "type": "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))"
    },
    {
      "astId": 654,
      "contract": "v4-core/src/PoolManager.sol:PoolManager",
      "label": "_pools",
      "offset": 0,
      "slot": "6",
      "type": "t_mapping(t_userDefinedValueType(PoolId)9634,t_struct(State)4809_storage)"
    }
  ],
  "types": {
    "t_address": {
      "encoding": "inplace",
      "label": "address",
      "numberOfBytes": "20"
    },
    "t_bool": {
      "encoding": "inplace",
      "label": "bool",
      "numberOfBytes": "1"
    },
    "t_bytes32": {
      "encoding": "inplace",
      "label": "bytes32",
      "numberOfBytes": "32"
    },
    "t_int128": {
      "encoding": "inplace",
      "label": "int128",
      "numberOfBytes": "16"
    },
    "t_int16": {
      "encoding": "inplace",
      "label": "int16",
      "numberOfBytes": "2"
    },
    "t_int24": {
      "encoding": "inplace",
      "label": "int24",
      "numberOfBytes": "3"
    },
    "t_mapping(t_address,t_bool)": {
      "encoding": "mapping",
      "key": "t_address",
      "label": "mapping(address => bool)",
      "numberOfBytes": "32",
      "value": "t_bool"
    },
    "t_mapping(t_address,t_mapping(t_address,t_bool))": {
      "encoding": "mapping",
      "key": "t_address",
      "label": "mapping(address => mapping(address => bool))",
      "numberOfBytes": "32",
      "value": "t_mapping(t_address,t_bool)"
    },
    "t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))": {
      "encoding": "mapping",
      "key": "t_address",
      "label": "mapping(address => mapping(address => mapping(uint256 => uint256)))",
      "numberOfBytes": "32",
      "value": "t_mapping(t_address,t_mapping(t_uint256,t_uint256))"
    },
    "t_mapping(t_address,t_mapping(t_uint256,t_uint256))": {
      "encoding": "mapping",
      "key": "t_address",
      "label": "mapping(address => mapping(uint256 => uint256))",
      "numberOfBytes": "32",
      "value": "t_mapping(t_uint256,t_uint256)"
    },
    "t_mapping(t_bytes32,t_struct(State)6372_storage)": {
      "encoding": "mapping",
      "key": "t_bytes32",
      "label": "mapping(bytes32 => struct Position.State)",
      "numberOfBytes": "32",
      "value": "t_struct(State)6372_storage"
    },
    "t_mapping(t_int16,t_uint256)": {
      "encoding": "mapping",
      "key": "t_int16",
      "label": "mapping(int16 => uint256)",
      "numberOfBytes": "32",
      "value": "t_uint256"
    },
    "t_mapping(t_int24,t_struct(TickInfo)4784_storage)": {
      "encoding": "mapping",
      "key": "t_int24",
      "label": "mapping(int24 => struct Pool.TickInfo)",
      "numberOfBytes": "32",
      "value": "t_struct(TickInfo)4784_storage"
    },
    "t_mapping(t_uint256,t_uint256)": {
      "encoding": "mapping",
      "key": "t_uint256",
      "label": "mapping(uint256 => uint256)",
      "numberOfBytes": "32",
      "value": "t_uint256"
    },
    "t_mapping(t_userDefinedValueType(Currency)9334,t_uint256)": {
      "encoding": "mapping",
      "key": "t_userDefinedValueType(Currency)9334",
      "label": "mapping(Currency => uint256)",
      "numberOfBytes": "32",
      "value": "t_uint256"
    },
    "t_mapping(t_userDefinedValueType(PoolId)9634,t_struct(State)4809_storage)": {
      "encoding": "mapping",
      "key": "t_userDefinedValueType(PoolId)9634",
      "label": "mapping(PoolId => struct Pool.State)",
      "numberOfBytes": "32",
      "value": "t_struct(State)4809_storage"
    },
    "t_struct(State)4809_storage": {
      "encoding": "inplace",
      "label": "struct Pool.State",
      "members": [
        {
          "astId": 4788,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "slot0",
          "offset": 0,
          "slot": "0",
          "type": "t_userDefinedValueType(Slot0)9711"
        },
        {
          "astId": 4790,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "feeGrowthGlobal0X128",
          "offset": 0,
          "slot": "1",
          "type": "t_uint256"
        },
        {
          "astId": 4792,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "feeGrowthGlobal1X128",
          "offset": 0,
          "slot": "2",
          "type": "t_uint256"
        },
        {
          "astId": 4794,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "liquidity",
          "offset": 0,
          "slot": "3",
          "type": "t_uint128"
        },
        {
          "astId": 4799,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "ticks",
          "offset": 0,
          "slot": "4",
          "type": "t_mapping(t_int24,t_struct(TickInfo)4784_storage)"
        },
        {
          "astId": 4803,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "tickBitmap",
          "offset": 0,
          "slot": "5",
          "type": "t_mapping(t_int16,t_uint256)"
        },
        {
          "astId": 4808,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "positions",
          "offset": 0,
          "slot": "6",
          "type": "t_mapping(t_bytes32,t_struct(State)6372_storage)"
        }
      ],
      "numberOfBytes": "224"
    },
    "t_struct(State)6372_storage": {
      "encoding": "inplace",
      "label": "struct Position.State",
      "members": [
        {
          "astId": 6367,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "liquidity",
          "offset": 0,
          "slot": "0",
          "type": "t_uint128"
        },
        {
          "astId": 6369,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "feeGrowthInside0LastX128",
          "offset": 0,
          "slot": "1",
          "type": "t_uint256"
        },
        {
          "astId": 6371,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "feeGrowthInside1LastX128",
          "offset": 0,
          "slot": "2",
          "type": "t_uint256"
        }
      ],
      "numberOfBytes": "96"
    },
    "t_struct(TickInfo)4784_storage": {
      "encoding": "inplace",
      "label": "struct Pool.TickInfo",
      "members": [
        {
          "astId": 4777,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "liquidityGross",
          "offset": 0,
          "slot": "0",
          "type": "t_uint128"
        },
        {
          "astId": 4779,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "liquidityNet",
          "offset": 16,
          "slot": "0",
          "type": "t_int128"
        },
        {
          "astId": 4781,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "feeGrowthOutside0X128",
          "offset": 0,
          "slot": "1",
          "type": "t_uint256"
        },
        {
          "astId": 4783,
          "contract": "v4-core/src/PoolManager.sol:PoolManager",
          "label": "feeGrowthOutside1X128",
          "offset": 0,
          "slot": "2",
          "type": "t_uint256"
        }
      ],
      "numberOfBytes": "96"
    },
    "t_uint128": {
      "encoding": "inplace",
      "label": "uint128",
      "numberOfBytes": "16"
    },
    "t_uint256": {
      "encoding": "inplace",
      "label": "uint256",
      "numberOfBytes": "32"
    },
    "t_userDefinedValueType(Currency)9334": {
      "encoding": "inplace",
      "label": "Currency",
      "numberOfBytes": "20"
    },
    "t_userDefinedValueType(PoolId)9634": {
      "encoding": "inplace",
      "label": "PoolId",
      "numberOfBytes": "32"
    },
    "t_userDefinedValueType(Slot0)9711": {
      "encoding": "inplace",
      "label": "Slot0",
      "numberOfBytes": "32"
    }
  }
}