// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; import {PoolKey} from "@uniswap/v4-core/src/types/PoolKey.sol"; import {Currency} from "@uniswap/v4-core/src/types/Currency.sol"; import {IHooks} from "@uniswap/v4-core/src/interfaces/IHooks.sol"; import {TickMath} from "@uniswap/v4-core/src/libraries/TickMath.sol"; import {KibbleConstants as K} from "./KibbleConstants.sol"; /// @title KibblePool /// @notice The single HYPE / KIBBLE pool: native HYPE = currency0, KIBBLE = currency1, fee 0.3%, /// tickSpacing 60, no hook. Positions are full range. library KibblePool { function key(address kibble) internal pure returns (PoolKey memory) { return PoolKey({ currency0: Currency.wrap(address(0)), currency1: Currency.wrap(kibble), fee: K.POOL_FEE, tickSpacing: K.TICK_SPACING, hooks: IHooks(address(0)) }); } function tickLower() internal pure returns (int24) { return TickMath.minUsableTick(K.TICK_SPACING); } function tickUpper() internal pure returns (int24) { return TickMath.maxUsableTick(K.TICK_SPACING); } }