keeper

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 13 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 {
	Scheduler  types.Scheduler
	Chains     []xchain.FundCollecter
	KeeperUtil keeperutil.KeeperUtilI[*types.Fees]
	Store      types.TreasuryStore
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,
	bank types.BankKeeper,
	account types.AccountKeeper,
	scheduler types.Scheduler,
) *Keeper

func (Keeper) GetFees added in v1.4.0

func (k Keeper) GetFees(ctx sdk.Context) (*types.Fees, error)

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) Logger

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

func (Keeper) ModuleName

func (k Keeper) ModuleName() string

func (Keeper) Params

func (Keeper) QueryFees added in v1.4.0

func (k Keeper) QueryFees(c context.Context, req *types.QueryFeesRequest) (*types.Fees, error)

func (Keeper) SetCommunityFundFee added in v1.4.0

func (k Keeper) SetCommunityFundFee(ctx sdk.Context, fee string) error

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetSecurityFee added in v1.4.0

func (k Keeper) SetSecurityFee(ctx sdk.Context, fee string) error

Jump to

Keyboard shortcuts

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