DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: medium
Invalid

OwnerFacet.setTithe should update yield before change

Summary

OwnerFacet.setTithe should update yield before change

Vulnerability Details

Function OwnerFacet.setTithe allows to change yields percentage that TAPP will take as fee. This means that before this can be changed, YieldFacet.updateYield should be called in order to distribute previously earned yield using old tithe and only then change to new value.

Impact

Yield will be distributed incorrectly.

Tools Used

VsCode

Recommendations

Call YieldFacet.updateYield before changing tithe.

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.