Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Supply Adjustment Algorithm

A Supply Adjustment Algorithm is the deterministic, on-chain logic that dictates when and by how much a protocol changes its token supply to achieve a target price or other economic metric.
Chainscore © 2026
definition
DEFINITION

What is a Supply Adjustment Algorithm?

A supply adjustment algorithm is a pre-programmed, deterministic rule set that automatically modifies the circulating or total supply of a cryptocurrency in response to specific on-chain data, primarily to stabilize its price or purchasing power.

In blockchain economics, a supply adjustment algorithm is the core mechanism of algorithmic stablecoins and certain rebasing tokens. It functions autonomously, without direct human intervention, by executing smart contract code that mints (creates) or burns (destroys) tokens. The algorithm's logic is triggered by deviations of the token's market price from a target value, often a peg to a fiat currency like the US Dollar. This creates a negative feedback loop designed to push the price back toward its target.

The most common implementation involves a two-token system: a stablecoin (e.g., an algorithmic USD-pegged token) and a governance or seigniorage share token. When the stablecoin trades above its peg, the algorithm mints new stablecoins and sells them on the market, increasing supply to lower the price. Conversely, when it trades below peg, the algorithm creates incentives (often involving the governance token) to encourage users to burn their stablecoins, reducing supply to raise the price. This process is analogous to a central bank's open market operations but is fully automated.

Key concepts within this domain include the rebase mechanism, where token balances in all wallets are proportionally adjusted (expanded or contracted) to change the supply, and the seigniorage model, where new stablecoin supply is distributed as a reward to holders of a secondary token. Oracle networks are a critical dependency, as they provide the trusted off-chain price data that the algorithm uses to make its decisions. Historical examples include Terra's UST (which failed in 2022) and Ampleforth's AMPL.

The primary goal of these algorithms is price stability, but they introduce unique risks. They rely heavily on market confidence and sustained demand for the system's tokens. If the incentive structure fails to induce sufficient buying or burning during a downward price spiral, it can lead to a death spiral where collapsing demand for the stablecoin also destroys the value of the supporting governance token. This makes the design of these algorithms a central challenge in decentralized finance (DeFi).

