chore: Rename all SwapExecutor to Executor only for simplicity

--- don't change below this line ---
ENG-4033 Took 9 minutes
This commit is contained in:
Diana Carvalho
2025-01-24 17:02:33 +00:00
parent 1ad04bc9e9
commit 9c2b205c30
7 changed files with 73 additions and 104 deletions

View File

@@ -5,7 +5,7 @@ import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
pragma abicoder v2;
interface ISwapExecutor {
interface IExecutor {
/**
* @notice Performs a swap on a liquidity pool.
* @dev This method takes the amount of the input token and returns the amount of
@@ -25,7 +25,7 @@ interface ISwapExecutor {
returns (uint256 calculatedAmount);
}
interface ISwapExecutorErrors {
interface IExecutorErrors {
error InvalidParameterLength(uint256);
error UnknownPoolType(uint8);
}