Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the staking Msg service.
CreateValidator defines a method for creating a new validator.
MsgCreateValidator defines a SDK message for creating a new validator.
MsgCreateValidatorResponse defines the Msg/CreateValidator response type.
(message has no fields)
EditValidator defines a method for editing an existing validator.
MsgEditValidator defines a SDK message for editing an existing validator.
We pass a reference to the new commission rate and min self delegation as it's not mandatory to update. If not updated, the deserialized rate will be zero with no way to distinguish if an update was intended. REF: #2373
MsgEditValidatorResponse defines the Msg/EditValidator response type.
(message has no fields)
Delegate defines a method for performing a delegation of coins from a delegator to a validator.
MsgDelegate defines a SDK message for performing a delegation of coins from a delegator to a validator.
MsgDelegateResponse defines the Msg/Delegate response type.
(message has no fields)
BeginRedelegate defines a method for performing a redelegation of coins from a delegator and source validator to a destination validator.
MsgBeginRedelegate defines a SDK message for performing a redelegation of coins from a delegator and source validator to a destination validator.
MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type.
Undelegate defines a method for performing an undelegation from a delegate and a validator.
MsgUndelegate defines a SDK message for performing an undelegation from a delegate and a validator.
MsgUndelegateResponse defines the Msg/Undelegate response type.
AuthorizationType defines the type of staking module authorization type Since: cosmos-sdk 0.43
Used in:
AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type
AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate
AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate
AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate
BondStatus is the status of a validator.
Used in:
UNSPECIFIED defines an invalid validator status.
UNBONDED defines a validator that is not bonded.
UNBONDING defines a validator that is unbonding.
BONDED defines a validator that is bonded.
Commission defines commission parameters for a given validator.
Used in:
commission_rates defines the initial commission rates to be used for creating a validator.
update_time is the last time the commission rate was changed.
CommissionRates defines the initial commission rates to be used for creating a validator.
Used in:
,rate is the commission rate charged to delegators, as a fraction.
max_rate defines the maximum commission rate which validator can ever charge, as a fraction.
max_change_rate defines the maximum daily increase of the validator commission, as a fraction.
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 defines an array of DVPair objects.
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 defines an array of DVVTriplet objects.
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:
,delegator_address is the bech32-encoded address of the delegator.
validator_address is the bech32-encoded address of the validator.
shares define the delegation shares received.
DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.
Description defines a validator description.
Used in:
, ,moniker defines a human-readable name for the validator.
identity defines an optional identity signature (ex. UPort or Keybase).
website defines an optional website link.
security_contact defines an optional email for security contact.
details define other optional details.
GenesisState defines the staking module's genesis state.
params defines all the paramaters of related to deposit.
last_total_power tracks the total amounts of bonded tokens recorded during the previous end block.
last_validator_powers is a special index that provides a historical list of the last-block's bonded validators.
delegations defines the validator set at genesis.
delegations defines the delegations active at genesis.
unbonding_delegations defines the unbonding delegations active at genesis.
redelegations defines the redelegations active at genesis.
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).
LastValidatorPower required for validator set update logic.
Used in:
address is the address of the validator.
power defines the power of the validator.
Params defines the parameters for the staking module.
Used in:
unbonding_time is the time duration of unbonding.
max_validators is the maximum number of validators.
max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio).
historical_entries is the number of historical entries to persist.
bond_denom defines the bondable coin denomination.
min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators
Pool is used for tracking bonded and not-bonded token supply of the bond denomination.
Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator.
Used in:
,delegator_address is the bech32-encoded address of the delegator.
validator_src_address is the validator redelegation source operator address.
validator_dst_address is the validator redelegation destination operator address.
entries are the redelegation entries.
redelegation entries
RedelegationEntry defines a redelegation object with relevant metadata.
Used in:
,creation_height defines the height which the redelegation took place.
completion_time defines the unix time for redelegation completion.
initial_balance defines the initial balance when redelegation started.
shares_dst is the amount of destination-validator shares created by redelegation.
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 is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses.
StakeAuthorization defines authorization for delegate/undelegate/redelegate. Since: cosmos-sdk 0.43
max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is empty, there is no spend limit and any amount of coins can be delegated.
validators is the oneof that represents either allow_list or deny_list
allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's account.
deny_list specifies list of validator addresses to whom grantee can not delegate tokens.
authorization_type defines one of AuthorizationType.
Validators defines list of validator addresses.
Used in:
UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list.
Used in:
delegator_address is the bech32-encoded address of the delegator.
validator_address is the bech32-encoded address of the validator.
entries are the unbonding delegation entries.
unbonding delegation entries
UnbondingDelegationEntry defines an unbonding object with relevant metadata.
Used in:
creation_height is the height which the unbonding took place.
completion_time is the unix time for unbonding completion.
initial_balance defines the tokens initially scheduled to receive at completion.
balance defines the tokens to receive at completion.
ValAddresses defines a repeated set of validator addresses.
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:
,operator_address defines the address of the validator's operator; bech encoded in JSON.
consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.
jailed defined whether the validator has been jailed from bonded status or not.
status is the validator status (bonded/unbonding/unbonded).
tokens define the delegated tokens (incl. self-delegation).
delegator_shares defines total shares issued to a validator's delegators.
description defines the description terms for the validator.
unbonding_height defines, if unbonding, the height at which this validator has begun unbonding.
unbonding_time defines, if unbonding, the min time for the validator to complete unbonding.
commission defines the commission parameters.
min_self_delegation is the validator's self declared minimum self delegation.