-
Notifications
You must be signed in to change notification settings - Fork 9
/
types.ts
30 lines (26 loc) · 951 Bytes
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Address, Hex } from 'viem';
import {
RemoveLiquidityNestedProportionalInputV2,
RemoveLiquidityNestedSingleTokenInputV2,
RemoveLiquidityNestedQueryOutputV2,
RemoveLiquidityNestedCallInputV2,
} from './removeLiquidityNestedV2/types';
import {
RemoveLiquidityNestedCallInputV3,
RemoveLiquidityNestedQueryOutputV3,
} from './removeLiquidityNestedV3/types';
import { TokenAmount } from '../tokenAmount';
export type RemoveLiquidityNestedInput =
| RemoveLiquidityNestedProportionalInputV2
| RemoveLiquidityNestedSingleTokenInputV2;
export type RemoveLiquidityNestedQueryOutput =
| RemoveLiquidityNestedQueryOutputV2
| RemoveLiquidityNestedQueryOutputV3;
export type RemoveLiquidityNestedCallInput =
| RemoveLiquidityNestedCallInputV2
| RemoveLiquidityNestedCallInputV3;
export type RemoveLiquidityNestedBuildCallOutput = {
callData: Hex;
to: Address;
minAmountsOut: TokenAmount[];
};