Following EIP-7708, apply on U2U to allow external parties can easily track U2U transfers in internal transactions.
Motivation
Currently, Log are often used to track balance changes of assets on U2U. It’s useful tool for external parties like block explorer, centralized exchange. Logs work for ERC-20 tokens, but do not work for U2U. U2U transfers from EOA can be read from transaction list in the block, but U2U transfers from contract are not automatically logged anywhere. This EIP proposes that we automatically generate a log every time a value-transferring CALL or SELFDESTRUCT happens. We also add a similar log for transfers in transactions, so that all U2U transfers can be tracked using same mechanism with ERC-20.
Interesting!
No longer we tx tracing for querying internal transfers and I also think fee transfer in txs should be excluded.
I wonder what can it be used for.
Abstraction
Following EIP-7708, apply on U2U to allow external parties can easily track U2U transfers in internal transactions.
Motivation
Currently,
Log
are often used to track balance changes of assets on U2U. It’s useful tool for external parties like block explorer, centralized exchange. Logs work for ERC-20 tokens, but do not work for U2U. U2U transfers from EOA can be read from transaction list in the block, but U2U transfers from contract are not automatically logged anywhere. This EIP proposes that we automatically generate a log every time a value-transferringCALL
orSELFDESTRUCT
happens. We also add a similar log for transfers in transactions, so that all U2U transfers can be tracked using same mechanism with ERC-20.