The AMO: The Elixir

The Alchemix Algorithmic Market Operator

When Alchemix was originally launched, it was never anticipated that the peg stability module, the Transmuter, would build up a significan backstop of funds. To take advantage of this, in the V1 deployment of Alchemix, reserves were deployed in Yearn. The yield was passed from these deposits to DAI and ETH depositors in Alchemix. This enabled us to have a killer feature — boosted yield, which at times, doubled the amount of interest paid to Alchemix depositors.

While building V2, it dawned on the Alchemix team that these DAI and ETH reserves could be more intelligently deployed in order to better benefit the Alchemix ecosystem. Instead of these assets passively making money elsewhere in DeFi, it makes much more sense to use these funds actively in the market to earn the protocol income and to better manage the prices of the alAssets.

Introducing the Alchemix Elixir

The Alchemix Elixir is a contract inspired by FRAX’s Algorithmic Market Operator (AMO). Their AMO allows them to expand and contract the supply of FRAX in LP pools, with FRAX3CRV LP being the most predominant. They mint and deposit FRAX when the token price is above their peg, and withdraw and burn FRAX when the token price is below their peg. They also farm with the LP in Convex, earning the protocol income in the process.

Through its own automations, the Alchemix Elixir takes a similar approach to market operations, with the exception that Alchemix cannot mint alUSD into the LP pools (thus maintaining the overcollateralized nature of alAssets).

See below for a diagram that shows how funds flow through the market.

The Elixir was jump-started by migrating the v1 Transmuter TVL to it. From there, the additional will receive additional funds only when the Transmuters build up surpluses. The Elixir contract will supply liquidity in the primary Curve liquidity pools for alUSD and alETH. By depositing excess DAI, USDC, USDT, and ETH into Elixir, liquidity is deepened and the prices of alAssets are made more stable.

Curve allows for single sided withdrawals and deposits, and bases the exchange price on the relative balance between the tokens in the LP pool. If a pool is overbalanced with alUSD or alETH, it means we are below 1 USD for alUSD and 1 ETH for alETH. Alchemix can increase the price of the alAsset by single-sided withdrawals of alUSD or alETH, thus rebalancing the pool and increasing the alAsset price closer to 1:1. These withdrawn alUSD and alETH tokens would be removed from circulation, with the potential to be redeployed to their Curve pool should the price of the alAsset increase to the point where it is able to support the addition of alUSD with a negligible effect on the price of the asset.

The next function of Elixir is to generate revenue and build long-term liquidity for the protocol. The Elixir will do this by making a liquidity-driving asset accumulation strategy. Liquidity-driving assets, such as CVX and CRV, gives the DAO power to direct rewards from the corresponding protocols. The more liquidity driving assets are owned, the more Alchemix can sustainably incentivize the primary alAsset liquidity pools. Alchemix also typically bribes voters to vote for emissions to these pools - where typically every $1 input results in greater than $1 emitted to the liquidity pool. Given the Elixir tends to own a significant share of the liquidity pools, this can result in a significant amount of value returned to the DAO in the form of CRV, CVX, and other assets. The more CVX Alchemix votes with, the more ALCX is returned as a rebate for voting for the alAsset pools. So between this multiple and the Votium rebates, it greatly enhances the efficiency and longevity of ALCX emissions.

When Alchemix stakes its own Curve LPs on Convex, it recieves CRV and CVX rewards. The Elixir is able to use these rewards to benefit the DAO, with the current approach explained here.

The Elixir is a significant upgrade to our peg stability module. The concentrated management of our protocol-controlled value aligns it more closely to our interests.

The ancient tomes of alchemy describe a mysterious fluid known as “Elixir”. It was thought to have the power to turn base metals into gold and even grant immortality. In that sense, the Alchemix Elixir is true to its name, with the peg-stability mechanisms and CVX flywheel bringing long-term price stability and sustainability to Alchemix alUSD and alETH. It’s a new era for Alchemix, and we’re happy to be bringing magic to DeFi yet again.

Contracts:

alUSD Elixir: 0x9735f7d3ea56b454b24ffd74c58e9bd85cfad31b

alETH Elixir: 0xe761bf731A06fE8259FeE05897B2687D56933110

Last updated