Trait pallet_democracy::weights::WeightInfo
source · pub trait WeightInfo {
Show 26 methods
fn propose() -> Weight;
fn second(s: u32) -> Weight;
fn vote_new(r: u32) -> Weight;
fn vote_existing(r: u32) -> Weight;
fn emergency_cancel() -> Weight;
fn blacklist(p: u32) -> Weight;
fn external_propose(v: u32) -> Weight;
fn external_propose_majority() -> Weight;
fn external_propose_default() -> Weight;
fn fast_track() -> Weight;
fn veto_external(v: u32) -> Weight;
fn cancel_proposal(p: u32) -> Weight;
fn cancel_referendum() -> Weight;
fn cancel_queued(r: u32) -> Weight;
fn on_initialize_base(r: u32) -> Weight;
fn on_initialize_base_with_launch_period(r: u32) -> Weight;
fn delegate(r: u32) -> Weight;
fn undelegate(r: u32) -> Weight;
fn clear_public_proposals() -> Weight;
fn note_preimage(b: u32) -> Weight;
fn note_imminent_preimage(b: u32) -> Weight;
fn reap_preimage(b: u32) -> Weight;
fn unlock_remove(r: u32) -> Weight;
fn unlock_set(r: u32) -> Weight;
fn remove_vote(r: u32) -> Weight;
fn remove_other_vote(r: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_democracy.