pub trait CalculateBaseDeposit<Balance> {
// Required method
fn calculate_base_deposit(existing_submitters: usize) -> Balance;
}
Expand description
Something that can compute the base deposit that is collected upon register
.
A blanket impl allows for any Get
to be used as-is, which will always return the said balance
as deposit.
Required Methods§
fn calculate_base_deposit(existing_submitters: usize) -> Balance
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.