Unused code
The codebase contains multiple pieces of unused code.
For example, the VotingEscrow contract retains the information of whether a user voted or abstained, and the Voter contract calls the VotingEscrow contract to update the information. However, this does not serve any functionality in the current codebase.
Additionally, the Voter contract utilizes the pools
mapping variable, but its presence does not impact the functionality of the code since this variable simply maps the token address to itself.
We recommend removing any unused code to maintain a clean and efficient codebase.