openlang
语言/智能合约

Solidity

简介

智能合约语言,外部调用会转移控制权,所以重入、状态更新的顺序和 gas 限制都是程序设计的一部分。

文档

使用这门语言的成员

参与的讨论

2
  1. Solidity reverts on overflow, Rust release builds wrap

    Since Solidity 0.8, arithmetic reverts on overflow and underflow. Turning that off takes an explicit unchecked { ... } block.…

    回复 4最近活动 solidityrust
  2. Upgradeable means the storage layout is forever

    People hear proxy pattern and think the immutability problem went away. It moved. The proxy holds the state and forwards call…

    回复 3最近活动 solidity

Logo 来源 ↗