Hooks.wtf

Hooks

NFTXV4Hook.sol

The NFTXV4Hook is the canonical Uniswap V4 implementation for the Locker. It handles the pool storage, the initial liquidity that is created when a collection is initialized and the queuing of listing fees that are later donated to LPs.

The depositFees function has been correctly locked down so that it can only be called by a registered Listings contract. It should be noted, though, that this only authenticates the caller and not the timing of the call, as each of the Listings functions that reach it can be called by any user. This is a contributing factor to the just-in-time liquidity issue raised against the base contract.

Outside of the issues reported in NFTXHookCore.sol, there are no issues specific to just NFTXV4Hook.sol.

Previous
NFTXHookCore.sol