Function estimateImbalanceLossWithdraw

  • Parameters

    • vaults: VaultInformation[]

      The vaults which are in the pool

    • vaultTokens: bigint[]

      An array of the vaults tokens to withdraw by vault.

    • withdrawRatios: bigint[][]

      An array of the withdraw ratios to withdraw by vault. Is a weighted ratio, see doc func.withdrawMixed.withdrawRatio please.

    Returns bigint

    Notice

    Returns the loss associated with the withdrawal compared to doing it evenly.