An exchange that leverages Uniswap v4 hooks to verify the humanity of a user with Worldcoin.
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.
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: