keeper

package
v0.0.0-...-324de33 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 11 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
}

Keeper is the keeper.

func NewKeeper

func NewKeeper(storeService store.KVStoreService) Keeper

NewKeeper creates a new keeper.

func (Keeper) Admin

Admin implements the Query/Admin method.

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis(ctx sdk.Context, _ codec.JSONCodec) (json.RawMessage, error)

ExportGenesis exports genesis state.

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx sdk.Context, _ codec.JSONCodec, data json.RawMessage) error

InitGenesis initializes genesis state.

func (Keeper) UpdateAdmin

func (k Keeper) UpdateAdmin(ctx context.Context, req *v1.MsgUpdateAdmin) (*v1.MsgUpdateAdminResponse, error)

UpdateAdmin implements the Msg/UpdateAdmin method.

Jump to

Keyboard shortcuts

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