AMMs integrate and provide liquidity to traders according to an algorithm. NEURONswap is implemented using CPMMs (Constant Product Market Makers) that fall into the category of AMMs as smart contracts on a permissionless blockchain. The CPMM-based DEX trading method is DeFined as an x*y = k function, and the function above represents when a transaction occurs. R stands for reserve (liquidity), and R_a and R_b are tokens of the liquidity pair. γ is the transaction fee, and changes in token quantity are added and decreased within each pool reserve to keep k constant. Since the product of the two token reserve quantities must always maintain a constant k, if the supply of x tokens increases, the supply of y tokens will inevitably decrease, and vice versa.