Documentation ¶
Index ¶
- func GetMigrationHandler() func(ctx sdk.Context) error
- func NewMsgServerImpl(keeper Keeper, s types.Snapshotter, staker types.StakingKeeper, ...) types.MsgServiceServer
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetLastHeartbeatAt(ctx sdk.Context, participant sdk.ValAddress) int64
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetLastHeartbeatAt(ctx sdk.Context, participant sdk.ValAddress) error
- func (k Keeper) SetParams(ctx sdk.Context, p types.Params)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMigrationHandler ¶ added in v0.18.0
GetMigrationHandler returns the handler that performs in-place store migrations from v0.19 to v0.20. The migration includes:
func NewMsgServerImpl ¶
func NewMsgServerImpl(keeper Keeper, s types.Snapshotter, staker types.StakingKeeper, multisig types.MultiSigKeeper) types.MsgServiceServer
NewMsgServerImpl returns an implementation of the broadcast MsgServiceServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper allows access to the broadcast state
func (Keeper) ExportGenesis ¶ added in v0.9.0
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns the tss module's genesis state.
func (Keeper) GetLastHeartbeatAt ¶ added in v0.27.0
GetLastHeartbeatAt returns the block height at where the last heartbeat from the given participant was received
func (Keeper) InitGenesis ¶ added in v0.9.0
func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
InitGenesis initializes the tss module's state from a given genesis state.
func (Keeper) SetLastHeartbeatAt ¶ added in v0.27.0
SetLastHeartbeatAt sets the block height at where the last heartbeat from the given participant was received
type Querier ¶ added in v0.17.0
type Querier struct {
// contains filtered or unexported fields
}
Querier implements the grpc queries for the nexus module
func NewGRPCQuerier ¶ added in v0.17.0
NewGRPCQuerier creates a new nexus Querier
func (Querier) Params ¶ added in v0.34.0
func (q Querier) Params(c context.Context, req *types.ParamsRequest) (*types.ParamsResponse, error)
Params returns the reward module params