// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Callback for IAtlantiswapPoolActions#mint /// @notice Any contract that calls IAtlantiswapPoolActions#mint must implement this interface interface IAtlantiswapMintCallback { /// @notice Called to `msg.sender` after minting liquidity to a position from IAtlantiswapPool#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 AtlantiswapPool deployed by the canonical AtlantiswapFactory. /// @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 IAtlantiswapPoolActions#mint call function atlantiswapMintCallback( uint256 amount0Owed, uint256 amount1Owed, bytes calldata data ) external; }