grpc

package
v0.0.0-...-4ce5391 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSelfDelegations

func GetSelfDelegations(stakingClient stakingtypes.QueryClient, validators types.Validators, accountPrefix string) ([]sdk.Coin, error)

GetSelfDelegations returns a list of coin and error after querying self delegations of the validators provided in the input.

func ParseDelegationAnalysis

func ParseDelegationAnalysis(grpcConn *grpc.ClientConn, address, denom string) error

ParseDelegationAnalysis parses all the details of delegations of the account address on a given chain

func ParseDelegators

func ParseDelegators(grpcConn *grpc.ClientConn) error

ParseDelegators parses all the requested information returns an error if any of the steps fail

func ParseGenesisAndPostGenesisValidators

func ParseGenesisAndPostGenesisValidators(grpcConn *grpc.ClientConn) error

func ParseGenesisPostGenesisValidatorsData

func ParseGenesisPostGenesisValidatorsData(grpcUrl string) error

func ParseValidators

func ParseValidators(grpcConn *grpc.ClientConn, accountPrefix string) error

ParseValidators parses all the requested information returns an error if any of the steps fail

func QueryBlocksSignerCounter

func QueryBlocksSignerCounter(RPCAddress string, startingHeight, endHeight int64) error

func QueryDelegationAnalysisData

func QueryDelegationAnalysisData(grpcUrl, address, denom string) error

func QueryDelegatorsData

func QueryDelegatorsData(grpcUrl string) error

func QueryDepositorsBeginUnlocking

func QueryDepositorsBeginUnlocking(RPCAddress string, startingHeight, endHeight int64) error

func QueryDepositorsBond

func QueryDepositorsBond(RPCAddress string, startingHeight, endHeight int64) error

QueryDepositorsBond returns a file with the bond events in all the blocks given as startingHeight and endHeight

func QueryDepositorsCallbackInfo

func QueryDepositorsCallbackInfo(RPCAddress string, startingHeight, endHeight int64) error

QueryDepositorsCallbackInfo returns a file with the callback info of primitives events in all the blocks given as startingHeight and endHeight

func QueryDepositorsLockedTokens

func QueryDepositorsLockedTokens(RPCAddress string, startingHeight, endHeight int64) error

QueryDepositorsLockedTokens returns a file with the locked tokens events in all the blocks given as startingHeight and endHeight

func QueryDepositorsMints

func QueryDepositorsMints(RPCAddress string, startingHeight, endHeight int64) error

QueryDepositorsMints returns a file with the mint tokens in incentive contract events in all the blocks given as startingHeight and endHeight

func QueryDepositorsReplayChain

func QueryDepositorsReplayChain(RPCAddress string, startingHeight, endHeight int64) error

func QueryDepositorsUnbond

func QueryDepositorsUnbond(RPCAddress string, startingHeight, endHeight int64) error

QueryDepositorsUnbond returns a file with the unbond events in all the blocks given as startingHeight and endHeight

func QueryGenesisJSON

func QueryGenesisJSON(jsonURL, denom string) error

func QueryValidatorsData

func QueryValidatorsData(grpcUrl, accountPrefix string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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