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
  • Key maker concepts
  • Future

Was this helpful?

  1. Docs for Devs
  2. Contracts

Maker

Collection of contracts for each maker (liquidity framework) type. See the subpage for details.

Oracle Maker

Spot Hedge Maker

Key maker concepts

minMarginRatio

This is a minimum margin ratio set by a maker (LPs / pool participant). If this ratio is reached, the maker will stop providing more liquidity. In some Liquidity Strategies it is possible to LP with leverage (e.g. oracle pools), and in some Strategies leverage is not desirable (e.g. spot-hedge pools), and minMarginRatio controls the amount of leverage the maker allows.

fillOrder

Maker contracts provide a public fillOrder function to allow users to fill orders using pool liquidity.

Callback

Some maker types, such as spot hedge, may function best when funds can be removed from the vault for user in hedging or other functions. This ability is named callback, and is initially restricted to whitelisted LPs. This function will either be made permissionless or replaced by a more secure mechanism in the future.

Matching priority

Currently there is no prioritization. Orders will be filled using the maker with the best price including fees.

Future

More maker types will be added to the liquidity framework as they are developed. Maker types can be developed by the Foundation team and by 3rd parties. The scope for maker types is very broad and can include JIT liquidity, off-chain orderbooks, and much more.

Please Contact us if you are interested in developing novel liquidity framework strategies!

PreviousFunding FeeNextOracle Maker

Last updated 1 year ago

Was this helpful?

⭐