Napier
WebsiteNapier InterfaceContributor Blog
  • Home
  • Introduction
  • Frequently Asked Question (FAQ)
  • Napier Protocol
    • Napier V1
    • Napier V2
      • Glossary - Napier v2
      • Yield Tokenization
        • Principal Token and Yield Token
        • Napier Factory
        • Market-Based Economics
        • Market-Based Governance
      • Trading Systems
      • Calculation
  • Points
    • Napier Point
    • Point Integration
    • Referral System
  • The NPR Token
  • Governance
    • Napier DAO
    • Napier Foundation
    • Napier Labs
    • Multisigs & Addresses
  • User Guide
    • User Dashboard
    • Mint and Redeem
    • Trade
    • Pool
    • Point
    • DeFi - Coming Soon
    • Calculator - Coming Soon
  • Curator Guide
    • Verify Your Account
    • Create a New Market
      • How to Choose a Resolver
    • Collect Curator Fee
    • Delegate Roles
    • Renounce All Roles
    • Transfer Full Ownership of a Market
    • Create a Pool Gauge
    • Integrate Your Market with a Point Program
    • Set up Reward Proxy
    • Add a Point Incentive
    • Monitor a Market
    • Emergency Pause a Market
    • Register DeFi Integrations - Coming Soon
    • Add a Token Incentive - Coming Soon
    • Educate Users - Coming Soon
    • Deploy a Lending System - Coming Soon
    • Deploy a Vault System - Coming Soon
  • Developer Guide
    • Deployment
  • Securing Napier
    • Technical Partners
      • How to Use HyperNative for Your Market Management
    • Bug Bounty
    • Risk Documentation
  • Education
    • User Education
    • Curator Education
  • Whitepaper
  • The Supreme Law of Napier
  • Marketing Policy
  • Napier Brand Guidelines
Powered by GitBook
On this page
  • Annual Percentage Yield (APY)
  • Net APY​
  • Implied APY
  • Fixed APY
  • Long (Yield)APY
  • Yield (Point) Leverage
  • Napier Point APY
  • Pool APY
  • Volume
  • TVL (Total Value Locked)
  • AUM
  1. Napier Protocol
  2. Napier V2

Calculation

Work-in-Progress

PreviousTrading SystemsNextPoints

Last updated 29 days ago

This document contains the formulas used to calculate the data like APY, Volume, and TVL for Napier Protocols.

Annual Percentage Yield (APY)

The annual percentage yield (APY) is the interest rate or yield earned on your investment in one year, including compounding interest. A higher APY is better as your return will be higher.

Net APY

Net APY is the overall annual percentage yield after considering all yields and any other rewards on yield-bearing tokens.

Net APY=Interest APY+Reward APR\text{Net APY} = \text{Interest APY} + \text{Reward APR}Net APY=Interest APY+Reward APR

Net APY comes in two part, below are how to calculate each of them.

Interest APY

Interest APY represents the 7-day moving average yield rate of the underlying asset. This approach allows a more accurate indication of the underlying yield over a period of time, which can help traders to better estimate the Future Average Interest APY.

Interest APY=(1+7-day yield)365/7−1\text{Interest APY} = \left(1 + \text{7-day yield}\right)^{365/7} - 1Interest APY=(1+7-day yield)365/7−1

Reward APR

Reward APR is the estimation of the current APR for the rewards of the underlying assets. Rewards = returns in the reward token, and it’s not auto-compounding by default.

Implied APY

Implied APY is the market consensus of the future APY of an asset. This value is calculated based on the ratio of the price of YT to PT and the formula is shown below. When used in conjunction with the Underlying APY, Implied APY can be used to establish the relative valuation of an asset such as YT and PT at their current price, and help traders determine their trading strategies.

The value of Implied Yield is numerically equivalent to the to Fixed Yield APY.

PT Price is how much PT you can get from 1 underlying asset.

YT Price is derived from PT Price.

Effective Implied APY

Effective Implied APY is the APY based on the actual rate that the user used to swap.

Fixed APY

Fixed APY is the guaranteed yield you will receive by holding PT. This value is numerically equivalent to the Implied APY.

Effective Fixed APY

Effective Fixed APY is the Fixed APY based on the actual rate that the user used to swap.

Fixed Maturity Profit

