@evefrontier/dapp-kit - v0.1.9
    Preparing search index...

    Function getAdjustedBurnRate

    • Takes raw burn time (ms per unit at 100%) and efficiency (0–100 scale), returns efficiency-adjusted burn time per unit and units burned per hour. E.g. raw 3600000 ms, 90% efficient → burn time 3240000 ms, ~1.11 units/hour.

      Parameters

      • rawBurnTimeMs: number

        Milliseconds to burn one unit at 100% efficiency. If non-finite or negative, treated as 0 so both returned fields are finite and consistent.

      • efficiencyPercent: number | null | undefined

        Efficiency as percentage on a 0–100 scale (e.g. 90 for 90%). Values outside [0, 100] are treated as invalid; when null/undefined, not finite, ≤0, or >100, raw is used as-is for burn time.

      Returns AdjustedBurnRate