keeper

package
v0.0.0-...-61c914d Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

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) Content

Content implements the Query/Content method.

func (Keeper) Contents

Contents implements the Query/Contents method.

func (Keeper) ContentsByCurator

ContentsByCurator implements the Query/ContentsByCurator method.

func (Keeper) Create

func (k Keeper) Create(ctx context.Context, req *v1.MsgCreate) (*v1.MsgCreateResponse, error)

Create implements Msg/Create.

func (Keeper) Delete

func (k Keeper) Delete(ctx context.Context, req *v1.MsgDelete) (*v1.MsgDeleteResponse, error)

Delete implements Msg/Delete.

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) UpdateCurator

func (k Keeper) UpdateCurator(ctx context.Context, req *v1.MsgUpdateCurator) (*v1.MsgUpdateCuratorResponse, error)

UpdateCurator implements the Msg/UpdateCurator method.

func (Keeper) UpdateMetadata

func (k Keeper) UpdateMetadata(ctx context.Context, req *v1.MsgUpdateMetadata) (*v1.MsgUpdateMetadataResponse, error)

UpdateMetadata implements the Msg/UpdateMetadata method.

Jump to

Keyboard shortcuts

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