Versions in this module Expand all Collapse all v0 v0.2.7 Apr 10, 2021 Changes in this version + func NewMsgServerImpl(keeper Keeper) types.MsgServer + func NewQuerier(keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier + type Keeper struct + func NewKeeper(cdc codec.Marshaler, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace) *Keeper + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (keeper Keeper) Aggregate(ctx sdk.Context, key string) error + func (keeper Keeper) CreateOracleScript(ctx sdk.Context, msg types.MsgCreateOracleScript) error + func (keeper Keeper) CreateReporter(ctx sdk.Context, msg types.MsgCreateReporter) error + func (keeper Keeper) CreateRequest(ctx sdk.Context, msg types.MsgCreateRequest) error + func (keeper Keeper) DeleteReporter(ctx sdk.Context, msg types.MsgDeleteReporter) error + func (keeper Keeper) EditOracleScript(ctx sdk.Context, msg types.MsgEditOracleScript) error + func (keeper Keeper) GetAllOracleScripts(ctx sdk.Context) []types.OracleScript + func (keeper Keeper) GetAllPrices(ctx sdk.Context) []types.Prices + func (keeper Keeper) GetAllReporters(ctx sdk.Context) []types.Reporter + func (keeper Keeper) GetAllRequests(ctx sdk.Context) []types.Request + func (keeper Keeper) GetClosedBlockRequestExternalids(ctx sdk.Context) []string + func (keeper Keeper) GetLatestRequest(ctx sdk.Context) types.Request + func (keeper Keeper) GetOracleScript(ctx sdk.Context, oracleScriptId string) types.OracleScript + func (keeper Keeper) GetOracleScriptCount(ctx sdk.Context) int64 + func (keeper Keeper) GetOracleScriptCreator(ctx sdk.Context, oracleScriptId string) string + func (keeper Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (keeper Keeper) GetPrices(ctx sdk.Context, symbol string) types.Prices + func (keeper Keeper) GetReporter(ctx sdk.Context, key string) types.Reporter + func (keeper Keeper) GetReporterCount(ctx sdk.Context) int64 + func (keeper Keeper) GetReporterCreator(ctx sdk.Context, key string) string + func (keeper Keeper) GetRequest(ctx sdk.Context, key string) types.Request + func (keeper Keeper) GetRequestCount(ctx sdk.Context) int64 + func (keeper Keeper) GetRequestRequester(ctx sdk.Context, key string) string + func (keeper Keeper) HasOracleScript(ctx sdk.Context, key string) bool + func (keeper Keeper) HasReporter(ctx sdk.Context, key string) bool + func (keeper Keeper) HasRequest(ctx sdk.Context, key string) bool + func (keeper Keeper) IsValidReport(ctx sdk.Context, request types.Request, report *types.Report) error + func (keeper Keeper) QueryOracleScript(context context.Context, request *types.QueryGetOracleScriptRequest) (*types.QueryGetOracleScriptResponse, error) + func (keeper Keeper) QueryOracleScriptCount(context context.Context, request *types.QueryGetOracleScriptCountRequest) (*types.QueryGetOracleScriptCountResponse, error) + func (keeper Keeper) QueryOracleScripts(context context.Context, request *types.QueryAllOracleScriptsRequest) (*types.QueryAllOracleScriptsResponse, error) + func (keeper Keeper) QueryParams(context context.Context, request *types.QueryGetParamsRequest) (*types.QueryGetParamsReponse, error) + func (keeper Keeper) QueryReporter(context context.Context, request *types.QueryGetReporterRequest) (*types.QueryGetReporterResponse, error) + func (keeper Keeper) QueryReporterCount(context context.Context, request *types.QueryGetReporterCountRequest) (*types.QueryGetReporterCountResponse, error) + func (keeper Keeper) QueryReporters(context context.Context, request *types.QueryAllReportersRequest) (*types.QueryAllReportersResponse, error) + func (keeper Keeper) ReportToRequest(ctx sdk.Context, msg types.MsgCreateReport) error + func (keeper Keeper) SetOracleScriptCount(ctx sdk.Context, count int64) + func (keeper Keeper) SetParams(ctx sdk.Context, params types.Params) + func (keeper Keeper) SetPrices(ctx sdk.Context, calldata, result string, resolve_time int64) error + func (keeper Keeper) SetReporterCount(ctx sdk.Context, count int64) + func (keeper Keeper) SetRequest(ctx sdk.Context, request types.Request) + func (keeper Keeper) SetRequestCount(ctx sdk.Context, count int64)