Oracle Safety: Why a Spot Price is Exploitable and How TWAPs and Chain
Smart contracts often rely on external data to make decisions, such as price feeds for decentralized exchanges or lending protocols. However, using a single spot price from an orac