mirror of
https://github.com/uniwhale-io/docs.git
synced 2026-01-12 09:44:19 +08:00
GitBook: No commit message
This commit is contained in:
BIN
.gitbook/assets/Screenshot 2022-09-21 at 12.02.54 AM.png
Normal file
BIN
.gitbook/assets/Screenshot 2022-09-21 at 12.02.54 AM.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 440 KiB |
17
README.md
Normal file
17
README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# uniwhale.io
|
||||
|
||||
|
||||
|
||||
uniwhale is the first orderbook-based decentralized crypto exchange supporting spot and perpetual trades with low swap fees and zero price impact trades.
|
||||
|
||||
Trading is supported by a multi-asset pool that allows single-asset injection of liquidity by liquidity providers who earn fees from market making and swaps.
|
||||
|
||||
|
||||
|
||||
> For Traders: uniwhale.io provides spot and perpetual with upto 100x leverage trades with 0 price impact.  
|
||||
>
|
||||
> Traders will also pay 0 fee to post buy/sell orders, pay only when your orders are confirmed.
|
||||
|
||||
> To provide liquidity: at uniwhale.io, providing liquidity to orderbook is hassle-free. Anyone can be a liquidity provider.\
|
||||
> \
|
||||
> With uniwhale.io, anyone can participate and earn passive market making yield.
|
||||
8
SUMMARY.md
Normal file
8
SUMMARY.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Table of contents
|
||||
|
||||
* [uniwhale.io](README.md)
|
||||
* [Perpetual Market](perpetual-market.md)
|
||||
* [Wallet Control](wallet-control.md)
|
||||
* [Liquidity Pool](liquidity-pool.md)
|
||||
* [Roadmap](roadmap.md)
|
||||
* [uniwhale.io](uniwhale.io-1.md)
|
||||
39
liquidity-pool.md
Normal file
39
liquidity-pool.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Liquidity Pool
|
||||
|
||||
## Provide the liquidity the way you want it and earn
|
||||
|
||||
At uniwhale.io, market makers can provide liquidity to the orderbook, either directly by posting limit orders, or by pooling their assets into Liquidity Pool.
|
||||
|
||||
Liquidity Pool thus provides a convenient way for many to earn trading fees by providing liquidity.
|
||||
|
||||
### Mint / Burn of Liquidity Pool token
|
||||
|
||||
The Liquidity Pool consists of a basket of assets used for trading. Liquidity Pool token can be minted using any asset in the basket and burnt to redeem any of the assets. The price at which the Liquidity Pool token is minted or burnt is determined based on the total market value of the Liquidity Pool divided by the outstanding supply of the token.
|
||||
|
||||
## Zero price impact trading
|
||||
|
||||
The design of the Liquidity Pool allows that liquidity is provided at a fixed / pre-determined fee, with zero slippage, benefitting both traders and liquidity providers.
|
||||
|
||||
Liquidity Pool uses Price Oracle to determine its mid-price and apply a fixed fee based on a pre-determined rule to create its bid and ask, which are then used to fill the market limit orders on the orderbook.
|
||||
|
||||
### Oracle-based mid-price calculation
|
||||
|
||||
Liquidity Protocol uses Red Stone Price Oracle, which provides fast and cost-efficient price oracles for on-chain contracts.
|
||||
|
||||
Keepers constantly refreshes the oracle prices and update the Liquidity Pool.
|
||||
|
||||
Liquidity Pool uses the trailing average and percentile of the oracle prices to determine its mid-price.
|
||||
|
||||
### Dynamic fee calculation
|
||||
|
||||
When a particular asset is in heavy demand, its weight within the Liquidity Pool may decrease, and, vice versa.
|
||||
|
||||
The fee is adjusted based on the prevailing weight to ensure Liquidity Pool holds a balanced basket of assets
|
||||
|
||||
### Market Limit Order
|
||||
|
||||
Market limit orders are filled by Keepers when the Oracle Price reaches the limit price.
|
||||
|
||||
### Market Order
|
||||
|
||||
Market orders are filled by Keepers at the Oracle Price.
|
||||
33
perpetual-market.md
Normal file
33
perpetual-market.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Perpetual Market
|
||||
|
||||
## Trade up to \[100]x
|
||||
|
||||
uniwhale.io offers perpetual futures with up to \[100]x leverage on a number of pairs including BTC-USD and ETH-USD.
|
||||
|
||||
All positions are margined in USD. Only isolated margining is currently offered with a plan to offer portfolio margining in the future.
|
||||
|
||||
Initiating positions will transfer the required margin to Exchange on-chain contract, which acts as the central counterparty and clearing house to all positions.
|
||||
|
||||
The initial margin is calculated based on the matched prices ("Mark Price").
|
||||
|
||||
Outstanding positions are subject to liquidation which may be triggered if the relevant liquidation price is breached according to the Price Oracle ("Index Price").
|
||||
|
||||
Keepers constantly monitor the positions to ensure positions eligible for liquidation are liquidated at the earliest chance, to protect the users and the platform.
|
||||
|
||||
If the position is liquidated and the user closes out the position, the settlement amount is determined based on the matched prices and is transferred by the Exchange to the user.
|
||||
|
||||
## Zero fee to post orders
|
||||
|
||||
uniwhale.io, at its core, is about signed off-chain messages settled on-chain, which allows CeFi-like orderbook experience for both traders and market makers.
|
||||
|
||||
Built as a classic central limit order book, signed orders are queued and matched for on-chain settlement.
|
||||
|
||||
Because these orders are created and signed off-chain, they require no gas fee.
|
||||
|
||||
The speed and latency of the order maching engine is also not constrained by the settlement blockchain, allowing horizontal scalability.
|
||||
|
||||
## Lightning quick on-chain settlement
|
||||
|
||||
The orders matched by the order matching engine are sent to the Exchange on-chain contract, which validates these orders and settle them on-chain.
|
||||
|
||||
By building on Sui, which boasts horizontally scalable, instant, finality with low fee, the settlement of trades are cost-efficient and quick.
|
||||
11
roadmap.md
Normal file
11
roadmap.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Roadmap
|
||||
|
||||
## Roadmaps
|
||||
|
||||
* 20 May 2022: [https://medium.com/@gmx.io/gmx-update-3-33341d13571d](https://medium.com/@gmx.io/gmx-update-3-33341d13571d)
|
||||
|
||||
## Announcements
|
||||
|
||||
Medium : [https://t.me/GMX\_Announcements](https://t.me/GMX\_Announcements)
|
||||
|
||||
Twitter: [https://discord.gg/cxjZYR4gQK](https://discord.gg/cxjZYR4gQK)
|
||||
21
uniwhale.io-1.md
Normal file
21
uniwhale.io-1.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# uniwhale.io
|
||||
|
||||
* **Trade with up to \[100]x leverage**: uniwhale.io offers perpetual futures with leverage as high as \[100]x
|
||||
* **Zero price impact trading**: liquidity is provided at a fixed / pre-determined fee, with zero slippage
|
||||
* **Zero fees to post orders**: at uniwhale.io, you pay no fee to post buy/sell orders. Pay only when your orders are confirmed.
|
||||
* **Lightning quick settlement**: uniwhale.io builds on Sui, which boasts horizontally scalable, instant, finality with a low fee.
|
||||
* **Keep your assets safe**: You have full ownership and control of your assets on uniwhale.io. Zero credit risk.
|
||||
* **Provide liquidity the way you want it**: at uniwhale.io, providing liquidity to the orderbook is hassle-free. Anyone can be a liquidity provider.
|
||||
|
||||
Trading is supported by a unique multi-asset pool that allows single-asset injection of liquidity by liquidity providers who earn fees from market making and swaps.
|
||||
|
||||
~~Liquidity is priced by~~ [~~`Red Stone Price Oracle`~~](https://redstone.finance)~~.~~
|
||||
|
||||
## Architecture Overview
|
||||
|
||||
<figure><img src=".gitbook/assets/Screenshot 2022-09-21 at 12.02.54 AM.png" alt=""><figcaption></figcaption></figure>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
11
wallet-control.md
Normal file
11
wallet-control.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Wallet Control
|
||||
|
||||
## Keep your assets safe
|
||||
|
||||
You have full ownership and control of your assets on uniwhale.io. Zero credit risk.
|
||||
|
||||
The wallet is an on-chain contract which holds trading funds on behalf of the users.
|
||||
|
||||
When the user registers, funds are deposited into the wallet, owned and controlled by the user herself. Segregation of trading funds at Wallet from the user funds at own wallet is important to eliminate credit risk between the trade confirmation and settlement time.
|
||||
|
||||
Users can withdraw the available balance at any time by making an on-chain request.
|
||||
Reference in New Issue
Block a user