Module eip7708

Module eip7708 

Source
Expand description

Constants for EIP-7708: ETH transfers emit a log.

This EIP specifies that all ETH transfers (transactions, CALL, SELFDESTRUCT) emit a log, making ETH transfers trackable like ERC-20 tokens.

Constantsยง

ETH_TRANSFER_LOG_ADDRESS
The system address used as the log emitter for ETH transfer events.
ETH_TRANSFER_LOG_TOPIC
The topic hash for the Transfer event: keccak256("Transfer(address,address,uint256)").
SELFDESTRUCT_TO_SELF_LOG_TOPIC
The topic hash for self-destruct to self events.