TrussDocs

Architecture

Tokenized stocks

How a Truss vault can hold tokenized stocks in a tracked sub-account, how they are priced, and the market-hours and transfer limits that come with them.

A vault does not have to hold only stablecoins and lending positions. It can also take directional positions, whose value moves with a market. Tokenized stocks are one kind. A tracked sub-account holds them as registered tokens, bought and sold through its swap module, and priced by each stock's own feed.

Key points

  • Tokenized stocks are priced through Coinbase's on-chain registry of Chainlink equity feeds, which exists on Base.
  • Their feeds pause outside US market hours, which makes the whole vault's NAV stale until they resume.
  • On Base, the issuer decides which addresses may hold or move an equity token.
  • A vault holding stocks moves with their market: their gains and losses flow into the share price.

How they are held and priced

A stock is a registered token of a tracked sub-account, like any other. The VaultAdmin registers it after the CRITICAL tier, and the vault's operators buy and sell it through the swap module, within the swap buckets for that token. Each swap is checked against the stock's price like any other.

The Coinbase equity adapter reads the stock's Chainlink feed, which quotes one whole token, corporate actions included. It also reads Coinbase's registry, whose pause flag marks a stock under a corporate action. On Base the adapter also checks the sequencer, as every price there does.

Where they are available

The equity registry exists on Base and not on Ethereum, so tokenized stocks can be priced on Base only. Which stocks a vault may hold is chosen per vault, when it registers them. The committed staging Base config prices ten; the committed preprod configs price none.

Market hours

Equity feeds update during US market hours, five days a week. On weekends, holidays and during corporate-action pauses they hold their last value. The vault never prices from a frozen feed:

  • a held stock's price reads stale once its feed is older than its heartbeat, a day in the staging config, plus 90 seconds;
  • during a registry pause, it reads stale at once.

While any held stock is stale, the whole vault's NAV is stale. Settlement, instant withdrawals and fee changes wait for the whole vault, USDC-only requests included. Requests, cancellations and claims still work. A swap between two tokens with live prices still runs, but selling the stock waits for its price. Plan settlement for US market hours. A registry pause that never lifts is fixed only by binding the stock to another price source, which waits CRITICAL.

Issuer-gated transfers

On Base, equity tokens check every transfer against the issuer's sender and receiver rules, and the issuer can pause transfers. A blocked transfer reverts. Every address that will hold or move a stock must be allowed by the issuer before the vault uses it: the vault, its deposit silo, each sub-account, each swap module and the routers. If the issuer later changes its rules or pauses transfers, the position cannot be sold until that lifts.

Where to read more

PageWhat it covers
Tracked sub-accountsRegistered tokens, oracles and swaps
Multi-asset vaultAn example vault that holds directional assets
Onboard an assetAdding a token to a live vault
NAV parametersWhat makes NAV stale