thesalink

Mechanism

How Thesalink baskets mint, price, and redeem.

Fixed amounts in. Fixed amounts out. Prices only at view time.

Flow

  1. Basket creation stores a fixed amount per stock token.
  2. Mint accepts the quote asset, routes execution through aggregated Jupiter routing, and locks the fixed amounts against new basket shares.
  3. View reads each reference feed, checks the session state, and computes value per token.
  4. Redeem burns basket shares and returns stored amounts, rounded down, with no oracle read.

Pricing rule

value math
value = amount × reference price
never: displayAmount × price

Reference prices carry the session state with them. A closed session means no live price — the row shows STALE, not a number. See stock token tech for the full derivation.

On this page