Documentation ¶
Index ¶
- func QueryAugusteumHeader(clientCtx client.Context) (icptmtypes.Header, int64, error)
- func QueryClientState(clientCtx client.Context, clientID string, prove bool) (*types.QueryClientStateResponse, error)
- func QueryClientStateMSM(clientCtx client.Context, clientID string) (*types.QueryClientStateResponse, error)
- func QueryConsensusState(clientCtx client.Context, clientID string, height exported.Height, ...) (*types.QueryConsensusStateResponse, error)
- func QueryConsensusStateMSM(clientCtx client.Context, clientID string, height exported.Height) (*types.QueryConsensusStateResponse, error)
- func QueryNodeConsensusState(clientCtx client.Context) (*icptmtypes.ConsensusState, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryAugusteumHeader ¶
QueryAugusteumHeader takes a client context and returns the appropriate augusteum header
func QueryClientState ¶
func QueryClientState( clientCtx client.Context, clientID string, prove bool, ) (*types.QueryClientStateResponse, error)
QueryClientState returns a client state. If prove is true, it performs an MSM store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryClientStateMSM ¶
func QueryClientStateMSM( clientCtx client.Context, clientID string, ) (*types.QueryClientStateResponse, error)
QueryClientStateMSM queries the store to get the light client state and a merkle proof.
func QueryConsensusState ¶
func QueryConsensusState( clientCtx client.Context, clientID string, height exported.Height, prove, latestHeight bool, ) (*types.QueryConsensusStateResponse, error)
QueryConsensusState returns a consensus state. If prove is true, it performs an MSM store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryConsensusStateMSM ¶
func QueryConsensusStateMSM( clientCtx client.Context, clientID string, height exported.Height, ) (*types.QueryConsensusStateResponse, error)
QueryConsensusStateMSM queries the store to get the consensus state of a light client and a merkle proof of its existence or non-existence.
func QueryNodeConsensusState ¶
func QueryNodeConsensusState(clientCtx client.Context) (*icptmtypes.ConsensusState, int64, error)
QueryNodeConsensusState takes a client context and returns the appropriate augusteum consensus state
Types ¶
This section is empty.