Documentation ¶
Index ¶
- type Source
- func (s Source) CommunityPool(height int64) (sdk.DecCoins, error)
- func (s Source) DelegatorTotalRewards(delegator string, height int64) ([]distrtypes.DelegationDelegatorReward, error)
- func (s Source) DelegatorWithdrawAddress(delegator string, height int64) (string, error)
- func (s Source) Params(height int64) (distrtypes.Params, error)
- func (s Source) ValidatorCommission(valOperAddr string, height int64) (sdk.DecCoins, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
Source implements distrsource.Source querying the data from a remote node
func NewSource ¶
func NewSource(source *remote.Source, distrClient distrtypes.QueryClient) *Source
NewSource returns a new Source instace
func (Source) CommunityPool ¶
CommunityPool implements distrsource.Source
func (Source) DelegatorTotalRewards ¶
func (s Source) DelegatorTotalRewards(delegator string, height int64) ([]distrtypes.DelegationDelegatorReward, error)
DelegatorTotalRewards implements distrsource.Source
func (Source) DelegatorWithdrawAddress ¶
DelegatorWithdrawAddress implements distrsource.Source
Click to show internal directories.
Click to hide internal directories.