|
|
## EVM-LOG指令定义
|
|
|
> 参考:<https://ethervm.io/#LOG0>
|
|
|
|
|
|
|uint8|Mnemonic|Stack Input|Stack Output|Expression|Notes|
|
|
|
|---|---|---|---|---|---|
|
|
|
|A0|LOG0|offset,length|-|LOG0(memory[offset:offset+length]) |fires an event
|
|
|
|A1|LOG1|offset,length,topic0|-| LOG1(memory[offset:offset+length], topic0)| fires an event
|
|
|
|A2| LOG2| offset,length,topic0,topic1|-|LOG2(memory[offset:offset+length], topic0, topic1)|fires an event
|
|
|
|A3 |LOG3| offset,length,topic0,topic1,topic2|-|LOG3(memory[offset:offset+length], topic0,topic1,topic2)| fires an event
|
|
|
|A4 |LOG4| offset,length,topic0,topic1,topic2,topic3|-|LOG4(memory[offset:offset+length], topic0, topic1,topic2,topic3)|fires an event
|
|
|
|
|
|
# LOG指令
|
|
|
|
|
|
## 处理流程
|
|
|
**LOG0**
|
... | ... | |