proposals

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListProposals

func ListProposals(client *def.Client, reqState ProposalState)

func ProposalExpired

func ProposalExpired(proposal *payload.Proposal, client *def.Client) 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