Slither property generation tool slither-prop
generates code properties (e.g., invariants) that can be tested with unit tests or Echidna, entirely automatically. The ERC20 scenarios that can be tested are:
- Transferable - Test the correct tokens transfer
- Pausable - Test the pausable functionality
- NotMintable - Test that no one can mint tokens
- NotMintableNotBurnable - Test that no one can mint or burn tokens
- NotBurnable - Test that no one can burn tokens
- Burnable - Test the burn of tokens. Require the "burn(address) returns()" function
- Property Generation Tool
- Code Properties/Invariants
- Test w/Unit Tests or Echidna
- ERC20 Scenarios