Stock Dividend Vault
StockDividendVault turns 1% of every reactor deposit into a daily pro-rata dividend
paid in ETH or tokenized stocks (AAPL, NVDA, MSTR, TSLA, SpaceX — canonical Robinhood
Stock Tokens).
Intake
- Only the wired
protocol(the reactor) may call it — 1% of everyinjectMasslands here with the depositor’s address attached. - Funds pool per UTC day (
day = block.timestamp / DAY,DAY = 86400). - The depositor’s weight for that day is their gross deposit (not the 1% cut):
Claiming — closed days only
A day’s pool becomes claimable the moment the next UTC day starts. The claim formula:
The stock path routes through a
swapper adapter:
minStockOut is a slippage guard: the claim reverts atomically if the swap
delivers less than expected, so sandwiching the swap is unprofitable.
Worked example
Day 20123 sees 10 ETH of reactor deposits, from 4 depositors:
Depositor B claims day 20123 choosing NVDA with
minStockOut = 0.029 ETH-worth:
the vault swaps 0.03 ETH into NVDA stock tokens and sends them straight to B’s wallet.
Had the swap returned less than the guard, B’s claim reverts — the day stays claimable
and B can retry later (admin can fix/replace a broken swapper; claims never expire).