Customizable spread curves

The Spread Inflator Curve is an innovative bonding curve implementation designed to give users full control over the bid-ask spread, allowing liquidity providers to capture more value from buy and sell transactions. This is particularly useful for NFT projects with deep liquidity provision, as it enables a more attractive return on investment. By default, the spread inflator is percent-based, and a round trip trade will yield a 2% return on the trade price.

The Spread Inflator Curve allows for the capturing of a positive bid-ask spread by ensuring that the t0-ask minus the t-1 bid (without any fees) is always greater than zero. It enables the capturing of the bid-ask spread through either a percentage inflator or a flat amount inflator, giving pool creators more control over the bid-ask spread and its effect on liquidity provision.

The flat amount inflator is likely to be more intuitive for most users. For example, with a flat amount of X, every buy-sell trade pair will increase the collateral by X.

The Spread Inflator Curve is particularly useful for pools with low APRs and deep liquidity provision range. By utilizing the spread inflator, pool creators can achieve APRs that are multiples of the base value.

Benefits of the Spread Inflator Curve

  1. Customizable bid-ask spread: The spread inflator curve allows you to set an additional spread between the buying and selling price for each pool, enabling liquidity providers to control the compensation they get from the trade through the spread they get from each trade.

  2. Flexible spread settings: You can customize the spread inflator using either a flat amount or a percentage, giving you full control over the spread

  3. Increased returns: With the spread inflator curve, liquidity providers can potentially achieve higher returns, making it more appealing for NFT projects looking to incentivize their community to provide liquidity.

  4. Adaptable for various NFT projects: The spread inflator curve can be customized to each NFT project, allowing project creators to maximize their returns and provide more value to their communities.

How the Spread Inflator Curve works

The Spread Inflator Curve uses two additional parameters, a boolean bidAskInflatorIsFlatAmount and a uint248 inflator. These parameters can be set during pool creation or edited later, giving you full control over the spread inflation.

The bidAskInflatorIsFlatAmount parameter is a boolean that determines whether the inflator is flat amount or percent-based. The inflator parameter is a uint248 that specifies the amount or percentage of the spread inflation.

The spread captured is separate from the fees and will be contributed back to the pool's collateral. This allows the spread captured during the trade to be auto-compounded into the pool. This is opposed to fees which are accounted for separately and is not auto-compounded back into the pool.

The linear and exponential spread inflator curves have been deployed at the following addresses:

Last updated


© 2023 Collection. All rights reserved