keeper

package
v0.0.1-sdk47-1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey storeTypes.StoreKey,
	router *baseapp.MsgServiceRouter,
	legacyRouter v1beta1.Router,
) *Keeper

func (*Keeper) Authority

func (*Keeper) Execute

func (k *Keeper) Execute(goCtx context.Context, m *types.MsgExecute) (*types.MsgExecuteResponse, error)

func (*Keeper) GetAuthority

func (k *Keeper) GetAuthority(ctx sdk.Context) (authority string)

GetAuthority returns the authority from state.

func (*Keeper) SetAuthority

func (k *Keeper) SetAuthority(ctx sdk.Context, authority string)

SetAuthority stores the authority in state.

func (*Keeper) SetLegacyRouter

func (k *Keeper) SetLegacyRouter(legacyRouter v1beta1.Router)

func (*Keeper) UpdateAuthority

Jump to

Keyboard shortcuts

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