Content pfp
Content
@
0 reply
0 recast
0 reaction

Robert Leifke pfp
Robert Leifke
@robertleifke
Reposting the question here: If I write a custom invariant with fungible parameters and want a ERC-20 or ERC-4626 representation for the LP position how do I write it as a hook? @zefram Do you have an existing hook implementation for https://github.com/ZeframLou/bunni
2 replies
1 recast
4 reactions

Haardik pfp
Haardik
@haardikkk
Conceptually it’s similar. Users will add liquidity through the hook instead of directly to uniswap. Hook will take their money and add liquidity on its behalf - and issue its own LP token to user See the v4 periphery “fullrange” hook example on GitHub
1 reply
0 recast
3 reactions

Luciano  pfp
Luciano
@luciano
@zefram 👀
0 reply
0 recast
1 reaction