LAURA token has “removeLiquidityWhenKIncreases” function that decreases uniswap pair balance is K is increased.
Hacker exchanged a huge amount of WETH to LAURA and added some of LAURA and WETH to to uniswap pair to increase K, then called “removeLiquidityWhenKIncreases()” function.
After that he exchanged all LAURA to WETH, as x*y=k got much smaller, he was able to gain much more WETH. Total loss is $48k.
Leave a Reply