pub trait WeightInfo {
// Required methods
fn unreserve_lease_deposit() -> Weight;
fn withdraw_crowdloan_contribution() -> Weight;
fn unreserve_crowdloan_reserve() -> Weight;
}
Expand description
Weight functions needed for pallet_ah_ops
.
Required Methods§
fn unreserve_lease_deposit() -> Weight
fn withdraw_crowdloan_contribution() -> Weight
fn unreserve_crowdloan_reserve() -> 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 unreserve_lease_deposit() -> Weight
fn unreserve_lease_deposit() -> 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: AhOps::RcLeaseReserve
(r:1 w:1)
Proof: AhOps::RcLeaseReserve
(max_values
: None, max_size
: Some(80), added: 2555, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn withdraw_crowdloan_contribution() -> Weight
fn withdraw_crowdloan_contribution() -> 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: AhOps::RcCrowdloanContribution
(r:1 w:1)
Proof: AhOps::RcCrowdloanContribution
(max_values
: None, max_size
: Some(112), added: 2587, mode: MaxEncodedLen
)
Storage: AhOps::RcLeaseReserve
(r:1 w:1)
Proof: AhOps::RcLeaseReserve
(max_values
: None, max_size
: Some(80), added: 2555, mode: MaxEncodedLen
)
Storage: System::Account
(r:2 w:2)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Source§fn unreserve_crowdloan_reserve() -> Weight
fn unreserve_crowdloan_reserve() -> 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: AhOps::RcCrowdloanContribution
(r:1 w:0)
Proof: AhOps::RcCrowdloanContribution
(max_values
: None, max_size
: Some(112), added: 2587, mode: MaxEncodedLen
)
Storage: AhOps::RcCrowdloanReserve
(r:1 w:1)
Proof: AhOps::RcCrowdloanReserve
(max_values
: None, max_size
: Some(80), added: 2555, mode: MaxEncodedLen
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)