hackquest logo
  • 学习
  • 课程探索
  • 实战
  • 探索黑客松
  • 往期项目
  • 社区
  • 论坛
  • 全球活动
  • 我的社区
  • 共学营
  • 组织中心
  • 更多
    • 词汇表
    • 博客
    • 水龙头
    • 工作机会
    • 媒体工具包
    • 创始人
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