Documentation ¶
Index ¶
- type Source
- func (s Source) GetDelegationsWithPagination(height int64, delegator string, pagination *query.PageRequest) (*stakingtypes.QueryDelegatorDelegationsResponse, error)
- func (s Source) GetParams(height int64) (stakingtypes.Params, error)
- func (s Source) GetPool(height int64) (stakingtypes.Pool, error)
- func (s Source) GetRedelegations(height int64, request *stakingtypes.QueryRedelegationsRequest) (*stakingtypes.QueryRedelegationsResponse, error)
- func (s Source) GetUnbondingDelegations(height int64, delegator string, pagination *query.PageRequest) (*stakingtypes.QueryDelegatorUnbondingDelegationsResponse, error)
- func (s Source) GetUnbondingDelegationsFromValidator(height int64, validator string, pagination *query.PageRequest) (*stakingtypes.QueryValidatorUnbondingDelegationsResponse, error)
- func (s Source) GetValidator(height int64, valOper string) (stakingtypes.Validator, error)
- func (s Source) GetValidatorDelegationsWithPagination(height int64, validator string, pagination *query.PageRequest) (*stakingtypes.QueryValidatorDelegationsResponse, error)
- func (s Source) GetValidatorsWithStatus(height int64, status string) ([]stakingtypes.Validator, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
Source implements stakingsource.Source using a local node
func NewSource ¶
func NewSource(source *local.Source, querier stakingtypes.QueryServer) *Source
NewSource returns a new Source instance
func (Source) GetDelegationsWithPagination ¶
func (s Source) GetDelegationsWithPagination(height int64, delegator string, pagination *query.PageRequest) (*stakingtypes.QueryDelegatorDelegationsResponse, error)
GetDelegationsWithPagination implements stakingsource.Source
func (Source) GetParams ¶
func (s Source) GetParams(height int64) (stakingtypes.Params, error)
GetParams implements stakingsource.Source
func (Source) GetPool ¶
func (s Source) GetPool(height int64) (stakingtypes.Pool, error)
GetPool implements stakingsource.Source
func (Source) GetRedelegations ¶
func (s Source) GetRedelegations(height int64, request *stakingtypes.QueryRedelegationsRequest) (*stakingtypes.QueryRedelegationsResponse, error)
GetRedelegations implements stakingsource.Source
func (Source) GetUnbondingDelegations ¶
func (s Source) GetUnbondingDelegations(height int64, delegator string, pagination *query.PageRequest) (*stakingtypes.QueryDelegatorUnbondingDelegationsResponse, error)
GetUnbondingDelegations implements stakingsource.Source
func (Source) GetUnbondingDelegationsFromValidator ¶
func (s Source) GetUnbondingDelegationsFromValidator( height int64, validator string, pagination *query.PageRequest, ) (*stakingtypes.QueryValidatorUnbondingDelegationsResponse, error)
GetUnbondingDelegationsFromValidator implements stakingsource.Source
func (Source) GetValidator ¶
GetValidator implements stakingsource.Source
func (Source) GetValidatorDelegationsWithPagination ¶
func (s Source) GetValidatorDelegationsWithPagination( height int64, validator string, pagination *query.PageRequest, ) (*stakingtypes.QueryValidatorDelegationsResponse, error)
GetValidatorDelegationsWithPagination implements stakingsource.Source
func (Source) GetValidatorsWithStatus ¶
func (s Source) GetValidatorsWithStatus(height int64, status string) ([]stakingtypes.Validator, error)
GetValidatorsWithStatus implements stakingsource.Source
Click to show internal directories.
Click to hide internal directories.