api

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOracleStatus

func GetOracleStatus(
	c *common.Exporter,
	CommonOracleQueryPath string,
	CommonOracleParser func([]byte) (uint64, error),
	CommonOracleParamsQueryPath string,
	CommonOracleParamsParser func([]byte) (slashWindow, votePeriod, minValidPerWindow, voteWindow float64, err error),
) (types.CommonOracleStatus, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL