V3 Technical Docs
  • Deployed Contracts
    • Notional V3
      • Ethereum Mainnet
      • Arbitrum
  • Security
    • Audits
    • Bug Bounty
  • Currency Ids & Precision
    • Currency Ids
    • Market Indexes
    • Notional Internal Precision
  • Contract interaction guides
    • Intro
    • Trading guide
      • Deposit (Prime Lend)
      • Trade fCash (Borrow & Lend Fixed)
      • Add liquidity (Mint nTokens)
      • Withdraw liquidity (Redeem nTokens)
      • Withdraw (Prime Cash)
      • Settle Account
      • Enter Leveraged Vaults
      • Exit Leveraged Vaults
    • Accounts
    • Prime Cash Markets
    • fCash Markets
    • nTokens
    • Leveraged Vaults
    • Oracles
    • Governance parameters
  • Subgraph guides
    • Notional V3 Subgraphs
      • Fetch Notional Accounts
      • Fetch Notional's reserves
      • Fetch Notional nToken accounts
      • Fetch Historical Trades
      • Fetch an Account's P&L
      • Fetch current fCash and Prime Cash Rates
      • Fetch Historical Prime Cash & Prime Debt Exchange Rates
      • Fetch Prime Cash Market Balances
      • Fetch fCash Market Balances
      • Fetch Outstanding Debt
      • Fetch Historical nToken Exchange Rates
      • Fetch ETH Oracle Exchange Rates
      • Fetch Annual Incentive Rates
      • Fetch Interest Rate Models
      • Fetch Governance Parameters
  • Dune Dashboard
  • Notional Risk Docs
  • Notional V3 Docs
  • Notional Blog
Powered by GitBook
On this page
  • fCash Interest Rate Models
  • Collateral Haircut & Buffers
  • Liquidation Discount Parameters
  • fCash Risk Adjustments Parameters
  1. Contract interaction guides

Governance parameters

fCash Interest Rate Models

# Fetch Notional's fDAI Interest Rate Models.
fCashInterestRateCurves = notional.getInterestRateCurve(1)['activeInterestRateCurve']
interestRateCurve3M = fCashInterestRateCurves[0]
interestRateCurve6M = fCashInterestRateCurves[1] 

Collateral Haircut & Buffers

# Fetch Notional's USDC collateral haircut.
usdcCollateralHaircut = notional.getRateStorage(3)["ethRate"]["haircut"]/100

# Fetch Notional's USDC debt buffer.
usdcDebtBuffer = notional.getRateStorage(3)["ethRate"]["buffer"]/100

Liquidation Discount Parameters

# Fetch Notional's USDC Liquidation Discount.
notional.getRateStorage(3)["ethRate"]["liquidationDiscount"]/100 - 1

fCash Risk Adjustments Parameters

# Fetch the fcash haircuts and debt buffers rate adjustment that are made to the oracles rates:
notional.getCashGroup(currencyId)["debtBuffer25BPS"]
notional.getCashGroup(currencyId)["fCashHaircut25BPS"]

# Fetch the fCash liquidation discounts given to fCash liquidators.
notional.getCashGroup(currencyId)["liquidationDebtBuffer25BPS"]
notional.getCashGroup(currencyId)["liquidationfCashHaircut25BPS"]

# Fetch the minimum oracle rate at which negative fCash can be discounted 
# and the maximum oracle rate at which positive fCash can be discounted.
notional.getCashGroup(currencyId)["minOracleRate25BPS"]
notional.getCashGroup(currencyId)["maxOracleRate25BPS"]

# Fetch the maximum fCash discount factor. 1 - maxDiscountFactor is the min fCash PV of positive fCash assets.
notional.getCashGroup(currencyId)["maxDiscountFactor5BPS"]
PreviousOraclesNextNotional V3 Subgraphs

Last updated 5 months ago