Skip to main content

StorageFee

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".

Implementors§