APY calculation differs from webapp
varanauskas opened this issue · comments
Tadas Varanauskas commented
The APY calculation in the webapp has been updated with epoch_period
(Anchor-Protocol/anchor-web-app#353)
This logic is not replicated in earn.getAPY
anchor.js/src/facade/earn/earn.ts
Line 83 in df76c7f