Sigma Sentinel

A Solidity contract that integrates with Pyth Network price feeds to calculate historical volatility

ETHOnline 2025Shipped October 10, 2025#infra
Repo
Sigma Sentinel banner

About

Volatility-driven fee optimization for Uniswap V4 hooks using Pyth price data A Foundry-based project that integrates Pyth Network price feeds to calculate real-time volatility metrics for Uniswap V4 hook implementations. The system processes historical price data to generate a volatility index, enabling hooks to dynamically adjust trading fees based on market volatility patterns.

How it's made

Volatility-driven fee optimization for Uniswap V4 hooks using Pyth price data A Foundry-based project that integrates Pyth Network price feeds to calculate real-time volatility metrics for Uniswap V4 hook implementations. The architecture includes a VolatilityOracle contract that processes historical price data using logarithmic return calculations with 1e18 fixed-point precision, generating both per-second and annualized volatility metrics. A companion VolatilityFeeHook implements the Uniswap V4 hook interface with beforeSwap and afterSwap callbacks that query the oracle for current volatility levels. The hook applies a sigmoid-based fee adjustment curve: fee = baseFee * (1 + sigmoid(volatility - threshold) * maxAdjustment), ensuring smooth fee transitions and preventing extreme fee spikes while maintaining responsiveness to market volatility changes

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Limit order hook

A gas-optimized hook for Uniswap v4 that enables limit orders by monitoring price movements between ticks. Place orders at target prices and automatically execute trades when conditions are met. Built with Solady's ERC1155 for token positions.