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. vlLIQ

Rewards

PreviousvlLIQNextBribes

Last updated 1 year ago

vlLIQ holders can expect to receive some share of protocol revenue earned on $oLIT emission fees. Currently 3% of of total oLIT emissions earned is going towards voters.

In order to calculate the vAPR for oLIT rewards, we need the rewardRate which can be found in the LiqLocker contract by calling rewardData for the oLIT token and picking the rewardRate

oLIT address: 0x627fee87d0d9d2c55098a06ac805db8f98b158aa

We use the rewardRate and the oLIT price to get the annualRewardUSD

const oLITPriceUSD = litPriceUSD.times(0.5);

const annualRewardUSD = rewardRate.times(86400).times(365).times(oLITPriceUSD).div(1e18);

We then also need the current vlLIQ lockedSupply from the LiqLocker contract and calculate the lockedSupplyUSD

const lockedSupplyUSD = lockedSupply.div(1e18).times(liqPriceUSD) 

vlLIQ vAPR for oLIT

const vlLIQvAPR = annualRewardUSD.div(lockedSupplyUSD).times(100)
😎
📈
https://etherscan.io/address/0x748a0f458b9e71061ca0ac543b984473f203e1cb#readContract#F34etherscan.io
LiqLocker | Address 0x748a0f458b9e71061ca0ac543b984473f203e1cb | EtherscanEthereum (ETH) Blockchain Explorer
Logo