Documentation ¶
Index ¶
- type Source
- func (s Source) Params(height int64) (*govtypesv1.Params, error)
- func (s Source) Proposal(height int64, id uint64) (*govtypesv1.Proposal, error)
- func (s Source) ProposalDeposit(height int64, id uint64, depositor string) (*govtypesv1.Deposit, error)
- func (s Source) TallyResult(height int64, proposalID uint64) (*govtypesv1.TallyResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
Source implements govsource.Source by using a local node
func NewSource ¶
func NewSource(source *local.Source, govKeeper govtypesv1.QueryServer) *Source
NewSource returns a new Source instance
func (Source) Params ¶
func (s Source) Params(height int64) (*govtypesv1.Params, error)
Params implements govsource.Source
func (Source) ProposalDeposit ¶
func (s Source) ProposalDeposit(height int64, id uint64, depositor string) (*govtypesv1.Deposit, error)
ProposalDeposit implements govsource.Source
func (Source) TallyResult ¶
func (s Source) TallyResult(height int64, proposalID uint64) (*govtypesv1.TallyResult, error)
TallyResult implements govsource.Source
Click to show internal directories.
Click to hide internal directories.