This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
Earning power is close to type(uint96).max
, any upscaling can brick functionality
#41
Labels
Low/Info
A Low/Info severity issue.
Description
Earning power is considered to be homogenous to governance token balances, and as such should be well within bounds of
uint96
. The provided calculator implementationBinaryEligibilityOracleEarningPowerCalculator
returns at most the balance for a deposit. However the earning power should be able to reachtype(uint96).max
if new calculator implementations apply multipliers (in the magnitude of x1000) to a deposit balance.Recommendation
Document this limitation/restriction for future calculator implementations.
The text was updated successfully, but these errors were encountered: