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

Method AddValidatorTokensAndShares

x/stake/keeper/validator.go:127–142  ·  view source on GitHub ↗

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

(ctx sdk.Context, validator types.Validator,
	tokensToAdd sdk.Int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

DelegateMethod · 0.95

Calls 8

GetPoolMethod · 0.95
GetIntraTxCounterMethod · 0.95
SetIntraTxCounterMethod · 0.95
SetValidatorMethod · 0.95
SetPoolMethod · 0.95
AddTokensFromDelMethod · 0.80

Tested by

no test coverage detected