highLogic errorEVM-Solidity
AlephZeroAMM: mint_fee` collects fee from adding and removing liquidity
- Payout
- $0
- Protocol
- AlephZeroAMM
- Disclosed
- Jan 22, 2024
- Source
- hats
AlephZeroAMM's Uniswap-v2-style pair contract miscomputes the k_last accumulator used by the protocol fee logic when liquidity is first provided. Because k_last is derived from a local reserves tuple that is still (0,0) on the initial mint, the sqrt(k_last)==0 …
Similar reports
- No close matches yet.
References
- https://github.com/hats-finance/AlephZeroAMM-0x0d88a9ece90994ecb3ba704730819d71c139f60f/issues/37
- https://github.com/hats-finance/AlephZeroAMM-0x0d88a9ece90994ecb3ba704730819d71c139f60f
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.