pub trait WeightInfo {
Show 15 methods
// Required methods
fn fund_bounty() -> Weight;
fn fund_child_bounty() -> Weight;
fn propose_curator_parent_bounty() -> Weight;
fn propose_curator_child_bounty() -> Weight;
fn accept_curator() -> Weight;
fn unassign_curator() -> Weight;
fn award_bounty() -> Weight;
fn close_parent_bounty() -> Weight;
fn close_child_bounty() -> Weight;
fn check_status_funding() -> Weight;
fn check_status_refund() -> Weight;
fn check_status_payout() -> Weight;
fn retry_payment_funding() -> Weight;
fn retry_payment_refund() -> Weight;
fn retry_payment_payout() -> Weight;
}Expand description
Weight functions needed for pallet_multi_asset_bounties.
Required Methods§
fn fund_bounty() -> Weight
fn fund_child_bounty() -> Weight
fn propose_curator_parent_bounty() -> Weight
fn propose_curator_child_bounty() -> Weight
fn accept_curator() -> Weight
fn unassign_curator() -> Weight
fn award_bounty() -> Weight
fn close_parent_bounty() -> Weight
fn close_child_bounty() -> Weight
fn check_status_funding() -> Weight
fn check_status_refund() -> Weight
fn check_status_payout() -> Weight
fn retry_payment_funding() -> Weight
fn retry_payment_refund() -> Weight
fn retry_payment_payout() -> 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 fund_bounty() -> Weight
fn fund_bounty() -> Weight
Storage: Preimage::StatusFor (r:1 w:0)
Proof: Preimage::StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Storage: Preimage::RequestStatusFor (r:1 w:1)
Proof: Preimage::RequestStatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Storage: AssetRate::ConversionRateToNative (r:1 w:0)
Proof: AssetRate::ConversionRateToNative (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
Storage: MultiAssetBounties::BountyCount (r:1 w:1)
Proof: MultiAssetBounties::BountyCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
Storage: System::Account (r:1 w:1)
Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
Storage: MultiAssetBounties::Bounties (r:0 w:1)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Source§fn fund_child_bounty() -> Weight
fn fund_child_bounty() -> Weight
Storage: Preimage::StatusFor (r:1 w:0)
Proof: Preimage::StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Storage: Preimage::RequestStatusFor (r:1 w:1)
Proof: Preimage::RequestStatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: AssetRate::ConversionRateToNative (r:1 w:0)
Proof: AssetRate::ConversionRateToNative (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBountiesPerParent (r:1 w:1)
Proof: MultiAssetBounties::ChildBountiesPerParent (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBountiesValuePerParent (r:1 w:1)
Proof: MultiAssetBounties::ChildBountiesValuePerParent (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
Storage: MultiAssetBounties::TotalChildBountiesPerParent (r:1 w:1)
Proof: MultiAssetBounties::TotalChildBountiesPerParent (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
Storage: System::Account (r:1 w:1)
Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:0 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Source§fn propose_curator_parent_bounty() -> Weight
fn propose_curator_parent_bounty() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:1)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: AssetRate::ConversionRateToNative (r:1 w:0)
Proof: AssetRate::ConversionRateToNative (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
Source§fn propose_curator_child_bounty() -> Weight
fn propose_curator_child_bounty() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Source§fn accept_curator() -> Weight
fn accept_curator() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: AssetRate::ConversionRateToNative (r:1 w:0)
Proof: AssetRate::ConversionRateToNative (max_values: None, max_size: Some(37), added: 2512, 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::Holds (r:1 w:1)
Proof: Balances::Holds (max_values: None, max_size: Some(463), added: 2938, mode: MaxEncodedLen)
Storage: MultiAssetBounties::CuratorDeposit (r:0 w:1)
Proof: MultiAssetBounties::CuratorDeposit (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
Source§fn unassign_curator() -> Weight
fn unassign_curator() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: MultiAssetBounties::CuratorDeposit (r:1 w:1)
Proof: MultiAssetBounties::CuratorDeposit (max_values: None, max_size: Some(41), added: 2516, 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::Holds (r:1 w:1)
Proof: Balances::Holds (max_values: None, max_size: Some(463), added: 2938, mode: MaxEncodedLen)
Source§fn award_bounty() -> Weight
fn award_bounty() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, 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 close_parent_bounty() -> Weight
fn close_parent_bounty() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:1)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBountiesPerParent (r:1 w:0)
Proof: MultiAssetBounties::ChildBountiesPerParent (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, 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 close_child_bounty() -> Weight
fn close_child_bounty() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, 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 check_status_funding() -> Weight
fn check_status_funding() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Source§fn check_status_refund() -> Weight
fn check_status_refund() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: MultiAssetBounties::CuratorDeposit (r:1 w:1)
Proof: MultiAssetBounties::CuratorDeposit (max_values: None, max_size: Some(41), added: 2516, 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::Holds (r:1 w:1)
Proof: Balances::Holds (max_values: None, max_size: Some(463), added: 2938, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBountiesValuePerParent (r:1 w:1)
Proof: MultiAssetBounties::ChildBountiesValuePerParent (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBountiesPerParent (r:1 w:1)
Proof: MultiAssetBounties::ChildBountiesPerParent (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
Storage: Preimage::StatusFor (r:1 w:0)
Proof: Preimage::StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Storage: Preimage::RequestStatusFor (r:1 w:1)
Proof: Preimage::RequestStatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Source§fn check_status_payout() -> Weight
fn check_status_payout() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: MultiAssetBounties::CuratorDeposit (r:1 w:1)
Proof: MultiAssetBounties::CuratorDeposit (max_values: None, max_size: Some(41), added: 2516, 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::Holds (r:1 w:1)
Proof: Balances::Holds (max_values: None, max_size: Some(463), added: 2938, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBountiesPerParent (r:1 w:1)
Proof: MultiAssetBounties::ChildBountiesPerParent (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
Storage: Preimage::StatusFor (r:1 w:0)
Proof: Preimage::StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Storage: Preimage::RequestStatusFor (r:1 w:1)
Proof: Preimage::RequestStatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
Source§fn retry_payment_funding() -> Weight
fn retry_payment_funding() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, 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 retry_payment_refund() -> Weight
fn retry_payment_refund() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, 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 retry_payment_payout() -> Weight
fn retry_payment_payout() -> Weight
Storage: MultiAssetBounties::Bounties (r:1 w:0)
Proof: MultiAssetBounties::Bounties (max_values: None, max_size: Some(131), added: 2606, mode: MaxEncodedLen)
Storage: MultiAssetBounties::ChildBounties (r:1 w:1)
Proof: MultiAssetBounties::ChildBounties (max_values: None, max_size: Some(142), added: 2617, mode: MaxEncodedLen)
Storage: Assets::Asset (r:1 w:1)
Proof: Assets::Asset (max_values: None, max_size: Some(210), added: 2685, mode: MaxEncodedLen)
Storage: Assets::Account (r:2 w:2)
Proof: Assets::Account (max_values: None, max_size: Some(134), added: 2609, mode: MaxEncodedLen)
Storage: System::Account (r:2 w:2)
Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)