auto-compound

command module
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 18 Imported by: 0

README

auto-compound

  • Query and Auto compound following cron for cake-cake pool CakePool is migrated to MasterChefV2, no manual compound. Currently, it checks CAKE earning from last action.
  • Notify with Line Notify or Telegram

Development in local

Environment is defined in .env or using command-line argument, -dev in case using the binary file. Default is production.

How to generate contract interface

Prerequisite
  • docker
Step
  1. Find any contract you like, both abi and binary find and save in to your local machine

  2. 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>
  1. Run sudo chmod 755 <path-to-your-contract-folder>/<go-file-name>

  2. Copy your go file to contracts folder in the project

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL