← work
[defi]2025-12-01

VerseFi

Prediction markets are fragmented by collateral. VerseFi's insight: same-outcome conditional tokens are correlated regardless of denomination — enabling cross-collateral AMM swaps and zero-liquidation lending that resolves with the market.

RustSolanaAnchorDeFi

Overview

Prediction markets are fragmented: Polymarket uses USDC, Drift uses SOL, others use their own tokens. If you hold a YES token on Polymarket and want to hedge against the same outcome on Drift, you can't — the collateral types are incompatible and there's no bridge between them.

VerseFi's insight: conditional tokens representing the same outcome (same "verse") are fundamentally correlated regardless of their collateral denomination. If "X wins the election" resolves YES, your USDC-denominated YES token and my SOL-denominated YES token are both worth their collateral. That correlation is the basis for a lending and swap market.

Built for the Solana Colosseum Hackathon.

Three primitives

Verse AMM — constant product AMM (x * y = k) for swapping conditional tokens with different collateral. Liquidity providers earn 0.3% fees. Slippage protection on all operations.

Verse Lending — zero-liquidation lending for same-verse collateral. Deposit your USDC YES token, borrow against your SOL YES token. No liquidation risk because the collateral and the loan resolve together.

Verse Aggregator — a registry that tracks markets across platforms and maps them to their corresponding "verse" (outcome). This is the plumbing that lets the AMM and lending protocol know which tokens are correlated.

Why zero-liquidation lending works here

Standard lending protocols liquidate collateral if its value drops relative to the loan. With same-verse conditional tokens, the collateral and the borrowed asset are both conditional on the same outcome — they move together. A USDC YES token can't be worth zero while the SOL YES token still has value (if the outcome resolves YES, both are fully collateralized).

This only holds at settlement. Mid-market, collateral ratios can drift due to price discovery differences across platforms — which is exactly the arbitrage opportunity VerseFi enables.