mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-15 22:52:36 +03:00
add eps types to services
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user