WsgemBackstopHook
EthereumRegisteredCustom-curve backstop hook for the tGBP/wstGBP pool. beforeSwap returns a BeforeSwapDelta that cancels the AMM curve and routes the swap through the wstGBP wrapper's atomic mint/redeem, so buys execute at mintcost() and sells at burncost(). beforeAddLiquidity reverts, so the pool holds no LP liquidity. The hook is ownerless, holds no capital, and charges no fee of its own. Swaps must be settle-first; a conventional swap-then-settle v4 router will revert.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
4mo
Code size
6,240 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
1 totalPairCreatedFeePool ID