Open code423n4 opened 3 years ago
@cmichelio
DAO.mapPID_finalised is never read in the contract, only written. Remove it and show the finalized state in the frontend based on whether the FinalisedProposal event was emitted
DAO.mapPID_finalised
finalized
FinalisedProposal
https://github.com/vetherasset/vaderprotocol-contracts/commit/6f961e6cd159e905ef53a5a067f956d21f8a46ee
Handle
@cmichelio
Vulnerability details
DAO.mapPID_finalised
is never read in the contract, only written. Remove it and show thefinalized
state in the frontend based on whether theFinalisedProposal
event was emitted