keeper

package
v2.11.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServer

func NewMsgServer(k Keeper) types.MsgServer

NewMsgServer returns the MsgServer implementation.

Types

type Keeper

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

Keeper of this module maintains collections of smartaccount for contracts registered to receive transaction fees.

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey storetypes.StoreKey,
	wk types.WasmKeeper,
) Keeper

NewKeeper creates new instances of the fees Keeper

func (Keeper) DeleteSetting

func (k Keeper) DeleteSetting(ctx sdk.Context, ownerAddr string) error

DeleteSetting deletes the smart account setting for the ownerAddr

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState

ExportGenesis export module state

func (Keeper) GetParams

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

GetParams returns the total set of fees parameters.

func (Keeper) GetSetting

func (k Keeper) GetSetting(ctx sdk.Context, ownerAddr string) (*types.Setting, error)

GetSetting returns the smart account setting for the ownerAddr

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(
	ctx sdk.Context,
	genesisState types.GenesisState,
)

InitGenesis import module genesis

func (Keeper) Logger

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

Logger returns a module-specific logger.

func (Keeper) SetParams

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

SetParams sets the fees parameters to the param space.

func (Keeper) SetSetting

func (k Keeper) SetSetting(ctx sdk.Context, setting types.Setting) error

SetSetting sets the smart account setting for the ownerAddr

type Migrator

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

Migrator is a struct for handling in-place state migrations.

func NewMigrator

func NewMigrator(k Keeper, ss exported.Subspace) Migrator

type Querier

type Querier struct {
	Keeper
}

Querier defines a wrapper around the x/SmartAccounts keeper providing gRPC method handlers.

func NewQuerier

func NewQuerier(k Keeper) Querier

func (Querier) Params

Params returns the fees module params

func (Querier) Setting

Setting returns the fees module setting

Jump to

Keyboard shortcuts

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