← Back to home

Poolswap

An exchange that leverages Uniswap v4 hooks to verify the humanity of a user with Worldcoin.

Screenshots

Poolswap screenshot 1
Poolswap screenshot 2
Poolswap screenshot 3

Problem Statement

Poolswap aims to enable institutions to use KYC in order to regulate the usage of their liquidity pools. In our prototype, the Uniswap v4 hooks set by the institutions limit unidentified users swapping volume. Future versions will implement custom hooks to either restrict or amplify the interaction with the swapping smart contracts to provide benefits to specific target audiences.

Solution

As mentioned before, we verify the humanity of a user with Worldcoin authentification before the swap. Our hook calls the Worldcoin smart contract and applies the conditions, tokenswap volume limits to the swap, if needed. We atomically implement the verification of the user:User requests swapThe liquidity pool smart contract calls the Worldcoin smart contractThe swap is executed with the hook's conditions (limited, unlimited or reverted)

Hackathon

ETHGlobal Brussels

2024

Prizes

  • 🏆

    Pool Prize

    Worldcoin

Contributors