...限制函数参数的有效范围。例如:
```solidity
function foobar(uint256 x) public {
require(x < 100, "I'm not happy with the number you picked");
// 后续逻辑
}
```
在上述代码中,如果 x 的值大于等于 100,交易将触发回滚(revert),状态变更...
## Highlights
### SBC'24 Live Presentations
A live stream for the Science of Blockchain Conference (SBC) 2024 presentations taking place August 7-9 at Columbia University
-
### 0xPARC: Programmable Cryptography (Part 1)
Cryptography is undergoing a generational transition, from special-purpos...