The Dispatcher — First Line Of Defense In Any EOS Smart Contract
Back in September 2018, an attacker managed to steal US$200 000 worth of EOS from the EOSBet contract. The attacker exploited a serious bug in a designated entry function of the contract, called the dispatcher. Moreover, the introduced fix only partially closed the security issue, leaving the contract vulnerable. This incident highlights the need for education about security critical details of the dispatcher function.