TrussDocs

Example vault setups

Example: multi-asset vault

An illustrative Truss vault allocating across stablecoin lending and directional assets such as ETH, BTC or tokenized stocks.

This example vault spreads its capital across stablecoin lending and directional assets, such as ETH, BTC or tokenized stocks, at target weights the deployer sets. It is an illustration, not a live product, and its numbers are examples rather than recommendations.

Key points

  • Two or more tracked sub-accounts each hold their own registered assets, and swap between them and USDC.
  • Every asset is valued at its own price feed, so the share price moves with the directional assets' markets.
  • Each swap is checked against oracle prices, and metered per asset in each direction.
  • One sub-account's lending venue is the default source for instant withdrawals.

The mandate and sub-accounts

This example uses two tracked sub-accounts:

  • a lending sub-account, with a lend module, holding USDC venue shares;
  • a directional sub-account, with a swap module, holding assets such as WETH or cbBTC.

The preprod factory allows up to 7 sub-accounts per vault, 30 registered assets on each, and 38 valued positions across the vault. Each vault fixes its own limits within those at deployment.

Each asset is priced by its own adapter. On Base, the preprod config prices assets such as ETH, cbBTC, LINK and AAVE from Chainlink USD feeds. On Ethereum it prices WBTC and LBTC as a cross rate: the token's BTC price times BTC/USD. A swap stands only if what comes back is worth at least what went in, less its tolerance, at those prices.

With tokenized stocks

A variant on Base can hold tokenized stocks, priced by equity feeds. Equity feeds pause outside US market hours. While any held stock's price is stale, so is the vault's NAV, and settlement, instant withdrawals and fee changes wait for the whole vault. Stock tokens also move only between addresses the issuer allows. The committed configs carry equity feeds in staging only. See Tokenized stocks.

Limits and the withdrawal path

LimitWhat it doesExample from the preprod config
Swap rate limitsHow much of each asset may come in, and leave, by swappingAbout 5,000 USDC's worth of each asset, refilling over a day
Swap tolerance ceilingThe most value one swap may lose against oracle prices100 basis points
Sub-account capThe most USDC sent to the sub-account, net of returns5,000 USDC
Assets per sub-account, and in totalHow many assets can be registered30 and 30

The swap tolerance ceiling is fixed when each sub-account's swap policy is set up, and no factory maximum bounds it. Read it before depositing.

The lending sub-account's venue is the default source. Instant withdrawals pay from the vault's idle USDC, then that sub-account's idle USDC and its venue, and never sell a directional asset. For settled redemptions, the curator sells directional assets back to USDC and returns it to the vault first.

Curation and policies

A curator needs the Allocator profile to fund the sub-accounts, and the Trader profile on each to swap, lend and bring USDC back. It adds the Settler profile if it also settles requests. The deposit cap limits how much the vault takes in. A holder policy would be needed only if shares must stay with approved holders.

What it relies on and cannot do

It relies on:

  • the price feeds, which move only past their update thresholds, so settlement prices at the feed, not the market;
  • the liquidity of the venues it swaps through;
  • market hours, for tokenized stocks.

It cannot:

  • hold an asset that is not registered on the sub-account;
  • swap beyond the rate limits or the tolerance ceiling;
  • settle while any held asset's price is stale.

Where to read more

PageWhat it covers
Tracked sub-accountsModules, registered assets and valuation
Tokenized stocksEquity feeds, market hours and issuer controls
Rate limitsCaps and rate limits
RisksWhat a vault and its holders rely on