Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IVotesToken

Fully qualified path: openzeppelin_interfaces::governance::extensions::IVotesToken

pub trait IVotesToken<TState>

Trait functions

token

Returns the token that voting power is sourced from.

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

fn token(self: @TState) -> ContractAddress