Renamed type SwapInfo to SingleSwap

This commit is contained in:
lomonoshka
2023-09-28 18:45:40 +04:00
parent 1134865abf
commit 3c183f6cff
3 changed files with 9 additions and 9 deletions

View File

@@ -1,12 +1,12 @@
import { SwapExecutor__factory, CurveRegistry__factory } from "@orionprotocol/contracts/lib/ethers-v5/index.js"
import type { BigNumberish, providers } from "ethers"
import type { SwapInfo } from "../generateSwapCalldata.js"
import type { SingleSwap } from "../generateSwapCalldata.js"
import { addCallParams } from "./utils.js"
export async function generateCurveStableSwapCall(
amount: BigNumberish,
to: string,
swap: SwapInfo,
swap: SingleSwap,
provider: providers.JsonRpcProvider,
curveRegistry: string
) {