What Tech Stack Powers a Secure DeFi Platform? Smart Contracts, Oracles, Subgraphs and Wallets Explained