Documentation ¶
Index ¶
- Constants
- func GenerateQueryHash(connectionID string, chainID string, queryType string, request []byte, ...) 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 string, connectionID string, chainID string, ...) (types.DataPoint, error)
- func (k *Keeper) GetDatapointForID(ctx sdk.Context, id string) (types.DataPoint, error)
- func (k *Keeper) GetDatapointOrRequest(ctx sdk.Context, module string, connectionID string, chainID string, ...) (types.DataPoint, error)
- 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 string, chainID string, queryType string, ...)
- func (k Keeper) NewQuery(ctx sdk.Context, module string, connectionID string, chainID string, ...) *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 sdkmath.Int) error
- 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 ¶
DeleteQuery delete 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) 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 ¶
Click to show internal directories.
Click to hide internal directories.