Documentation ¶
Index ¶
- type Source
- func (s Source) GetDelegation(height int64, delegator string, valOperAddr string) (stakingtypes.DelegationResponse, error)
- func (s Source) GetDelegatorDelegations(height int64, delegator string) ([]stakingtypes.DelegationResponse, error)
- func (s Source) GetParams(height int64) (stakingtypes.Params, error)
- func (s Source) GetPool(height int64) (stakingtypes.Pool, error)
- func (s Source) GetValidator(height int64, valOper string) (stakingtypes.Validator, error)
- func (s Source) GetValidatorDelegations(height int64, validator string) ([]stakingtypes.DelegationResponse, 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 remote node
func NewSource ¶
func NewSource(source *remote.Source, stakingClient stakingtypes.QueryClient) *Source
NewSource returns a new Source instance
func (Source) GetDelegation ¶
func (s Source) GetDelegation(height int64, delegator string, valOperAddr string) (stakingtypes.DelegationResponse, error)
GetDelegation implements stakingsource.Source
func (Source) GetDelegatorDelegations ¶
func (s Source) GetDelegatorDelegations(height int64, delegator string) ([]stakingtypes.DelegationResponse, error)
GetDelegatorDelegations 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) GetValidator ¶
GetValidator implements stakingsource.Source
func (Source) GetValidatorDelegations ¶
func (s Source) GetValidatorDelegations(height int64, validator string) ([]stakingtypes.DelegationResponse, error)
GetValidatorDelegations 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.