Sunrise-issued tokenized equities — issued by Backpack Securities, distributed via Sunrise — modeled in pure Lean 4 as Poc/Rwa.lean: the on-chain issuer fingerprint, the backing law for tokenized share claims, and a Backpack cross-venue quote gate, with the safety claims as kernel-checked theorems.
A mint is Sunrise-issued iff it is a Token-2022 mint whose freeze authority, metadata update authority, permanent delegate, metadata pointer, pausable and confidential-transfer authorities are all the Sunrise issuer wallet 2cVYpagTt7ZGc3mmTXBa7fAznUtx5DUu6aCq8uVDaf4a and whose on-chain tokenMetadata name reads "<Name> - Backpack Securities". 93 mints passed every check in the fleet's 2026-11-24 on-chain re-scan.
isSunriseIssued — the fingerprint as an executable check over a MintRecord (Token-2022 flag, the six authorities, the two names). xStocks mints fail this fingerprint and are excluded — a different issuer's tokenized equity is not a Sunrise asset, however similar the ticker looks.
In the model, pubkeys are Nat ids per this repo's convention (the gate uses a fixed issuerId); the real wallet string is the one above.
An Equity is a tokenized share claim: 1 token = 1 underlying share claim, with custody (shares held) and supply (tokens outstanding) in micro-units. The one law of the layer is Backed: supply ≤ custody — never more claim outstanding than shares held.
depositCustody — underlying shares arrive; supply untouched. mintTokens — issue claims against custody: never beyond it, never while paused. redeem — burn claims and release shares: both sides drop together, so redemption can never change the backing headroom. split — a stock split scales custody and supply by the same factor.
transferOk — the holder-side gate: a transfer needs an unpaused equity, an unfrozen holding, and sufficient balance. The freeze authority in Layer A is what makes a frozen holding possible at all.
Two venues price the same asset: Solana spot and the Backpack perp mark (Backpack Exchange, api.backpack.exchange, public read-only market data; a Sunrise asset may have a perp symbol "<TICKER>.US_USDC_PERP"). deviationBps is the absolute gap in basis points between the two legs (prices in micro-USDC); flagged marks a gap over threshold.
acceptQuote — the composed gate a quote must pass before anyone acts on it: the mint passes the Sunrise fingerprint (Layer A), the equity is unpaused and backed (Layer B), and the cross-venue deviation is within threshold (Layer C). Acceptance is a gate, not an execution — nothing is ever executed off the back of it.
issued_facts · issued_freezePROVED — a mint passing the fingerprint is Token-2022, all six of its authorities are the issuer, and its metadata name carries the Backpack Securities suffix.
not_issued_of_freeze_mismatch · not_issued_of_not_token2022PROVED — a freeze-authority mismatch, or a non-Token-2022 mint, can never be Sunrise-issued.
mint_preserves_backed · mint_supply_le_custodyPROVED — anything minting returns is backed: supply never exceeds custody.
redeem_preserves_backed · redeem_headroom_invariantPROVED — redemption preserves backing, and the headroom custody − supply is exactly unchanged by it.
deposit_preserves_backed · split_preserves_backedPROVED — deposits and same-factor splits preserve the backing law.
mint_paused_none · redeem_too_much_nonePROVED — a paused equity cannot mint; redeeming more than the outstanding supply always fails.
deviationBps_self · flagged_sound · not_flagged_of_withinPROVED — a price against itself deviates 0 bps; a flagged pair is really over threshold; a pair within threshold is never flagged.
acceptQuote_factsPROVED — an accepted quote means: Sunrise-issued mint, unpaused and backed equity, deviation not flagged.
Real custody holdings · live prices · legal title, dividends, votingNOT MODELED — custody is an accounting number in the model, prices in the demo are labeled SAMPLEs, and the token is a claim model, not a legal instrument.
Sunrise API execution · Backpack authenticated tradingNOT MODELED — the Sunrise adapter posture is "awaiting key" (base URL unverified, no key bound); Backpack is read-only market data only.
| Ticker | Name | Mint | Backpack perp |
|---|---|---|---|
| AAPL | Apple | AAPLEDt8RpzPgXyhvFzkMBofvFSQw9gpeMCoUdPdLnB8 | AAPL.US_USDC_PERP |
| NVDA | Nvidia | NVDAVuiB7hwd3m5Wa1JuHNovPaPG6BH1QNztbKFxNjv | NVDA.US_USDC_PERP |
| TSLA | Tesla | TSLAqBbv4CNCnzWFeB7LmydAyEiNMJtve7DYKLpdK4S | TSLA.US_USDC_PERP |
| SPY | State Street SPDR S&P 500 ETF Trust | SPYBo66VJPFjh1pXMb9Le53kDYWTK1zzYVDeVRWtsbi | SPY.US_USDC_PERP |
| QQQ | Invesco QQQ Trust | QQQvDYxG7g11Rr4rnaJqDddmP9ocH74YhE3mDaG37R9 | QQQ.US_USDC_PERP |
Five of the 93 fingerprint-verified Sunrise mints — the fleet's original verified five. The model carries them as data only; it never reads them from the chain.
The binary's scenario: fingerprint pass for a Sunrise-shaped AAPL mint and exclusion of an xStocks-style one; then the AAPL lifecycle from empty — deposit 1,000,000 custody, mint 400,000, an over-custody mint rejected, redeem 150,000, a 2:1 split, a pause blocking minting — then the deviation check and quote gate on labeled SAMPLE prices.