Documentation ¶
Index ¶
- Constants
- func GenerateQueryHash(connection_id string, chain_id string, query_type string, ...) string
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllQueries(ctx sdk.Context) []types.Query
- func (k Keeper) DeleteQuery(ctx sdk.Context, id string)
- func (k Keeper) EndBlocker(ctx sdk.Context)
- func (k *Keeper) GetDatapoint(ctx sdk.Context, connection_id string, chain_id string, query_type string, ...) (types.DataPoint, error)
- func (k *Keeper) GetDatapointForId(ctx sdk.Context, id string) (types.DataPoint, error)
- func (k *Keeper) GetDatapointOrRequest(ctx sdk.Context, connection_id string, chain_id string, query_type string, ...) (types.DataPoint, error)
- func (k Keeper) GetQuery(ctx sdk.Context, id string) (types.Query, 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, connection_id string, chain_id string, query_type string, ...)
- func (k Keeper) NewQuery(ctx sdk.Context, connection_id string, chain_id string, query_type string, ...) *types.Query
- func (k *Keeper) SetCallbackHandler(module string, handler types.QueryCallbacks) error
- func (k *Keeper) SetDatapointForId(ctx sdk.Context, id string, result []byte, height sdk.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 ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of this module maintains collections of registered zones.
func (Keeper) AllQueries ¶
AllQueries returns every queryInfo in the store
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) IterateQueries ¶
func (k Keeper) IterateQueries(ctx sdk.Context, fn func(index int64, queryInfo types.Query) (stop bool))
IterateQueries iterate through querys
func (*Keeper) MakeRequest ¶
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.