# installs git dependencies pinned in foundry.toml (into ./lib)
# (this repo does not use git submodules)
forge install
forge buildforge test
Go to test folder for more details on how to run different tests.
Go to docs to understand the high-level design, transaction flow, and how different Derive V2 components work together.
Static Analysis - Slither
Please go to the link above for detail to install. To run the analysis:
slither srcGot to scripts to understand how to deploy Derive v2 to different networks.
Mainnet: 957 Testnet: 901
Within each chain, the structure is:
- <TOKEN_NAME>.json -> feed contracts / asset addresses / currency specific managers (e.g. PMRM2)
- core.json -> Standard Manager / Cash Asset / Liquidations / main account deployment / helpers
- shared.json -> underlying erc20s / feed signers
