Type Alias PenaltyOf

Source
pub type PenaltyOf<T> = <<T as Config>::RoleAdapter as CompensateRoles<AuthorOf<T>>>::Ratio;
Expand description

Represents a single penalty as a proportion of a total value.

  • Uses PerThing to allow fine-grained fractional penalties.
  • Ideal for proportional deductions from author-risked assets for block-production.
  • Ensures consistency and flexibility across different asset scales.