How APY is Calculated in Augmented Finance

Supply

  1. User’s share of pool = Tokens [supplied / borrowed / staked] by User / Total tokens [supplied / borrowed / staked] by all users
  2. User’s pool reward rate in AGF per second = Pool reward rate in AGF per second * User’s share of pool
  3. User’s pool boost rate in AGF per second = User’s pool reward rate in AGF per second * Pool’s boost factor
  4. User’s max rate in AGF per second = Share of the total emission for Boost in AGF per second * User’s balance of xAGF / Total supply of xAGF held by all users
  5. User’s total rate in AGF per second = min (User’s max rate in AGF per second; sum of User’s pool boost rates in AGF per second)
  6. Boost APY % (annualized) = User’s total rate in AGF per second * 31,556,952 [number of seconds per year] * AGF price in USD / Value of User’s operations [supply / borrow / stake agTokens / stake Uni LP] in USD

Borrow

Staking agTokens and Uni v2 AGF-ETH LP tokens

Stake AGF

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store