Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IQuorumFractionSafeDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::extensions::IQuorumFractionSafeDispatcherTrait

Part of the group: dispatchers

pub trait IQuorumFractionSafeDispatcherTrait<T>

Trait functions

token

Returns the token that voting power is sourced from.

Fully qualified path: openzeppelin_interfaces::governance::extensions::IQuorumFractionSafeDispatcherTrait::token

fn token(self: T) -> Result<ContractAddress, Array<felt252>>

current_quorum_numerator

Returns the current quorum numerator.

Fully qualified path: openzeppelin_interfaces::governance::extensions::IQuorumFractionSafeDispatcherTrait::current_quorum_numerator

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

quorum_numerator

Returns the quorum numerator at a specific timepoint.

Fully qualified path: openzeppelin_interfaces::governance::extensions::IQuorumFractionSafeDispatcherTrait::quorum_numerator

fn quorum_numerator(self: T, timepoint: u64) -> Result<u256, Array<felt252>>

quorum_denominator

Returns the quorum denominator.

Fully qualified path: openzeppelin_interfaces::governance::extensions::IQuorumFractionSafeDispatcherTrait::quorum_denominator

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