Struct pallet_broker::weights::SubstrateWeight
source · pub struct SubstrateWeight<T>(_);
Expand description
Weights for pallet_broker
using the Substrate node and recommended hardware.
Trait Implementations§
source§impl<T: Config> WeightInfo for SubstrateWeight<T>
impl<T: Config> WeightInfo for SubstrateWeight<T>
source§fn configure() -> Weight
fn configure() -> Weight
Storage: Broker::Configuration
(r:0 w:1)
Proof: Broker::Configuration
(max_values
: Some(1), max_size
: Some(31), added: 526, mode: MaxEncodedLen
)
source§fn reserve() -> Weight
fn reserve() -> Weight
Storage: Broker::Reservations
(r:1 w:1)
Proof: Broker::Reservations
(max_values
: Some(1), max_size
: Some(6011), added: 6506, mode: MaxEncodedLen
)
source§fn unreserve() -> Weight
fn unreserve() -> Weight
Storage: Broker::Reservations
(r:1 w:1)
Proof: Broker::Reservations
(max_values
: Some(1), max_size
: Some(6011), added: 6506, mode: MaxEncodedLen
)
source§fn set_lease() -> Weight
fn set_lease() -> Weight
Storage: Broker::Leases
(r:1 w:1)
Proof: Broker::Leases
(max_values
: Some(1), max_size
: Some(41), added: 536, mode: MaxEncodedLen
)
source§fn start_sales(_n: u32) -> Weight
fn start_sales(_n: u32) -> Weight
Storage: Broker::Configuration
(r:1 w:0)
Proof: Broker::Configuration
(max_values
: Some(1), max_size
: Some(31), added: 526, mode: MaxEncodedLen
)
Storage: Broker::InstaPoolIo
(r:3 w:3)
Proof: Broker::InstaPoolIo
(max_values
: None, max_size
: Some(28), added: 2503, mode: MaxEncodedLen
)
Storage: Broker::Reservations
(r:1 w:0)
Proof: Broker::Reservations
(max_values
: Some(1), max_size
: Some(6011), added: 6506, mode: MaxEncodedLen
)
Storage: Broker::Leases
(r:1 w:1)
Proof: Broker::Leases
(max_values
: Some(1), max_size
: Some(41), added: 536, mode: MaxEncodedLen
)
Storage: Broker::SaleInfo
(r:0 w:1)
Proof: Broker::SaleInfo
(max_values
: Some(1), max_size
: Some(57), added: 552, mode: MaxEncodedLen
)
Storage: Broker::Status
(r:0 w:1)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::Workplan
(r:0 w:10)
Proof: Broker::Workplan
(max_values
: None, max_size
: Some(1216), added: 3691, mode: MaxEncodedLen
)
The range of component n
is [0, 1000]
.
source§fn purchase() -> Weight
fn purchase() -> Weight
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::SaleInfo
(r:1 w:1)
Proof: Broker::SaleInfo
(max_values
: Some(1), max_size
: Some(57), added: 552, mode: MaxEncodedLen
)
Storage: Authorship::Author
(r:1 w:0)
Proof: Authorship::Author
(max_values
: Some(1), max_size
: Some(32), added: 527, mode: MaxEncodedLen
)
Storage: System::Digest
(r:1 w:0)
Proof: System::Digest
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Broker::Regions
(r:0 w:1)
Proof: Broker::Regions
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
source§fn renew() -> Weight
fn renew() -> Weight
Storage: Broker::Configuration
(r:1 w:0)
Proof: Broker::Configuration
(max_values
: Some(1), max_size
: Some(31), added: 526, mode: MaxEncodedLen
)
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::SaleInfo
(r:1 w:1)
Proof: Broker::SaleInfo
(max_values
: Some(1), max_size
: Some(57), added: 552, mode: MaxEncodedLen
)
Storage: Broker::AllowedRenewals
(r:1 w:2)
Proof: Broker::AllowedRenewals
(max_values
: None, max_size
: Some(1233), added: 3708, mode: MaxEncodedLen
)
Storage: Authorship::Author
(r:1 w:0)
Proof: Authorship::Author
(max_values
: Some(1), max_size
: Some(32), added: 527, mode: MaxEncodedLen
)
Storage: System::Digest
(r:1 w:0)
Proof: System::Digest
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Broker::Workplan
(r:0 w:1)
Proof: Broker::Workplan
(max_values
: None, max_size
: Some(1216), added: 3691, mode: MaxEncodedLen
)
source§fn transfer() -> Weight
fn transfer() -> Weight
Storage: Broker::Regions
(r:1 w:1)
Proof: Broker::Regions
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
source§fn partition() -> Weight
fn partition() -> Weight
Storage: Broker::Regions
(r:1 w:2)
Proof: Broker::Regions
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
source§fn interlace() -> Weight
fn interlace() -> Weight
Storage: Broker::Regions
(r:1 w:2)
Proof: Broker::Regions
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
source§fn assign() -> Weight
fn assign() -> Weight
Storage: Broker::Configuration
(r:1 w:0)
Proof: Broker::Configuration
(max_values
: Some(1), max_size
: Some(31), added: 526, mode: MaxEncodedLen
)
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::Regions
(r:1 w:1)
Proof: Broker::Regions
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
Storage: Broker::Workplan
(r:1 w:1)
Proof: Broker::Workplan
(max_values
: None, max_size
: Some(1216), added: 3691, mode: MaxEncodedLen
)
source§fn pool() -> Weight
fn pool() -> Weight
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::Regions
(r:1 w:1)
Proof: Broker::Regions
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
Storage: Broker::Workplan
(r:1 w:1)
Proof: Broker::Workplan
(max_values
: None, max_size
: Some(1216), added: 3691, mode: MaxEncodedLen
)
Storage: Broker::InstaPoolIo
(r:2 w:2)
Proof: Broker::InstaPoolIo
(max_values
: None, max_size
: Some(28), added: 2503, mode: MaxEncodedLen
)
Storage: Broker::InstaPoolContribution
(r:0 w:1)
Proof: Broker::InstaPoolContribution
(max_values
: None, max_size
: Some(68), added: 2543, mode: MaxEncodedLen
)
source§fn claim_revenue(m: u32) -> Weight
fn claim_revenue(m: u32) -> Weight
Storage: Broker::InstaPoolContribution
(r:1 w:1)
Proof: Broker::InstaPoolContribution
(max_values
: None, max_size
: Some(68), added: 2543, mode: MaxEncodedLen
)
Storage: Broker::InstaPoolHistory
(r:3 w:1)
Proof: Broker::InstaPoolHistory
(max_values
: None, max_size
: Some(45), added: 2520, mode: MaxEncodedLen
)
Storage: System::Account
(r:2 w:0)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
The range of component m
is [1, 3]
.
source§fn purchase_credit() -> Weight
fn purchase_credit() -> Weight
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
source§fn drop_region() -> Weight
fn drop_region() -> Weight
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::Regions
(r:1 w:1)
Proof: Broker::Regions
(max_values
: None, max_size
: Some(85), added: 2560, mode: MaxEncodedLen
)
source§fn drop_contribution() -> Weight
fn drop_contribution() -> Weight
Storage: Broker::Configuration
(r:1 w:0)
Proof: Broker::Configuration
(max_values
: Some(1), max_size
: Some(31), added: 526, mode: MaxEncodedLen
)
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::InstaPoolContribution
(r:1 w:1)
Proof: Broker::InstaPoolContribution
(max_values
: None, max_size
: Some(68), added: 2543, mode: MaxEncodedLen
)
source§fn drop_history() -> Weight
fn drop_history() -> Weight
Storage: Broker::Configuration
(r:1 w:0)
Proof: Broker::Configuration
(max_values
: Some(1), max_size
: Some(31), added: 526, mode: MaxEncodedLen
)
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::InstaPoolHistory
(r:1 w:1)
Proof: Broker::InstaPoolHistory
(max_values
: None, max_size
: Some(45), added: 2520, 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 drop_renewal() -> Weight
fn drop_renewal() -> Weight
Storage: Broker::Status
(r:1 w:0)
Proof: Broker::Status
(max_values
: Some(1), max_size
: Some(18), added: 513, mode: MaxEncodedLen
)
Storage: Broker::AllowedRenewals
(r:1 w:1)
Proof: Broker::AllowedRenewals
(max_values
: None, max_size
: Some(1233), added: 3708, mode: MaxEncodedLen
)
source§fn request_core_count(_n: u32) -> Weight
fn request_core_count(_n: u32) -> Weight
Storage: UNKNOWN KEY 0x18194fcb5c1fcace44d2d0a004272614
(r:0 w:1)
Proof: UNKNOWN KEY 0x18194fcb5c1fcace44d2d0a004272614
(r:0 w:1)
The range of component n
is [0, 1000]
.
source§fn process_core_count(_n: u32) -> Weight
fn process_core_count(_n: u32) -> Weight
Storage: UNKNOWN KEY 0x18194fcb5c1fcace44d2d0a004272614
(r:1 w:0)
Proof: UNKNOWN KEY 0x18194fcb5c1fcace44d2d0a004272614
(r:1 w:0)
The range of component n
is [0, 1000]
.
source§fn process_revenue() -> Weight
fn process_revenue() -> Weight
Storage: Broker::InstaPoolHistory
(r:0 w:1)
Proof: Broker::InstaPoolHistory
(max_values
: None, max_size
: Some(45), added: 2520, mode: MaxEncodedLen
)
source§fn rotate_sale(n: u32) -> Weight
fn rotate_sale(n: u32) -> Weight
Storage: Broker::InstaPoolIo
(r:3 w:3)
Proof: Broker::InstaPoolIo
(max_values
: None, max_size
: Some(28), added: 2503, mode: MaxEncodedLen
)
Storage: Broker::Reservations
(r:1 w:0)
Proof: Broker::Reservations
(max_values
: Some(1), max_size
: Some(6011), added: 6506, mode: MaxEncodedLen
)
Storage: Broker::Leases
(r:1 w:1)
Proof: Broker::Leases
(max_values
: Some(1), max_size
: Some(41), added: 536, mode: MaxEncodedLen
)
Storage: Broker::SaleInfo
(r:0 w:1)
Proof: Broker::SaleInfo
(max_values
: Some(1), max_size
: Some(57), added: 552, mode: MaxEncodedLen
)
Storage: Broker::Workplan
(r:0 w:10)
Proof: Broker::Workplan
(max_values
: None, max_size
: Some(1216), added: 3691, mode: MaxEncodedLen
)
The range of component n
is [0, 1000]
.
source§fn process_pool() -> Weight
fn process_pool() -> Weight
Storage: Broker::InstaPoolIo
(r:1 w:0)
Proof: Broker::InstaPoolIo
(max_values
: None, max_size
: Some(28), added: 2503, mode: MaxEncodedLen
)
Storage: Broker::InstaPoolHistory
(r:0 w:1)
Proof: Broker::InstaPoolHistory
(max_values
: None, max_size
: Some(45), added: 2520, mode: MaxEncodedLen
)
source§fn process_core_schedule() -> Weight
fn process_core_schedule() -> Weight
Storage: Broker::Workplan
(r:1 w:1)
Proof: Broker::Workplan
(max_values
: None, max_size
: Some(1216), added: 3691, mode: MaxEncodedLen
)
Storage: Broker::Workload
(r:1 w:1)
Proof: Broker::Workload
(max_values
: None, max_size
: Some(1212), added: 3687, mode: MaxEncodedLen
)
fn request_revenue_info_at() -> Weight
Auto Trait Implementations§
impl<T> RefUnwindSafe for SubstrateWeight<T>where T: RefUnwindSafe,
impl<T> Send for SubstrateWeight<T>where T: Send,
impl<T> Sync for SubstrateWeight<T>where T: Sync,
impl<T> Unpin for SubstrateWeight<T>where T: Unpin,
impl<T> UnwindSafe for SubstrateWeight<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
T
. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.