Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-uniswap-v4-resources
awsome uniswap v4 resources
https://github.com/andreid/awesome-uniswap-v4-resources
Last synced: 1 day ago
JSON representation
-
π Table of Contents
-
From Uniswap
- Volatility Oracle
- Truncated Oracle - v4-truncated-oracle-hook).
- Limit Order
- Full Range
- Geomean Oracle
-
From Community
- NiceHook
- gamza-core
- NFT Owners Only
- Curve Style Voting Escrow - veLP - style voting escrow (ve) hook. This can be used to create a more democratic and efficient way to vote on changes to a liquidity pool.
- Huff Hooks
- gamza-core
- arena - driven simulation runtime.Flexible performance analysis and telemetry.
- Multi-Sig
- Whitelist - risk traders.
- Old Account
- KYC
- New York Trading Hours
- Impermanent Loss Hedge (Antonio Furtado)
- Stop Loss Order
- Liquidity Provider Fee Rebate
- On-Chain Take Profit Order - chain "take-profit" orders. This means that the position will be automatically closed if the price reaches a certain level.
- Hyperlane LPTs
- Torres Token Sale
- Magna Carta - running and other types of manipulation.
- Uni LBP - efficient Uniswap v4 liquidity bootstrapping pool (LBP) hooks contract. This can be used to allow tokens to be sold at a linearly decreasing price.
- UniKits Hooks
- Automated Buyback
- Privacy Enhancing Hook - chain link between depositors and withdrawal addresses, while also providing a verifiable proof of inclusion.
- Minimize LVR Hook - versus-rebalancing. This can reduce LVR and increase LP returns.
- Bungi - core/blob/main/contracts/test/PoolModifyPositionTest.sol).
- Captain Hooks
- Anti-KYC - ed users. This can be used to provide alternative liquidity pools for users who do not want to go through KYC.
- WID KYC
- Volatility Fee Hook
- Ref Fee Hook
- Identity with Civic
- Locking Liquidity Hook - liquidity-hook-for-univ4-builders-perspective-44e192eefe1f).
- Constant-sum Swap - sum swaps (x + y = k), allowing for an exact 1:1 swap everytime.
- Violet Hooks
- Dynamic Fee Hook
- WBTC Hook - 01-10.
- v2 on v4
- Base v4 Hook - like liquidity logic.
- Torres Token Sale
- NFT Owners Only
- Curve Style Voting Escrow - veLP - style voting escrow (ve) hook. This can be used to create a more democratic and efficient way to vote on changes to a liquidity pool.
- Huff Hooks
- arena - driven simulation runtime.Flexible performance analysis and telemetry.
- Multi-Sig
- Whitelist - risk traders.
- Old Account
- KYC
- New York Trading Hours
- Impermanent Loss Hedge (Antonio Furtado)
- Stop Loss Order
- Liquidity Provider Fee Rebate
- On-Chain Take Profit Order - chain "take-profit" orders. This means that the position will be automatically closed if the price reaches a certain level.
- Hyperlane LPTs
- Magna Carta - running and other types of manipulation.
- Uni LBP - efficient Uniswap v4 liquidity bootstrapping pool (LBP) hooks contract. This can be used to allow tokens to be sold at a linearly decreasing price.
- UniKits Hooks
- Automated Buyback
- Privacy Enhancing Hook - chain link between depositors and withdrawal addresses, while also providing a verifiable proof of inclusion.
- Minimize LVR Hook - versus-rebalancing. This can reduce LVR and increase LP returns.
- Bungi - core/blob/main/contracts/test/PoolModifyPositionTest.sol).
- Captain Hooks
- Anti-KYC - ed users. This can be used to provide alternative liquidity pools for users who do not want to go through KYC.
- WID KYC
- Volatility Fee Hook
- Ref Fee Hook
- Identity with Civic
- Locking Liquidity Hook - liquidity-hook-for-univ4-builders-perspective-44e192eefe1f).
- Attestation Hook
- Constant-sum Swap - sum swaps (x + y = k), allowing for an exact 1:1 swap everytime.
- Violet Hooks
- Dynamic Fee Hook
- WBTC Hook - 01-10.
- v2 on v4
- Base v4 Hook - like liquidity logic.
-
From Hackathon
- ETHGlobal Brussels 2024
- Malbec Finance
- LaunchFi
- ETHGlobal Brussels 2024
- Malbec Finance
- LaunchFi
- All my π¦ Read on L1 - chain arbitrage (LVR) on Scroll pools.
- HookRank
- X-DataAggregator
- Liquid Delegation - sharing with wrapped-ARB liquidity providers.
- liqu1tent - chain swaps w/ ERC-7683 settlement contract & solver. Experimented with bytes32 accounts & compatibility with non-EVM chains.
- Cook Some Hooks - style hook generator using LLMs to produce compiling and deployed hooks.
- IntegrumSwap - chain exchange using NoOp hooks for asynchronous RFQ swap fulfillment, with fallbacks to v4 liquidity.
- Hookathon C1
- All my π¦ Read on L1 - chain arbitrage (LVR) on Scroll pools.
- HookRank
- X-DataAggregator
- Liquid Delegation - sharing with wrapped-ARB liquidity providers.
- liqu1tent - chain swaps w/ ERC-7683 settlement contract & solver. Experimented with bytes32 accounts & compatibility with non-EVM chains.
- IntegrumSwap - chain exchange using NoOp hooks for asynchronous RFQ swap fulfillment, with fallbacks to v4 liquidity.
- Vortex Protocol
- DiamondX
- V4-orderbook - based orderbook.
- FlexFee
- AutoMate - chain tasks.
- Oolong.xyz - rebalancing.
- Ampli - custodial margin protocol with protocol provided liquidity built on top of Uniswap v4.
- Advanced Orders
- Timelock Addition to the Points Loyalty Repo - down Incentivized Liquidity using a beforeRemoveLiquidity hook to ensure sufficient time has passed.
- StableSwap - liked AMM.
- Concentrated Incentives Hook
- LBP Hook
- Auto Compound
- LiquidityLock
- Liquidity Mining on V4
- LiquidityLock
- Fidelity Hook
- Lumis - based options & Liquidity-as-a-service.
- LoyalSwap
- FairLaunchoor
- Dortfolio
- UniMarket
- Levery
- Mev Auction Hook
- Internal Swap Pool Hook
- Liquidity Bet Hook
- Vortex Protocol
- DiamondX
- V4-orderbook - based orderbook.
- FlexFee
- Squared
- AutoMate - chain tasks.
- Oolong.xyz - rebalancing.
- Ampli - custodial margin protocol with protocol provided liquidity built on top of Uniswap v4.
- UniCast - look event hook for LSTs and yield-bearing tokens.
- Advanced Orders
- Timelock Addition to the Points Loyalty Repo - down Incentivized Liquidity using a beforeRemoveLiquidity hook to ensure sufficient time has passed.
- StableSwap - liked AMM.
- Concentrated Incentives Hook
- Fidelity Hook
- LBP Hook
- Auto Compound
- Degen Options
- LiquidityLock
- Liquidity Mining on V4
- LiquidityLock
- Lumis - based options & Liquidity-as-a-service.
- LoyalSwap
- FairLaunchoor
- Dortfolio
- UniMarket
- Levery
- Mev Auction Hook
- Internal Swap Pool Hook
- Liquidity Bet Hook
- Simple LP Rebalancer
- Simple LP Rebalancer
- Trailing Hook
- am-AMM hook - managed AMM that enhance price discovery, reduce impermanent loss, and offer more liquidity in equilibrium than any standard, fixed-fee AMM.
- Realized Volatility Based Dynamic Fee Hook
- Trailing Hook
- am-AMM hook - managed AMM that enhance price discovery, reduce impermanent loss, and offer more liquidity in equilibrium than any standard, fixed-fee AMM.
- Auction-managed perpetual options
- Catapoolt
- Fungi Hook
- ETHGlobal London 2024
- Apeful - ethglobal-london)): A hook that enables user incentives on Uniswap V4 pools by automatically generating AI-based NFTs when the user does specific action with ApeCoins, everything completely onchain.
- The Incredible Hook - incredible-hook)): A hook that enables user to get their transaction sponsored in exchange for a discount on swap fees for the sponsor, a win-win deal.
- SuckerPunch
- Dynamic AMM Fees
- TokenTown - 7a1hp)): A Monopoly-inspired, onchain board game where in-game properties are purchased with a stepwise price via a custom-curve v4 pool.
- 0xEstate - gmqr0)): A marketplace that leverages v4 hooks to provide liquidity to fractional real estate. Hooks enabled constraints for purchases of onchain assets.
- Royalty Swap - swap-n8y1i)): A hook to provide discounted swap fees for high volume traders
- FairArbooors - uq81v)): SUAVE auctions for the right to perform top-of-block swaps, with auction proceeds being donated to LPs.
- ETHGlobal Istanbul 2023
- SUClave - ethglobal-istanbul/)): A hook that controls initial swap access. This democratizes MEV and ensures equitable swap opportunities in liquidity pools.
- Auction-managed perpetual options
- Catapoolt
- Fungi Hook
- ETHGlobal London 2024
- Apeful - ethglobal-london)): A hook that enables user incentives on Uniswap V4 pools by automatically generating AI-based NFTs when the user does specific action with ApeCoins, everything completely onchain.
- The Incredible Hook - incredible-hook)): A hook that enables user to get their transaction sponsored in exchange for a discount on swap fees for the sponsor, a win-win deal.
- Dynamic AMM Fees
- TokenTown - 7a1hp)): A Monopoly-inspired, onchain board game where in-game properties are purchased with a stepwise price via a custom-curve v4 pool.
- 0xEstate - gmqr0)): A marketplace that leverages v4 hooks to provide liquidity to fractional real estate. Hooks enabled constraints for purchases of onchain assets.
- Royalty Swap - swap-n8y1i)): A hook to provide discounted swap fees for high volume traders
- FairArbooors - uq81v)): SUAVE auctions for the right to perform top-of-block swaps, with auction proceeds being donated to LPs.
- ETHGlobal Istanbul 2023
- SUClave - ethglobal-istanbul/)): A hook that controls initial swap access. This democratizes MEV and ensures equitable swap opportunities in liquidity pools.
- Toxic Fl-no - fl-no)): A dynamic fee hook, rewarding valuable participants in the ecosystem by adjusting Uniswap pool fees based on user behavior within a Suave contract, promoting equitability.
- Toxic Fl-no - fl-no)): A dynamic fee hook, rewarding valuable participants in the ecosystem by adjusting Uniswap pool fees based on user behavior within a Suave contract, promoting equitability.
- Aggeragator Hook - Hook)): A hook enables LPs in other DEXes to optimize their Uniswap V4 positions, streamlining liquidity management. It facilitates JIT activation for profitable ranges.
- ETHOnline 2023
- Perks
- Delegated Liquidity - liquidity)): Empowers token delegates to vote on governance proposals without missing out on providing liquidity.
- HOOK Finance - finance/hook-finance-hook)) : A hook that enables perpetual trading as a Uniswap V4 Hook! An innovative way to introduce perpetual markets to V4.
- Protecc
- Orderbook Hook - 2.0-contracts/tree/main/contracts/uniswapv4)): A Uniswap v4 hook blending the immediacy of AMM systems with the detail-oriented nature of orderbooks.
- ETHGlobal New York 2023
- MEVictim Rebate
- Fair Trade - trade-nyc-mb)): A Uniswap v4 pool that launches tokens with safety guarantees for future token holders and traders. Designed to be a hook to be added to pools to protect against shit-coin ruggings.
- NFT Pool Party
- ReCentFi - powered platform to reward eco-friendly action. Users pick up trash, upload videos for verification, and gain exclusive access to βcleanβ Uniswap pools with verification gated hooks added to them.
- 0xY - hack-fe)): Borrowing protocol offering put-protected term loans that protect against price liquidation. A Uniswap V4 pool implements custom hooks that lends to the protocol whenever the price moves out of range for a user's LP.
- Axiom LP Mgmt - axiom-rebalancing/)): A Uniswap v4 hook and position manager to enable trustless LP modification with Axiom. Modifies positions on Uniswap pools automatically so that LPs can passively make better returns.
- UniV4 CCLP Hook
- Aggeragator Hook - Hook)): A hook enables LPs in other DEXes to optimize their Uniswap V4 positions, streamlining liquidity management. It facilitates JIT activation for profitable ranges.
- ETHOnline 2023
- Perks
- Delegated Liquidity - liquidity)): Empowers token delegates to vote on governance proposals without missing out on providing liquidity.
- HOOK Finance - finance/hook-finance-hook)) : A hook that enables perpetual trading as a Uniswap V4 Hook! An innovative way to introduce perpetual markets to V4.
- Protecc
- Orderbook Hook - 2.0-contracts/tree/main/contracts/uniswapv4)): A Uniswap v4 hook blending the immediacy of AMM systems with the detail-oriented nature of orderbooks.
- ETHGlobal New York 2023
- MEVictim Rebate
- NFT Pool Party
- ReCentFi - powered platform to reward eco-friendly action. Users pick up trash, upload videos for verification, and gain exclusive access to βcleanβ Uniswap pools with verification gated hooks added to them.
- 0xY - hack-fe)): Borrowing protocol offering put-protected term loans that protect against price liquidation. A Uniswap V4 pool implements custom hooks that lends to the protocol whenever the price moves out of range for a user's LP.
- TimeConcentrate
- Axiom LP Mgmt - axiom-rebalancing/)): A Uniswap v4 hook and position manager to enable trustless LP modification with Axiom. Modifies positions on Uniswap pools automatically so that LPs can passively make better returns.
- Arb Controller - controller-ETHNYC)): A Uniswap v4 hook that sets dynamic fee for a pool based on the price movements. The dynamic fee partially discriminates informed order flow from arbitrageurs.
- NYCV4Hermit - Hook-LAB)): Three libraries of tooling developed for Liquidity Sniping (Liquidity Snipping Blocking Hook), V4 Math, and a V4 Quoter Library.
- Lime - offchain-pricing)): An active Uniswap V4 hook manager which allows fillers or market makers to set price and fill Intent / RFQ based swap requests.
- Median Price Oracle
- Impermanent Loss Hedge (Makemake)
- Hedge
- Trading Hours
- Dynamic Fee
- Arb Controller - controller-ETHNYC)): A Uniswap v4 hook that sets dynamic fee for a pool based on the price movements. The dynamic fee partially discriminates informed order flow from arbitrageurs.
- UniV4 CCLP Hook
- TimeConcentrate
- NYCV4Hermit - Hook-LAB)): Three libraries of tooling developed for Liquidity Sniping (Liquidity Snipping Blocking Hook), V4 Math, and a V4 Quoter Library.
- Lime - offchain-pricing)): An active Uniswap V4 hook manager which allows fillers or market makers to set price and fill Intent / RFQ based swap requests.
- Median Price Oracle
- Impermanent Loss Hedge (Makemake)
- Hedge
- Trading Hours
- Dynamic Fee
-
-
π Thanks
-
π‘ Creative Ideas
-
From Hackathon
- Sandwich-resistant Hook - resistant Uniswap v4 hook based on "A SANDWICH-RESISTANT AMM" from Umbra Research.
- The Null Fee Idea
- Doppler - bootstrapping hook design on top of Uniswap v4.
- Sandwich-resistant Hook - resistant Uniswap v4 hook based on "A SANDWICH-RESISTANT AMM" from Umbra Research.
- The Null Fee Idea
- Doppler - bootstrapping hook design on top of Uniswap v4.
- Loss Versus Rebalancing Minimization - domain MEV sources within the DEX ecosystem, specifically on loss-versus-rebalancing (LVR).
- Oracleless Lending Protocol - free operations, and enhanced earnings for liquidity providers.
- What bad hooks look like
- UniBrain Hook
- Loss Versus Rebalancing Minimization - domain MEV sources within the DEX ecosystem, specifically on loss-versus-rebalancing (LVR).
- Oracleless Lending Protocol - free operations, and enhanced earnings for liquidity providers.
- What bad hooks look like
- UniBrain Hook
-
-
π See Also
-
From Hackathon
- Uniswap v4: A New Era For Defi - - highlighting hooks' ability to attract liquidity, design new interfaces, and bridge DeFi into the mainstream.
- Contribution Guidelines for Uniswap v4 Core
- The Uniswap Hook Incubator - week program to help advanced DeFi devs build hooks.
- Uniswap v4: A New Era For Defi - - highlighting hooks' ability to attract liquidity, design new interfaces, and bridge DeFi into the mainstream.
- Contribution Guidelines for Uniswap v4 Core
- The Uniswap Hook Incubator - week program to help advanced DeFi devs build hooks.
-
-
π Tools
-
π Templates
-
From Hackathon
- Uniswap Foundation's Template
- SolidityLabs' Template - based template for developing custom pool in Uniswap v4 with hooks.
- Arrakis' Playground - based application that allows you to interact with hooks. You can use this playground to test your own hooks or to learn more about how hooks work. This playground can be used to test the functionality of your hooks by simulating swaps.
- Lucas Martin Calderon's Template
- Nick Addison's Template
- Quantum3 Labs's Scaffold
- Gnome101's Hardhat Template
- Arrakis' Playground - based application that allows you to interact with hooks. You can use this playground to test your own hooks or to learn more about how hooks work. This playground can be used to test the functionality of your hooks by simulating swaps.
- Uniswap Foundation's Template
- SolidityLabs' Template - based template for developing custom pool in Uniswap v4 with hooks.
- Lucas Martin Calderon's Template
- Nick Addison's Template
- Quantum3 Labs's Scaffold
- Gnome101's Hardhat Template
-
-
π Tutorials
-
From Hackathon
- Uniswap Foundation: v4 by Example
- LearnWeb3: On-chain "take-profit" orders hook - profit' positions, exemplified by the scenario where a user in an ETH/DAI pool can set an automatic order to sell all their ETH when the price reaches a determined price.
- Solidity Developer: Integrate Uniswap v4 and create a custom hook
- James Bachini: Introduction to Hooks
- Saucepoint: Getting Started with the `v4-template` - by-step guide to using the `v4-template` to create a custom hook, with testing and trouble-shooting tips.
- Captain Hook: Uniswap Hooks Tutorial
- Umbrella Research: A Deep Dive With Captain Hook (I) - based features within the Uniswap v4 protocol.
- Umbrella Research: Uniswap v4 Hooks Guide (II) Dynamic Fees Hook
- Rahat: Exploring Hooks on Uniswap V4 - Developer Relations Engineer at Uniswap.
- Uniswap Foundation: v4 by Example
- Solidity Developer: Integrate Uniswap v4 and create a custom hook
- James Bachini: Introduction to Hooks
- Saucepoint: Getting Started with the `v4-template` - by-step guide to using the `v4-template` to create a custom hook, with testing and trouble-shooting tips.
- Captain Hook: Uniswap Hooks Tutorial
- Umbrella Research: A Deep Dive With Captain Hook (I) - based features within the Uniswap v4 protocol.
- Umbrella Research: Uniswap v4 Hooks Guide (II) Dynamic Fees Hook
- Rahat: Exploring Hooks on Uniswap V4 - Developer Relations Engineer at Uniswap.
-
-
π‘ Articles
-
From Hackathon
- A Saga of Hooks, Bidding Farewell to Fork Swap
- Threat modeling for secure integration
- SharkTeam's Best Security Practices for UniswapV4 Hooks
- Community Contributions to Uniswap v4
- A Saga of Hooks, Bidding Farewell to Fork Swap
- Threat modeling for secure integration
- SharkTeam's Best Security Practices for UniswapV4 Hooks
- Community Contributions to Uniswap v4
- Uniswap V4: Exploring Hooks, KYC, and Enhanced Features
- Threats for UniswapV4 hooks
- Uniswap V4: Re-Initialization Leading to Funds Locked - Initialization Leading to Funds Locked".
- Uniswap V4: Liquidity Theft via Hook Fee
- Uniswap V4: Oracle hook with malicious owner
- Threats for UniswapV4 hooks
- Uniswap V4: Re-Initialization Leading to Funds Locked - Initialization Leading to Funds Locked".
- Uniswap V4: Liquidity Theft via Hook Fee
- Uniswap V4: Exploring Hooks, KYC, and Enhanced Features
- Uniswap V4: Oracle hook with malicious owner
- UniswapV4: Further research to improve hooks security
-
-
πΏ Videos
-
From Hackathon
- Hayden Adams announcing the release of Uniswap V4 (Bankless) - minute video covering the release of Uniswap v4, including the hook centric roadmap at [43:29](https://youtu.be/ZmhdNiGOMRU?si=Txqbp0wLnU8gdQn4&t=2609).
- Hayden Adams on what makes v4 special (Unchained Podcast) - minute video highlighting v4 including an explanation of hooks, their most common uses, and security concerns starting at [21:05](https://youtu.be/KNK-W8JDuWg?si=a4RIqonO1Bj-DpCf&t=1265).
- Uniswap V4 Deep Dive with Head of Protocols Sara Reynolds (The Defiant) - minute video discussing v4 including an overview of hooks and attack vectors starting at [4:30](https://www.youtube.com/live/6e8n_GedrMY?si=l5lSMSUOvZ54w4HP&t=270).
- Uniswap v4: Hooks, Singletons and Controversy (Blockcast) - minute video exploring v4 including a discussion of hooks starting at [1:21](https://youtu.be/cu5S87U2dXs?si=7TaaqhjZ4WmpOjb_&t=81).
- Hayden Adams announcing the release of Uniswap V4 (Bankless) - minute video covering the release of Uniswap v4, including the hook centric roadmap at [43:29](https://youtu.be/ZmhdNiGOMRU?si=Txqbp0wLnU8gdQn4&t=2609).
- Hayden Adams on what makes v4 special (Unchained Podcast) - minute video highlighting v4 including an explanation of hooks, their most common uses, and security concerns starting at [21:05](https://youtu.be/KNK-W8JDuWg?si=a4RIqonO1Bj-DpCf&t=1265).
- Uniswap V4 Deep Dive with Head of Protocols Sara Reynolds (The Defiant) - minute video discussing v4 including an overview of hooks and attack vectors starting at [4:30](https://www.youtube.com/live/6e8n_GedrMY?si=l5lSMSUOvZ54w4HP&t=270).
- Uniswap v4: Hooks, Singletons and Controversy (Blockcast) - minute video exploring v4 including a discussion of hooks starting at [1:21](https://youtu.be/cu5S87U2dXs?si=7TaaqhjZ4WmpOjb_&t=81).
-
Programming Languages
Categories
Sub Categories