WeatherHook
EthereumRegisteredTracks a per-pool "weather" score (clamped to [-7, 7]) that increments on buys (ETH→FARMERS) and decrements on sells, then emits an event. Exposes a stageOf() view returning one of five named stages (Drought, Dry, Cloudy, Clear, Bountiful) for use by an off-chain game. Does not affect swap execution.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
4mo
Code size
2,564 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Pools using this hook
1 totalPairCreatedFeePool ID