Spectra Developer Docs
  • Developers Documentation
  • Getting Started
  • Guides
    • Tokenizing Yield
    • Providing Liquidity
    • Deploy PT and Curve Pool
    • Routing
    • IBT Additional Rewards
    • Locking APW for veAPW
    • Voting and Earning Rewards
  • Technical Reference
    • Deployed Contracts
    • Contract Functions
      • Principal Token
      • Yield Token
      • Registry
      • RateOracle
      • Factory
      • Access Manager
      • RouterUtil
      • Router
      • GovernanceRegistry
      • Voter
      • VotingReward
        • BribeVotingReward
        • FeesVotingReward
      • FeeDistributor
      • Spectra4626Wrapper
    • Yield Calculations
    • Spectra's Automated Market Makers
      • Rate Adjusted StableSwap pools
  • Glossary
  • INTEGRATION REFERENCE
    • Spectra Oracles
      • TWAP Oracles
      • Deterministic Oracles
        • Linear APR model
        • Linear Discount Model
        • Zero Coupon Bond Model
        • Comparison
      • Oracle Deployment
        • Deterministic Oracles Deployment
        • TWAP Oracles Deployment
Powered by GitBook
On this page
  1. INTEGRATION REFERENCE
  2. Spectra Oracles
  3. Deterministic Oracles

Linear APR model

PreviousDeterministic OraclesNextLinear Discount Model

Last updated 2 days ago

The linear APR model is a pricing model for a Principal Token quoted in underlying. It assumes that the price of the PT is a unit of underlying discounted by a non-compounded implied rate that stays constant during the term. More specifically, is assumes

P(t,T)=α(t)11+r(T−t)P(t,T) =\alpha(t)\frac{1}{1+r(T-t)}P(t,T)=α(t)1+r(T−t)1​

where α(t)\alpha(t)α(t) is the PT rate, represented in the contracts as ptRate , TTT is the maturity timestamp and ttt is the current timestamp.