Skip to main content
The Vault account stores all state for a yield stripping vault, including token mints, escrow accounts, exchange rates, treasury balances, emissions, and configuration.

Status Flags

Vault

EmissionInfo

Tracks a single emission reward token associated with the vault.

ClaimLimits

Rate limiting configuration for interest and emission claims.

Key Concepts

Exchange Rates

The vault tracks three exchange rates:
  • last_seen_sy_exchange_rate — Most recent SY exchange rate observed
  • all_time_high_sy_exchange_rate — Highest exchange rate ever observed
  • final_sy_exchange_rate — Rate at vault expiration (stops updating after maturity)

Vault Lifecycle

A vault is active when current_ts >= start_ts && current_ts <= start_ts + duration. After expiration, post-maturity SY appreciation and emissions are directed to the treasury.