Non-transferable trading licenses for institutional DeFi using ENS fuses + Uniswap v4 hooks
PermitPool is the first decentralized "Identity Clearing Layer" designed to unlock the $1.5 Trillion institutional market for DeFi.
Currently, hedge funds and institutions cannot trade in permissionless pools because they cannot risk interacting with sanctioned addresses or anonymous actors. Traditional "whitelist" solutions are centralized, slow, and prone to database hacks.
PermitPool solves this by moving compliance entirely on-chain. We utilize the ENS Name Wrapper to issue "Soulbound Licenses" (subdomains) to traders. We then use Uniswap v4 Hooks to enforce these licenses atomically before every trade.
The result is a "Permissioned Pool on a Public Protocol."
For the Fund: A mathematically proven way to control employee access and prevent license transfers.
For the Trader: A "Stealth Terminal" experience that unlocks only when their on-chain identity is verified.
For the Ecosystem: A scalable, trustless architecture that proves compliance does not require centralization.
We are not just building a DEX; we are building the compliance infrastructure that allows RWA (Real World Assets) and Institutional Liquidity to flow safely into Ethereum.
his project was built using a "Trinity Architecture" combining ENS (Identity), Uniswap v4 (Execution), and Yellow Network Logic (Clearing).
The Hacky Part: We utilize ENS Fuses (specifically CANNOT_TRANSFER and PARENT_CANNOT_CONTROL) to turn a standard ENS name into a "Sovereign License." This ensures that the license is non-transferable (soulbound) and cannot be arbitrarily revoked by the issuer during a trade, creating a trustless compliance standard.
When a user attempts to trade, the hook intercepts the transaction.
It queries the ENS Registry to verify if the msg.sender owns a valid, fused subdomain node.
If the check fails, the transaction reverts. This brings "Yellow" clearing logic (pre-trade validation) directly into the swap lifecycle.
Technologies Used: Solidity, Foundry, Uniswap v4 (Periphery & Core), ENS Name Wrapper, Next.js, RainbowKit, Viem.

