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
| Limit | What it does | Example from the preprod config |
|---|---|---|
| Deposit cap | The most net principal the vault accepts | 5,000 USDC |
| Sub-account cap | The most USDC sent to the sub-account, net of returns | 5,000 USDC |
| Push rate limit | How fast USDC can be sent to it | 5,000 USDC, refilling over a day |
| Supply rate limit per venue | How fast USDC can be lent to each venue. A venue with no supply limit cannot be lent to | 5,000 USDC per venue, refilling over a day |
| Lend tolerance ceiling | The most one supply or withdrawal may lose against the oracle value | 1 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
| Page | What it covers |
|---|---|
| Tracked sub-accounts | Modules, registered assets and valuation |
| Instant withdrawals | The instant path step by step |
| Rate limits | Caps and rate limits |
| Risks | What a vault and its holders rely on |