add eps types to services

This commit is contained in:
Dmitriy Pavlov
2023-08-10 18:46:10 +03:00
parent 2acc918a1a
commit df38bfdc2c
4 changed files with 16 additions and 4 deletions

View File

@@ -125,8 +125,6 @@ export default async function generateSwapCalldata({
return { swapDescription, calldata }
}
export async function generateUni2Calls(
exchangeAddress: string,
path: SafeArray<SwapInfo>
@@ -306,4 +304,4 @@ function addCallParams(
async function generateCalls(calls: BytesLike[]) {
const executorInterface = SwapExecutor__factory.createInterface()
return "0x" + executorInterface.encodeFunctionData(EXECUTOR_SWAP_FUNCTION, [ethers.constants.AddressZero, calls]).slice(74)
}
}