subspace_runtime_primitives

Trait StorageFee

source
pub trait StorageFee<Balance> {
    // Required methods
    fn transaction_byte_fee() -> Balance;
    fn note_storage_fees(fee: Balance);
}

Required Methods§

source

fn transaction_byte_fee() -> Balance

Return the consensus transaction byte fee.

source

fn note_storage_fees(fee: Balance)

Note the charged storage fee.

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.

Implementors§