interface IMintyswapV3FlashCallback {
    /// @notice Called to `msg.sender` after transferring to the recipient from IMintyswapV3Pool#flash.
    /// @dev In the implementation you must repay the pool the tokens sent by flash plus the computed fee amounts.
    /// The caller of this method must be checked to be a MintyswapV3Pool deployed by the canonical MintyswapV3Factory.
    /// @param fee0 The fee amount in token0 due to the pool by the end of the flash
    /// @param fee1 The fee amount in token1 due to the pool by the end of the flash
    /// @param data Any data passed through by the caller via the IMintyswapV3PoolActions#flash call
    function MintyswapV3FlashCallback(
        uint256 fee0,
        uint256 fee1,
        bytes calldata data
    ) external;
}
/// @title Callback for IMintyswapV3PoolActions#flash
/// @notice Any contract that calls IMintyswapV3PoolActions#flash must implement this interface
function MintyswapV3FlashCallback(
    uint256 fee0,
    uint256 fee1,
    bytes calldata data
) external;

/// @notice Called to `msg.sender` after transferring to the recipient from IMintyswapV3Pool#flash.
/// @dev In the implementation you must repay the pool the tokens sent by flash plus the computed fee amounts.
/// The caller of this method must be checked to be a MintyswapV3Pool deployed by the canonical MintyswapV3Factory.
/// @param fee0 The fee amount in token0 due to the pool by the end of the flash
/// @param fee1 The fee amount in token1 due to the pool by the end of the flash
/// @param data Any data passed through by the caller via the IMintyswapV3PoolActions#flash call