Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ImmutableConfig

Constants expected to be defined at the contract level used to configure the component behavior.

  • DEFAULT_PARAMS: Default additional encoded parameters used by cast_vote methods that don’t include them.

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

pub trait ImmutableConfig

Trait functions

DEFAULT_PARAMS

Defined as a function since constant Span is not supported.

Fully qualified path: openzeppelin_governance::governor::governor::GovernorComponent::ImmutableConfig::DEFAULT_PARAMS

fn DEFAULT_PARAMS() -> Span<felt252>