Trading instruments
Powerful tools
X Layer network
Swap is based on Uniswap V2 protocol. Read the Uniswap v2 documentation. For more in-depth information on the core contract logic, read the Uniswap v2 Core whitepaper.