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

Method RemoveValidatorTokensAndShares

x/stake/keeper/validator.go:145–155  ·  view source on GitHub ↗

Update the tokens of an existing validator, update the validators power index key

(ctx sdk.Context, validator types.Validator,
	sharesToRemove sdk.Dec)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

unbondMethod · 0.95

Calls 6

GetPoolMethod · 0.95
SetValidatorMethod · 0.95
SetPoolMethod · 0.95
RemoveDelSharesMethod · 0.80

Tested by

no test coverage detected