SeahorseFi
  • 🌊Introduction
    • Introduction to SeahorseFi.xyz
    • Diagrammatic Representation
  • Protocol
    • Interest Rates
      • Interest Rate Model
      • Get Supply Rate
      • Get Borrow Rate
      • Get Utilization
      • Variable Interest Rates
    • Risk Management
    • Collaterization Model
    • Liquidation
      • Reserves
    • Contracts
    • Reserve Factor
  • ⚖️Governance
    • Governance
    • Protocol Fees
    • Roadmap
    • Treasury
    • Treasury Management
  • Tokenomics
    • Token Distribution
  • Legal
    • Terms & Conditions
Powered by GitBook
On this page
  1. Protocol
  2. Interest Rates

Get Utilization

Get Utilization

This function returns the current protocol utilization of the base asset. The formula for producing the utilization is:

Utilization = TotalBorrows / TotalSupply

function getUtilization() public view returns (uint)
  • RETURNS: The current protocol utilization percentage as a decimal, represented by an unsigned integer, scaled up by 10 ^ 18. E.g. 1e17 or 100000000000000000 is 10% utilization.

PreviousGet Borrow RateNextVariable Interest Rates

Last updated 1 year ago