A Uniswap v4 hook that disallows a swap if sender doesn't own an ERC721 NFT
Note that this is just a toy example and it will obviously not work for real as in most cases the senders are routers and aggregators
Thanks to:
- saucepoint for their v4 hooks template