Trait pallet_asset_tx_payment::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn charge_asset_tx_payment_zero() -> Weight;
fn charge_asset_tx_payment_native() -> Weight;
fn charge_asset_tx_payment_asset() -> Weight;
}
Expand description
Weight functions needed for pallet_asset_tx_payment
.
Required Methods§
fn charge_asset_tx_payment_zero() -> Weight
fn charge_asset_tx_payment_native() -> Weight
fn charge_asset_tx_payment_asset() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn charge_asset_tx_payment_native() -> Weight
fn charge_asset_tx_payment_native() -> Weight
Storage: TransactionPayment::NextFeeMultiplier
(r:1 w:0)
Proof: TransactionPayment::NextFeeMultiplier
(max_values
: Some(1), max_size
: Some(16), added: 511, 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
)
source§fn charge_asset_tx_payment_asset() -> Weight
fn charge_asset_tx_payment_asset() -> Weight
Storage: TransactionPayment::NextFeeMultiplier
(r:1 w:0)
Proof: TransactionPayment::NextFeeMultiplier
(max_values
: Some(1), max_size
: Some(16), added: 511, 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:1 w:1)
Proof: Assets::Account
(max_values
: None, max_size
: Some(134), added: 2609, 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
)