Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdks/router-sdk/src/swapRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
toHex,
Trade as V3Trade,
} from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Pool as V4Pool, Trade as V4Trade } from '@uniswap/v4-sdk'
import invariant from 'tiny-invariant'
import JSBI from 'jsbi'
import { ADDRESS_THIS, MSG_SENDER } from './constants'
Expand Down Expand Up @@ -73,10 +73,12 @@ type AnyTradeType =
| Trade<Currency, Currency, TradeType>
| V2Trade<Currency, Currency, TradeType>
| V3Trade<Currency, Currency, TradeType>
| V4Trade<Currency, Currency, TradeType>
| MixedRouteTrade<Currency, Currency, TradeType>
| (
| V2Trade<Currency, Currency, TradeType>
| V3Trade<Currency, Currency, TradeType>
| V4Trade<Currency, Currency, TradeType>
| MixedRouteTrade<Currency, Currency, TradeType>
)[]

Expand Down
Loading