Documentation
¶
Index ¶
- func CelestiaUpgradeParser(resp []byte) (int64, string, error)
- func CosmosBlockParser(resp []byte) (int64, time.Time, string, []types.Tx, int64, []types.Signature, error)
- func CosmosBlockResultsParser(resp []byte) (txsEvents []types.BlockEvent, blockEvents []types.BlockEvent, ...)
- func CosmosConsensusmParamsParser(resp []byte) (float64, float64, error)
- func CosmosSlashingParamsParser(resp []byte) (signedBlocksWindow float64, minSignedPerWindow float64, err error)
- func CosmosSlashingParser(resp []byte) (consensusAddress string, indexOffset float64, isTomstoned float64, ...)
- func CosmosStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)
- func CosmosStatusParser(resp []byte) (int64, time.Time, error)
- func CosmosUpgradeParser(resp []byte) (int64, string, error)
- func CosmosValidatorParser(resp []byte) ([]types.CosmosValidator, int64, error)
- func DecodeAttributes(attributes []types.Attribute) []types.Attribute
- func DecodeEventsInBlockResults(txsEvents []types.BlockEvent, blockEvents []types.BlockEvent) ([]types.BlockEvent, []types.BlockEvent)
- func InitiaStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)
- func ParseFinalityProviderInfos(resp []byte) (types.FinalityProviderInfosResponse, error)
- func ParseFinalityProviderVotings(resp []byte) (types.FinalityVotesResponse, error)
- func ParseFinalityProviders(resp []byte) (types.FinalityProvidersResponse, error)
- func ParserBTCDelegations(resp []byte) (int64, error)
- func ParserBTCLightClientParams(resp []byte) ([]string, error)
- func ParserCovenantCommiteeParams(resp []byte) ([]string, error)
- func ParserFinalityParams(resp []byte) (float64, float64, int64, error)
- func ParserFinalityProviderSigningInfo(resp []byte) (float64, error)
- func StorySlashingParamsParser(resp []byte) (signedBlocksWindow float64, minSignedPerWindow float64, err error)
- func StorySlashingParser(resp []byte) (consensusAddress string, indexOffset float64, isTomstoned float64, ...)
- func StoryStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)
- func StoryUpgradeParser(resp []byte) (int64, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CelestiaUpgradeParser ¶ added in v1.0.1
celestia upgrade parser
func CosmosBlockParser ¶
func CosmosBlockResultsParser ¶ added in v1.1.0
func CosmosBlockResultsParser(resp []byte) (txsEvents []types.BlockEvent, blockEvents []types.BlockEvent, params types.CosmosBlockData, err error)
this function return two events but one of them will be empty events
func CosmosConsensusmParamsParser ¶ added in v1.1.0
func CosmosSlashingParamsParser ¶ added in v1.0.1
func CosmosSlashingParser ¶ added in v1.0.1
func CosmosStakingValidatorParser ¶
func CosmosStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)
func CosmosUpgradeParser ¶ added in v1.0.1
cosmos upgrade parser
func CosmosValidatorParser ¶
func CosmosValidatorParser(resp []byte) ([]types.CosmosValidator, int64, error)
TODO: modify this function logic
func DecodeAttributes ¶ added in v1.1.0
func DecodeEventsInBlockResults ¶ added in v1.1.0
func DecodeEventsInBlockResults(txsEvents []types.BlockEvent, blockEvents []types.BlockEvent) ([]types.BlockEvent, []types.BlockEvent)
func InitiaStakingValidatorParser ¶
func InitiaStakingValidatorParser(resp []byte) ([]types.CosmosStakingValidator, error)
func ParseFinalityProviderInfos ¶ added in v1.1.0
func ParseFinalityProviderInfos(resp []byte) (types.FinalityProviderInfosResponse, error)
func ParseFinalityProviderVotings ¶ added in v1.1.0
func ParseFinalityProviderVotings(resp []byte) (types.FinalityVotesResponse, error)
func ParseFinalityProviders ¶ added in v1.1.0
func ParseFinalityProviders(resp []byte) (types.FinalityProvidersResponse, error)
func ParserBTCDelegations ¶ added in v1.1.0
func ParserBTCLightClientParams ¶ added in v1.1.0
func ParserCovenantCommiteeParams ¶ added in v1.1.0
func ParserFinalityParams ¶ added in v1.1.0
func ParserFinalityProviderSigningInfo ¶ added in v1.1.0
func StorySlashingParamsParser ¶ added in v1.0.1
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.