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: 16 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) CreateSubject

func (k Keeper) CreateSubject(ctx context.Context, req *v1.MsgCreateSubject) (*v1.MsgCreateSubjectResponse, error)

CreateSubject implements Msg/CreateSubject.

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

func (k Keeper) RemoveSubject(ctx context.Context, req *v1.MsgRemoveSubject) (*v1.MsgRemoveSubjectResponse, error)

RemoveSubject implements Msg/RemoveSubject.

func (Keeper) Subject

Subject implements the Query/Subject method.

func (Keeper) Subjects

Subjects implements the Query/Subjects method.

func (Keeper) SubjectsBySteward

SubjectsBySteward implements the Query/SubjectsBySteward method.

func (Keeper) UpdateSubjectMetadata

UpdateSubjectMetadata implements the Msg/UpdateSubjectMetadata method.

func (Keeper) UpdateSubjectSteward

UpdateSubjectSteward implements the Msg/UpdateSubjectSteward method.

Jump to

Keyboard shortcuts

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