Gable
  • Gable Liquidity Protocol
    • Welcome
    • GAB Token
    • Roadmap
    • Liquidity Program
  • Radix DLT
    • Introduction
  • V1 - Flashloan Pool
    • Staking Liquidity
      • Introduction
      • APY
      • Pay-out Scheme
      • User Manual
      • Security and Risks
    • Flash Loan
      • Fundamentals
      • Use Cases
      • User Manual
        • 1. Dependencies
        • 2. Transaction Manifest
        • 3. Build Flash Loan
        • 4. Execute Flash Loan
        • 5. Automate Flash Loan
      • Advanced Strategies
      • Demonstration
      • Fees
      • Best Practices and Security
  • V2 - Perpetual Borrowing
    • Lending
    • Borrowing
    • Bug Bounty
      • Borrow
      • Supply
  • FAQ
    • FAQ
Powered by GitBook
On this page
  • Staking APY
  • Interest APY
  • Interest APY

Was this helpful?

  1. V1 - Flashloan Pool
  2. Staking Liquidity

APY

Supplying liquidity via staking rewards at Gable is subjected to three different annual percentage yields (APY's): Staking APY, Interest APY and Total APY. This section will explain to you how these APY are derived.

First of all, a 7 day time window is considered when calculating all above mentioned APY. The 7 day yield is subsequently extended to annually.

Staking APY

The staking APY represents the yield obtained by staking at the Gable validator node. It is calculated using the following formula(s):

TotalStaket,i=Staket−i+StakingRewardst−iTotalStake_{t, i} = Stake_{t-i}+StakingRewards_{t-i}TotalStaket,i​=Staket−i​+StakingRewardst−i​

where 't' is the most recent time, and 'i' is the lag in days.

StakingAPYt=TotalStaket=0−TotalStaket−7TotalStaket−7×(3657)×100StakingAPY_t = \frac{{TotalStake_{t=0} - TotalStake_{t-7}}}{{TotalStake_{t-7}}} \times \left(\frac{{365}}{{7}}\right) \times 100 StakingAPYt​=TotalStaket−7​TotalStaket=0​−TotalStaket−7​​×(7365​)×100

Interest APY

The interest APY represents the yield obtained on your staking rewards when you supply them to the Gable liquidity pool. The interest earned from staking rewards is distributed back into the pool, effectively compounding your earnings. The interest APY is calculated using the following formula(s):

TotalEarningst,i=StakingRewardst−7+InterestEarningst−iTotalEarnings_{t, i} = StakingRewards_{t-7}+InterestEarnings_{t-i}TotalEarningst,i​=StakingRewardst−7​+InterestEarningst−i​

where 't' is the most recent time, and 'i' is the lag in days.

It is important to note that the StakingRewards component provides a stable reference point by considering its value at 't-7' as a static factor. This allows for consistent and accurate calculations of the Interest APY.

InterestAPY=(1+TotalEarningst=0−TotalEarningst−7TotalEarningst−7)3657−1−1InterestAPY = \left(1 + \frac{{TotalEarnings_{t=0} - TotalEarnings_{t-7}}}{{TotalEarnings_{t-7}}}\right)^{\frac{{365}}{{7}}-1} - 1 InterestAPY=(1+TotalEarningst−7​TotalEarningst=0​−TotalEarningst−7​​)7365​−1−1

Interest APY

When you stake, you earn staking rewards. By supplying these staking rewards to the pool, you further earn interest on them. This interest can be viewed as a compounding yield on your initial staking rewards.

The Total APY takes into account the growth of your staking rewards through staking and the subsequent interest earned through supplying. This compounding effect results in a higher overall yield on your staked assets.

The Total APY is calculated using the following formula:

TotalAPY=(1+StakingAPY)∗(1+InterestAPY)−1TotalAPY = (1 + StakingAPY) * ( 1 + InterestAPY) - 1TotalAPY=(1+StakingAPY)∗(1+InterestAPY)−1
PreviousIntroductionNextPay-out Scheme

Last updated 1 year ago

Was this helpful?