local

package
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	*local.Source
	// contains filtered or unexported fields
}

Source implements distrsource.Source reading the data from a local node

func NewSource

func NewSource(source *local.Source, keeper distrtypes.QueryServer) *Source

func (Source) CommunityPool

func (s Source) CommunityPool(height int64) (sdk.DecCoins, error)

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

func (s Source) DelegatorWithdrawAddress(delegator string, height int64) (string, error)

DelegatorWithdrawAddress implements distrsource.Source

func (Source) Params

func (s Source) Params(height int64) (distrtypes.Params, error)

Params implements distrsource.Source

func (Source) ValidatorCommission

func (s Source) ValidatorCommission(valOperAddr string, height int64) (sdk.DecCoins, error)

ValidatorCommission implements distrsource.Source

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL