// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Callback for IJulswapV2PoolActions#mint /// @notice Any contract that calls IJulswapV2PoolActions#mint must implement this interface interface IJulswapV2MintCallback { /// @notice Called to `msg.sender` after minting liquidity to a position from IJulswapV2Pool#mint. /// @dev In the implementation you must pay the pool tokens owed for the minted liquidity. /// The caller of this method must be checked to be a JulswapV2Pool deployed by the canonical JulswapV2Factory. /// @param amount0Owed The amount of token0 due to the pool for the minted liquidity /// @param amount1Owed The amount of token1 due to the pool for the minted liquidity /// @param data Any data passed through by the caller via the IJulswapV2PoolActions#mint call function julswapV2MintCallback( uint256 amount0Owed, uint256 amount1Owed, bytes calldata data ) external; }