Theopetra / theo-contracts

1 stars 0 forks source link

Post Audit Minor Issue STT-03 | Missing Reward #125

Closed nflora808 closed 2 years ago

nflora808 commented 2 years ago

Audit Issue Description

Issue Location: Theopetra/Staking.sol: 288

Function unstake( ) does not send rebasing bounty to users who withdraw unmatured stakes.

Auditor Recommendation

We recommend transferring bounty to any user who triggers rebase( ) .

Billing/Time-Tracking/Access

dreadful-dev commented 2 years ago

This is an incentive alignment 'tax' -- if a user unstakes an unmatured locked claim, they have a risk of paying gas for the rebase as well.