keeper

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 10 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 {
	EVMKeeper types.EVMKeeper
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	storeKey sdk.StoreKey,
	cdc codec.BinaryCodec,
	ps paramtypes.Subspace,

	ek types.EVMKeeper,

) Keeper

func (Keeper) GetNativeDexAddress

func (k Keeper) GetNativeDexAddress(ctx sdk.Context) common.Address

func (Keeper) GetParams

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

GetParams will return the current Params Note that if this function is called before the chain has been initalized, a panic will occur. Use GetParamsIfSet instead e.g. in an AnteHandler which may run for creating genesis transactions

func (Keeper) GetVerifiedCrocPolicyAddress

func (k Keeper) GetVerifiedCrocPolicyAddress(ctx sdk.Context) common.Address

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) SetParams

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

Jump to

Keyboard shortcuts

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