Smart Contract Security Demystified: Uncovering The Intricacies