Swap

bStock ↔ bStock.
One transaction.

Swap
From
To
Protocol fee0.00% → PRSM buyback
Slippage tolerance1%
Routing
1
CRCLB → WBNB
PancakeSwap V3 pool
2
Skim 0.20% protocol fee
→ FeeRouter → 33% PRSM buyback / 33% pINDEX / 34% sPRSM drop
3
WBNB → MUB
PancakeSwap V3 pool
4
Delivered to your wallet
Atomic reverts if any hop slips

The router holds no funds between hops. If you call sweep(token) on it, any dust gets pushed to FeeRouter permissionless, so anyone can clean it up.

+How StockSwap works
Design principle

StockSwap is atomic, non-custodial and slippage-protected. Every input is routed assetIn → WBNB → assetOut on PancakeSwap V3 in a single transaction if any hop slips past your tolerance the whole tx reverts. A 20 bps fee is skimmed mid-flow and routed to FeeRouter, which splits 33% PRSM buyback / 33% pINDEX / 34% sPRSM Merkle drop.

What it is

A non-custodial router that swaps any whitelisted bStock for any other in one transaction. The contract holds nothing at rest you keep custody of the input until the swap settles.

Why it matters

Rotating stock exposure used to mean: sell the bStock to WBNB, swap to the new bStock, hold. Multiple steps, multiple fees, multiple chances of slippage. Here it's one signature, atomic if any hop fails the whole tx reverts.

How it works

Internally the contract routes assetIn → WBNB → assetOut through public PancakeSwap V3 pools (exactInputSingle per hop). A 20 bps fee is skimmed mid-flow and routed to FeeRouter, which splits 33% PRSM buyback / 33% pINDEX / 34% sPRSM drop.

Steps
  1. 1.Pick the bStock you want to sell from the top picker.
  2. 2.Pick the bStock you want to buy from the bottom picker.
  3. 3.Enter the input amount. The slippage tolerance defaults to 1%.
  4. 4.Approve once per input asset, then confirm the swap. Output lands in your wallet on the same tx.