local

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 govsource.Source by using a local node

func NewSource

func NewSource(source *local.Source, govKeeper govtypes.QueryServer) *Source

NewSource returns a new Source instance

func (Source) DepositParams

func (s Source) DepositParams(height int64) (govtypes.DepositParams, error)

DepositParams implements govsource.Source

func (Source) Proposal

func (s Source) Proposal(height int64, id uint64) (govtypes.Proposal, error)

Proposal implements govsource.Source

func (Source) ProposalDeposit

func (s Source) ProposalDeposit(height int64, id uint64, depositor string) (govtypes.Deposit, error)

ProposalDeposit implements govsource.Source

func (Source) TallyParams

func (s Source) TallyParams(height int64) (govtypes.TallyParams, error)

TallyParams implements govsource.Source

func (Source) TallyResult

func (s Source) TallyResult(height int64, proposalID uint64) (govtypes.TallyResult, error)

TallyResult implements govsource.Source

func (Source) VotingParams

func (s Source) VotingParams(height int64) (govtypes.VotingParams, error)

VotingParams implements govsource.Source

Jump to

Keyboard shortcuts

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