mobiusAMM/mobius-interface

APY formula incorrect

Closed this issue · 0 comments

jhnj commented

Bug Description
Noticed that the APY formula is wrong - should be: APY=(1 + APR/n)^n – 1

With the current formula, even a minimal APR (e.g. 0.1%) would lead to a APY > 100%

See Ubeswap#336 (comment)
Steps to Reproduce
Compare APR to APY on https://www.mobius.money/#/pool