Documentation ¶
Index ¶
- Constants
- func GenerateQueryHash(connectionID, chainID, queryType string, request []byte, module string) string
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllQueries(ctx sdk.Context) []types.Query
- func (k Keeper) DeleteDatapoint(ctx sdk.Context, id string)
- func (k Keeper) DeleteQuery(ctx sdk.Context, id string)
- func (k Keeper) EndBlocker(ctx sdk.Context)
- func (k *Keeper) GetDatapoint(ctx sdk.Context, module, connectionID, chainID, queryType string, ...) (types.DataPoint, error)
- func (k *Keeper) GetDatapointForID(ctx sdk.Context, id string) (types.DataPoint, error)
- func (k *Keeper) GetDatapointOrRequest(ctx sdk.Context, module, connectionID, chainID, queryType string, ...) (types.DataPoint, error)
- func (k *Keeper) GetLatestHeight(ctx sdk.Context, chainID string) uint64
- func (k Keeper) GetQuery(ctx sdk.Context, id string) (types.Query, bool)
- func (k Keeper) IterateDatapoints(ctx sdk.Context, fn func(index int64, dp types.DataPoint) (stop bool))
- func (k Keeper) IterateQueries(ctx sdk.Context, fn func(index int64, queryInfo types.Query) (stop bool))
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k *Keeper) MakeRequest(ctx sdk.Context, connectionID, chainID, queryType string, request []byte, ...)
- func (k Keeper) NewQuery(module, connectionID, chainID, queryType string, request []byte, ...) *types.Query
- func (k Keeper) Queries(c context.Context, req *types.QueryRequestsRequest) (*types.QueryRequestsResponse, error)
- func (k *Keeper) SetCallbackHandler(module string, handler types.QueryCallbacks) error
- func (k *Keeper) SetDatapointForID(ctx sdk.Context, id string, result []byte, height math.Int) error
- func (k *Keeper) SetLatestHeight(ctx sdk.Context, chainID string, height uint64)
- func (k Keeper) SetQuery(ctx sdk.Context, query types.Query)
Constants ¶
View Source
const (
RetryInterval = 25
)
Variables ¶
This section is empty.
Functions ¶
func GenerateQueryHash ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the bank MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
Keeper of this module maintains collections of registered zones.
func (Keeper) AllQueries ¶
AllQueries returns every queryInfo in the store.
func (Keeper) DeleteDatapoint ¶
DeleteDatapoint deletes datapoint.
func (Keeper) DeleteQuery ¶
DeleteQuery delete query info.
func (Keeper) EndBlocker ¶
EndBlocker of interchainquery module.
func (*Keeper) GetDatapoint ¶
func (*Keeper) GetDatapointForID ¶
func (*Keeper) GetDatapointOrRequest ¶
func (*Keeper) GetLatestHeight ¶
func (Keeper) IterateDatapoints ¶
func (k Keeper) IterateDatapoints(ctx sdk.Context, fn func(index int64, dp types.DataPoint) (stop bool))
IterateDatapoints iterate through datapoints.
func (Keeper) IterateQueries ¶
func (k Keeper) IterateQueries(ctx sdk.Context, fn func(index int64, queryInfo types.Query) (stop bool))
IterateQueries iterate through queries.
func (*Keeper) MakeRequest ¶
func (Keeper) Queries ¶
func (k Keeper) Queries(c context.Context, req *types.QueryRequestsRequest) (*types.QueryRequestsResponse, error)
Queries returns information about registered zones.
func (*Keeper) SetCallbackHandler ¶
func (k *Keeper) SetCallbackHandler(module string, handler types.QueryCallbacks) error
func (*Keeper) SetDatapointForID ¶
func (*Keeper) SetLatestHeight ¶
Click to show internal directories.
Click to hide internal directories.