Swap

LunarDex provides users a simple way to swap tokens on MoonBeam via automated liquidity pools. In a swap, one token is sold to buy another token. The rate of the swap is determined by the AMM with the equation:
x∗y=kx*y=kx∗y=k
Where x = the number of $AAA tokens, y = the number of $BBB tokens, and k is a constant. The trader is charged a 0.3% fee to make a swap.