返回博客

Solidity 安全实践指南

发布于

Smart ContractSoliditySecurity

重入攻击

使用 checks-effects-interactions 模式。

溢出

Solidity 0.8+ 已内置溢出检查。