<aside> 🔀
A newer router-based guide is available → PCSX Tech Integration Guide V4. This V3 guide stays valid for legacy standalone reactors and in-flight orders during the phased MultiReactor Router rollout.
</aside>
🔀 Integrating as a Distributor? (Wallets, DEX Aggregators) → LINK
📈 Integrating as a Market Maker? (RFQ, Executor Contract) → LINK
📖 Need general reference? (Contract addresses, token support, flow overview) → LINK
executeWithCallback with the order inforeactorCallback and performs the Executor swap logic| Order Time | Person eligible to fill |
|---|---|
| User signs the order → decayStartTime | Exclusive filler only (or filler willing to pay the exclusivityOverrideBps penalty) |
| decayStartTime → decayEndTime (decay starts) | Anyone can fill |
| decayEndTime → deadline (decay stops) | Anyone can fill |
PCSX only supports Wrapped native token as input. When a user swaps from native tokens to any tokens, our frontend will wrap the native token, get quote on the Wrap native token and send the token to the PCSX contracts. Therefore, in order to maximise the gain, we suggest all Market Makers to support both native token and Wrap native token pairs.
V4 is V3 with a much longer decay window. An order can now decay over days or weeks instead of hours — enabling e.g. 30-day limit orders. The order fields, signing flow, and fill mechanics are identical to V3; only the EIP-712 struct names (V4DutchOrder / V4DutchInput / V4DutchOutput) and the internal curve encoding changed. V4 is live on BSC first (addresses below); V3 stays live on all chains and the two run side by side. Everywhere else in this guide, what is said about V3 applies to V4 too unless noted.