Findings
Issue 01
Description
Lack of events in the contract
Recommendation
Consider emitting events when changing the state of the contract
Issue 02
Description
_transfer
calls the external function swapExactTokensForETHSupportingFeeOnTransferTokens
. Since this function can be called during _transfer
, it may cause _transfer
to fail unnecessarily.
Recommendation
Use try-catch when calling external functions in critical path flows. Our recommendation is to Always make sure error cases are handled gracefully in critical functions such as _transfer
Last updated