© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
M. Ottina et al.Automated Market Makershttps://doi.org/10.1007/978-1-4842-8616-6_3

3. Balancer

Miguel Ottina1  , Peter Johannes Steffensen2 and Jesper Kristensen3
(1)
Rivadavia, Argentina
(2)
Aarhus, Denmark
(3)
New York, NY, USA
 

Balancer generalizes the constant product formula of Uniswap v2, introducing a weighted geometric mean formula that allows the creation of pools that may have more than two assets. In addition, when a Balancer pool is created, each asset of the pool is endowed with a certain weight representing the share of that asset in the pool. This gives additional flexibility to the composition of the pools.

In this chapter, we will describe in detail ...

Get Automated Market Makers: A Practical Guide to Decentralized Exchanges and Cryptocurrency Trading now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.