keeper

package
v18.0.0-...-023d2bd Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(k Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the x/clock MsgServer interface.

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

Keeper of the clock store

func NewKeeper

func NewKeeper(
	key storetypes.StoreKey,
	cdc codec.BinaryCodec,
	contractKeeper wasmtypes.ContractOpsKeeper,
	authority string,
) Keeper

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

GetAuthority returns the x/clock module's authority.

func (Keeper) GetContractKeeper

func (k Keeper) GetContractKeeper() wasmtypes.ContractOpsKeeper

GetContractKeeper returns the x/wasm module's contract keeper.

func (Keeper) GetParams

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

GetParams returns the current x/clock module parameters.

func (Keeper) SetParams

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

SetParams sets the x/clock module parameters.

type Querier

type Querier struct {
	// contains filtered or unexported fields
}

func NewQuerier

func NewQuerier(k Keeper) Querier

func (Querier) ClockContracts

ContractModules returns contract addresses which are using the clock

func (Querier) Params

Params returns the total set of clock parameters.

Jump to

Keyboard shortcuts

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