Documentation ¶
Index ¶
- func GetMigrationHandler(k Keeper) func(sdk.Context) error
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetGovernanceKey(ctx sdk.Context) (multisig.LegacyAminoPubKey, bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetRole(ctx sdk.Context, address sdk.AccAddress) exported.Role
- func (k Keeper) GovernanceKey(c context.Context, req *types.QueryGovernanceKeyRequest) (*types.QueryGovernanceKeyResponse, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (q Keeper) Params(c context.Context, req *types.ParamsRequest) (*types.ParamsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMigrationHandler ¶ added in v0.17.0
GetMigrationHandler returns a migration handler
func NewMsgServerImpl ¶
NewMsgServerImpl returns a new msg server instance
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper provides access to all state changes regarding the gov module
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns the reward module's genesis state.
func (Keeper) GetGovernanceKey ¶
GetGovernanceKey gets the multisig governance key
func (Keeper) GovernanceKey ¶
func (k Keeper) GovernanceKey(c context.Context, req *types.QueryGovernanceKeyRequest) (*types.QueryGovernanceKeyResponse, error)
GovernanceKey returns the multisig governance key
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
InitGenesis initializes the reward module's state from a given genesis state.
func (Keeper) Params ¶ added in v0.34.0
func (q Keeper) Params(c context.Context, req *types.ParamsRequest) (*types.ParamsResponse, error)
Params returns the reward module params
Click to show internal directories.
Click to hide internal directories.