Trait pallet_bridge_relayers::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn claim_rewards() -> Weight;
fn register() -> Weight;
fn deregister() -> Weight;
fn slash_and_deregister() -> Weight;
fn register_relayer_reward() -> Weight;
}
Expand description
Weight functions needed for pallet_bridge_relayers.
Required Methods§
fn claim_rewards() -> Weight
fn register() -> Weight
fn deregister() -> Weight
fn slash_and_deregister() -> Weight
fn register_relayer_reward() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn claim_rewards() -> Weight
fn claim_rewards() -> Weight
Storage: BridgeRelayers RelayerRewards (r:1 w:1)
Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
Storage: Balances TotalIssuance (r:1 w:0)
Proof: Balances TotalIssuance (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen)
source§fn register() -> Weight
fn register() -> Weight
Storage: BridgeRelayers RegisteredRelayers (r:1 w:1)
Proof: BridgeRelayers RegisteredRelayers (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
Storage: Balances Reserves (r:1 w:1)
Proof: Balances Reserves (max_values: None, max_size: Some(849), added: 3324, mode: MaxEncodedLen)
source§fn deregister() -> Weight
fn deregister() -> Weight
Storage: BridgeRelayers RegisteredRelayers (r:1 w:1)
Proof: BridgeRelayers RegisteredRelayers (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
Storage: Balances Reserves (r:1 w:1)
Proof: Balances Reserves (max_values: None, max_size: Some(849), added: 3324, mode: MaxEncodedLen)
source§fn slash_and_deregister() -> Weight
fn slash_and_deregister() -> Weight
Storage: BridgeRelayers RegisteredRelayers (r:1 w:1)
Proof: BridgeRelayers RegisteredRelayers (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
Storage: Balances Reserves (r:1 w:1)
Proof: Balances Reserves (max_values: None, max_size: Some(849), added: 3324, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(104), added: 2579, mode: MaxEncodedLen)
source§fn register_relayer_reward() -> Weight
fn register_relayer_reward() -> Weight
Storage: BridgeRelayers RelayerRewards (r:1 w:1)
Proof: BridgeRelayers RelayerRewards (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)