Skip to content

alvatar/fugg

Repository files navigation

Chaos Token

This project is based on Scaffold-ETH 2

Links

Installation

Install project dependencies

yarn install

Install Solidity dependencies

yarn add @chainlink/contracts

Change FUGG contract

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)

Change FuggAction contract

1. Deploy FuggAction
2. Transfer ownership of Link (script)

Deploy from scratch

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

Static Analysis

python3 -m venv myenv && source myenv/bin/activate
pip3 install mythril
pip3 install slither-analyzer
# deactivate when done

Run tests

# 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

About

The Chaos Token

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors