Javsphere Docs
Open AppJoin Trading Competition
  • Open Javsphere App
  • Welcome to Javsphere
  • Javsphere Stats
  • Fundamentals
    • Javsphere Set Up
      • Base Chain
      • Connect Wallet
      • Add Tokens
      • New to Crypto
    • Buy & add JAV
  • Products
    • LeverageX
      • Assets
        • Cryptocurrencies
        • Stocks
        • Forex
        • Commodities
      • Fees & Spread
      • Trader
        • Open Trade
        • Edit & Close Trade
      • Earn LLP Pool
        • Buy LLP
        • LLP Price & APY
      • xJAV Vault
        • FAQ
      • Limitations
      • Testing
      • Trading Competitions
      • Referral
    • StakeX
    • CryoVault
  • Trading Competitions
    • Current Competition
      • Create Profile
      • Create Community
      • Old competitions
        • Competition Vol. 3
        • Competition Vol. 2
        • Competition Vol. 1
        • Tournament
    • Zealy Campaign
      • Old Airdrops
        • Infinity Pass
        • CFR
        • UPT
        • DTL
        • RNG
        • DPM & Baby Dana
        • GRWV
    • Become a Sponsor
  • JAV Token
    • Utility
    • Whitepaper
      • Javsphere and JAV Token
        • JAV Token
          • Javsphere Fee Structure
          • Tokenomics
        • Added Value for Holders
        • Javsphere Technology
          • StakeX
          • CryoVault
          • LeverageX
      • Disclaimer
    • Governance
      • Onchain Proposals
      • Migration to Base
      • Offchain Proposals
      • Submit a Proposal
    • Base Migration
    • JAV Burn
  • JAVLIS
    • The Ultimate AI Agent
      • Ecosystem
      • USPs
      • Boost for LeverageX
      • Business Model
      • Roadmap
      • Virtuals as Infrastructure
      • More than a hype
      • Hiring
    • Buy JAVLIS
  • Engineering
    • Oracle System
    • Smart Contracts
      • LeverageX
        • JavBorrowingFees
        • JavFeeTiers
        • JavPairsStorage
        • JavPriceAggregator
        • JavPriceImpact
        • JavReferrals
        • JavTradingInteractions
        • JavTradingProcessing
        • JavTradingStorage
        • JavBorrowingProvider
        • LLPToken
        • Feeds
      • JavPriceAggregator
      • JavFreezer
      • JavStakeX
    • Github
    • Bug Bounty Program
  • Community & More
    • Content Library
      • Logos
      • UI Mockups
    • Social Content
    • Socials
      • Telegram Guidelines
  • LEGAL
    • Privacy Policy
    • Terms of Use
      • Excluded Jurisdictions
    • Migration Terms
    • Cookie Policy
    • Trading Competition Terms
    • Bug Bounty Terms
Powered by GitBook
On this page
  • General Description
  • Faucets
  • Additional contracts

Was this helpful?

  1. Engineering
  2. Smart Contracts

LeverageX

General Description

The LeverageX product consists of several contracts that operate through the Diamond architecture. All calls are directed to the JavMultiCollatDiamond contract, which then delegates execution to various libraries based on the selected logic.

Faucets

  • JavBorrowingFees - Storage and interaction with borrowing fees

  • JavFeeTiers - Storage and interaction with fee at different levels of interaction with orders

  • JavPairsStorage -Stores information about all pairs and their configurations

  • JavPriceAggregator - Allows to receive and update the price of pairs at the time of opening/closing/updating trades

  • JavPriceImpact - Stores the necessary information to interact with price impact logic

  • JavReferrals - stores information about the referral system leverageX

  • JavTradingInteractions - Allows to open/close/update trades

  • JavTradingProcessing - Support faucet for JavTradingInteractions that allows to manage different types of orders (market, limit and etc).

  • JavTradingStorage - Stores information about all trades

Additional contracts

  • JavBorrowingProvider - A contract that allows investors to invest tokens to generate profits through the LLP token. And for traders, it allows them to use the available tokens while trading

  • LLPToken - token that is purchased through a borrowing provider and participates in the earn side

Last updated 5 months ago

Was this helpful?