Liquis Documentation
Developer Docs
Developer Docs
  • Developer Documentation
  • Smart Contracts
    • 🧙‍♂️Core
      • BaseRewardPool4626
      • CrvDepositor
      • LIQ Locker
      • Booster
    • 🦸Peripheral
      • LitDepositorHelper
      • FlashOptionExerciser
      • PooledOptionsExerciser
      • ClaimFeesHelper
      • BoosterHelper
      • LiquisClaimZap
      • LiquisViewHelpers
    • 👷‍♂️Diagrams
    • 💰vAPR
      • 🤩oLIT Rewards
      • 🌊LIQ Rewards
      • ⚡Swap APR
      • 🚀liqLIT Rewards
    • 😎vlLIQ
      • 📈Rewards
      • 💸Bribes
Powered by GitBook
On this page
  1. Smart Contracts
  2. vAPR

LIQ Rewards

PreviousoLIT RewardsNextSwap APR

Last updated 1 year ago

LIQ vAPR

LIQ Rewards are directly correlated to the oLIT emissions received by the protocol, meaning that LIQ is minted pro-rata to oLIT accrued.

To estimate the vAPR for LIQ emissions, we need first the vAPR for oLIT which can be calculated with the formula in the section (fees apply).

We first get the litAmount corresponding to the current oLIT rewards

const litAmount = oLITvAPR * TVL / oLITPriceUSD

Liquis has a helper contract with a view function for estimating how many LIQ will be minted based on LIT accrued:

The function convertLitToLiq() returns the amount of LIQ which will be minted,

so we can estimate how many LIQ will be emitted for a specific pool

uint256 liqTotalEmissions = LiquisViewHelpers.convertLitToLiq(litAmount)

then we get the vAPR using LIQ price and the total value locked in the pool, both in USD terms

const liqvAPR = liqTotalEmissions / 1e18 * liqPriceUSD / TVL * 100

where TVL is the TVL of the pool we want to calculate LIQ emissions.

NOTE: LIQ USD Price for now is set at 0.1 USD per LIQ until deeper liquidity in the LIQ-WETH pool has been formed.

💰
🌊
oLIT Rewards
https://etherscan.io/address/0xD58dd6deF2d0e8E16ffc537c7f269719e19b9fE4#readContract#F2etherscan.io