IVotesTokenSafeDispatcherTrait
Fully qualified path: openzeppelin_interfaces::governance::extensions::IVotesTokenSafeDispatcherTrait
Part of the group: dispatchers
pub trait IVotesTokenSafeDispatcherTrait<T>
Trait functions
token
Returns the token that voting power is sourced from.
Fully qualified path: openzeppelin_interfaces::governance::extensions::IVotesTokenSafeDispatcherTrait::token
fn token(self: T) -> Result<ContractAddress, Array<felt252>>