
FUJIYAMA
Float-aware AMM protecting tokenized stocks from meme-driven onchain float squeezes.
About
FUJIYAMA is a float-aware asymmetric AMM designed for markets where a continuously traded asset is paired with a tokenized stock whose primary-market supply can temporarily become inelastic. Tokenized stocks can keep trading onchain 24/7 even when new issuance is unavailable. During those periods, aggressive stock-to-meme flow can cause a meme pool to absorb a large share of the finite stock-token float, increasing scarcity and making normal AMM behavior poorly suited to the market state. FUJIYAMA tracks the share of the stock-token supply held in active pool inventory and applies a progressively stronger directional guard as utilization approaches a stress threshold. Instead of simply charging a larger fee, part of the incoming stock-token inventory is routed into a stabilization buffer, while the restorative meme-to-stock direction remains unguarded. When issuance becomes available again, buffered inventory can be returned to active liquidity. The goal is to keep 24/7 trading open while making AMM inventory behavior aware of temporary supply elasticity.
How it's made
FUJIYAMA was built from scratch during ETHGlobal Tokyo 2026. The core is a Solidity constant-product AMM built and tested with Foundry. It tracks active stock-token reserve relative to total token supply and computes a convex utilization guard using projected post-trade utilization: u = projected stock-token float utilization p = clamp((u - u_soft) / (u_hard - u_soft), 0, 1) guard = g_max * p^2 For stock-token -> meme swaps while issuance is marked closed, the contract routes a state-dependent fraction of the stock-token input into a stabilization buffer. Only the remaining effective input enters active AMM inventory. Meme -> stock swaps remain unguarded because that direction releases stock inventory back to traders. The contracts are deployed on Robinhood Chain Testnet. The frontend is built with Next.js, React and viem, and lets users connect a wallet, mint demo assets, preview FUJIYAMA versus a standard AMM, execute swaps, inspect the guard and stabilization buffer, and reopen issuance. The repository also includes Solidity tests, a Foundry deployment script, and a Python stress replay that uses the same guard curve as the contract.