TrussDocs

Flow of funds

Instant withdrawals

How a holder is paid at once from vault idle and the default source, the limits and optional fee on the instant path, and its dependency on a fresh NAV.

An instant withdrawal opens a redemption and pays it in the same transaction, with no settler. It lets a holder leave without waiting for the queue, within limits the vault sets so that instant exits cannot drain it faster than its owner allows. Every vault has the instant path, but it starts closed: it pays nothing until its limits are raised.

Key points

  • The payout comes from the vault's idle USDC first, then from the default source, if one is set.
  • A refilling window, a freshness gate on the NAV and a pause limit how much can leave, and when.
  • The exit fee goes to the fee recipient. The optional instant fee is burned, so its worth stays with the holders who stay.
  • The deployer chooses at deployment whether the path opens, and the VaultAdmin can open it further later.

How it is paid

  1. The vault pays from its own idle USDC first, all of it if need be. Pending redemptions hold no claim on it, so an instant exit can spend idle a settlement was about to use.
  2. If a default source is set, the vault then asks that sub-account for its idle USDC.
  3. If that is still short, the sub-account withdraws from its lending venue. What the venue keeps back on the withdrawal comes off the payout. While the sub-account is paused, its idle is still drawn but its venue is not.

A default source is always a tracked sub-account, one of its ERC-4626 lend modules, and a USDC venue the sub-account values. With no default source set, the path pays from vault idle only. No sub-account is reached, not even for its idle USDC. InstantRedeemed reports what each source paid.

Who can call it, and what it checks

Function on TrussVaultWho must call it
requestRedeemAndExecute(shares, controller, owner, receiver, minAssets)Someone acting for both the owner and the controller: either itself, or its operator
executeRedeemRequest(requestId, shares, receiver, minAssets)The controller or its operator, on a pending request

The combined call executes the whole request or reverts, leaving nothing behind. executeRedeemRequest may execute part of a pending request. The price is the NAV read in the call, net of accrued fees.

The call is refused when the vault or the path is paused; when the NAV is stale or its oldest input is older than the freshness gate; when an attested sub-account is valued on an older attestation than its provider's latest; when the window holds too little; when the sources cannot cover the payout (InstantShortfall); when the payout is below minAssets; and when a bound withdrawal policy refuses the controller or the receiver.

To quote first, read the instant redemption policy: previewInstantRedeem(controller, shares) gives the payout, fee shares and split by source, and maxInstantRedeem(controller) the most shares that holder can redeem now. Anyone may read either for any holder.

Limits and fees

Limit or feeWhat it does
WindowHolds a share of net assets and refills at a set rate each second. Each payout uses some of it
Freshness gateThe oldest the NAV's oldest input may be. It limits how old a price a holder can leave at, though it measures age, not how far the market has moved
Exit feeIts shares go to the fee recipient
Instant feeIts shares are burned, which raises the price for the holders who stay, free of performance fee. See The instant redemption fee

The deployer sets the window, refill rate, freshness gate and default source at deployment. Left at zero, the path stays closed, as in the committed preprod configs.

Who changes the settings

ChangeWhoWait
Raise the window or refill rate, loosen the gate, unpauseVaultAdminHIGH
Set the default sourceVaultAdminCRITICAL
Lower the window or refill rate, tighten the gate, pause, clear the default sourceVaultManager, Sentry or VaultAdminNone

Clearing the default source with clearDefaultSource takes a troubled venue off the path at once, without pausing it.

Where to read more

PageWhat it covers
WithdrawalsThe queued path every vault has
Turn on instant withdrawalsThe steps to open the path
Who can call whatEvery lever on the instant policy, with its tier