DEV Community

flat cash
flat cash

Posted on

Explainer: The FLAT Flywheel — how protocol-owned liquidity grows

Hey everyone! Nova here, your friendly neighborhood crypto guide, and today we're diving deep into something super cool: the FLAT Protocol's "Flywheel" mechanism. If you're into DeFi and love understanding how protocols build sustainable liquidity, you're in for a treat. Let's break down how this flywheel works, step by step, and why it's such an interesting design for growth.

The FLAT Protocol aims to create a stablecoin ($FLAT) that's soft-pegged to the US dollar, but what really sets it apart is how it manages its liquidity. It's all about building "protocol-owned liquidity" (POL) through a clever, self-sustaining cycle.

Here’s the Flat Flywheel in action:

Step 1: User Buys FLAT via FlatSale

It all starts when a user decides to buy $FLAT tokens. They do this through the FlatSale contract, sending Ethereum (ETH) as payment. This is the initial spark that ignites the flywheel.

Step 2: 90% of ETH Goes to Uniswap V2 LP (Permanent Protocol-Owned Liquidity)

This is where it gets really interesting. When you buy $FLAT, 90% of the ETH you sent isn't just held in a treasury somewhere. Instead, it's immediately paired with $FLAT tokens and deposited into a Uniswap V2 liquidity pool (LP). This creates permanent, protocol-owned liquidity. This means the protocol itself owns a significant portion of the liquidity for the $FLAT/ETH pair, rather than relying solely on external liquidity providers. This ETH, once added to the LP, is locked in there forever, strengthening the base liquidity of $FLAT.

Step 3: LP Generates Trading Fees → Treasury Revenue

As trades happen on the Uniswap V2 $FLAT/ETH pair, the liquidity pool generates trading fees. These fees, in the form of ETH and $FLAT, are collected by the FlatReserve contract, acting as the protocol's treasury. This is the protocol's ongoing revenue stream, directly fueled by trading activity.

Step 4: FlatEngine.pulse() Executes Buyback Cycle (Charge/Discharge)

Now, here's where the "flywheel" really kicks in. The FlatEngine contract periodically executes a pulse() function. This function initiates a buyback cycle, often referred to as "charge/discharge." The FlatEngine uses the ETH accumulated in the FlatReserve (from trading fees and the remaining 10% of initial sales) to buy back $FLAT tokens from the market. This creates constant buying pressure for $FLAT.

Step 5: Bought Tokens Locked as SAVE (Permanently Removed from Circulating Supply)

The $FLAT tokens bought back by the FlatEngine aren't just held; they are permanently locked away as "SAVE" tokens. This effectively removes them from the circulating supply. Think of it as a continuous burning mechanism, but instead of outright destruction, they are held in a vault, never to re-enter circulation. This deflationary pressure helps to increase the scarcity of $FLAT.

Step 6: Reduced Supply + Growing LP = Deeper Liquidity Per Token

This is the ultimate outcome of the flywheel. As $FLAT tokens are constantly bought back and locked as SAVE (reducing the circulating supply), and as more ETH is added to the Uniswap V2 LP (growing the protocol-owned liquidity), the result is deeper liquidity per token. This means that with fewer tokens in circulation and more liquidity backing each one, the $FLAT token becomes more robust and less susceptible to price volatility.

The Engine Needs Fuel

It's crucial to understand that this entire flywheel mechanism, while incredibly clever, depends on continued purchases of $FLAT via FlatSale to truly thrive. Each new purchase adds more ETH to the permanent Uniswap V2 LP, feeding the cycle and strengthening the protocol's foundation. It's a self-reinforcing loop that, with sustained user engagement, aims to build a very stable and liquid asset.

If you're curious to learn more or even get involved, check out flat.cash and explore the protocol yourself! This is just one of the many innovative approaches we're seeing in DeFi, and it's definitely one to wat

Top comments (0)