// SPDX-License-Identifier: MIT pragma solidity =0.8.18; /** * @title SOMA Swap Callee Contract. * @author SOMA.finance */ interface ISomaSwapCallee { /** * @notice Swaps tokens of a Soma Swap pair. * @param sender The caller of the function. * @param amount0 The amount of token0 to swap. * @param amount1 The amount of token1 to swap. * @param data Miscalaneous data associated with the swap. */ function somaSwapCall(address sender, uint256 amount0, uint256 amount1, bytes calldata data) external; }