DeFiLabs
In-progress.
This repo aim to learn DeFi projects; how the functionality works, on-chain testing, bug finding, fuzzing, CI, etc.
Getting Started
-
Follow the instructions to install Foundry.
-
Clone and install dependencies:
git submodule update --init --recursive -
To see function signatures you shoul add
--etherscan-api-key YOURAPIKEYat the end of theforge test, you coul get an API key on https://etherscan.io/myapikey
FlashLoan Testing
UniSwapV2 FlashSwap Testing
DODO FlashLoan Testing
AAVE FlashLoan Testing
Balancer FlashLoan Testing
Pancakeswap FlashSwap Testing
Biswap FlashSwap Testing
ChainLink Testing
getLatestPrice | more tests in-progress
Compound Testing
ERC20 - cToken Supply/Redeem/Borrow/Repay | more tests in-progress
Goverance - submit proposal | more tests in-progress
UniswapV3 Testing
Get Time Widget Avarge Tick | Periphery
UniswapV2 Testing
Swap | Router | Pair | Factory | Library
Curve Testing
Swap | more tests in-progress