Help us shape the future of Go! Take the 2026 Go Developer Survey

proposal

package
v1.7.74 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewProposals       = view.NewProposalsView
	NewVotes           = view.NewVotesView
	NewVotesTotal      = view.NewVotesTotalView
	NewDepositors      = view.NewDepositorsView
	NewDepositorsTotal = view.NewDepositorsTotalView

	UpdateLastHandledEventHeight = (*Proposal).UpdateLastHandledEventHeight

	ParamBaseHandleEvents     = (*rdbparambase.Base).HandleEvents
	ValidatorBaseHandleEvents = (*rdbvalidatorbase.Base).HandleEvents
	ParamBaseGetView          = (*rdbparambase.Base).GetView
	ValidatorBaseGetView      = (*rdbvalidatorbase.Base).GetView
)

Functions

This section is empty.

Types

type Proposal

type Proposal struct {
	*rdbprojectionbase.Base
	// contains filtered or unexported fields
}

func NewProposal

func NewProposal(
	logger applogger.Logger,
	rdbConn rdb.Conn,
	cosmosClient cosmosapp_interface.Client,
	conNodeAddressPrefix string,
	migrationHelper migrationhelper.MigrationHelper,
) *Proposal

func (*Proposal) GetEventsToListen

func (proposal *Proposal) GetEventsToListen() []string

func (*Proposal) HandleEvents

func (projection *Proposal) HandleEvents(height int64, events []event_entity.Event) error

func (*Proposal) OnInit

func (projection *Proposal) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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