thesalink

Mechanism

How Thesalink baskets mint, price, and redeem.

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

Flow

  1. Basket creation stores a fixed raw amount per stock token.
  2. Mint accepts ETH, routes execution through RFQ, and locks the fixed amounts against new Thesalink basket shares.
  3. View reads each Chainlink feed, checks staleness, and computes value per token.
  4. Redeem burns Thesalink basket shares and returns stored raw amounts, rounded down, with no oracle read.

Pricing rule

value math
value = raw balanceOf * price / 1e8
never: displayAmount * price

The Chainlink price already includes the ui multiplier. Multiplying the display amount by the price would double-count it. See stock token tech for the full derivation.

On this page