What is Event Log?
An event log is a record emitted by a smart contract during transaction execution — providing a gas-efficient way to record data that's accessible to off-chain applications but not to other smart contracts.
WHY IT MATTERS
Events are smart contracts' communication channel to the outside world. When a contract emits an event (like Transfer(from, to, amount)), it's recorded in the transaction receipt's logs. Off-chain applications, indexers, and frontends monitor these events.
Events are cheaper than storage (~375 gas per byte in event data vs 20,000 gas per 32-byte storage write). This makes them ideal for recording historical data that doesn't need to be accessed on-chain.
The ERC-20 Transfer event, for example, is how wallets track token movements, block explorers display transfers, and analytics platforms calculate volumes. Events are fundamental to the dApp data layer.