We were tasked with auditing the liquidity staker codebase of the Alliance Block foundation which aims to introduce novel features to conventional liquidity staker implementations.
The project deviates greatly from the liquidity staker implementation of Uniswap it is based on by introducing multi token rewards, lock based mechanisms, staking pool migrations and more.
The system has been developed in a compose-able fashion, containing seperate contract implementations for dedicated features that the pools should provide users with, such as locked exits. The system attempts to keep the core principles of the original staking implementation intact by retaining the calculation accumulation mechanisms as close to the original as possible.
The mechanisms used by the system include a factory based approach that deploys new contracts solely controlled by their owner, a whitelist based access control on the cross-pool migrations and an intricate delayed withdrawal system via dedicated lock deployments that provide boosts to the final staking rewards.
During the audit, we filtered and validated a total of 10 findings utilizing static analysis tools as well as identified a total of 60 findings during the manual review of the codebase. We strongly recommend that any minor severity or higher findings are dealt with promptly prior to the project's launch as they introduce potential misbehaviours of the system as well as exploits.
The list below covers each segment of the audit in depth and links to the respective chapter of the report: