Trait pallet_unified_accounts::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn claim_evm_address() -> Weight;
fn claim_default_evm_address() -> Weight;
fn to_account_id() -> Weight;
fn to_account_id_or_default() -> Weight;
fn to_h160() -> Weight;
fn to_h160_or_default() -> Weight;
}
Expand description
Weight functions needed for pallet_unified_accounts.
Required Methods§
fn claim_evm_address() -> Weight
fn claim_default_evm_address() -> Weight
fn to_account_id() -> Weight
fn to_account_id_or_default() -> Weight
fn to_h160() -> Weight
fn to_h160_or_default() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn claim_evm_address() -> Weight
fn claim_evm_address() -> Weight
Storage: UnifiedAccounts NativeToEvm (r:1 w:1) Proof: UnifiedAccounts NativeToEvm (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) Storage: UnifiedAccounts EvmToNative (r:1 w:1) Proof: UnifiedAccounts EvmToNative (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) Storage: EVMChainId ChainId (r:1 w:0) Proof: EVMChainId ChainId (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: System BlockHash (r:1 w:0) Proof: System BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
source§fn claim_default_evm_address() -> Weight
fn claim_default_evm_address() -> Weight
Storage: UnifiedAccounts NativeToEvm (r:1 w:1) Proof: UnifiedAccounts NativeToEvm (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) Storage: UnifiedAccounts EvmToNative (r:1 w:1) Proof: UnifiedAccounts EvmToNative (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
source§fn to_account_id() -> Weight
fn to_account_id() -> Weight
Storage: UnifiedAccounts EvmToNative (r:1 w:0) Proof: UnifiedAccounts EvmToNative (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
source§fn to_account_id_or_default() -> Weight
fn to_account_id_or_default() -> Weight
Storage: UnifiedAccounts EvmToNative (r:1 w:0) Proof: UnifiedAccounts EvmToNative (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
source§fn to_h160() -> Weight
fn to_h160() -> Weight
Storage: UnifiedAccounts NativeToEvm (r:1 w:0) Proof: UnifiedAccounts NativeToEvm (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
source§fn to_h160_or_default() -> Weight
fn to_h160_or_default() -> Weight
Storage: UnifiedAccounts NativeToEvm (r:1 w:0) Proof: UnifiedAccounts NativeToEvm (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)