Ampleforth is a digital asset protocol with an elastic supply policy that automatically translates price volatility into supply volatility. This unique approach achieves an independent ecosystem and means that the AMPL currency can be used to denominate stable contracts without reliance on centralized custodians or buyers of last resort.
AMPL is the first rebasing currency and a key DeFi building block for denominating stable contracts. The AMPL protocol adjusts total supply daily based on market conditions, transferring volatility from price to supply. Like Bitcoin, AMPL’s elastic supply policy does not rely on traditional banks or lenders of last resort. Because of this unique approach, AMPL can be used as a true unit of account to denominate smart contracts.
Ampleforth needed to decentralize its oracle mechanism in order to remove any centralized points of failure or influence over its rebasing mechanism and achieve its goal of AMPL becoming a fully decentralized cryptocurrency.
Chainlink’s decentralized oracle networks provide Ampleforth with two key data feeds required to determine daily supply adjustments, allowing Ampleforth to stabilize its algorithmic currency, AMPL, while decentralizing its core rebasing mechanism.
Cryptocurrencies are completely new monetary assets that provide users with technologically-enforced guarantees around maintaining fixed supply. However, cryptocurrencies are also notoriously volatile assets, which render them difficult to rely on as stable value assets for payments, collateral, and storing wealth. While stablecoins have emerged as popular protocols for reducing volatility around blockchain-based assets, many stablecoins still require trust in an off-chain custodian or rely on lenders to take on new debt in order to re-establish the peg. Ampleforth has pioneered a different model.
In 2019, Ampleforth launched on the Ethereum mainnet with the goal of creating an algorithmic currency called AMPL that denominates stable contracts through dynamic adjustments to its supply called “rebases.” These rebases are designed to keep AMPL at its target price of one inflation-adjusted US dollar, referred to as the Consumer Price Index (CPI). This elastic supply model removes the need for traditional banks as trusted custodians or the collateralization of on-chain assets, establishing an independent financial ecosystem that mitigates liquidity crises and reduces systemic risk across the larger DeFi market.
However, in order for Ampleforth to achieve its goal of being a fully decentralized rebasing currency, it needed to decentralize its oracle, the key mechanism that determines the magnitude of daily rebases. The oracle could not be controlled by the Ampleforth team as that would introduce a centralized point of failure to the protocol. Ampleforth required a proven decentralized oracle network that could be trusted to automate secure and reliable on-chain updates for the two key data feeds required to trigger daily rebases: the current AMPL/USD price and CPI.
AMPL is traded across a variety of centralized and decentralized exchanges and the Consumer Price Index is updated monthly off-chain by the U.S. Bureau of Economic Analysis. Both the volume-adjusted AMPL/USD price and CPI require an oracle mechanism to obtain the external data because neither is generated natively on the blockchain. However, blockchains have no built-in mechanism for fetching external data. They require a blockchain oracle to retrieve external data feeds.
Initially, the Ampleforth team operated their own oracle mechanism, which gave them sole control over the daily rebases to the AMPL token supply. However, the Ampleforth team’s ultimate goal was to decentralize the oracle mechanism and make the system more resilient to potential downtime or manipulation.
Decentralizing the oracle mechanism required access to a decentralized network of secure oracle node operators that source high-quality data with broad market coverage across all trading environments. The oracle network would then need to aggregate the data to generate a single, validated data update to trigger the next rebase. Additionally, Ampleforth would need on-chain proof that the data delivered by the oracles and triggering the rebases is accurate and timely. For the Ampleforth team to build a robust oracle infrastructure that achieves these layers of decentralization and data aggregation, the development process would have consumed significant costs and engineering hours and would ultimately not meet the end-to-end security guarantees of a time-tested solution like Chainlink.
Chainlink is a decentralized oracle network that enables smart contracts to obtain external data in a secure and reliable manner. Chainlink provides highly available and tamper-proof data feeds by using decentralized networks of secure node operators to ensure no single oracle node or data feed is the sole source or deliverer of on-chain information used to trigger the execution of a smart contract.
Ampleforth uses two decentralized Chainlink oracle networks: a Market Oracle for the current Volume Weighted Average Price (VWAP) of AMPL/USD and a Consumer Price Index (CPI) Oracle to establish the target price of one inflation-adjusted US dollar. The Market Oracle provides an on-chain update every day just before the daily rebase in the supply, while the CPI Oracle updates once a month after the new monthly CPI data is released by the U.S. Bureau of Economic Analysis.
The Ampleforth protocol compares the Market Oracle to the CPI Oracle to determine the magnitude of the daily rebase. The rebase results in every AMPL holder experiencing a proportional increase or decrease in the AMPL tokens held in their wallet. Thus, rebases are non-dilutive, meaning users still maintain the same percentage of the supply they had before. By adjusting the supply, profit-seeking entities are incentivized to consistently arbitrage the difference between the current AMPL/USD price and its CPI target, which serves to stabilize the value of the AMPL token over time.
Chainlink provided a secure and reliable decentralized oracle solution for Ampleforth by using numerous independent, security reviewed oracle node operators run by professional DevOps to each retrieve off-chain data. For Price Feeds specifically, each node operator sources price data from at least three premium off-chain data aggregators. Not only does each individual data source generate a volume weighted average price that reflects market coverage across all trading environments, but each node response also represents a median of multiple data sources.
Through Chainlink’s high-quality data sourcing and decentralized data delivery, Ampleforth receives trusted price feeds in a highly available and tamper-resistant manner. The data undergoes three levels of aggregation to ensure the utmost accuracy and security: aggregated data sources, aggregated individual node responses, and an aggregated data point delivered on-chain by the oracle network to trigger the rebases.
Without Chainlink’s secure oracle infrastructure and external adapter technology, Ampleforth would not be able to obtain high-quality data feeds from premium data aggregators like BraveNewCoin, Kaiko, and CoinMarketCap, nor would it be able to pull CPI data directly from the U.S. Bureau of Economic Analysis. Moreover, the Chainlink Network already contains a large collection of professional node operators and is trusted by leading financial data providers, expediting Ampleforth’s ability to connect with high-quality data providers that satisfy their unique data feed requirements.
“There was a lot of energy and attention from the Chainlink Labs team. The connection with data providers helped a lot. Receiving more support from these providers and having them implement the VWAP by request has been a great part. Chainlink takes the project as seriously as we do. That matters a lot.”
Ahmed Naguib Aly
Software Engineer, Ampleforth
Since Ampleforth integrated Chainlink, the protocol has grown to over $300M in market cap with a median all-time token price of approximately $1.00, a strong achievement for being the first-ever algorithmic currency in the DeFi ecosystem. The stability achieved with the help of Chainlink has enabled AMPL to become one of the largest liquidity pools within Uniswap’s popular automated liquidity protocol.
Leveraging Chainlink-powered decentralized oracle networks has allowed Ampleforth to automate its oracle mechanism without any centralized point of failure, further guaranteeing the reliability and accuracy of daily rebases. Chainlink has also provided a framework for scaling the security of Ampleforth to support its growing market, which is critical to Ampleforth achieving its goal of functioning as reserve collateral in decentralized banks. As stated by Ampleforth CTO Brandon Iles, “Once we were integrated, we had a knob we could turn to increase the number of nodes reporting data to the blockchain, which goes toward the original motivation of working with Chainlink—further decentralization.”