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 Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents the module that allows to get the token prices
func (*Module) RegisterPeriodicOperations ¶
RegisterPeriodicOperations implements modules.PeriodicOperationsModule
func (*Module) RunAdditionalOperations ¶
RunAdditionalOperations implements modules.AdditionalOperationsModule
func (*Module) UpdatePrice ¶
UpdatePrice fetches the total amount of coins in the system from RPC and stores it in database
func (*Module) UpdatePricesHistory ¶
UpdatePricesHistory fetches total amount of coins in the system from RPC and stores historical perice data inside the database
Source Files ¶
Click to show internal directories.
Click to hide internal directories.