proposals

package
v0.34.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListProposals

func ListProposals(args *def.DeployArgs, reqState ProposalState, logger *logging.Logger) error

func ProposalExpired

func ProposalExpired(proposal *payload.Proposal, client *def.Client, logger *logging.Logger) error

Types

type ProposalState

type ProposalState int
const (
	ALL ProposalState = 1 + iota
	FAILED
	EXECUTED
	EXPIRED
	PROPOSED
)

func ProposalStateFromString

func ProposalStateFromString(s string) (ProposalState, error)

func (*ProposalState) String

func (p *ProposalState) String() string

Jump to

Keyboard shortcuts

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