MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / handleMsgCreateValidator

Function handleMsgCreateValidator

x/stake/handler.go:90–139  ·  view source on GitHub ↗

_____________________________________________________________________ These functions assume everything has been authenticated, now we just perform action and save

(ctx sdk.Context, msg types.MsgCreateValidator, k keeper.Keeper)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewHandlerFunction · 0.85

Calls 15

SetInitialCommissionMethod · 0.95
ErrValidatorOwnerExistsFunction · 0.85
ErrValidatorPubKeyExistsFunction · 0.85
ErrBadDenomFunction · 0.85
NewValidatorFunction · 0.85
NewCommissionWithTimeFunction · 0.85
GetValidatorMethod · 0.80
BlockHeaderMethod · 0.80
SetValidatorMethod · 0.80

Tested by

no test coverage detected