project screenshot 1
project screenshot 2
project screenshot 3

V3 Liquidity Governance

The project is a DAO that attributes voting power as V3 liquidty pools where the bounds of the pool multiply the amount of voting rewards.

V3 Liquidity Governance

Created At

ETHGlobal Waterloo

Winner of


🏆 DELV — Best VotingVault

Project Description

This project uses DELV as the structure for the DAO aspect. This allows for the project to have a proposal system, quorum system, and a Treasury. The most interting area of the project is the V3Vault, which is the voting vault that creates uniswap V3 positions. In order to keep in line with DELV's hash based storage system, the uniswapV3 system uses DELV's storage contracts and patterns. A user provides our governance token, weth, and the width of their position. The width of the position is the distance of each token bound from the center tick at purchase. An important feature of this system is that when a users vote is queried, it checks to see if their position is still within bounds because voting power is only rewarded to users that are providing active liquidity. The other vault is the otherChainVault, this one is similar to the V3 vault, except it features a section that sends the details of the position created to the main vault, which attributes the voting power to the user. In combination, this system allows for users to hold liquidity positions on different chains, while receiving voting power for them.

How it's Made

The main technologeis behind this project are DELV, Uniswap V3, and Hyperlane. DELV was used for its governance contracts, particular its History.sol contract which prevents flashLoans from corrupting votes. Uniswap V3 and DELV are directly integrated together in the V3 vault, where the position info is related to the amount of voting power granted to the user. This amount of voting power specifically is the total amount of liquidty provided, which scales as the user tightens their bounds or provides more tokens. DELV was useful for this aspect of the project because they provided an easy means to look back at timestamps and search for the amount of voting power a user held at a particular time, or in our case, which V3 positions a user had a specific time. A particularity hacky thing that was done was the votingPower system was reconfigured to record the NFTs sequentailly, so the contract could then know how many NFTs to loop through in totaling up voting power while the price of the token changes. The other sponsor related technology is that we integrated hyperlane. Hyperlane was used to integrate the otherChainVault and the V3Vault together. The position info produced by the minting of a Uniswap v3 position on the otherChainVault was sent to the V3Vault via Hyperlane.

background image mobile

Join the mailing list

Get the latest news and updates