Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) Content(ctx context.Context, req *v1.QueryContentRequest) (*v1.QueryContentResponse, error)
- func (k Keeper) Contents(ctx context.Context, req *v1.QueryContentsRequest) (*v1.QueryContentsResponse, error)
- func (k Keeper) ContentsByCurator(ctx context.Context, req *v1.QueryContentsByCuratorRequest) (*v1.QueryContentsByCuratorResponse, error)
- func (k Keeper) Create(ctx context.Context, req *v1.MsgCreate) (*v1.MsgCreateResponse, error)
- func (k Keeper) Delete(ctx context.Context, req *v1.MsgDelete) (*v1.MsgDeleteResponse, error)
- func (k Keeper) ExportGenesis(ctx sdk.Context, _ codec.JSONCodec) (json.RawMessage, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, _ codec.JSONCodec, data json.RawMessage) error
- func (k Keeper) UpdateCurator(ctx context.Context, req *v1.MsgUpdateCurator) (*v1.MsgUpdateCuratorResponse, error)
- func (k Keeper) UpdateMetadata(ctx context.Context, req *v1.MsgUpdateMetadata) (*v1.MsgUpdateMetadataResponse, error)
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 ¶
func (k Keeper) Content(ctx context.Context, req *v1.QueryContentRequest) (*v1.QueryContentResponse, error)
Content implements the Query/Content method.
func (Keeper) Contents ¶
func (k Keeper) Contents(ctx context.Context, req *v1.QueryContentsRequest) (*v1.QueryContentsResponse, error)
Contents implements the Query/Contents method.
func (Keeper) ContentsByCurator ¶
func (k Keeper) ContentsByCurator(ctx context.Context, req *v1.QueryContentsByCuratorRequest) (*v1.QueryContentsByCuratorResponse, error)
ContentsByCurator implements the Query/ContentsByCurator method.
func (Keeper) ExportGenesis ¶
ExportGenesis exports genesis state.
func (Keeper) InitGenesis ¶
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.
Click to show internal directories.
Click to hide internal directories.