Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

GovernorComponent

Governor Component

Core of the governance system.

Fully qualified path: openzeppelin_governance::governor::governor::GovernorComponent

Modules

Free functions

Structs

Storage—
ProposalCreatedEmitted when call is scheduled as part of operation id .
ProposalQueuedEmitted when a proposal is queued.
ProposalExecutedEmitted when a proposal is executed.
ProposalCanceledEmitted when a proposal is canceled.
VoteCastEmitted when a vote is cast without params.
VoteCastWithParamsEmitted when a vote is cast with params. NOTE: support values should be seen as buckets. Their interpretation depends on the voting module used. params…
ComponentState—

Enums

Event—

Traits

ImmutableConfigConstants expected to be defined at the contract level used to configure the component behavior….
GovernorSettingsTrait—
GovernorQuorumTrait—
GovernorCountingTrait—
GovernorVotesTrait—
GovernorExecutionTrait—
HasComponent—
InternalTrait—
InternalExtendedTrait—
UnsafeNewContractStateTraitForGovernorImpl—