Understanding Cryptocurrency Vulnerabilities