Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) Admin(ctx context.Context, req *v1.QueryAdminRequest) (*v1.QueryAdminResponse, 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) UpdateAdmin(ctx context.Context, req *v1.MsgUpdateAdmin) (*v1.MsgUpdateAdminResponse, 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) Admin ¶
func (k Keeper) Admin(ctx context.Context, req *v1.QueryAdminRequest) (*v1.QueryAdminResponse, error)
Admin implements the Query/Admin method.
func (Keeper) ExportGenesis ¶
ExportGenesis exports genesis state.
func (Keeper) InitGenesis ¶
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.
Click to show internal directories.
Click to hide internal directories.