Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the oracle MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine
func NewKeeper ¶
func NewKeeper(stakeKeeper stakingkeeper.Keeper, storeKey sdk.StoreKey, cdc *codec.LegacyAmino, paramSubspace paramtypes.Subspace, consensusNeeded float64) (Keeper, error)
NewKeeper creates new instances of the oracle Keeper
func (Keeper) Codespace ¶
func (k Keeper) Codespace() paramtypes.Subspace
Codespace returns the codespace
func (Keeper) GetProphecy ¶
GetProphecy gets the entire prophecy data struct for a given id
func (Keeper) ProcessClaim ¶
func (k Keeper) ProcessClaim(ctx sdk.Context, id string, validator sdk.ValAddress, claim string) (oracletypes.Status, error)
Click to show internal directories.
Click to hide internal directories.