Validator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.

from message cosmos.staking.v1beta1.Validator

Hierarchy

Constructors

Properties

commission?: Commission

commission defines the commission parameters.

from field: cosmos.staking.v1beta1.Commission commission = 10;

consensusPubkey?: Any

consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.

from field: google.protobuf.Any consensus_pubkey = 2;

delegatorShares: string = ""

delegator_shares defines total shares issued to a validator's delegators.

from field: string delegator_shares = 6;

description?: Description

description defines the description terms for the validator.

from field: cosmos.staking.v1beta1.Description description = 7;

jailed: boolean = false

jailed defined whether the validator has been jailed from bonded status or not.

from field: bool jailed = 3;

minSelfDelegation: string = ""

min_self_delegation is the validator's self declared minimum self delegation.

Since: cosmos-sdk 0.46

from field: string min_self_delegation = 11;

operatorAddress: string = ""

operator_address defines the address of the validator's operator; bech encoded in JSON.

from field: string operator_address = 1;

status: BondStatus = BondStatus.UNSPECIFIED

status is the validator status (bonded/unbonding/unbonded).

from field: cosmos.staking.v1beta1.BondStatus status = 4;

tokens: string = ""

tokens define the delegated tokens (incl. self-delegation).

from field: string tokens = 5;

unbondingHeight: bigint = protoInt64.zero

unbonding_height defines, if unbonding, the height at which this validator has begun unbonding.

from field: int64 unbonding_height = 8;

unbondingIds: bigint[] = []

list of unbonding ids, each uniquely identifing an unbonding of this validator

from field: repeated uint64 unbonding_ids = 13;

unbondingOnHoldRefCount: bigint = protoInt64.zero

strictly positive if this validator's unbonding has been stopped by external modules

from field: int64 unbonding_on_hold_ref_count = 12;

unbondingTime?: Timestamp

unbonding_time defines, if unbonding, the min time for the validator to complete unbonding.

from field: google.protobuf.Timestamp unbonding_time = 9;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.staking.v1beta1.Validator" = "cosmos.staking.v1beta1.Validator"

Methods