Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config contains the configuration about the pricefeed module
func ParseConfig ¶
type HistoryModule ¶
type HistoryModule interface {
UpdatePricesHistory([]types.TokenPrice) error
}
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the module that allows to get the token prices
func NewModule ¶
func NewModule(cfg config.Config, historyModule HistoryModule, cdc codec.Codec, db *database.Db) *Module
NewModule returns a new Module instance
func (*Module) RegisterPeriodicOperations ¶
RegisterPeriodicOperations implements modules.PeriodicOperationsModule
func (*Module) RunAdditionalOperations ¶
RunAdditionalOperations implements modules.AdditionalOperationsModule
Source Files ¶
Click to show internal directories.
Click to hide internal directories.