Emmission of events is one of the best practices in solidity programming ,especially in the recording of crucial activities and actions on-chain. This is very essential for operations which change the state of the blockchain ,and the data is used by off-chain listeners such as Decentralised Apps (dApps) , smart contract auditors , businesses , UI/UX dashboards e.t.c
In BeatToken.sol cobntract , there are various functions which change/modify the state and also token balances but they do not make any emmision of events which would result in a change of state on the blockchain.Some of these functions include mint
,setFestivalContract
and burnFrom
functions.Due to this ,it becomes quite hard to verify /authorize operations and to trace any changes made externally resulting in a more challenging audit process.
Likelihood:
The likelihood of this will occur every time when the festivalContract is set or also when the tokens are minted and/or burned ,therefore making it a high likelihood since many people may attend the festival and more tokens may need to be generated / minted.
Another likelihood is when off-chain systems connected to the festival such as dApps ,which may be promoting the festival through online sale of tickets or various exploreres and other tools of analysis may not necessarily pick up on the state changes made and this leads to a lack of transparency and traceability that may lead people to question the authenticity of the festival as well as provide a leeway for fraudulent activity
Impact:
The non emmission of events for important events does not relay important changes made to state ,thus making it harder to trace and audit for various authorities as well as smart contract auditors .
The hardness of tracing and auditing the state changes mayy lead to a lack of transparency that may put the funds associated with the function at risk of theft , fraud and /or manipultion and such malicious activity might go unnoticed by various bodies such as monitoring systems .
Informational. This protocol doesn't rely on events to function, they are just nice to have, but not mandatory.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.