以后改
变量
int uint address bool block
global Variables
Global Variables are used to retrieve information about the blockchain, particular addresses, contracts, and transactions.
State Variables
State Variables are stored in the contract storage and thereby on the blockchain.
Local Variables
Local Variables are stored in the memory and their values are only accessible within the function they are defined in.
函数
view
pure
Inputs and Outputs
传出多个参数
Visibility
constant
Modifier
assert and require
Constructor
array
mapping
struct
Payable address
receive() external payable {}
fallback() external payable {}