VotesABISafeDispatcherTrait
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait
Part of the group: dispatchers
pub trait VotesABISafeDispatcherTrait<T>
Trait functions
get_votes
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::get_votes
fn get_votes(self: T, account: ContractAddress) -> Result<u256, Array<felt252>>
get_past_votes
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::get_past_votes
fn get_past_votes(self: T, account: ContractAddress, timepoint: u64) -> Result<u256, Array<felt252>>
get_past_total_supply
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::get_past_total_supply
fn get_past_total_supply(self: T, timepoint: u64) -> Result<u256, Array<felt252>>
delegates
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::delegates
fn delegates(self: T, account: ContractAddress) -> Result<ContractAddress, Array<felt252>>
delegate
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::delegate
fn delegate(self: T, delegatee: ContractAddress) -> Result<(), Array<felt252>>
delegate_by_sig
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::delegate_by_sig
fn delegate_by_sig(
self: T,
delegator: ContractAddress,
delegatee: ContractAddress,
nonce: felt252,
expiry: u64,
signature: Span<felt252>,
) -> Result<(), Array<felt252>>
nonces
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::nonces
fn nonces(self: T, owner: ContractAddress) -> Result<felt252, Array<felt252>>
clock
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::clock
fn clock(self: T) -> Result<u64, Array<felt252>>
CLOCK_MODE
Fully qualified path: openzeppelin_interfaces::governance::votes::VotesABISafeDispatcherTrait::CLOCK_MODE
fn CLOCK_MODE(self: T) -> Result<ByteArray, Array<felt252>>