State
Gets the proposal state for the specified proposal. The return value, ProposalState
is an enumerated type defined in the Governor Alpha contract.
Governor Alpha
proposalId
: ID of a proposal in which to get its state.RETURN
: Enumerated type ProposalState. The types are Pending, Active, Canceled, Defeated, Succeeded, Queued, Expired, andExecuted.
Solidity
Web3 1.2.6
Last updated