OwnerFacet.setTithe should update yield before change
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.
Yield will be distributed incorrectly.
VsCode
Call YieldFacet.updateYield
before changing tithe.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.