8.3 Staking & Rewards
Staking Model:
Rewards System:
Bonuses:
// Reward distribution (simplified logic)
function distributeRewards() external onlyTreasury {
uint256 reward = totalFees / totalStaked;
for (address staker : stakers) {
rewards[staker] += stakedAmount[staker] * reward;
}
}
Last updated