






















Code: ROM (Read-only memory) calldata: arguments
There are two types of instructions: Arithmetic including SHA3 and sys operations like create [contract], call [contract], and delegate call, etc.
CALL - called code is executed in the context of called contract CALLLOAD - called code is executed in the context of the current contract, msg.sender is calling contract DELEGATECALL - similar to callload except for msg.sender remains unchanged
Exceptions: leads to execution halting
check-effects-interaction paradigm
| |
Events can be used for getting callbacks and executing a task in response to a change on the chain.
Use selfdestruct(beneficiary) to kill a contract and send the leftover money to the beneficiary.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。