Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func SeedQueryPlugin(randomnessKeeper *Querier) func(ctx sdk.Context, request json.RawMessage) ([]byte, error)
- type Keeper
- func (k Keeper) GetSeed(ctx sdk.Context) string
- func (k Keeper) GetValidatorVRFPubKey(ctx sdk.Context, consensusAddr string) (cryptotypes.PubKey, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetSeed(ctx sdk.Context, seed string)
- func (k Keeper) SetValidatorVRFPubKey(goCtx context.Context, consensusAddr string, vrfPubKey cryptotypes.PubKey) error
- type ProposalHandler
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func SeedQueryPlugin ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, storeKey storetypes.StoreKey) *Keeper
func (Keeper) GetValidatorVRFPubKey ¶
func (k Keeper) GetValidatorVRFPubKey(ctx sdk.Context, consensusAddr string) (cryptotypes.PubKey, error)
GetValidatorVRFPubKey retrieves from the store the VRF public key corresponding to the given validator consensus address.
func (Keeper) SetValidatorVRFPubKey ¶
type ProposalHandler ¶
type ProposalHandler struct {
// contains filtered or unexported fields
}
func NewDefaultProposalHandler ¶
func NewDefaultProposalHandler(txVerifier baseapp.ProposalTxVerifier) *ProposalHandler
func (*ProposalHandler) PrepareProposalHandler ¶
func (h *ProposalHandler) PrepareProposalHandler( txConfig client.TxConfig, vrfSigner vrfSigner, keeper Keeper, authKeeper types.AccountKeeper, _ types.StakingKeeper, ) sdk.PrepareProposalHandler
func (*ProposalHandler) ProcessProposalHandler ¶
func (h *ProposalHandler) ProcessProposalHandler( vrfSigner vrfSigner, keeper Keeper, _ types.StakingKeeper, ) sdk.ProcessProposalHandler
Click to show internal directories.
Click to hide internal directories.