package
0.0.24-rc9
Repository: https://github.com/bonedaddy/go-indexed.git
Documentation: pkg.go.dev

# Functions

IsValidAsset determines whether or not the given asset is one we are tracking.
New returns a new database client.
ToAsset is a helper function to type convert string -> Asset.

# Variables

Assets are all currently supported assets for which we track prices.
ErrInvalidAsset is an error returned when the given asset specified is invalid.

# Structs

No description provided by the author
Model is a copy of the gorm model type but using slightly different configurations.
Opts is used to configure database connections.
Price is a given price entry for an asset.
TotalSupply is used to track the total supply of a given asset.
TotalValueLocked records the USD value of funds locked within index pool.

# Type aliases

Asset is a given crypto asset tracked by it's Ticker symbol.