remote

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 5 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 multisigsource.Source using a remote node

func NewSource

func NewSource(source *remote.Source, client multisigtypes.QueryClient) *Source

NewSource returns a new Source implementation

func (Source) Group

func (s Source) Group(height int64, account string) (multisigtypes.Group, error)

Group implements multisigsource.Source

func (Source) Params

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

Params implements multisigsource.Source

func (Source) Proposal

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

Proposal implements multisigsource.Source

func (Source) ProposalAll

func (s Source) ProposalAll(height int64) ([]multisigtypes.Proposal, error)

ProposalAll implements multisigsource.Source

func (Source) Vote

func (s Source) Vote(height int64, proposalId uint64, voter string) (multisigtypes.Vote, error)

Vote implements multisigsource.Source

Jump to

Keyboard shortcuts

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