remote

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

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

Source implements govsource.Source using a remote node

func NewSource

func NewSource(source *remote.Source, govClient govtypesv1.QueryClient, govClientv1beta1 govtypesv1beta1.QueryClient) *Source

NewSource returns a new Source implementation

func (Source) DepositParams

func (s Source) DepositParams(height int64) (*govtypesv1.DepositParams, error)

DepositParams implements govsource.Source

func (Source) Proposal

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

Proposal 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) TallyParams

func (s Source) TallyParams(height int64) (*govtypesv1.TallyParams, error)

TallyParams implements govsource.Source

func (Source) TallyResult

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

TallyResult implements govsource.Source

func (Source) VotingParams

func (s Source) VotingParams(height int64) (*govtypesv1.VotingParams, error)

VotingParams implements govsource.Source

Jump to

Keyboard shortcuts

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