An afterSwap-only hook that advances a 16-joint inverse-kinematics (CCD) animation on each swap. Joint angles are packed into two storage slots; targets track the pool tick; 1–4 solver passes run per swap scaled by swap size. Emits Step events and seals the rig after 12 stalled improvement steps.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
2mo
Code size
6,458 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