Trait pallet_referenda::weights::WeightInfo
source · pub trait WeightInfo {
Show 28 methods
// Required methods
fn submit() -> Weight;
fn place_decision_deposit_preparing() -> Weight;
fn place_decision_deposit_queued() -> Weight;
fn place_decision_deposit_not_queued() -> Weight;
fn place_decision_deposit_passing() -> Weight;
fn place_decision_deposit_failing() -> Weight;
fn refund_decision_deposit() -> Weight;
fn refund_submission_deposit() -> Weight;
fn cancel() -> Weight;
fn kill() -> Weight;
fn one_fewer_deciding_queue_empty() -> Weight;
fn one_fewer_deciding_failing() -> Weight;
fn one_fewer_deciding_passing() -> Weight;
fn nudge_referendum_requeued_insertion() -> Weight;
fn nudge_referendum_requeued_slide() -> Weight;
fn nudge_referendum_queued() -> Weight;
fn nudge_referendum_not_queued() -> Weight;
fn nudge_referendum_no_deposit() -> Weight;
fn nudge_referendum_preparing() -> Weight;
fn nudge_referendum_timed_out() -> Weight;
fn nudge_referendum_begin_deciding_failing() -> Weight;
fn nudge_referendum_begin_deciding_passing() -> Weight;
fn nudge_referendum_begin_confirming() -> Weight;
fn nudge_referendum_end_confirming() -> Weight;
fn nudge_referendum_continue_not_confirming() -> Weight;
fn nudge_referendum_continue_confirming() -> Weight;
fn nudge_referendum_approved() -> Weight;
fn nudge_referendum_rejected() -> Weight;
}
Expand description
Weight functions needed for pallet_referenda.