WARNING: this code deals with money both by making blockchain calls and returning information that can be used to lose/gain money. Please use cautiously and dont come complaining if you end up losing money.
go-compound is a Golang client, and library for interacting with the compound.finace API, and interacting with the compound contracts, allowing for the creation of bots trading with the Compound protocol.
Contents
abi contains json abi definitions for various compound smart contracts
bindigns contains abigen generated golang bindings for the various abi's
client contains a client library to build applications that use the compound.finance API and interact with the smart contracts
cmd contains a small command-line client
models contains Golang types for the various responses that the API gives. Currently it has types for CTokenService and AccountService responses.
pb contains protobuf definitions for the compound APIs. Do not use
sampler contains sampler configurations to enable console based monitoring of your compound accounts