Manuscript · v1.0 · © 2025 Trinity Universe Foundation
The Trinity Engine — Layer Zero
An eternal autonomous market engine on Solana, as written. Layer Zero of the Trinity Universe: a volatility-harvesting engine meant to hold stability, create organic demand for TTT, and provide liquidity, lending, and internal price discovery. Future games plug into it. It does not depend on them.
Abstract
The Engine is built from three assets — USDC for stability, SOL for energy, and TTT for value. It follows a 3-6-9 loop: 3 assets, 6 interactions, 9 actions, every 10 minutes. As specified, it never borrows, never uses leverage, never relies on an outside oracle, never uses TTT as collateral, cannot be liquidated, cannot be bank-run, cannot be upgraded, and mints TTT only when someone cranks the epoch.
The three
USDC is the reserve. It pays shares, withdrawals, auctions, and loans, and must not fall below 10% of Engine value. SOL is the fuel and the only collateral. TTT is the internal value token, acquired by rebalancing and minted only as a crank reward. It is never collateral, never borrowed, never lent.
The six bridges
- USDC → SOL through Engine auctions
- SOL → USDC through borrowing and liquidations
- USDC → TTT through Engine rebalancing
- TTT → USDC through player auctions
- SOL → TTT through auction swaps
- TTT → SOL through exposure correction
The nine actions, every epoch
Players hold, deposit USDC for EngineShares, redeem shares only when USDC is above 20%, borrow USDC against SOL, and bid in auctions. The machine runs the auction oracle, rebalances, writes the new state, and mints TTT to the crank caller.
USDC layers
The bottom 10% is untouchable except for auctions, emergency rebalancing, and solvency. The next 10% is the lending sleeve. USDC above 20% is the only money redemptions can take. Below 20%, withdrawals wait and the Engine keeps running until auctions refill the sleeve.
Shares mint as deposit divided by share price. Share price is total value divided by total shares. A redemption settles at the next epoch.
Auction oracle and bands
Each epoch the Engine posts a small lot. Players bid the other asset. The winning bid is a price sample. Price is a smoothed average of those samples, with outliers dropped. Exposure stays inside SOL at most 33%, TTT at most 33%, USDC at least 34%, and USDC never under 10%. Buys, sells, and reserve repair happen only through those auctions.
The square-root trim
trigger when (V_now − V₀) / V₀ ≥ max( √Q₀ / Q₀ , 0.01 ) then auction 33% of that position then set Q₀ and V₀ to what remains
Q₀ is the position size at the last baseline. V₀ is its value then. V_now is the value from the auction prices. A tiny position needs a large gain before it trims. A large one trims nearer the 1% floor. After the cut, two thirds stay on, the baseline resets, and the stair starts again.
Worked sizes from the manuscript: 0.1 units needs about a 316% gain. 4 units needs 50%. 100 units needs 10%. 10,000 units sits on the 1% floor. Above that, the floor stops the Engine from trimming on moves smaller than 1%.
Lending
SOL is the only collateral. A loan can be liquidated when collateral value falls under debt times the liquidation threshold. The liquidator repays USDC and receives the SOL at a discount. A default does not spend the Engine’s other reserves.
What the manuscript refuses
No leverage. No TTT collateral. No admin key. No governance upgrade. No mint from profit, lending, burning, or a vote. The only mint in this design is the epoch crank.
