The Secondary Market module enables peer-to-peer trading of fractional tokens. The router enforces compliance checks and routes trades to Seaport or executes minimal direct swaps.
Enable secondary liquidity.
Enforce compliance.
Collect protocol fees.
Seaport integration.
Direct swaps for fractions.
Fee routing.
Permissioned eligibility enforcement.
Admin – sets treasury, fee, Seaport.
Pauser – pause/unpause.
contracts/market/P2PRouter.sol
Seller signs off-chain Seaport order.
Buyer submits to P2PRouter.fulfillWithSeaport().
Compliance enforced on maker/taker.
Order executed via Seaport.
Protocol fee routed to treasury.
Buyer calls directSwap().
Compliance checked.
Fractions transferred seller→buyer, stablecoin transferred buyer→seller.
Last updated 7 days ago