Documentation ¶
Index ¶
- type Source
- func (s Source) DepositParams(height int64) (govtypes.DepositParams, error)
- func (s Source) Proposal(height int64, id uint64) (govtypes.Proposal, error)
- func (s Source) ProposalDeposit(height int64, id uint64, depositor string) (govtypes.Deposit, error)
- func (s Source) TallyParams(height int64) (govtypes.TallyParams, error)
- func (s Source) TallyResult(height int64, proposalID uint64) (govtypes.TallyResult, error)
- func (s Source) VotingParams(height int64) (govtypes.VotingParams, 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 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) 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 ¶
TallyResult implements govsource.Source
func (Source) VotingParams ¶
func (s Source) VotingParams(height int64) (govtypes.VotingParams, error)
VotingParams implements govsource.Source
Click to show internal directories.
Click to hide internal directories.