Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (18 loc) · 510 Bytes

README.md

File metadata and controls

18 lines (18 loc) · 510 Bytes

constant-sum automated market maker

proof-of-concept of a constant-sum AMM, aka a liquidity pool where the relation between its assets is determined by the following invariant:

x + y = k

Run unit/integration tests

yarn install
yarn test

Run Echidna fuzzing tests

docker pull trailofbits/eth-security-toolbox
docker run -it -v "$PWD":/home/training trailofbits/eth-security-toolbox
solc-select 0.8.10
cd /home/training
echidna-test . --contract EchidnaCSAmm --config config.yaml