Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/tests/check-kspec/safeAdd/spec.md

30 lines
304 B

# spec
```act
behaviour add of SafeAdd
interface add(uint256 X, uint256 Y)
iff in range uint256
X + Y
iff
VCallValue == 0
returns X + Y
```
```act
behaviour addv2 of SafeAdd
interface addv2(uint256 X, uint256 Y)
iff in range uint256
X + Y
iff
VCallValue == 0
returns X + Y
```