governance

package
v0.2202.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package governance implements the tendermint backed governance backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventsFromTendermint

func EventsFromTendermint(
	tx tmtypes.Tx,
	height int64,
	tmEvents []tmabcitypes.Event,
) ([]*api.Event, error)

EventsFromTendermint extracts governance events from tendermint events.

Types

type ServiceClient

type ServiceClient interface {
	api.Backend
	tmapi.ServiceClient
}

ServiceClient is the registry service client interface.

func New

func New(ctx context.Context, backend tmapi.Backend) (ServiceClient, error)

New constructs a new tendermint backed governance Backend instance.

Jump to

Keyboard shortcuts

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