Docs

Protocol

Fees paid in SOL

How SOL is split, why the vault's SOL is sold for USDC, and what that means for settlement.

Many tokens earn their fees in SOL. A source accepts SOL as well as USDC, but the vault keeps its books in USDC, so the vault's share of SOL takes one extra step.

How SOL is split

A SOL payment lands in the source account itself. In the same transaction, the program records two balances: the lamports that belong to you and the lamports that belong to the vault, split by the stream's share exactly as USDC would be.

  • Your SOL can be claimed at any time, together with your USDC.
  • The vault's SOL stays in the source until it's sold for USDC.

Selling the vault's SOL

The vault's lamports are sold through a firm quote that both the vault's quote key and a buyer sign. The buyer pays USDC and receives exactly those lamports, in one transaction. The program enforces a minimum rate, so the vault can't be paid less than the rate set for it, and it can never sell lamports that belong to you.

The USDC from a sale goes to the vault's cash up to whatever is left of the stream's cap. Anything above the cap goes to you, in the source's fee account.

What it means for a stream

  • SOL doesn't count toward a quote. Its USDC value isn't known until it's sold, so SOL payments count as zero in the seven-day history.
  • A stream can't settle with unsold SOL. Settling waits until the vault's lamports are sold. The vault's claim to them doesn't lapse at the end of the term.
  • SOL counts as zero for LPs too. Until it's sold, the vault's SOL adds nothing to cash per share.