LogoLogo
Nekodex AppDiscord
Nekodex (Playground)
Nekodex (Playground)
  • Nekodex $(=ↀωↀ=)
    • Terms of Service
  • Introducing Perp v3
  • All About Perp
    • Project overview
      • Product info
      • About us
      • Governance
    • Roadmap
    • Official links
    • FAQs
    • PERP Token
    • Contact us
    • More
      • Security & Audits
      • Partnerships
      • Careers
      • Marketing
      • Legacy Docs
  • Docs for Users
    • Earn yield
    • Trade perpetual futures
      • Fees & system limits
      • Perp Smart Account
      • Perp contract specs
    • Provide liquidity (LP)
    • How Perp v3 works
      • Pyth Oracles
    • Security
  • Docs for Devs
    • Technical Overview
    • Contracts
      • Address Manager
      • Borrowing Fee
      • Circuit Breaker
      • ⭐Clearinghouse
      • Config
      • Funding Fee
      • ⭐Maker
        • Oracle Maker
        • Spot Hedge Maker
      • Maker Reporter
      • ⭐Order Gateway
      • Quoter
      • ⭐Vault
    • Dev FAQ
    • API
      • Subgraph
    • Error codes
Powered by GitBook
On this page

Was this helpful?

  1. Docs for Devs
  2. Contracts

Maker Reporter

Reports the utilization ratio of each maker. This is required for borrowing fee calculation to ensure makers do not over-report their utilization ratio and receive more fees than they should.

Contract

function getUtilRatioFactor(
    uint256 marketId, 
    address receiver
)
/// @notice Return if long
returns (
    uint256 0,     
    uint256 defaultUtilRatioFactor
)
/// @ notice Return if short
returns (
    uint256 defaultUtilRatioFactor,     
    uint256 0
)
PreviousSpot Hedge MakerNextOrder Gateway

Last updated 1 year ago

Was this helpful?