Skip to content

ardislu/minimal-test-erc20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

minimal-test-erc20

This is a minimal ERC-20 implementation intended to be copied into test cases for other smart contracts.

Run static analysis using slither:

slither ./ERC20.sol

Fuzz using forge:

forge test

Run SMTChecker with solc (only works on Linux or WSL for now):

  1. Install z3:
sudo apt install z3
  1. Run SMTChecker:
solc ./test/SMTChecker.sol --model-checker-engine all

About

This is a minimal ERC-20 implementation intended to be copied into test cases for other smart contracts.

Topics

Resources

Stars

Watchers

Forks