Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Interval is a time interval in seconds between checking if the price // needs to be updated. Interval uint32 `hcl:"interval"` // Median is a list of Median contracts to watch. Median []configMedian `hcl:"median,block"` // Pairs is a list of pairs to store in the price store. Feeds []types.Address `hcl:"feeds"` // HCL fields: Range hcl.Range `hcl:",range"` Content hcl.BodyContent `hcl:",content"` // contains filtered or unexported fields }
func (*Config) PriceStore ¶
func (c *Config) PriceStore(d PriceStoreDependencies) (*store.PriceStore, error)
type Dependencies ¶
type Dependencies struct { Clients ethereumConfig.ClientRegistry PriceStore *store.PriceStore Logger log.Logger }
Click to show internal directories.
Click to hide internal directories.