[
  {
    "inputs": [],
    "name": "BinHelper__PriceOverflow",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "BinRangeOutOfBounds",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "FailedDeployment",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "balance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "InsufficientBalance",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "IntervalOutOfBounds",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvalidBalanceCap",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvalidBidAskRatio",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "PositionValuation__ZeroPrice",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "token",
        "type": "address"
      }
    ],
    "name": "SafeERC20FailedOperation",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "SlippageOutOfBounds",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "TriggerOutOfBounds",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "tokenId",
        "type": "uint256"
      }
    ],
    "name": "UnexpectedClaimFeesRevert",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "tokenX",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "tokenY",
        "type": "address"
      },
      {
        "internalType": "uint16",
        "name": "binStep",
        "type": "uint16"
      },
      {
        "internalType": "uint24",
        "name": "activeId",
        "type": "uint24"
      },
      {
        "internalType": "uint256",
        "name": "amountX",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "amountY",
        "type": "uint256"
      },
      {
        "internalType": "uint8",
        "name": "denom",
        "type": "uint8"
      }
    ],
    "name": "combinedValue",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "contract IUmbraeLBPair",
        "name": "pair",
        "type": "IUmbraeLBPair"
      },
      {
        "internalType": "address",
        "name": "tokenX",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "tokenY",
        "type": "address"
      },
      {
        "internalType": "uint16",
        "name": "binStep",
        "type": "uint16"
      },
      {
        "internalType": "uint24",
        "name": "activeId",
        "type": "uint24"
      },
      {
        "internalType": "uint256",
        "name": "amountX",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "amountY",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "swapRouter",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "imbalanceToleranceBps",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "swapToleranceBps",
        "type": "uint256"
      }
    ],
    "name": "computeBalancingSwap",
    "outputs": [
      {
        "internalType": "bool",
        "name": "doSwap",
        "type": "bool"
      },
      {
        "internalType": "bool",
        "name": "heavyIsX",
        "type": "bool"
      },
      {
        "internalType": "uint256",
        "name": "amountIn",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "minOut",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "basefeeMultiplier",
        "type": "uint256"
      }
    ],
    "name": "effectiveGasPrice",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "swapRouter",
        "type": "address"
      },
      {
        "internalType": "bytes",
        "name": "swapData",
        "type": "bytes"
      },
      {
        "internalType": "uint256",
        "name": "maxLen",
        "type": "uint256"
      }
    ],
    "name": "priceableSwapData",
    "outputs": [
      {
        "internalType": "bytes",
        "name": "",
        "type": "bytes"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "oracle",
        "type": "address"
      },
      {
        "internalType": "bytes",
        "name": "data",
        "type": "bytes"
      }
    ],
    "name": "queryL1Fee",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "gasUnits",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "effectiveGasPriceWei",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "l1Fee",
        "type": "uint256"
      },
      {
        "internalType": "uint16",
        "name": "gasMarkupBps",
        "type": "uint16"
      },
      {
        "internalType": "uint256",
        "name": "gasOverhead",
        "type": "uint256"
      }
    ],
    "name": "totalGasCharge",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint24",
        "name": "binRange",
        "type": "uint24"
      },
      {
        "internalType": "uint24",
        "name": "trigger",
        "type": "uint24"
      },
      {
        "internalType": "uint24",
        "name": "slippage",
        "type": "uint24"
      },
      {
        "internalType": "uint8",
        "name": "bidAskRatio",
        "type": "uint8"
      },
      {
        "internalType": "uint8",
        "name": "balanceCap",
        "type": "uint8"
      },
      {
        "internalType": "uint32",
        "name": "rebalanceInterval",
        "type": "uint32"
      }
    ],
    "name": "validateBounds",
    "outputs": [],
    "stateMutability": "pure",
    "type": "function"
  }
]
