{
  "_format": "hh-sol-artifact-1",
  "contractName": "IMuffinHubCombined",
  "sourceName": "contracts/interfaces/hub/IMuffinHubCombined.sol",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "positionRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickLower",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickUpper",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "ownerAccRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint96",
          "name": "liquidityD8",
          "type": "uint96"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount0",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount1",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "feeAmount0",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "feeAmount1",
          "type": "uint256"
        }
      ],
      "name": "Burn",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "CollectProtocol",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "positionRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickLower",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickUpper",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "ownerAccRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint96",
          "name": "liquidityD8",
          "type": "uint96"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount0",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount1",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "feeAmount0",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "feeAmount1",
          "type": "uint256"
        }
      ],
      "name": "CollectSettled",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "recipientAccRefId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        }
      ],
      "name": "Deposit",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "governance",
          "type": "address"
        }
      ],
      "name": "GovernanceUpdated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "positionRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickLower",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickUpper",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "senderAccRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint96",
          "name": "liquidityD8",
          "type": "uint96"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount0",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount1",
          "type": "uint256"
        }
      ],
      "name": "Mint",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "token0",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "token1",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "PoolCreated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "positionRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickLower",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickUpper",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "limitOrderType",
          "type": "uint8"
        }
      ],
      "name": "SetLimitOrderType",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "indexed": true,
          "internalType": "int24",
          "name": "tickEnd",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "int24",
          "name": "tickStart",
          "type": "int24"
        },
        {
          "indexed": false,
          "internalType": "uint96",
          "name": "liquidityD8",
          "type": "uint96"
        }
      ],
      "name": "Settle",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "senderAccRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "recipientAccRefId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "int256",
          "name": "amount0",
          "type": "int256"
        },
        {
          "indexed": false,
          "internalType": "int256",
          "name": "amount1",
          "type": "int256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amountInDistribution",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amountOutDistribution",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256[]",
          "name": "tierData",
          "type": "uint256[]"
        }
      ],
      "name": "Swap",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "protocolFee",
          "type": "uint8"
        }
      ],
      "name": "UpdateDefaultParameters",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "protocolFee",
          "type": "uint8"
        }
      ],
      "name": "UpdatePool",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "indexed": true,
          "internalType": "uint24",
          "name": "sqrtGamma",
          "type": "uint24"
        },
        {
          "indexed": false,
          "internalType": "uint128",
          "name": "sqrtPrice",
          "type": "uint128"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "limitOrderTickSpacingMultiplier",
          "type": "uint8"
        }
      ],
      "name": "UpdateTier",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "sender",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "uint256",
          "name": "senderAccRefId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        }
      ],
      "name": "Withdraw",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "accHash",
          "type": "bytes32"
        }
      ],
      "name": "accounts",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "balance",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token0",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "token1",
          "type": "address"
        },
        {
          "internalType": "uint24",
          "name": "sqrtGamma",
          "type": "uint24"
        },
        {
          "internalType": "uint256",
          "name": "senderAccRefId",
          "type": "uint256"
        }
      ],
      "name": "addTier",
      "outputs": [
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "token0",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "token1",
              "type": "address"
            },
            {
              "internalType": "uint8",
              "name": "tierId",
              "type": "uint8"
            },
            {
              "internalType": "int24",
              "name": "tickLower",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "tickUpper",
              "type": "int24"
            },
            {
              "internalType": "uint96",
              "name": "liquidityD8",
              "type": "uint96"
            },
            {
              "internalType": "uint256",
              "name": "positionRefId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "accRefId",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "collectAllFees",
              "type": "bool"
            }
          ],
          "internalType": "struct IMuffinHubPositionsActions.BurnParams",
          "name": "params",
          "type": "tuple"
        }
      ],
      "name": "burn",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "amount0",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "amount1",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "feeAmount0",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "feeAmount1",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        }
      ],
      "name": "collectProtocolFee",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "token0",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "token1",
              "type": "address"
            },
            {
              "internalType": "uint8",
              "name": "tierId",
              "type": "uint8"
            },
            {
              "internalType": "int24",
              "name": "tickLower",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "tickUpper",
              "type": "int24"
            },
            {
              "internalType": "uint96",
              "name": "liquidityD8",
              "type": "uint96"
            },
            {
              "internalType": "uint256",
              "name": "positionRefId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "accRefId",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "collectAllFees",
              "type": "bool"
            }
          ],
          "internalType": "struct IMuffinHubPositionsActions.BurnParams",
          "name": "params",
          "type": "tuple"
        }
      ],
      "name": "collectSettled",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "amount0",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "amount1",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "feeAmount0",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "feeAmount1",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token0",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "token1",
          "type": "address"
        },
        {
          "internalType": "uint24",
          "name": "sqrtGamma",
          "type": "uint24"
        },
        {
          "internalType": "uint128",
          "name": "sqrtPrice",
          "type": "uint128"
        },
        {
          "internalType": "uint256",
          "name": "senderAccRefId",
          "type": "uint256"
        }
      ],
      "name": "createPool",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "recipientAccRefId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "deposit",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "getAllTiers",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint128",
              "name": "liquidity",
              "type": "uint128"
            },
            {
              "internalType": "uint128",
              "name": "sqrtPrice",
              "type": "uint128"
            },
            {
              "internalType": "uint24",
              "name": "sqrtGamma",
              "type": "uint24"
            },
            {
              "internalType": "int24",
              "name": "tick",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "nextTickBelow",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "nextTickAbove",
              "type": "int24"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthGlobal0",
              "type": "uint80"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthGlobal1",
              "type": "uint80"
            }
          ],
          "internalType": "struct Tiers.Tier[]",
          "name": "tiers",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getDefaultAllowedSqrtGammas",
      "outputs": [
        {
          "internalType": "uint24[]",
          "name": "sqrtGammas",
          "type": "uint24[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getDefaultParameters",
      "outputs": [
        {
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        },
        {
          "internalType": "uint8",
          "name": "protocolFee",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "getLimitOrderTickSpacingMultipliers",
      "outputs": [
        {
          "internalType": "uint8[]",
          "name": "tickSpacingMultipliers",
          "type": "uint8[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "getPoolAllowedSqrtGammas",
      "outputs": [
        {
          "internalType": "uint24[]",
          "name": "sqrtGammas",
          "type": "uint24[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "getPoolDefaultTickSpacing",
      "outputs": [
        {
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "getPoolParameters",
      "outputs": [
        {
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        },
        {
          "internalType": "uint8",
          "name": "protocolFee",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "positionRefId",
          "type": "uint256"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "internalType": "int24",
          "name": "tickLower",
          "type": "int24"
        },
        {
          "internalType": "int24",
          "name": "tickUpper",
          "type": "int24"
        }
      ],
      "name": "getPosition",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint96",
              "name": "liquidityD8",
              "type": "uint96"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthInside0Last",
              "type": "uint80"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthInside1Last",
              "type": "uint80"
            },
            {
              "internalType": "uint8",
              "name": "limitOrderType",
              "type": "uint8"
            },
            {
              "internalType": "uint32",
              "name": "settlementSnapshotId",
              "type": "uint32"
            }
          ],
          "internalType": "struct Positions.Position",
          "name": "position",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "owner",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "positionRefId",
          "type": "uint256"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "internalType": "int24",
          "name": "tickLower",
          "type": "int24"
        },
        {
          "internalType": "int24",
          "name": "tickUpper",
          "type": "int24"
        }
      ],
      "name": "getPositionFeeGrowthInside",
      "outputs": [
        {
          "internalType": "uint80",
          "name": "feeGrowthInside0",
          "type": "uint80"
        },
        {
          "internalType": "uint80",
          "name": "feeGrowthInside1",
          "type": "uint80"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "internalType": "int24",
          "name": "tick",
          "type": "int24"
        },
        {
          "internalType": "bool",
          "name": "zeroForOne",
          "type": "bool"
        }
      ],
      "name": "getSettlement",
      "outputs": [
        {
          "internalType": "uint96",
          "name": "liquidityD8",
          "type": "uint96"
        },
        {
          "internalType": "uint16",
          "name": "tickSpacing",
          "type": "uint16"
        },
        {
          "internalType": "uint32",
          "name": "nextSnapshotId",
          "type": "uint32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "internalType": "int24",
          "name": "tick",
          "type": "int24"
        },
        {
          "internalType": "bool",
          "name": "zeroForOne",
          "type": "bool"
        },
        {
          "internalType": "uint32",
          "name": "snapshotId",
          "type": "uint32"
        }
      ],
      "name": "getSettlementSnapshot",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint80",
              "name": "feeGrowthInside0",
              "type": "uint80"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthInside1",
              "type": "uint80"
            }
          ],
          "internalType": "struct Settlement.Snapshot",
          "name": "snapshot",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "slot",
          "type": "bytes32"
        }
      ],
      "name": "getStorageAt",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "word",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "internalType": "int24",
          "name": "tick",
          "type": "int24"
        }
      ],
      "name": "getTick",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint96",
              "name": "liquidityLowerD8",
              "type": "uint96"
            },
            {
              "internalType": "uint96",
              "name": "liquidityUpperD8",
              "type": "uint96"
            },
            {
              "internalType": "int24",
              "name": "nextBelow",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "nextAbove",
              "type": "int24"
            },
            {
              "internalType": "bool",
              "name": "needSettle0",
              "type": "bool"
            },
            {
              "internalType": "bool",
              "name": "needSettle1",
              "type": "bool"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthOutside0",
              "type": "uint80"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthOutside1",
              "type": "uint80"
            }
          ],
          "internalType": "struct Ticks.Tick",
          "name": "tickObj",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        }
      ],
      "name": "getTier",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint128",
              "name": "liquidity",
              "type": "uint128"
            },
            {
              "internalType": "uint128",
              "name": "sqrtPrice",
              "type": "uint128"
            },
            {
              "internalType": "uint24",
              "name": "sqrtGamma",
              "type": "uint24"
            },
            {
              "internalType": "int24",
              "name": "tick",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "nextTickBelow",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "nextTickAbove",
              "type": "int24"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthGlobal0",
              "type": "uint80"
            },
            {
              "internalType": "uint80",
              "name": "feeGrowthGlobal1",
              "type": "uint80"
            }
          ],
          "internalType": "struct Tiers.Tier",
          "name": "tier",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "getTiersCount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "count",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "governance",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint24",
          "name": "sqrtGamma",
          "type": "uint24"
        }
      ],
      "name": "isSqrtGammaAllowed",
      "outputs": [
        {
          "internalType": "bool",
          "name": "allowed",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "maxNumOfTiers",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "token0",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "token1",
              "type": "address"
            },
            {
              "internalType": "uint8",
              "name": "tierId",
              "type": "uint8"
            },
            {
              "internalType": "int24",
              "name": "tickLower",
              "type": "int24"
            },
            {
              "internalType": "int24",
              "name": "tickUpper",
              "type": "int24"
            },
            {
              "internalType": "uint96",
              "name": "liquidityD8",
              "type": "uint96"
            },
            {
              "internalType": "address",
              "name": "recipient",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "positionRefId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "senderAccRefId",
              "type": "uint256"
            },
            {
              "internalType": "bytes",
              "name": "data",
              "type": "bytes"
            }
          ],
          "internalType": "struct IMuffinHubPositionsActions.MintParams",
          "name": "params",
          "type": "tuple"
        }
      ],
      "name": "mint",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "amount0",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "amount1",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint24[]",
          "name": "sqrtGammas",
          "type": "uint24[]"
        }
      ],
      "name": "setDefaultAllowedSqrtGammas",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        },
        {
          "internalType": "uint8",
          "name": "protocolFee",
          "type": "uint8"
        }
      ],
      "name": "setDefaultParameters",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_governance",
          "type": "address"
        }
      ],
      "name": "setGovernance",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token0",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "token1",
          "type": "address"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "internalType": "int24",
          "name": "tickLower",
          "type": "int24"
        },
        {
          "internalType": "int24",
          "name": "tickUpper",
          "type": "int24"
        },
        {
          "internalType": "uint256",
          "name": "positionRefId",
          "type": "uint256"
        },
        {
          "internalType": "uint8",
          "name": "limitOrderType",
          "type": "uint8"
        }
      ],
      "name": "setLimitOrderType",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint24[]",
          "name": "sqrtGammas",
          "type": "uint24[]"
        }
      ],
      "name": "setPoolAllowedSqrtGammas",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        }
      ],
      "name": "setPoolDefaultTickSpacing",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint8",
          "name": "tickSpacing",
          "type": "uint8"
        },
        {
          "internalType": "uint8",
          "name": "protocolFee",
          "type": "uint8"
        }
      ],
      "name": "setPoolParameters",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint8",
          "name": "tierId",
          "type": "uint8"
        },
        {
          "internalType": "uint24",
          "name": "sqrtGamma",
          "type": "uint24"
        },
        {
          "internalType": "uint8",
          "name": "limitOrderTickSpacingMultiplier",
          "type": "uint8"
        }
      ],
      "name": "setTierParameters",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "tokenIn",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "tokenOut",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "tierChoices",
          "type": "uint256"
        },
        {
          "internalType": "int256",
          "name": "amountDesired",
          "type": "int256"
        },
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "recipientAccRefId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "senderAccRefId",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "swap",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "amountIn",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "amountOut",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "bytes",
              "name": "path",
              "type": "bytes"
            },
            {
              "internalType": "int256",
              "name": "amountDesired",
              "type": "int256"
            },
            {
              "internalType": "address",
              "name": "recipient",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "recipientAccRefId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "senderAccRefId",
              "type": "uint256"
            },
            {
              "internalType": "bytes",
              "name": "data",
              "type": "bytes"
            }
          ],
          "internalType": "struct IMuffinHubActions.SwapMultiHopParams",
          "name": "params",
          "type": "tuple"
        }
      ],
      "name": "swapMultiHop",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "amountIn",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "amountOut",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        }
      ],
      "name": "tokens",
      "outputs": [
        {
          "internalType": "uint8",
          "name": "locked",
          "type": "uint8"
        },
        {
          "internalType": "uint248",
          "name": "protocolFeeAmt",
          "type": "uint248"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "underlyings",
      "outputs": [
        {
          "internalType": "address",
          "name": "token0",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "token1",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "senderAccRefId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "token",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "withdraw",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
