Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update units-and-global-variables.rst #131

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion units-and-global-variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
- ``block.timestamp`` (``uint``): 自 unix epoch 起始当前区块以秒计的时间戳
- ``gasleft() returns (uint256)``:剩余的 gas
- ``msg.data`` (``bytes``): 完整的 calldata
- ``msg.gas`` (``uint``): 剩余 gas - 自 0.4.21 版本开始已经不推荐使用,由 ``gesleft()`` 代替
- ``msg.gas`` (``uint``): 剩余 gas - 自 0.4.21 版本开始已经不推荐使用,由 ``gasleft()`` 代替
- ``msg.sender`` (``address``): 消息发送者(当前调用)
- ``msg.sig`` (``bytes4``): calldata 的前 4 字节(也就是函数标识符)
- ``msg.value`` (``uint``): 随消息发送的 wei 的数量
Expand Down