BpegHook
BaseRegisteredAn afterSwap and afterAddLiquidity hook for the BPEG DN-404 token on Base mainnet. afterAddLiquidity sets the pool address on the token contract on first liquidity add. afterSwap syncs NFT metadata count with the user BPEG balance using tx.origin: buying BPEG mints NFT metadata proportional to integer balance, selling burns accordingly. Wallet-to-wallet transfers move NFT metadata alongside tokens. vanillaSwap: false
?CheckingBytecode not analysed yet
Pools
3
Dynamic-fee pools
0
Last new pool
2mo
Code size
—
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Pools using this hook
3 totalPairCreatedFeePool ID