Function getDifferenceUnitsAmplified

  • Computes how units should be distributed between vaults. If units are negative, it implies that the associated vault should get less units than proposed. If positive, it impies the associated vault should get more.

    Parameters

    • vaults: VaultInformation[]
    • units: bigint[]

      Proposed number of units to distribute.

    Returns bigint[]