Trait pallet_time_release::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn transfer() -> Weight;
fn claim(i: u32) -> Weight;
fn update_release_schedules(i: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_time_release
.
Required Methods§
fn transfer() -> Weight
fn claim(i: u32) -> Weight
fn update_release_schedules(i: u32) -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn transfer() -> Weight
fn transfer() -> Weight
Storage: ParachainSystem::ValidationData
(r:1 w:0)
Proof: ParachainSystem::ValidationData
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: ParachainSystem::LastRelayChainBlockNumber
(r:1 w:0)
Proof: ParachainSystem::LastRelayChainBlockNumber
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: TimeRelease::ReleaseSchedules
(r:1 w:1)
Proof: TimeRelease::ReleaseSchedules
(max_values
: None, max_size
: Some(1449), added: 3924, 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::Freezes
(r:1 w:1)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:0)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
source§fn claim(i: u32) -> Weight
fn claim(i: u32) -> Weight
Storage: ParachainSystem::ValidationData
(r:1 w:0)
Proof: ParachainSystem::ValidationData
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: TimeRelease::ReleaseSchedules
(r:1 w:1)
Proof: TimeRelease::ReleaseSchedules
(max_values
: None, max_size
: Some(1449), added: 3924, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:1)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:0)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
The range of component i
is [1, 50]
.
source§fn update_release_schedules(i: u32) -> Weight
fn update_release_schedules(i: u32) -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Storage: Balances::Freezes
(r:1 w:1)
Proof: Balances::Freezes
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
Storage: Balances::Locks
(r:1 w:0)
Proof: Balances::Locks
(max_values
: None, max_size
: Some(1299), added: 3774, mode: MaxEncodedLen
)
Storage: TimeRelease::ReleaseSchedules
(r:0 w:1)
Proof: TimeRelease::ReleaseSchedules
(max_values
: None, max_size
: Some(1449), added: 3924, mode: MaxEncodedLen
)
The range of component i
is [1, 50]
.