Commission defines commission parameters for a given validator.
CommissionRates defines the initial commission rates to be used for creating
a validator.
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.
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.
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.
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.
DVVTriplets defines an array of DVVTriplet objects.
GenesisState defines the staking module’s genesis state.
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.
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.
MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator
MsgCancelUnbondingDelegationResponse
MsgCreateValidator defines a SDK message for creating a new validator.
MsgCreateValidatorResponse defines the Msg/CreateValidator response type.
MsgDelegate defines a SDK message for performing a delegation of coins
from a delegator to a validator.
MsgDelegateResponse defines the Msg/Delegate response type.
MsgEditValidator defines a SDK message for editing an existing validator.
MsgEditValidatorResponse defines the Msg/EditValidator response type.
MsgUndelegate defines a SDK message for performing an undelegation from a
delegate and a validator.
MsgUndelegateResponse defines the Msg/Undelegate response type.
Params defines the parameters for the staking module.
Pool is used for tracking bonded and not-bonded token supply of the bond
denomination.
QueryDelegationRequest is request type for the Query/Delegation RPC method.
QueryDelegationResponse is response type for the Query/Delegation RPC method.
QueryDelegatorDelegationsRequest is request type for the
Query/DelegatorDelegations RPC method.
QueryDelegatorDelegationsResponse is response type for the
Query/DelegatorDelegations RPC method.
QueryDelegatorUnbondingDelegationsRequest is request type for the
Query/DelegatorUnbondingDelegations RPC method.
QueryUnbondingDelegatorDelegationsResponse is response type for the
Query/UnbondingDelegatorDelegations RPC method.
QueryDelegatorValidatorRequest is request type for the
Query/DelegatorValidator RPC method.
QueryDelegatorValidatorResponse response type for the
Query/DelegatorValidator RPC method.
QueryDelegatorValidatorsRequest is request type for the
Query/DelegatorValidators RPC method.
QueryDelegatorValidatorsResponse is response type for the
Query/DelegatorValidators RPC method.
QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC
method.
QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC
method.
QueryParamsRequest is request type for the Query/Params RPC method.
QueryParamsResponse is response type for the Query/Params RPC method.
QueryPoolRequest is request type for the Query/Pool RPC method.
QueryPoolResponse is response type for the Query/Pool RPC method.
QueryRedelegationsRequest is request type for the Query/Redelegations RPC
method.
QueryRedelegationsResponse is response type for the Query/Redelegations RPC
method.
QueryUnbondingDelegationRequest is request type for the
Query/UnbondingDelegation RPC method.
QueryDelegationResponse is response type for the Query/UnbondingDelegation
RPC method.
QueryValidatorDelegationsRequest is request type for the
Query/ValidatorDelegations RPC method
QueryValidatorDelegationsResponse is response type for the
Query/ValidatorDelegations RPC method
QueryValidatorRequest is response type for the Query/Validator RPC method
QueryValidatorResponse is response type for the Query/Validator RPC method
QueryValidatorUnbondingDelegationsRequest is required type for the
Query/ValidatorUnbondingDelegations RPC method
QueryValidatorUnbondingDelegationsResponse is response type for the
Query/ValidatorUnbondingDelegations RPC method.
QueryValidatorsRequest is request type for Query/Validators RPC method.
QueryValidatorsResponse is response type for the Query/Validators RPC method
Redelegation contains the list of a particular delegator’s redelegating bonds
from a particular source validator to a particular destination validator.
RedelegationEntry defines a redelegation object with relevant metadata.
RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
contains a balance in addition to shares which is more suitable for client
responses.
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.
UnbondingDelegation stores all of a single delegator’s unbonding bonds
for a single validator in an time-ordered list.
UnbondingDelegationEntry defines an unbonding object with relevant metadata.
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.