Home Blockchain Solidity Huff 1理解evm
Post
Cancel

Blockchain Solidity Huff 1理解evm

refer to:
https://docs.huff.sh/tutorial/evm-basics/#technical

Stack

EVM的stack machine是1024个层次,每个层次是32bytes.

后入先出( last in, first out )

Memory: 可扩展(可改变) 消耗gas 

calldata   跟memory 非常类似,不能扩展。 作为contract的输入

两者都不会保存到链上,用完就会被抛弃。

This post is licensed under CC BY 4.0 by the author.