package cosmos.staking.v1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Msg

tx.proto:17

Msg defines the staking Msg service.

service Query

query.proto:15

Query defines the gRPC querier service.

enum AuthorizationType

authz.proto:40

AuthorizationType defines the type of staking module authorization type Since: cosmos-sdk 0.43

Used in: StakeAuthorization

enum BondStatus

staking.proto:141

BondStatus is the status of a validator.

Used in: Validator

message Commission

staking.proto:53

Commission defines commission parameters for a given validator.

Used in: Validator

message CommissionRates

staking.proto:28

CommissionRates defines the initial commission rates to be used for creating a validator.

Used in: Commission, MsgCreateValidator

message DVPair

staking.proto:165

DVPair is struct that just has a delegator-validator pair with no other data. It is intended to be used as a marshalable pointer. For example, a DVPair can be used to construct the key to getting an UnbondingDelegation from state.

Used in: DVPairs

message DVPairs

staking.proto:175

DVPairs defines an array of DVPair objects.

message DVVTriplet

staking.proto:183

DVVTriplet is struct that just has a delegator-validator-validator triplet with no other data. It is intended to be used as a marshalable pointer. For example, a DVVTriplet can be used to construct the key to getting a Redelegation from state.

Used in: DVVTriplets

message DVVTriplets

staking.proto:194

DVVTriplets defines an array of DVVTriplet objects.

message Delegation

staking.proto:201

Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.

Used in: DelegationResponse, GenesisState

message DelegationResponse

staking.proto:337

DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.

Used in: QueryDelegationResponse, QueryDelegatorDelegationsResponse, QueryValidatorDelegationsResponse

message Description

staking.proto:66

Description defines a validator description.

Used in: MsgCreateValidator, MsgEditValidator, Validator

message GenesisState

genesis.proto:12

GenesisState defines the staking module's genesis state.

message HistoricalInfo

staking.proto:21

HistoricalInfo contains header and validator information for a given block. It is stored as part of staking module's state, which persists the `n` most recent HistoricalInfo (`n` is set by the staking module's `historical_entries` parameter).

Used in: QueryHistoricalInfoResponse

enum Infraction

staking.proto:392

Infraction indicates the infraction a validator commited.

message LastValidatorPower

genesis.proto:44

LastValidatorPower required for validator set update logic.

Used in: GenesisState

message Params

staking.proto:311

Params defines the parameters for the x/staking module.

Used in: GenesisState, MsgUpdateParams, QueryParamsResponse

message Pool

staking.proto:372

Pool is used for tracking bonded and not-bonded token supply of the bond denomination.

Used in: QueryPoolResponse

message Redelegation

staking.proto:294

Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator.

Used in: GenesisState, RedelegationResponse

message RedelegationEntry

staking.proto:264

RedelegationEntry defines a redelegation object with relevant metadata.

Used in: Redelegation, RedelegationEntryResponse

message RedelegationEntryResponse

staking.proto:349

RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.

Used in: RedelegationResponse

message RedelegationResponse

staking.proto:363

RedelegationResponse is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses.

Used in: QueryRedelegationsResponse

message StakeAuthorization

authz.proto:14

StakeAuthorization defines authorization for delegate/undelegate/redelegate. Since: cosmos-sdk 0.43

message StakeAuthorization.Validators

authz.proto:30

Validators defines list of validator addresses.

Used in: StakeAuthorization

message UnbondingDelegation

staking.proto:220

UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list.

Used in: GenesisState, QueryDelegatorUnbondingDelegationsResponse, QueryUnbondingDelegationResponse, QueryValidatorUnbondingDelegationsResponse

message UnbondingDelegationEntry

staking.proto:235

UnbondingDelegationEntry defines an unbonding object with relevant metadata.

Used in: UnbondingDelegation

message ValAddresses

staking.proto:155

ValAddresses defines a repeated set of validator addresses.

message Validator

staking.proto:90

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.

Used in: GenesisState, HistoricalInfo, QueryDelegatorValidatorResponse, QueryDelegatorValidatorsResponse, QueryValidatorResponse, QueryValidatorsResponse

message ValidatorUpdates

staking.proto:403

ValidatorUpdates defines an array of abci.ValidatorUpdate objects. TODO: explore moving this to proto/cosmos/base to separate modules from tendermint dependence