package
1.0.0
Repository: https://github.com/postables/go-compound.git
Documentation: pkg.go.dev

# Functions

NewBClient registers a new blockchain client.
NewClient is used to instantiate a new go-compound client.

# Constants

CompoundBAT is the address of the cBAT contract.
CompoundDAI is the address of the cDAI contract.
CompoundETH is the address of the cETH contract.
CompoundREP is the address of the cREP contract.
CompoundSAI is the address of the cSAI contract.
CompoundUSDC is the address of the cUSDC contract.
CompoundWBTC is the address of the cWBTC contract.
CompoundZRX is th eaddress of the cZRX contract.
Comptroller is th address of the comptroller contract.
Unitroller is the address of the unitroller contract.

# Variables

CompoundTokens is map containing the name, and address of all compound tokens.

# Structs

BClient is an ethereum blockchain client.
Client is used to interact with the compound.finance api.
LiquidateOpts is used to provide input parameters to LiquidateBorrow functinos.

# Type aliases

Address is a compound contract address type.