Documentation
¶
Index ¶
Constants ¶
View Source
const TOTAL_DELEGATE = "total_delegate"
View Source
const TOTAL_REWARD = "total_reward"
Variables ¶
This section is empty.
Functions ¶
func TrimDecimalPlaces ¶
Types ¶
type ValidatorStats ¶
type ValidatorStats struct {
*rdbprojectionbase.Base
// contains filtered or unexported fields
}
func NewValidatorStats ¶
func NewValidatorStats(logger applogger.Logger, rdbConn rdb.Conn) *ValidatorStats
func (*ValidatorStats) GetEventsToListen ¶
func (_ *ValidatorStats) GetEventsToListen() []string
func (*ValidatorStats) HandleEvents ¶
func (projection *ValidatorStats) HandleEvents(height int64, events []event_entity.Event) error
func (*ValidatorStats) OnInit ¶
func (projection *ValidatorStats) OnInit() error
Click to show internal directories.
Click to hide internal directories.