MCPcopy Create free account
hub / github.com/Sifchain/sifnode / GetValidator

Method GetValidator

x/oracle/types/expected_keepers.go:10–10  ·  view source on GitHub ↗
(ctx sdk.Context, addr sdk.ValAddress)

Source from the content-addressed store, hash-verified

8// StakingKeeper defines the expected staking keeper
9type StakingKeeper interface {
10 GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator staking.Validator, found bool)
11 GetLastValidatorPower(ctx sdk.Context, operator sdk.ValAddress) (power int64)
12 GetLastTotalPower(ctx sdk.Context) (power sdk.Int)
13 GetBondedValidatorsByPower(ctx sdk.Context) []staking.Validator

Calls

no outgoing calls