Skip to content

Commit

Permalink
add functions to IOrchestrator.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
olegkron committed Aug 13, 2024
1 parent 0b1542b commit f87d1ab
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/hardhat/contracts/Interfaces/IOrchestrator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,26 @@
pragma solidity 0.8.20;

import {IStorage} from "./IStorage.sol";
import "./IDexSwap.sol";

interface IOrchestrator {

function swap(
IDexSwap.SwapData[] calldata _swapData,
address _receiver
) external payable;

function bridge(
IStorage.BridgeData memory bridgeData,
IDexSwap.SwapData[] memory dstSwapData
) external payable;

function swapAndBridge(
IStorage.BridgeData memory bridgeData,
IDexSwap.SwapData[] calldata srcSwapData,
IDexSwap.SwapData[] memory dstSwapData
) external payable;

function getTransaction(
bytes32 _ccipMessageId
) external view returns (IStorage.Transaction memory transaction);
Expand Down

0 comments on commit f87d1ab

Please sign in to comment.