---
# System prepended metadata

title: 'Hacken''s Reports: Election contracts'

---

# Hacken's Reports: Election contracts


- Requirements Violation
> “The staking stream will be stopped in advance before the actual election of the Council Members. All remaining Vote Tokens will be burned"

This `burn` function was implemented in the vote token [here](https://github.com/aurora-is-near/aurora-voting-contracts/blob/9abea3884426bd23c0bb4a9a253799790356fb2b/contracts/AuroraVoteTokenV1.sol#L132) and the assumption here is that the stream admin gets the remaining un-streamed VOTE then burns them manually.

- Potential Out-of-Gas Exception

> limit the number of candidates that can participate in the election or make sure these functions are only called off-chain, where Gas limits are not an issue.

The limit here is unncessary as the election result will rely on off-chain computation by tracking the events.