Query and Auto compound following cron for cake-cake poolCakePool is migrated to MasterChefV2, no manual compound. Currently, it checks CAKE earning from last action.- Notify with Line Notify or Telegram
Environment is defined in .env
or using command-line argument, -dev
in case using the binary file. Default is production
.
- docker
-
Find any contract you like, both abi and binary find and save in to your local machine
-
Start docker and run this command
(<...> fill in this first)
docker run --rm -v <path-to-your-contract-folder>:/sources -v <path-to-your-contract-folder>:/output ethereum/client-go:alltools-latest abigen --bin=/sources/<your-contract-binary-file> --abi=/sources/<your-contract-abit> --pkg=<package-name> --out=/output/<go-file-name>
-
Run
sudo chmod 755 <path-to-your-contract-folder>/<go-file-name>
-
Copy your go file to
contracts
folder in the project