Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IGovernorSettingsAdminSafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::extensions::IGovernorSettingsAdminSafeDispatcherTrait

Part of the group: dispatchers

pub trait IGovernorSettingsAdminSafeDispatcherTrait<T>

Trait functions

set_voting_delay

Sets the voting delay.

Fully qualified path: openzeppelin_interfaces::governance::extensions::IGovernorSettingsAdminSafeDispatcherTrait::set_voting_delay

fn set_voting_delay(self: T, new_voting_delay: u64) -> Result<(), Array<felt252>>

set_voting_period

Sets the voting period.

Fully qualified path: openzeppelin_interfaces::governance::extensions::IGovernorSettingsAdminSafeDispatcherTrait::set_voting_period

fn set_voting_period(self: T, new_voting_period: u64) -> Result<(), Array<felt252>>

set_proposal_threshold

Sets the proposal threshold.

Fully qualified path: openzeppelin_interfaces::governance::extensions::IGovernorSettingsAdminSafeDispatcherTrait::set_proposal_threshold

fn set_proposal_threshold(self: T, new_proposal_threshold: u256) -> Result<(), Array<felt252>>