Skip to content

Foundry Repo with tests to figure out how AMMs work

Notifications You must be signed in to change notification settings

Badger-Finance/pool-math-foundry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork OP

forge test --fork-url https://opt-mainnet.g.alchemy.com/v2/KEY

Collecting Data

forge test --fork-url https://opt-mainnet.g.alchemy.com/v2/KEY -vv

Remember to use -vv (only 2) so you only see logs from us

Velo test

forge test --match-contract VeloStable --fork-url https://opt-mainnet.g.alchemy.com/v2/KEY -vv

CURVE TESTS

forge test --match-contract CurveStable --fork-url https://opt-mainnet.g.alchemy.com/v2/KEY -vv

BAL TESTS

forge test --match-contract BalancerStable --fork-url https://opt-mainnet.g.alchemy.com/v2/KEY -vv

WARNING

Balancer is just forking so you will get odd results

About

Foundry Repo with tests to figure out how AMMs work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 100.0%