rotateSwap

The Swap page is for exchanging Tokens and consists of the Slippage Section, Swap Input Section, Execute Button Section, and the Swap Fee Info Section which appears when Swap settings are complete.

① Slippage Section

Contains a setting button and a setting value display. If set to Auto, the setting value is not visible.

  • Clicking the setting button opens the Max Slippage settings window where you can set the Slippage tolerance to Auto or Custom.

  • In Auto, the Slippage tolerance is 0.5%, and Custom settings can be made with a number greater than 0.

② Swap Input Section

Consists of two identical Sell/Buy Input Cards and a Reverse Button.

  • Entering a Token amount in either Sell or Buy Input automatically calculates and enters the amount in the other.

  • Clicking the Select Token Button opens the Token selection window with a list of exchangeable tokens; click one to set it.

  • Clicking the Max Button sets the entire balance of the Sell Token held in the user's wallet as the Sell Token amount.

  • Clicking the Reverse Button swaps the Sell Token and Buy Token.

  • If the type of Sell Token or Buy Token is changed, the entered amount resets to 0.

  • The dollar equivalent value and the current holding of the corresponding token are displayed below the amount input.

  • Once all settings are complete, the Execute Button Section and Swap Fee Info Section become active.

③ Execute Button Section

  • If the entered Sell Token amount is greater than the Allowance amount for that Token, the Approve Button becomes active. Clicking the Approve Button proceeds with the usage approval for that token.

  • If the Sell Token has obtained a sufficient amount of Allowance, the Swap Button becomes active.

  • Before activation, the Swap Button indicates various setting states as shown in the picture below, and becomes the Swap button once settings are complete.

  • Clicking the Swap Button proceeds with the Token exchange as set.

④ Swap Fee Info Section

Activates when Sell Token and Buy Token are selected, and updates calculated values when an amount is entered.

  • Clicking the exchange rate row displayed at the bottom of the Swap Button expands it to show detailed items such as Exchange Rate, Max Slippage applied value, Price Impact, and Swap Fee.

  • If Price Impact exceeds 5%, a separate Warning is activated and displayed in the Swap Fee Info Section.

Last updated