parallel-finance / parallel

A decentralized lending & staking protocol built on top of the Polkadot ecosystem.
https://parallel.fi
GNU General Public License v3.0
119 stars 35 forks source link

Liquid staking APY formula #1277

Closed GopherJ closed 2 years ago

GopherJ commented 2 years ago
exchange_rate_new = (1 + apy_avg) ^ (n days / 365) * echange_rate_old
GopherJ commented 2 years ago

blocked by: https://github.com/parallel-finance/parallel/issues/1202