CompX Router Layout
Last updated
Last updated
The Connected Wallet Address Icon displays the wallet that's currently connected to the CompX dApp. Tapping on this button reveals the "Disconnect" option, that ends the wallet connect session. Additionally, tapping on the button reveals the link to the Accolades acquired by the connected wallet. If no wallet is currently connected to the dApp, the button will display "Connect". Clicking or tapping on that will allow the user to initiate a new wallet connect session.
The CompX App Navigation Menu opens a navigation window that allows users to move between different areas of the CompX dApp. This button is persistent in all areas, allowing easy navigation between CompX product and information pages.
The Refresh Data button allows the user to refresh their account details by rechecking all available protocols. This can be used to refresh a session if any information is out of date.
The View Current/Historical Limit orders button displays relevant Limit order information associated with the connected wallet to the user, including relevant dates and order status. Any Deflex limit order will be displayed, even those not initiated through CompX.
Advanced Settings allows users to customize several swap specific parameters. When pressed, a popup will open with the following options.
Default Slippage tolerance can be adjusted here with .1%, .5% and 1% being the available options.
The market landscape changes in real time. The Refresh Quotes option, which is on by default, re-runs the optimization every 20 seconds to verify that no better routes have been found. This behavior can be toggled on and off here.
Enable Swap Protocol allows users to select which dexes are used by the swap router. By default all are active.
Use Swap Input Token Selection to select the token type that the user wants swap. The options here are limited by the opted in tokens in the user wallet.
Quick Amount Selection allows users to easily select common amounts of their token to swap.
The Swap Input Manual Entry/Display will auto-fill with the correct number of tokens if the Quick Amount Selection is used. Otherwise, any custom amount can be manually entered in this field.
Using current pricing data, the Estimated Value field gives the approximate USD value of the tokens that are going to be swapped.
This space allows the user to select the token that the user wants to receive from the swap. This is not limited to tokens already in the users wallet. If the user isn't opted into the token, the first step of the swap will be to opt into this token automatically.
The amount of the token the user wants to receive is specifiable here. If a set number of tokens is manually entered into this field, the number of swapped tokens coming from the users wallet will be adjusted to achieve the entered number based on market conditions.
Here the approximate USD value of the tokens the user will receive is displayed.
By default the Limit Order Toggle is off. If the user wishes to create a limit order this toggle can be flipped on. The Input and Output fields will no longer be linked, and the limit order will fulfill when the relationship between sell and buy tokens is achieved.