Security Threat Mitigation for Smart Contracts: A Comprehensive Survey | Synapse