Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

VotesABIDispatcherTrait

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait

Part of the group: dispatchers

pub trait VotesABIDispatcherTrait<T>

Trait functions

get_votes

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::get_votes

fn get_votes(self: T, account: ContractAddress) -> u256

get_past_votes

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::get_past_votes

fn get_past_votes(self: T, account: ContractAddress, timepoint: u64) -> u256

get_past_total_supply

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::get_past_total_supply

fn get_past_total_supply(self: T, timepoint: u64) -> u256

delegates

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::delegates

fn delegates(self: T, account: ContractAddress) -> ContractAddress

delegate

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::delegate

fn delegate(self: T, delegatee: ContractAddress)

delegate_by_sig

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::delegate_by_sig

fn delegate_by_sig(
    self: T,
    delegator: ContractAddress,
    delegatee: ContractAddress,
    nonce: felt252,
    expiry: u64,
    signature: Span<felt252>,
)

nonces

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::nonces

fn nonces(self: T, owner: ContractAddress) -> felt252

clock

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::clock

fn clock(self: T) -> u64

CLOCK_MODE

Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABIDispatcherTrait::CLOCK_MODE

fn CLOCK_MODE(self: T) -> ByteArray