Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributionConfig ¶
type DistributionConfig struct {
DistributionFrequency int64 `toml:"distribution_frequency"`
}
type PricefeedConfig ¶
type PricefeedConfig struct {
Tokens []Token `toml:"tokens"`
}
type TomlConfig ¶
type TomlConfig struct { PricefeedConfig *PricefeedConfig `toml:"pricefeed"` DistributionConfig *DistributionConfig `toml:"distribution"` }
func ParseConfig ¶
func ParseConfig(bz []byte) (TomlConfig, error)
Click to show internal directories.
Click to hide internal directories.