Skip to content
TrustSecurity and trust

Trust

Security and trust

What no one can do

ActionWhy it cannot happen
Change a covenantcaps_bps, cash_floor_bps, fee bounds and royalty_bps are written by publish; no instruction writes them again
Move the target past a cap or under the cash floorcheck_weights runs in publish and revise and fails with CovenantViolation
Swing the target overnightcheck_drift caps every weight's speed at 2 points a day (DriftTooFast)
Cut the fee suddenlythe fee moves at most 0.25 points per revision, at most once a day, inside the covenant's bounds (GammaStepTooLarge, GammaOutOfBounds)
Take value from holders by tradingverify_update rejects any update whose fee-adjusted invariant does not grow (InvariantViolated)
Move the royalty gate inside one transactionthe index is time-weighted; a state that lasts zero seconds moves it zero
Inflate reserves with a donationthe invariant runs on Pool.reserves, not on vault balances
Drain the share supply to zero1,000 base units of shares are locked at seed forever

Which mints a pool can hold

token::screen_mint refuses a mint with transfer fees (the vault would receive less than the invariant counted), a non-transferable mint, confidential mint or burn, a default-frozen account state, or a transfer hook with a program set. It allows, with disclosure, pausable mints, a permanent delegate, a freeze authority and scaled UI amounts.

xStocks disclosures

SPYx, NVDAx and TSLAx are Token-2022 mints with 8 decimals. Read on mainnet on Nov 9, 2026:

  • Anyone can hold them: the default account state is initialized, not frozen.
  • The issuer holds a transfer hook authority with no hook program set today; a future hook would make the mint unusable in a new pool and is a risk for an existing one.
  • The issuer can pause the mint (currently not paused) and holds a permanent delegate, which can move tokens out of any account, the pool's vault included.
  • A scaled UI amount multiplier (1.00747 from Oct 31, 2026) expresses total return. The pool works in raw units; arbitrage absorbs the change in price per raw unit.

When an asset cannot move

If an issuer pauses a mint or freezes a vault, withdraw would fail for everyone. withdraw_deferring lets a holder exit anyway: each asset named in skip_mask stays in the vault as a DeferredClaim in the holder's name, outside the reserves, and claim_deferred collects it once the asset can move again. The leaver and the stayers never carry each other's risk in that asset.

Upgrade authority

The config authority can point the protocol's share at a treasury account. No instruction gives it any power over a pool's reserves, covenant, weights or fee.