Function findOptimalWithdrawLiquiditySwaps
- findOptimalWithdrawLiquiditySwaps(vaults, userPoolTokens, userWithdrawals): {
boughtUnits: bigint[][];
vaultTokenSwaps: {
from: number;
to: number;
units: bigint;
vaultTokens: bigint;
}[];
} Returns {
boughtUnits: bigint[][];
vaultTokenSwaps: {
from: number;
to: number;
units: bigint;
vaultTokens: bigint;
}[];
}
boughtUnits: bigint[][]
vaultTokenSwaps: {
from: number;
to: number;
units: bigint;
vaultTokens: bigint;
}[]