πŸ“–
Yupana Document Portal
CtrlK
  • Introduction
    • What is Yupana.Finance?
    • Participants
    • FAQ
  • Lending
    • Supplying assets
      • General
    • Borrowing assets
      • General
  • Liquidation
  • Liquidity Risk
    • Yupana Interest Rate
  • βš™οΈDeveloper space
    • yToken contract methods
      • πŸ“„Storage overview
      • accrueInterest
      • priceCallback
      • updateInterest
      • πŸ”΅Lending methods
        • borrow
        • enterMarket
        • exitMarket
        • liquidate
        • mint
        • redeem
        • repay
      • πŸ”΅FA2 Token entrypoints
        • balance_of
        • get_total_supply
        • transfer
        • update_operators
      • πŸ›‘Admin methods
        • πŸ“₯Setup entrypionts
          • setTokenAction
          • setUseAction
        • 🀹Manage entrypoints
          • addMarket
          • setAdmin
          • setBorrowPause
          • setGlobalFactors
          • setTokenFactors
          • updateMetadata
          • withdrawReserve
    • InterestRate contract
      • πŸ”΅On-chain views
        • getBorrowRate
        • getSupplyRate
        • getUtilizationRate
      • πŸ›‘Admin methods
        • setCoefficients
        • updateAdmin
    • PriceFeed contract
      • getPrice
      • receivePrice
      • πŸ›‘Admin methods
        • setProxyAdmin
        • updateOracle
        • updatePair
        • updateYToken
  • Agreements
    • Terms of Service
    • Privacy Policy
    • Cookie Policy
Powered by GitBook
On this page
  1. βš™οΈDeveloper space
  2. yToken contract methods

priceCallback

params of yAssetParams -> storage upd

Update lastPrice and priceUpdateTime values for token in storage with the received value.

This entrypoint receives calls only from PriceFeedProxy, which address stored inside storage.priceFeedProxy record of contract storage.

PreviousaccrueInterestNextupdateInterest

Last updated 3 years ago