Brevis enables smart contracts to verify off-chain data like wallet history or DAO votes, using zero-knowledge proofs, without needing users to reveal their identity or activity. With Uniswap v4 Hooks, Brevis can power on-chain logic based on off-chain behavior: gated pools for active DAO members, loyalty-based fees, or sybil-resistant airdrops triggered directly at swap time.
LVR compensation based on market volatility
- Periodically compute market volatility indexes
- Feed that to a dynamic fee hook to determine the fee percentage
Retrospective mining rewards based on fee generated in each LP position
- Time-length-based farming reward is harmful
- Weight the fee distribution by evaluating how much fee is actually generated by each of the LPs
- Distribute farming rewards based on epochs and compute fees generated by each LP position using Brevis
Token holding based fee discount
- Compute the time weighted average of protocol token using Brevis
- Record that in the hook contract to activate corresponding fee discount
IDO/Free trade based on-chain OG status
- Generate proof of protocol/dApp usage during Brevis
- Get 0 fee trading protocol tokens
User acquisition through on-chain user profiling
- Generate a ZK proof that a user is a big trader or holder in other similar protocols
- Grant fee discount or even additional reward when the users purchases this token