D-06 · Stock tokens
[D-06]Layers
Stock tokens
Robinhood Chain lists tokens that track stocks. Some are the issuer's, some are copies with the same name. The code tells them apart.
Issuer or lookalike#
Every stock token the issuer deployed runs the same runtime code. Corbel hashes that code and compares it, byte for byte, with each token that uses the same ticker.
| Kind | Runtime code | Seen as |
|---|---|---|
| Issuer | 283 bytes, one fixed hash | ✓ Matches issuer |
| Lookalike | 44-byte EIP-1167 clone | ✕ Not the issuer |
How the desk prices a token#
The price is a simulated sale of one token to USDG on the live pool. There is no off-chain reference price. Depth shows what a sale of ten does to that price.
The weekend gap#
The stock market closes; the token keeps trading. The desk compares each issuer token's pool price with the stock's last regular close.
- Chain price
- The pool's mid price from its reserves, in dollars through the WETH/USDG pool.
- Last close
- Public chart data: delayed, read every ten minutes.
- Gap
- Chain price over last close, minus one. Shown in grey when the pool is too thin to trade at size.
State of this layer#
Stocks is live to the public. Not audited. You could lose funds. This page explains the method; it is not an offer.
