Skip to content

Conversation

Pochetes
Copy link
Contributor

Overview

there's a possible error with Aerodrome V1's rewards APY calculation. the stakedSupplyRatio is actually inverted because totalSupply is the gauges supply of LP tokens and poolSupply is the aerodrome pool.

this could be an issue because if half of the LPs have staked, it actually doubles the yield. the discrepancy is less obvious as more LPs stake, but there is a visible overestimation of the APY for the newer pools. and since there's no point of being an unstaked LP, the bug disappears very quickly as the ratio nears 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant