parser

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CelestiaUpgradeParser added in v1.0.1

func CelestiaUpgradeParser(resp []byte) (
	int64,
	string,
	error)

celestia upgrade parser

func CosmosBlockParser

func CosmosBlockParser(resp []byte) (
	int64,
	time.Time,
	string,
	[]types.Tx,
	int64,
	[]types.Signature,
	error,
)

func CosmosSlashingParamsParser added in v1.0.1

func CosmosSlashingParamsParser(resp []byte) (signedBlocksWindow float64, minSignedPerWindow float64, err error)

func CosmosSlashingParser added in v1.0.1

func CosmosSlashingParser(resp []byte) (consensusAddress string, indexOffset float64, isTomstoned float64, missedBlocksCounter float64, err error)

func CosmosStakingValidatorParser

func CosmosStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)

func CosmosStatusParser

func CosmosStatusParser(resp []byte) (
	int64,
	time.Time,
	error,
)

func CosmosUpgradeParser added in v1.0.1

func CosmosUpgradeParser(resp []byte) (
	int64,
	string,
	error)

cosmos upgrade parser

func CosmosValidatorParser

func CosmosValidatorParser(resp []byte) ([]types.CosmosValidator, int64, error)

TODO: modify this function logic

func InitiaStakingValidatorParser

func InitiaStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)

func StorySlashingParamsParser added in v1.0.1

func StorySlashingParamsParser(resp []byte) (signedBlocksWindow float64, minSignedPerWindow float64, err error)

func StorySlashingParser added in v1.0.1

func StorySlashingParser(resp []byte) (consensusAddress string, indexOffset float64, isTomstoned float64, missedBlocksCounter float64, err error)

story slashing parser

func StoryStakingValidatorParser

func StoryStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)

func StoryUpgradeParser added in v1.0.1

func StoryUpgradeParser(resp []byte) (
	int64,
	string,
	error)

story upgrade parser

Types

This section is empty.

Jump to

Keyboard shortcuts

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