mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-14 23:18:33 +03:00
Renamed type SwapInfo to SingleSwap
This commit is contained in:
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user