storage:存储在EVM上永久空间
memory:存储在EVM中临时空间,function运行完之后就会释放
function
calldata:类似memory,在function执行完后抹除
memory
storage
calldata
本地变量:storage
规则
reference