// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import { LibSwap } from "../Libraries/LibSwap.sol"; /// @title Interface for Executor /// @author LI.FI (https://li.fi) interface IExecutor { /// @notice Performs a swap before completing a cross-chain transaction /// @param _transactionId the transaction id associated with the operation /// @param _swapData array of data needed for swaps /// @param transferredAssetId token received from the other chain /// @param receiver address that will receive tokens in the end function swapAndCompleteBridgeTokens( bytes32 _transactionId, LibSwap.SwapData[] calldata _swapData, address transferredAssetId, address payable receiver ) external payable; }