π‘How it Works π₯Έ
Basic structure of the Dapp.
Main functions
Currently we have three main functions:
Market Order (long or short): user can open a leveraged trade for specified asset.
Order Close: user can close their trade and they will paid based on there winnings or losses.
Trade Liquidations: all trades are monitored by bot that with liquidate a user's positions if their positions goes to zero. (See running a bot here)
Price Feeds
All prices come from a decentralized oracle by using Pyth Price Feeds.
Last updated