pub trait WeightInfo {
// Required methods
fn transfer_allow_death() -> Weight;
fn transfer_keep_alive() -> Weight;
fn force_set_balance_creating() -> Weight;
fn force_set_balance_killing() -> Weight;
fn force_transfer() -> Weight;
fn transfer_all() -> Weight;
fn force_unreserve() -> Weight;
fn upgrade_accounts(u: u32) -> Weight;
fn force_adjust_total_issuance() -> Weight;
fn burn_allow_death() -> Weight;
fn burn_keep_alive() -> Weight;
}
Expand description
Weight functions needed for pallet_balances
.
Required Methods§
fn transfer_allow_death() -> Weight
fn transfer_keep_alive() -> Weight
fn force_set_balance_creating() -> Weight
fn force_set_balance_killing() -> Weight
fn force_transfer() -> Weight
fn transfer_all() -> Weight
fn force_unreserve() -> Weight
fn upgrade_accounts(u: u32) -> Weight
fn force_adjust_total_issuance() -> Weight
fn burn_allow_death() -> Weight
fn burn_keep_alive() -> Weight
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Source§fn transfer_allow_death() -> Weight
fn transfer_allow_death() -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn transfer_keep_alive() -> Weight
fn transfer_keep_alive() -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn force_set_balance_creating() -> Weight
fn force_set_balance_creating() -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn force_set_balance_killing() -> Weight
fn force_set_balance_killing() -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn force_transfer() -> Weight
fn force_transfer() -> Weight
Storage: System::Account
(r:2 w:2)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn transfer_all() -> Weight
fn transfer_all() -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn force_unreserve() -> Weight
fn force_unreserve() -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn upgrade_accounts(u: u32) -> Weight
fn upgrade_accounts(u: u32) -> Weight
Storage: System::Account
(r:999 w:999)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
The range of component u
is [1, 1000]
.