Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IVotesTokenDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::extensions::IVotesTokenDispatcherTrait

Part of the group: dispatchers

pub trait IVotesTokenDispatcherTrait<T>

Trait functions

token

Returns the token that voting power is sourced from.

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

fn token(self: T) -> ContractAddress