D4X.io - Documentation
  • WELCOME
    • 🖐️D4X.io: Decentralized Margin Trading Protocol
    • 😎How it works
      • Open position
      • Close position
      • Deposit pools
      • Withdraw pools
      • Connect wallet
      • Receive Test coins - Faucet
    • 🔭Pitch deck
    • 📃White paper
  • PRODUCT
    • 🧬Smart contracts scheme
    • 🚸User Cases
      • Case 1. Trader Open Position
      • Case 2. Trader Close Position (with profit)
      • Case 3.1. Liquidation (normal case)
      • Case 3.2. Liquidation (with loss & enough iFund)
      • Case 3.3. Liquidation (with loss & empty iFund)
      • Case 4. Deposit ALP Pool
      • Case 5. Withdraw ALP Pool
    • 🎨Design UX/UI
      • Position Screen
      • DashBoard Screen
      • Pool Screen
      • Test Start Screen
    • 🚧How it's made
    • 📖Dictionary D4X
  • DEVELOPMENT
    • 🔗Addresses & deployments Smart Contracts
      • Addresses Main Protocol
      • Addresses Test Coins
      • Addresses ALP Auto Leverage Pools dfPool
    • 🎱GitHub Source
    • 🦖Testnets - Try App
  • Plans
    • 🛣️Roadmap
    • 🤝DAO
    • 🌱App Versions
      • Alpha 1.1
      • Alpha 1.0
  • CONNECT
    • 🌐Links
    • ❔FAQ
    • 🕶️Privacy Policy
    • 🌌Powered by GoDeFX Lab
Powered by GitBook
On this page
  1. WELCOME

How it works

PreviousD4X.io: Decentralized Margin Trading ProtocolNextOpen position

Last updated 1 year ago

Traders

  • Buy and sell leveraged positions of coins using funds borrowed from the ALP pool.

  • Reap profits in favorable market conditions and incur losses in unfavorable ones.

  • Trader's positions may be automatically liquidated to protect the credited funds and prevent larger losses for the trader.

ALP Investors

  • Invest funds in the ALP pool to earn profits from lending leverage to traders for fee.

  • Receive LP tokens that can be redeemed or sold on the open market.

  • Earn additional profits from the AAVE protocol for idle funds (not in positions).

D4X Engine

  • Calculate the maximum leverage for positions using the Margin Engine, granting traders access to borrowed funds.

  • Oversee the liquidation process in a fully decentralized manner.

Insurance Fund

  • Protects investors against potential losses resulting from unexpected events during the liquidation swap process.

  • Accumulates rewards for the DAO Community, contributing to the overall sustainability and growth of the platform.

DAO Community

  • Governs the protocol through decentralized decision-making, with participants voting on proposals and updates related to the platform.

Presentation of smart contracts and funds moving

We use DEXes to conduct trades.

And we want to create a new standard - Automatic Leveraging System (ALS), which will calculate the maximal acceptable leverage level to keep the system stable. It will be like Automatic Market Maker and liquidity pool for DEXes.

😎
Open position
Close position
Deposit pools
Withdraw pools