DobXHooks
Uniswap v4 hooks that turn RWA revenue into live, liquid assets.
Problem Statement
DobNodeLiquidity creates a continuous primary and secondary market for tokenized Real World Assets using Uniswap v4 Hooks and Dobprotocol’s verified oracle. Operators can mint tokens at true NAV based on validated machine revenue, while investors can redeem at NAV minus a dynamic risk penalty. Permissionless LPs (“Liquid Nodes”) provide instant liquidity, and hooks automatically stabilize price when the pool deviates from real economic value. The system ensures that tokens representing infrastructure assets such as solar farms and data centers always have liquidity, a reliable NAV anchor, and market behavior that reflects real performance data rather than speculation. It brings transparent, programmable liquidity to infrastructure RWA.
Solution
DobNodeLiquidity is built on Uniswap v4’s experimental Hook architecture. We implemented coordinated hooks in TypeScript and Solidity: a Dynamic Fee Hook that adjusts LP fees based on Dobprotocol’s risk oracle, a Stabilization Hook that performs micro buybacks or micro sells when pool price drifts from oracle NAV, and a Redemption Hook that calculates NAV-based mint and burn values with risk weighted penalties.RWA performance data is validated through Dobprotocol’s KYM and revenue verification pipeline, which produces a “risk-adjusted NAV” published onchain via a lightweight oracle module. This oracle feeds the hooks in real time.We used Hardhat for development, Anvil for deterministic state simulation, and the Uniswap v4 core/periphery repos to integrate custom swap, mint, burn, and fee events. Because Hooks are still in active development, we built a custom testing harness to simulate machine failures, revenue drops, and high-volatility environments to observe how the Hook system reacts. This required patching parts of the periphery and writing manual fallback selectors to test unusual execution paths.Uniswap v4 provides the programmable liquidity layer, and Dobprotocol provides the real-world revenue signal. Together, they create a complete liquidity engine for tokenized infrastructure assets.
Hackathon
ETHGlobal Buenos Aires
2025
Contributors
- fercastdev
3 contributions
- opcastil11
2 contributions