Fixed Maturity Profit is the profit at maturity, expressed in the underlying token.

Long (Yield)APY

Long (Yield) APY is the approximated return (annualized) from buying YT at the current price, assuming underlying APY remains constant at its current value. This value can be negative, meaning that the total value of all the future yield based on the Underlying APY will be less than the cost of buying YT.

Interest Returns: The returns from interest for holding 1 YT until expiry:

Rewards Returns: The returns from rewards (assumed linear over time):

Total YT Returns: The sum of interest and rewards returns:

YT Returns After Fee:

We have 2 type of performance fees: Performance Fee Before Maturity and Performance Fee After Maturity In this example we just assume all fees already calculated become X % on the YT Yield Let say X is 10 %

Yield (Point) Leverage

Yield (Point) Leverage is the multiplied exposure on yield or points by holding YT beyond what your principal normally earns.

Napier Point APY

The Napier Point APY estimates the annualized yield derived from Napier Point incentives. It reflects the potential return users may receive based on their participation and TVL contribution.

The calculation begins with estimating the total incentive value, which is 15% of the protocol’s fully diluted valuation (FDV):

This value is then distributed proportionally across all eligible Napier Points, giving us the point price:

Given the amount of points distributed each week, we can compute the weekly return in dollar terms:

To understand the yield relative to the total capital deployed, we divide the weekly return by the total value locked, resulting in the weekly APR:

Finally, the Napier Point APY is the annualized projection of this weekly APR, assuming consistent distribution:

Pool APY

Pool APY is the overall APY from TwoCryptoNG Curve after considering all yields and any other rewards on LP positions.

Volume

Volume is the the number of shares or contracts traded in an asset over a period of time.

TVL (Total Value Locked)

TVL

TVL (Total Value Locked) is the total amount of assets currently deposited in the Napier protocol.

Pool TVL

Pool TVL is the total value locked within a specific liquidity pool.

PT and YT TVL

PT and YT TVL is the current value of the total issued amount of a specific PT and YT.

AUM

Current AUM

Current AUM is the current value of assets under management by a specific curator.

Where:

Cumulative AUM

Cumulative AUM is the total historical value of assets that a curator have been managed since inception.

Where:

Cumulative Fees Earned

Cumulative fees earned are the total fees collected by a curator across all transactions over time.

Underlying asset TVL

Underlying asset TVL is the total value locked in the underlying assets across the protocol.

Reward APR=Annualized rewards (in underlying units)Current asset value\text{Reward APR} = \frac{\text{Annualized rewards (in underlying units)}}{\text{Current asset value}}Reward APR=Current asset valueAnnualized rewards (in underlying units)​
Implied APY=(1+YT PricePT Price)365Days to Expiry  −  1\text{Implied APY} = \Bigl(1 + \frac{\text{YT Price}}{\text{PT Price}}\Bigr)^{\frac{365}{\text{Days to Expiry}}} \;-\; 1Implied APY=(1+PT PriceYT Price​)Days to Expiry365​−1
PT Price=PT AmountUnderlying Amount\text{PT Price} = \frac{\text{PT Amount}}{\text{Underlying Amount}}PT Price=Underlying AmountPT Amount​
YT Price=1−PT Price\text{YT Price} = 1 - \text{PT Price}YT Price=1−PT Price
ptExchangeRate=1+ptAmountytAmount\text{ptExchangeRate} = 1 + \frac{\text{ptAmount}}{\text{ytAmount}}ptExchangeRate=1+ytAmountptAmount​
Effective Implied APY=ptExchangeRate365Days to Expiry  −  1\text{Effective Implied APY} = ptExchangeRate^{\frac{365}{\text{Days to Expiry}}} \;-\; 1Effective Implied APY=ptExchangeRateDays to Expiry365​−1
Fixed APY≡Implied APY\text{Fixed APY} \equiv \text{Implied APY}Fixed APY≡Implied APY
Effective Fixed APY≡Effective Implied APY\text{Effective Fixed APY} \equiv \text{Effective Implied APY}Effective Fixed APY≡Effective Implied APY
Fixed Maturity Yield=PT Received−Input Amount (base asset)\text{Fixed Maturity Yield} = \text{PT Received} - \text{Input Amount (base asset)}Fixed Maturity Yield=PT Received−Input Amount (base asset)
interestReturns=(1+underlyingInterestApy)yearsToExpiry−1 \text{interestReturns} = \left(1 + \text{underlyingInterestApy}\right)^{\text{yearsToExpiry}} - 1 interestReturns=(1+underlyingInterestApy)yearsToExpiry−1
rewardsReturns=underlyingRewardApy×yearsToExpiry \text{rewardsReturns} = \text{underlyingRewardApy} \times \text{yearsToExpiry}rewardsReturns=underlyingRewardApy×yearsToExpiry
ytReturns=interestReturns+rewardsReturns \text{ytReturns} = \text{interestReturns} + \text{rewardsReturns}ytReturns=interestReturns+rewardsReturns
ytReturnsAfterFee=ytReturns×0.9 \text{ytReturnsAfterFee} = \text{ytReturns} \times 0.9ytReturnsAfterFee=ytReturns×0.9

