BpegHook
BaseRegisteredAn afterSwap hook that syncs NFT metadata with token balance. When a user buys BPEG tokens, the hook mints NFT metadata proportional to their integer balance. When they sell, it burns NFT metadata accordingly. Uses tx.origin to identify the end user.
ALooks safeRegistered, verified, immutable
Pools
4
Dynamic-fee pools
0
Last new pool
6mo
Code size
7,000 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
4 totalPairCreatedFeePool ID