PolymarketHook
UnichainRegisteredA prediction market hook that creates binary-outcome YES/NO token pairs backed by USDC. The `beforeSwap` handler intercepts trades on YES/USDC and NO/USDC pools: for buy orders it mints equal YES+NO tokens from USDC, performs an internal swap on the YES/NO pool to consolidate into the desired token, and returns the delta to settle the trade entirely within the hook.
ALooks safeRegistered, verified, immutable
Pools
34
Dynamic-fee pools
0
Last new pool
12mo
Code size
13,372 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Can take tokens from swaps
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Gates who can add liquidity
It checks every deposit before it goes in.
Pools using this hook
34 totalPairCreatedFeePool ID