Search…
Spot Trading
To keep it simple, here is what is currently possible on UniDex when it comes to general trading.
Traders have the ability to create market orders or limit buy and sell orders that aggregate between 18 different liquidity pools with more being added as the ecosystem grows. This system is the one that we see similar to 1inch's onesplit contract however has been integrated within the system for more efficient routing built upon by the pine.finance team ( which we maintain ). This is what what powers the market/limit order system but expanding the work to work with more liquidity pools, much less required execution fees, and different order types such as stop limit and trailing stoploss orders.
To get a clear idea on how the UniDex ecosystem flows together, here is a simplified flowchart starting with the trader.
When a trade is placed that is pending execution ( aka limit order ), its sent to its own vault contract the users determined price point is triggered. A relayer is then tasked with finding limit orders that match the users trade conditions. Once conditions are met, relayers then communicate with handler contracts to then fill order on the respective AMM then to the end user.

Example

A user creates an order for selling 1 UNIDX at a rate of 1 UNIDX = 1 ETH. The order is then encoded with the I/O and rate which relayers are now monitoring if they can be filled and if so, what is the best possible route to fill the order. If a limit price is then hit, relayers have to determine the actual limit fill price due to gas fees being needed to carry out the transaction. If the gas price for the order is low enough to still give the output the user requested then the order will be carried out.
Limit orders are supported on 5 different EVM networks currently. Ethereum, BSC, Polygon, Avalanche , and Fantom currently however, expanding soon into Arbitrum's mainnet. Generally limit orders on the Ethereum mainnet often experience sour preformance when filling smaller order ( less than $250 ) due to fills based on gas slippage. On these other networks such as polygon however, the experience is flawless and fills are near instant when executable.
The full list of supported networks and DEX's are found here
ETH
MATIC
BSC
FTM
AVA
Celo
Fuse
xDai
Moonbeam
Uniswap V1
Quickswap
PancakeV1
Spookyswap
Pangolin
Ubeswap
Fuseswap
Baoswap
Sushiswap
Uniswap V2
Waultswap
PancakeV2
Spiritswap
Sushiswap
​
​
Honeyswap
​
Uniswap V3
Firebird
Waultswap
Paintswap
Lydia
​
​
Sushiswap
​
Balancer
Dfyn
ApeSwap
Waka
TraderJoe
​
​
Swapr
​
Bancor
Balancer
Sushiswap
Hyperjump
​
​
​
​
​
Comp
Sushiswap
Paraswap
Sushiswap
​
​
​
​
​
Kyber
Paraswap
1inch
Bombswap
​
​
​
​
​
Oasis
1inch
0x
Shibaswap
​
​
​
​
​
Aave
0x
​
​
​
​
​
​
​
Curve
​
​
​
​
​
​
​
​
Sushiswap
​
​
​
​
​
​
​
​
1inch
​
​
​
​
​
​
​
​
Paraswap
​
​
​
​
​
​
​
​
0x
​
​
​
​
​
​
​
​
Copy link
Contents
Example