Content pfp
Content
@
0 reply
0 recast
0 reaction

Adam pfp
Adam
@adamtj-xyz
has anyone run into the error "panic: arithmetic underflow or overflow" when adding liquidity? My math is probably wrong lol I'm using the liquidity amount library in v4 to figure out how much liquidity i need to add to my pool. https://github.com/atj3097/nft-amm-hook/blob/master/test/NFTAMMHook.t.sol#L131-L163
2 replies
0 recast
0 reaction

Adam pfp
Adam
@adamtj-xyz
this is my full stack trace https://github.com/atj3097/nft-amm-hook/blob/master/test/utils/stacktrace.sol
0 reply
0 recast
0 reaction