keeper

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.

Types

type Keeper

type Keeper struct {
	Chains map[xchain.Type]xchain.Bridge
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey sdk.StoreKey,
	ps paramtypes.Subspace,
	chains []xchain.Bridge,
) *Keeper

func (Keeper) AddNewJob added in v0.10.0

func (k Keeper) AddNewJob(ctx sdk.Context, job *types.Job) error

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) types.Params

GetParams get all parameters as types.Params

func (Keeper) JobIDExists added in v0.10.0

func (k Keeper) JobIDExists(ctx sdk.Context, jobID string) bool

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) Params

func (Keeper) QueryGetJobByID added in v0.10.0

func (Keeper) ScheduleNow added in v0.10.0

func (k Keeper) ScheduleNow(ctx sdk.Context, jobID string, in []byte) error

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams set the params

func (Keeper) Store

func (k Keeper) Store(ctx sdk.Context) sdk.KVStore

store returns default store for this keeper!

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL