This project is based on Scaffold-ETH 2
yarn install
yarn add @chainlink/contracts
1. Deploy Fugg and FuggAction
2. Transfer ownership of Link (script: remember to update old address)
3. Bootstrap pool with new token (script)
4. Update contractAddresses (CAMELOT_PAIR)
1. Deploy FuggAction
2. Transfer ownership of Link (script)
1. Deploy all contracts (set all to true in 00_deploy)
2. Bootstrap liquidity, so price can be retrieved
3. Test, and then update lock time
python3 -m venv myenv && source myenv/bin/activate
pip3 install mythril
pip3 install slither-analyzer
# deactivate when done
# 1. Copy dependencies to the contracts folder, it's the easiest way
export SOLC_VERSION=0.8.17
solc install 0.8.17
myth analyze FuggLiquidityLock.sol
slither . --print human-summary