Protocol

Contracts & networks

HoodPerp runs on Robinhood Chain. This page lists the network parameters and the on-chain contracts that power swaps, deposits, and buybacks.

Network#

ParameterValue
NetworkRobinhood Chain
Chain ID4663
RPChttps://rpc.mainnet.chain.robinhood.com
Explorerrobinhoodchain.blockscout.com
Native currencyETH

Core tokens#

TokenAddress
USDG0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168
$HPERP0x2b10D89bA75cfE18f2678a66e4c18c1005b03AFA
Stock tokensListed on the Blockscout token list

Contracts#

ContractAddressRole
Router0xfcF6B2f693027bB493974ECDb4f5035B78F8b90AAtomic stock → USDG swap + Lighter perps deposit
WithdrawRouter0x3E28321aa7e9fD423A99f56942AccE23aD9d18DCUSDG → stock token after Lighter withdrawal settles on L1
BuybackVault0x763947FDF7a866122Db1927bE42038fF53a1bA6AUSDG fee buybacks via Uniswap v3 (USDG → WETH → HPERP) + voluntary HPERP deposit/withdraw/burn
USDG0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168Margin collateral stablecoin (6 decimals)
Lighter0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9dOn-chain deposit / settlement contract
Uniswap Universal Router0x8876789976dEcBfCbBbe364623C63652db8C0904Spot swaps (Uniswap v4)
Permit20x000000000022D473030F116dDEE9F6B43aC78BA3Token approvals for the Universal Router

Router details#

  • Entrypoint: convertAndDeposit(stockToken, amountIn, minUsdgOut, deadline) — swaps a stock token to USDG via Uniswap v4 and deposits margin to the caller's Lighter account in one tx.
  • USDG asset index: 3 (Lighter perps route)
  • Minimum deposit: 1 USDG
  • Pre-configured stock tokens: AAPL, TSLA, NVDA, MSFT, GOOGL (more can be added by the owner via setStockToken)

WithdrawRouter details#

After Lighter settles a USDG withdrawal to your wallet, call the WithdrawRouter to swap USDG back into a supported stock token. Pre-configured targets match the Router's stock list.

i

BuybackVault

$HPERP: 0x2b10D89bA75cfE18f2678a66e4c18c1005b03AFA. BuybackVault: 0x763947FDF7a866122Db1927bE42038fF53a1bA6A. Buybacks swap USDG → WETH → $HPERP on Uniswap v3 and burn the proceeds.

BuybackVault details#

  • Route: USDG → WETH (0.05% / fee 500) → $HPERP (1% / fee 10000) via Uniswap v3
  • Entrypoint: executeBuyback(minHoodOut, deadline) — keeper-only, interval-throttled
  • Max spend per run: 10,000 USDG (6 decimals)
  • Burn destination: 0x000000000000000000000000000000000000dEaD
  • Voluntary burn: anyone can depositHood(amount) (after approving the vault), then burnHood(amount) to permanently burn, or withdrawHood(amount) to reclaim. Deposits are tracked per address and are never touchable by the owner or keeper.

Adding the network manually#

json
{
  "chainId": 4663,
  "chainName": "Robinhood Chain",
  "rpcUrls": ["https://rpc.mainnet.chain.robinhood.com"],
  "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 },
  "blockExplorerUrls": ["https://robinhoodchain.blockscout.com"]
}