Documentation ¶
Index ¶
Constants ¶
View Source
const ( QueryValidators = "validators" QueryValidator = "validator" QueryDelegatorDelegations = "delegatorDelegations" QueryDelegatorUnbondingDelegations = "delegatorUnbondingDelegations" QueryDelegatorRedelegations = "delegatorRedelegations" QueryValidatorUnbondingDelegations = "validatorUnbondingDelegations" QueryValidatorRedelegations = "validatorRedelegations" QueryDelegator = "delegator" QueryDelegation = "delegation" QueryUnbondingDelegation = "unbondingDelegation" QueryDelegatorValidators = "delegatorValidators" QueryDelegatorValidator = "delegatorValidator" QueryPool = "pool" QueryParameters = "parameters" )
query endpoints supported by the staking Querier
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QueryBondsParams ¶
type QueryBondsParams struct { DelegatorAddr sdk.AccAddress ValidatorAddr sdk.ValAddress }
defines the params for the following queries: - 'custom/stake/delegation' - 'custom/stake/unbondingDelegation' - 'custom/stake/delegatorValidator'
type QueryDelegatorParams ¶
type QueryDelegatorParams struct {
DelegatorAddr sdk.AccAddress
}
defines the params for the following queries: - 'custom/stake/delegatorDelegations' - 'custom/stake/delegatorUnbondingDelegations' - 'custom/stake/delegatorRedelegations' - 'custom/stake/delegatorValidators'
type QueryValidatorParams ¶
type QueryValidatorParams struct {
ValidatorAddr sdk.ValAddress
}
defines the params for the following queries: - 'custom/stake/validator' - 'custom/stake/validatorUnbondingDelegations' - 'custom/stake/validatorRedelegations'
Click to show internal directories.
Click to hide internal directories.