LeverFi
  • About LeverFi
    • LEVER Utility
  • OmniZK
    • OmniGPT
    • Discreet Log Contracts
    • zkOracles
    • Trusted Execution Environment
    • L0 Endpoints Integration
    • OmniRelayers
    • Application Use Cases
    • OmniZK SDK
    • Staking and Delegation Programs
  • LeverTrade
    • Trade-and-Earn
    • User Guides
      • Traders - Deposit and Trade
      • Lenders - Lend and Earn
      • Trade Account Settlement
    • Components
      • Collateral Manager
      • Trading Manager
      • Lending Manager
      • Risk Manager
    • Protocol Parameters
      • Supported Collateral List
      • Tradable Assets List
      • Lending Pools List
    • Product FAQ
    • Technical Docs
      • Contracts
      • Audits
      • Bug Bounty
    • Risk Warnings
  • LeverPro
    • Staking and Participation Rules
    • Initial Inscription Offerings (IIOs)
    • Initial Dex Offerings (IDOs)
    • Risk Warnings
  • Social Channels
Powered by GitBook
On this page
  1. LeverTrade
  2. Components

Trading Manager

Traders execute their leveraged trades within the LeverTrade platform, which provides Traders with highly-competitive swap rates using multi-dex routing.

The Trading Manager smart contracts serve the function of managing trade execution and Trader PNLs on LeverTrade, and performs the following platform functions:

  • Calculation of Leverage Liquidity to determine amount of borrowable liquidity

  • Trade executions (buy/sell)

  • Trade ledger and positions tracking

  • Trade settlements

  • Trade routing via multi-dex optimized paths

  • Calculation of Profit and Loss (PNL) to determine profits / borrows accrued

  • Withdrawal of profits

  • Repayment of borrows

Addition or removal of tradable assets can be done via protocol governance.

PreviousCollateral ManagerNextLending Manager

Last updated 1 year ago