TrussDocs

Example vault setups

Example: USDC lending vault

An illustrative Truss vault that lends USDC into on-chain ERC-4626 venues, with a default venue for instant withdrawals.

This example vault earns on USDC by lending it to established on-chain lending venues, and keeps most of it redeemable quickly. It is an illustration, not a live product, and its numbers are examples rather than recommendations.

Key points

  • One tracked sub-account lends USDC into ERC-4626 venues through its lend module.
  • Each venue's shares are valued at the venue's own conversion rate, times the USDC price feed.
  • One venue is the default source, so instant withdrawals can draw on it once the vault's idle USDC runs short.
  • The vault relies on the venues paying what they report, and on their liquidity.

The mandate and sub-accounts

The mandate is stable yield with high liquidity: USDC only, with no price exposure. One tracked sub-account holds it all, with a lend module. A tracked sub-account's NAV is what it holds, valued at the vault's price feeds.

The sub-account's registered assets are the share tokens of the venues it lends to. Each has an erc4626 price adapter, which values a share at the venue's own convertToAssets and prices the USDC through the USDC feed. The committed preprod config for Base registers six venues, among them Steakhouse Prime USDC, Gauntlet USDC Prime and Spark USDC.

Each venue is reviewed before it can be lent to. The review checks that the venue pays what its previews promise, how it accounts a loss, that it charges no withdrawal fee, and how much it can pay out at once.

Limits and the withdrawal path

LimitWhat it doesExample from the preprod config
Deposit capThe most net principal the vault accepts5,000 USDC
Sub-account capThe most USDC sent to the sub-account, net of returns5,000 USDC
Push rate limitHow fast USDC can be sent to it5,000 USDC, refilling over a day
Supply rate limit per venueHow fast USDC can be lent to each venue. A venue with no supply limit cannot be lent to5,000 USDC per venue, refilling over a day
Lend tolerance ceilingThe most one supply or withdrawal may lose against the oracle value1 basis point, the preprod factory's maximum

Raising a limit waits the HIGH tier, and lowering one is immediate. The tolerance ceiling is fixed for the vault's life.

One venue is the default source, named at deployment on the sub-account. An instant withdrawal pays from the vault's idle USDC first, then the sub-account's idle USDC, then a withdrawal from that venue. The instant window limits how much can leave this way, as a share of net assets, and refills over time. The freshness gate refuses an instant withdrawal when the NAV's oldest input is older than the gate. It sits above the USDC feed's heartbeat, a day in the preprod config, or it would refuse whenever the feed has not updated.

Curation and policies

A curator needs the Allocator profile to send USDC to the sub-account, and the Trader profile on it to lend, withdraw and bring USDC back. It adds the Settler profile if it also settles requests.

The deposit cap limits how much the vault takes in. This example binds no holder or withdrawal policy, so any address can hold and redeem shares.

What it relies on and cannot do

It relies on:

  • each venue paying what its conversion rate reports, since the vault values the shares at that rate;
  • each venue's liquidity, which limits how fast USDC comes back;
  • the USDC price feed.

It cannot:

  • hold anything but USDC and its registered venue shares;
  • lend to a venue whose supply rate limit is zero;
  • pay an instant withdrawal from anywhere but vault idle, the sub-account's idle USDC and the default venue.

Where to read more

PageWhat it covers
Tracked sub-accountsModules, registered assets and valuation
Instant withdrawalsThe instant path step by step
Rate limitsCaps and rate limits
RisksWhat a vault and its holders rely on