Beyond stablecoins, supply adjustment logic can be found in protocol-owned liquidity strategies and decentralized reserve currency models (like OlympusDAO's OHM). In these cases, the algorithm may adjust supply based on treasury reserves or other metrics to manage growth and sustainability. Ultimately, a supply adjustment algorithm represents a bold experiment in creating programmable, decentralized monetary policy free from central authority.

how-it-works
MECHANISM

How Does a Supply Adjustment Algorithm Work?

An explanation of the automated, on-chain mechanisms that dynamically adjust a cryptocurrency's token supply in response to market conditions.

A supply adjustment algorithm is an automated, on-chain mechanism that programmatically increases or decreases a cryptocurrency's token supply in response to predefined market signals, most commonly the token's market price relative to a target value. This process, often called rebasing or seigniorage, aims to achieve price stability or a specific monetary policy without relying on a central authority. The algorithm executes at regular intervals, algorithmically minting new tokens or burning existing ones from holders' wallets to influence scarcity and, by extension, market value.

The core feedback loop typically compares the token's current market price to a target price or peg, such as $1.00 for a stablecoin. If the market price trades above the target, the algorithm interprets this as excess demand and triggers an expansionary phase, minting and distributing new tokens to holders. This increased supply is designed to dilute the price back toward the target. Conversely, if the price falls below the target, indicating excess supply, the algorithm enters a contractionary phase, burning tokens from each holder's balance to increase scarcity and push the price upward.

Implementation varies by protocol. Some, like Ampleforth (AMPL), perform a rebase that proportionally adjusts every wallet balance globally. Others, like Olympus DAO (OHM) in its early design, use a bonding and staking mechanism where new supply is minted as rewards for stakers or sold at a discount via bonds to fund treasury reserves. The algorithm's parameters—such as the rebase interval, target price deviation thresholds, and expansion/contraction rates—are critical to its stability and are often governed by token holders through decentralized governance.

These algorithms introduce unique economic dynamics and risks. Users experience elastic supply, where their token balance and the unit price can change independently. A key challenge is maintaining peg stability during volatile market conditions; if market confidence wanes, the algorithmic adjustments may fail to correct the price, leading to death spirals or hyperinflation. Furthermore, the constant supply changes can complicate their use as a medium of exchange or unit of account, as the nominal amount a user holds fluctuates.

Prominent historical examples include Basecoin (a conceptual predecessor), Ampleforth, and Empty Set Dollar (ESD). While aiming for decentralization, many such systems rely on oracles like Chainlink to feed accurate price data on-chain, creating a potential point of failure. The effectiveness of a supply adjustment algorithm ultimately depends on robust game-theoretic incentives, sufficient liquidity, and sustained market participation to absorb the engineered supply changes.

key-features
MECHANISM DESIGN

Key Features of Supply Adjustment Algorithms

Supply adjustment algorithms are the core logic that governs a token's monetary policy, programmatically altering its circulating supply to achieve a target price or peg. These mechanisms are fundamental to stablecoins, rebasing tokens, and algorithmic monetary systems.

01

Rebasing Mechanism

A rebasing mechanism programmatically adjusts the token balance in every holder's wallet to change the supply. This is a non-dilutive process; the percentage of the total supply each wallet holds remains constant. The most common implementation is a positive rebase (increasing balances when price is above target) or a negative rebase (decreasing balances when price is below target). Examples include Ampleforth (AMPL) and Olympus DAO's (OHM) early design.

02

Seigniorage Model

In a seigniorage model, the protocol mints new tokens when the market price is above the target and sells them for a reserve asset (like USDC). Conversely, when the price is below target, it uses reserves to buy back and burn tokens from the market. This model separates the stable unit of account from the governance/volatile asset. Key examples are the original Basis Cash design and Terra's LUNA-UST mechanism.

03

PID Controller

A Proportional-Integral-Derivative (PID) controller is a control loop feedback mechanism borrowed from engineering. It calculates a supply change based on three error terms between the current price and target price:

  • Proportional (P): Current error.
  • Integral (I): Accumulated past error.
  • Derivative (D): Rate of change of error. This allows for precise, dampened adjustments to avoid over-correction and system oscillations, as seen in Fei Protocol's v2 design.
04

Bonding & Backing

Protocol-Owned Liquidity (POL) and bonding are features that create a liquidity flywheel and backing for the token. Users bond assets (e.g., LP tokens, stablecoins) to the protocol in exchange for tokens at a discount over a vesting period. This accumulates reserves and deep liquidity, allowing the algorithm to perform buybacks and stabilize price. This is a cornerstone of the Olympus Pro (OHM) model and its forks.

05

Multi-Asset Reserves

Instead of relying on a single collateral type (e.g., only USD-pegged stablecoins), advanced algorithms use diversified reserve portfolios. These can include volatile assets (BTC, ETH), stablecoins, and LP positions. The algorithm manages this portfolio, using rebalancing and yield strategies to maintain the peg and ensure solvency. This approach increases resilience and reduces correlation risk, as implemented by Frax Finance's (FRAX) fractional-algorithmic model.

06

Oracle Dependency & Manipulation Resistance

All supply algorithms are critically dependent on a price oracle (e.g., Chainlink, TWAP) to determine the deviation from the target price. A key design feature is oracle manipulation resistance. Methods include:

  • Using Time-Weighted Average Prices (TWAP) over long durations.
  • Employing multiple independent oracle sources.
  • Implementing circuit breakers that halt adjustments during extreme volatility. Failure here can lead to fatal exploits, as seen in the depeg of several algorithmic stablecoins.
SUPPLY ADJUSTMENT MECHANISMS

Algorithm Types: Rebase vs. Seigniorage

A comparison of two primary on-chain mechanisms for algorithmically adjusting token supply to maintain a target price peg.

Mechanism FeatureRebase (Elastic Supply)Seigniorage (Multi-Token)

Core Mechanism

Adjusts token balances in all wallets proportionally

Mints/Burns a separate stablecoin token

User Token Count

Changes automatically in wallet

Remains constant for the governance/volatile token

Primary Token

Single elastic-supply token (e.g., AMPL)

Two tokens: Volatile (e.g., BAC) & Stable (e.g., BAS)

Price Target

Targets a specific value (e.g., 1.00 2019 USD)

Targets a peg (e.g., 1 USD) for the stablecoin

Supply Change Action

Rebase event (positive or negative)

Seigniorage distribution or bond sales

User Action Required

No direct action for balance adjustment

May require swapping or bonding to capture value

Protocol Examples

Ampleforth (AMPL), Wonderland (TIME)

Basis Cash (BAC/BAS), Empty Set Dollar (ESD)

Typical Rebase Cadence

Every 24 hours

Every 8 hours or at the end of an epoch

examples
SUPPLY ADJUSTMENT ALGORITHMS

Protocol Examples

Supply adjustment algorithms are the core monetary policy engines of decentralized protocols. These examples illustrate how different mechanisms dynamically control token issuance and burning to achieve specific economic goals.

security-considerations
SECURITY & ECONOMIC CONSIDERATIONS

Supply Adjustment Algorithm

Supply Adjustment Algorithms are automated mechanisms that programmatically alter a cryptocurrency's circulating supply in response to market conditions, primarily to stabilize its price relative to a target peg or to manage inflation and deflation.

01

Core Mechanism: Rebasing vs. Seigniorage

Two primary models exist for supply adjustment. Rebasing (e.g., Ampleforth) proportionally changes the token balance in every holder's wallet, altering the number of tokens but not the holder's percentage of the total supply. Seigniorage (e.g., algorithmic stablecoins like the original Basis Cash) mints new tokens to reward stability providers or buys back and burns tokens from the market, changing the total supply without affecting individual wallet balances.

02

Oracle Dependency & Manipulation Risk

These algorithms are critically dependent on a secure and accurate price feed oracle to determine when to trigger expansion or contraction. A manipulated oracle price is a primary attack vector, potentially causing the system to mint tokens endlessly during a price pump or burn tokens excessively during a dump, leading to catastrophic failure. This creates a single point of failure in the system's security model.

03

Reflexivity & Death Spiral Risk

Supply adjustments can create reflexive feedback loops. A price drop may trigger a supply contraction (burn), which is perceived as negative, causing further selling and another price drop—a death spiral. Conversely, rapid expansion can be perceived as dilution, also leading to selling pressure. The algorithm's success depends on market participants' rational, profit-seeking responses, which are not guaranteed.

04

Economic Game Theory & Speculative Attacks

The system's stability relies on arbitrageurs and stability providers acting predictably. Attackers can front-run adjustment events or exploit time delays in the mechanism. If the promised arbitrage profit is insufficient to cover risk and gas costs, necessary stabilizing activity may not occur, leaving the peg vulnerable. This turns economic security into a game-theoretic challenge.

05

Real-World Example: Basis Cash

Basis Cash was a prominent seigniorage-model algorithmic stablecoin that aimed to peg to $1. It used a three-token system: Basis Cash (BAC) (the stablecoin), Basis Shares (BAS) (received seigniorage rewards during expansion), and Basis Bonds (sold to raise funds for contraction). The system failed because demand for bonds evaporated during downturns, breaking the contraction mechanism and causing a permanent loss of peg.

06

Key Design Trade-offs

  • Speed vs. Stability: Fast adjustments can overshoot; slow adjustments can fail to defend the peg.
  • Complexity vs. Understandability: Complex multi-token systems may obscure risks.
  • Decentralization vs. Efficiency: Fully on-chain oracles are slower; efficient oracles are more centralized.
  • Collateralization: Pure algorithms (uncollateralized) have different risk profiles vs. hybrid models with partial collateral backing.
visual-explainer
SUPPLY ADJUSTMENT ALGORITHM

Visualizing the Feedback Loop

An exploration of the dynamic, self-correcting mechanism that governs token supply in response to market conditions.

A supply adjustment algorithm is a pre-programmed, on-chain mechanism that autonomously modifies a cryptocurrency's circulating supply in response to specific market signals, such as price deviation from a target. This creates a feedback loop where the algorithm's actions are designed to counteract market movements, theoretically driving the token's value toward its intended peg or target range. The process is continuous and transparent, operating without the need for manual intervention from a central authority.

The core mechanism typically involves two primary functions: rebasing and seigniorage. During a rebasing event, the token supply is algorithmically expanded or contracted, and the change is proportionally applied to every holder's wallet balance. Seigniorage refers to the process of creating new tokens, often distributing them to specific protocol participants like stakers or a treasury, rather than diluting all holders. These functions are triggered when the token's market price moves outside a predefined target price band, activating the corrective feedback loop.

Visualizing this loop reveals its cyclical nature. For example, if the token price falls below its target, the algorithm may initiate a supply contraction (a negative rebase). This reduces the number of tokens in circulation, aiming to increase scarcity and upward price pressure. Conversely, if the price rises above the target, the algorithm may execute a supply expansion, minting new tokens to increase supply and dampen the price increase. This feedback is intended to be stabilizing, though its effectiveness depends on market sentiment and the algorithm's specific design parameters.

Real-world implementations, such as Ampleforth (AMPL) or Olympus DAO's (OHM) early bonding mechanism, demonstrate these principles. In these systems, the rebase function is called periodically (e.g., daily) based on oracle-reported prices. The algorithm's logic—its controller—calculates the required supply change. This creates a transparent and predictable schedule of adjustments, allowing users and analysts to model potential outcomes and visualize the intended long-term equilibrium the protocol seeks to achieve.

Understanding this feedback loop is crucial for assessing the stability and incentive design of algorithmic stablecoins and rebasing tokens. Key analytical metrics include the velocity of adjustments, the lag time between price signal and algorithmic response, and the elasticity of demand relative to supply changes. A well-designed loop must account for potential reflexivity, where market participants' expectations of future rebases influence their trading behavior, potentially amplifying volatility instead of dampening it.

SUPPLY ADJUSTMENT ALGORITHM

Common Misconceptions

Clarifying frequent misunderstandings about the mechanisms that automatically adjust a cryptocurrency's token supply, such as Bitcoin's difficulty adjustment or Ethereum's issuance changes.

No, a supply adjustment algorithm is fundamentally different from a stablecoin mechanism. A supply adjustment algorithm, like Bitcoin's difficulty adjustment or Ethereum's issuance schedule, governs the rate of new token creation (inflation/deflation) to maintain network security and predictable monetary policy. In contrast, a stablecoin mechanism (e.g., algorithmic, collateralized) actively targets a specific price peg (like $1 USD) by minting or burning tokens in response to market price fluctuations. The former manages long-term supply issuance; the latter is a short-term price stabilization tool.

SUPPLY ADJUSTMENT ALGORITHM

Frequently Asked Questions

Supply adjustment algorithms are core mechanisms in blockchain protocols that dynamically modify token issuance to maintain a target price or peg. These FAQs cover their core functions, implementations, and real-world examples.

A supply adjustment algorithm is an automated, on-chain mechanism that programmatically increases or decreases the circulating supply of a cryptocurrency to maintain a predefined economic target, most commonly a price peg. It works by using a feedback loop: the protocol's smart contracts continuously monitor an external price feed (an oracle). If the market price deviates from the target, the algorithm triggers a rebase, seigniorage, or burn/mint event to algorithmically adjust the total supply held by all wallets, incentivizing arbitrageurs to push the price back toward the target. This mechanism is foundational to algorithmic stablecoins and rebasing tokens.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Supply Adjustment Algorithm: Definition & Mechanism | ChainScore Glossary