The GMXReader.svTokenValue
function can return overestimated value of each strategy vault share token due to outdated totalSupply
, i.e. without including pending management fees for a long period. This issue can cause the protocol unexpected behavior while keepers provide rebalance and when other protocols receive information about shares value.
The svTokenValue
function calculates the value of each strategy vault share token with the current amount of totalSupply
, which may not include pending management fees:
So the returned share value will be overestimated. The longer the period since the last mintFee
was called the more overestimated shares value is.
The GMXReader.svTokenValue
function returns an overestimated value of the share token. This issue can cause the protocol unexpected behavior while keepers provide rebalance and when other protocols receive information about the shares value.
Manual Review
Consider adding pendingFee
to the totalSupply
:
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.