hackquest logo

Parity

Forwards on Robinhood Stock Tokens, priced on-chain from interest-rate parity instead of quoted by a dealer. RFQ, two-sided margin, liquidation, bad-debt waterfall and cash settlement.

ビデオ

テックスタック

Solidity
React
Next
Web3

説明

Stock Tokens trade 24/7 on Robinhood Chain, but nothing on-chain lets you lock a future price for them. Perps have no maturity and a funding rate that moves every hour. Parity is a two-sided, margined forward market for Stock Tokens.

The price is not anyone's quote. Robinhood Stock Tokens are total-return tokens: dividends reinvest through the ERC-8056 multiplier, and the Chainlink feed already includes it. So the parity forward is spot plus the cost of carry, F = S x (1 + r_USD x t/360). Both inputs are on-chain on Robinhood Chain mainnet: spot from the Chainlink Stock Token feed, and r_USD from the Morpho USDG market's supply rate. Our mainnet fork tests read both live.

Positions open by request for quote. A hedger posts pair, size and tenor, the contract publishes the parity forward, and makers compete only on the spread over it. Accepting opens the position in one transaction, with 5% margin from each side. The contract marks to market and flags margin calls. Anyone can liquidate a breached side: the first breach closes 30% and keeps the rest collateralized, and a gap past the margin runs a fixed waterfall (loser's margin, then insurance fund, then a haircut on the winner). At maturity it settles in cash.

Live demo: https://parity-robinhood.vercel.app

Repo: https://github.com/theyavuzarslan/parity-robinhood

Team: Atakan Yavuzarslan

ハッカソンの進行状況

Forked from our Stellar FX-forward project Parity and rebuilt for EVM and Robinhood Chain during the buildathon.

  • Solidity engine (RFQ, positions, mark to market, partial and full liquidation, insurance fund, cash settlement) plus a Chainlink adapter (staleness, corporate-action pause, sequencer check, three-print median), a live Morpho USDG rate source and testnet price and rate sources.

  • - 33 unit tests (lifecycle, both waterfall branches, fuzzed arithmetic, every oracle guard) and 4 Robinhood Chain mainnet fork tests (real TSLA and NVDA feeds, live USDG rate).

  • - Deployed and verified on Robinhood Chain testnet. The full demo (open, margin call, partial liquidation, gap liquidation through the waterfall, settlement) ran on-chain; the README links every transaction.

  • - Next.js frontend wired to the deployment, live on Vercel.

資金調達の状況

Not fundraising. Self-funded hackathon project; open to grants and ecosystem support to take it to Robinhood Chain mainnet.

チームリーダー
AAtakan
プロジェクトリンク
エコシステムをデプロイ
Robinhood Chain TestnetRobinhood Chain Testnet
業界
DeFiRWA