keeper

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginBlocker

func BeginBlocker(ctx sdk.Context, k Keeper)

func EndBlocker

func EndBlocker(ctx sdk.Context, k Keeper)

func NewFoundationProposalsHandler

func NewFoundationProposalsHandler(k Keeper) govtypes.Handler

func NewMsgServer

func NewMsgServer(k Keeper) foundation.MsgServer

func NewQueryServer

func NewQueryServer(k Keeper) foundation.QueryServer

func RegisterInvariants

func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper)

Types

type Keeper

type Keeper interface {
	GetAuthority() string
	Accept(ctx sdk.Context, grantee sdk.AccAddress, msg sdk.Msg) error

	InitGenesis(ctx sdk.Context, gs *foundation.GenesisState) error
	ExportGenesis(ctx sdk.Context) *foundation.GenesisState
}

func NewKeeper

func NewKeeper(
	cdc codec.Codec,
	key sdk.StoreKey,
	router *baseapp.MsgServiceRouter,
	authKeeper foundation.AuthKeeper,
	bankKeeper foundation.BankKeeper,
	feeCollectorName string,
	config foundation.Config,
	authority string,
	paramspace paramtypes.Subspace,
) Keeper

type Migrator added in v0.47.1

type Migrator = internal.Migrator

func NewMigrator added in v0.47.1

func NewMigrator(k Keeper) Migrator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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