Task #15754
Updated by Peter Mačuga 7 months ago
new multiplier equation:
(BASE + HOLDING) * QorpoPower multiplier
Holding bonus is now additive to base and can then be multiplied by qorpo power multiplier
Contribution is now stored for holding and qorpo power, qorpo power is stored for each tier(or multiplier) and can then be lowered if
qorpo_power_contribution = (BASE + HOLDING) * (QP_MULT - 1) and cannot be lower than 0
holding_contribution = HOLDING
NFT_total_diamond_points = base_total_points + holding_total_points + qorpo_power_total_contribution
if user_id is connected take user qorpo power mult, else take wallet qorpo power mult,
when user unstakes, remove the correct amount of points from qorpo_power_contribution and move them to the lower contribution tier, example:
User unstakes enough qorpo to drop from tier2 to tier1
tier1: 12000 ----> tier1: 24000
tier2: 14000 tier2: 0
user loses 1.4 multiplier points and are recalculated to 1.2 multiplier points