Documentation ¶
Index ¶
- type Keeper
- func (k *Keeper) Authority(goCtx context.Context, _ *types.QueryAuthority) (*types.QueryAuthorityResponse, error)
- func (k *Keeper) Execute(goCtx context.Context, m *types.MsgExecute) (*types.MsgExecuteResponse, error)
- func (k *Keeper) ExecuteLegacyContent(goCtx context.Context, m *types.MsgExecuteLegacyContent) (*types.MsgExecuteLegacyContentResponse, error)
- func (k *Keeper) GetAuthority(ctx sdk.Context) (authority string)
- func (k *Keeper) SetAuthority(ctx sdk.Context, authority string)
- func (k *Keeper) SetLegacyRouter(legacyRouter v1beta1.Router)
- func (k *Keeper) UpdateAuthority(goCtx context.Context, m *types.MsgUpdateAuthority) (*types.MsgUpdateAuthorityResponse, 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
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storeTypes.StoreKey, router *baseapp.MsgServiceRouter, legacyRouter v1beta1.Router, ) *Keeper
func (*Keeper) Authority ¶
func (k *Keeper) Authority(goCtx context.Context, _ *types.QueryAuthority) (*types.QueryAuthorityResponse, error)
func (*Keeper) Execute ¶
func (k *Keeper) Execute(goCtx context.Context, m *types.MsgExecute) (*types.MsgExecuteResponse, error)
func (*Keeper) ExecuteLegacyContent ¶
func (k *Keeper) ExecuteLegacyContent(goCtx context.Context, m *types.MsgExecuteLegacyContent) (*types.MsgExecuteLegacyContentResponse, error)
func (*Keeper) GetAuthority ¶
GetAuthority returns the authority from state.
func (*Keeper) SetAuthority ¶
SetAuthority stores the authority in state.
func (*Keeper) SetLegacyRouter ¶
func (*Keeper) UpdateAuthority ¶
func (k *Keeper) UpdateAuthority(goCtx context.Context, m *types.MsgUpdateAuthority) (*types.MsgUpdateAuthorityResponse, error)
Click to show internal directories.
Click to hide internal directories.