bStock ↔ bStock.
One transaction.
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
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.
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.
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.
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.
- 1.Pick the bStock you want to sell from the top picker.
- 2.Pick the bStock you want to buy from the bottom picker.
- 3.Enter the input amount. The slippage tolerance defaults to 1%.
- 4.Approve once per input asset, then confirm the swap. Output lands in your wallet on the same tx.