πŸ“–
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
  3. πŸ”΅FA2 Token entrypoints

get_total_supply

(token_id, callback) -> callback(nat)

Additional on-chain view allows to get total supply of token by token_id. Sends supply amount to a provided callback.

Previousbalance_ofNexttransfer

Last updated 3 years ago