|
combinedAmount = hearts * combinedBonus% |
The math works for additive bonuses on the input, but Richard has mentioned explicitly that the intent was for the bonuses to multiply, e.g.
75M for 1821 days => 75M * (1 + (1820-1)/1820) * (1 + 75M/1500M) = 157.5M
vs
75M for 1821 days => 75M + (182075M + 1500M(1821-1))/(1820*1500M) = 153.75M
contract/contracts/StakeableToken.sol
Line 318 in c703f85
The math works for additive bonuses on the input, but Richard has mentioned explicitly that the intent was for the bonuses to multiply, e.g.
75M for 1821 days => 75M * (1 + (1820-1)/1820) * (1 + 75M/1500M) = 157.5M
vs
75M for 1821 days => 75M + (182075M + 1500M(1821-1))/(1820*1500M) = 153.75M