Long Yield APY: If you start with a YT priced at ytReturnsAfterFee\text{ytReturnsAfterFee}ytReturnsAfterFee, then after yearsToExpiry\text{yearsToExpiry} yearsToExpiry you receive an additional ytReturnsAfterFee\text{ytReturnsAfterFee}ytReturnsAfterFee(in terms of the base asset). The APY is calculated by annualizing the total return:

longYieldApy=( ytReturnsAfterFeeytPriceInAsset)1yearsToExpiry−1 \text{longYieldApy} = \left(\frac{\ \text{ytReturnsAfterFee}}{\text{ytPriceInAsset}}\right)^{\frac{1}{\text{yearsToExpiry}}} - 1longYieldApy=(ytPriceInAsset ytReturnsAfterFee​)yearsToExpiry1​−1
Yield (Point) Leverage=1Yield Price in YBT \text{Yield (Point) Leverage} = \frac{1}{\text{Yield Price in YBT}} Yield (Point) Leverage=Yield Price in YBT1​
Total Incentive Value=15%×FDV\text{Total Incentive Value} = 15\% \times \text{FDV}Total Incentive Value=15%×FDV
Point Price=Total Incentive ValueTotal Points\text{Point Price} = \frac{\text{Total Incentive Value}}{\text{Total Points}} Point Price=Total PointsTotal Incentive Value​
Weekly Return=Weekly Point Distribution×Point Price\text{Weekly Return} = \text{Weekly Point Distribution} \times \text{Point Price}Weekly Return=Weekly Point Distribution×Point Price
Weekly APR=Weekly ReturnTotal TVL\text{Weekly APR} = \frac{\text{Weekly Return}}{\text{Total TVL}} Weekly APR=Total TVLWeekly Return​
Napier Point APY=Weekly APR×52\text{Napier Point APY} = \text{Weekly APR} \times 52 Napier Point APY=Weekly APR×52
Pool APY=Net Apy+PT Fixed Rate APY+LP Fees APY\text{Pool APY} = \text{Net Apy} + \text{PT Fixed Rate APY} + \text{LP Fees APY}Pool APY=Net Apy+PT Fixed Rate APY+LP Fees APY
Volume=∑iTraded Asseti\text{Volume} = \sum_{i} \text{Traded Asset}_iVolume=i∑​Traded Asseti​
Current AUM=∑i=1NTVLcuratori\text{Current AUM} = \sum_{i=1}^{N} \text{TVL}_{\text{curator}_i}Current AUM=i=1∑N​TVLcuratori​​

NNN is the total number of market curators.

TVLcuratori\text{TVL}_{\text{curator}_i} TVLcuratori​​represents the TVL of the ithi^{th}ithmarket curator.

Cumulative AUM=∑i=1NTVLmarketi\text{Cumulative AUM} = \sum_{i=1}^{N} \text{TVL}_{\text{market}_i}Cumulative AUM=i=1∑N​TVLmarketi​​

NNN is the total number created by curator.

TVLmarketi\text{TVL}_{\text{market}_i}TVLmarketi​​ represents the TVL of the ithi^{th}ith created by curator.

Cumulative Fees Earned=∑iFee Receivedi\text{Cumulative Fees Earned} = \sum_{i} \text{Fee Received}_iCumulative Fees Earned=i∑​Fee Receivedi​
​