Trait pallet_vesting::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn vest_locked(l: u32, s: u32) -> Weight;
fn vest_unlocked(l: u32, s: u32) -> Weight;
fn vest_other_locked(l: u32, s: u32) -> Weight;
fn vest_other_unlocked(l: u32, s: u32) -> Weight;
fn vested_transfer(l: u32, s: u32) -> Weight;
fn force_vested_transfer(l: u32, s: u32) -> Weight;
fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight;
fn unlocking_merge_schedules(l: u32, s: u32) -> Weight;
fn force_remove_vesting_schedule(l: u32, s: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_vesting
.
Required Methods§
fn vest_locked(l: u32, s: u32) -> Weight
fn vest_unlocked(l: u32, s: u32) -> Weight
fn vest_other_locked(l: u32, s: u32) -> Weight
fn vest_other_unlocked(l: u32, s: u32) -> Weight
fn vested_transfer(l: u32, s: u32) -> Weight
fn force_vested_transfer(l: u32, s: u32) -> Weight
fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight
fn unlocking_merge_schedules(l: u32, s: u32) -> Weight
fn force_remove_vesting_schedule(l: u32, s: u32) -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn vest_locked(l: u32, s: u32) -> Weight
fn vest_locked(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [1, 28]
.
source§fn vest_unlocked(l: u32, s: u32) -> Weight
fn vest_unlocked(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [1, 28]
.
source§fn vest_other_locked(l: u32, s: u32) -> Weight
fn vest_other_locked(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [1, 28]
.
source§fn vest_other_unlocked(l: u32, s: u32) -> Weight
fn vest_other_unlocked(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [1, 28]
.
source§fn vested_transfer(l: u32, s: u32) -> Weight
fn vested_transfer(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [0, 27]
.
source§fn force_vested_transfer(l: u32, s: u32) -> Weight
fn force_vested_transfer(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: System::Account
(r:2 w:2)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [0, 27]
.
source§fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight
fn not_unlocking_merge_schedules(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [2, 28]
.
source§fn unlocking_merge_schedules(l: u32, s: u32) -> Weight
fn unlocking_merge_schedules(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [2, 28]
.
source§fn force_remove_vesting_schedule(l: u32, s: u32) -> Weight
fn force_remove_vesting_schedule(l: u32, s: u32) -> Weight
Storage: Vesting::Vesting
(r:1 w:1)
Proof: Vesting::Vesting
(max_values
: None, max_size
: Some(1057), added: 3532, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:1)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:0)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(67), added: 2542, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
The range of component l
is [0, 49]
.
The range of component s
is [2, 28]
.