Skip to main content

WeightInfo

Trait WeightInfo 

Source
pub trait WeightInfo {
Show 26 methods // Required methods fn submit_bundle() -> Weight; fn submit_fraud_proof() -> Weight; fn handle_bad_receipt(n: u32) -> Weight; fn confirm_domain_block(n: u32, s: u32) -> Weight; fn operator_reward_tax_and_restake(n: u32) -> Weight; fn slash_operator(n: u32) -> Weight; fn finalize_domain_epoch_staking(p: u32) -> Weight; fn register_domain_runtime() -> Weight; fn upgrade_domain_runtime() -> Weight; fn instantiate_domain() -> Weight; fn register_operator() -> Weight; fn nominate_operator() -> Weight; fn deregister_operator() -> Weight; fn withdraw_stake() -> Weight; fn unlock_funds(w: u32) -> Weight; fn unlock_nominator() -> Weight; fn update_domain_operator_allow_list() -> Weight; fn transfer_treasury_funds() -> Weight; fn submit_receipt() -> Weight; fn validate_submit_bundle() -> Weight; fn validate_singleton_receipt() -> Weight; fn fraud_proof_pre_check() -> Weight; fn deactivate_operator() -> Weight; fn reactivate_operator() -> Weight; fn deregister_deactivated_operator() -> Weight; fn withdraw_stake_from_deactivated_operator() -> Weight;
}
Expand description

Weight functions needed for pallet_domains.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Config> WeightInfo for SubstrateWeight<T>