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

Source Files