# Module frame_support::weights

source · ## Expand description

Re-exports `sp-weights`

public API, and contains benchmarked weight constants specific to FRAME.

## Modules

These constants are specific to FRAME, and the current implementation of its various components.
For example: FRAME System, FRAME Executive, our FRAME support libraries, etc…

## Structs

Implementor of

`WeightToFee`

that uses a constant multiplier.A list of coefficients that represent a polynomial.

Implementor of

`WeightToFee`

that maps one unit of weight to one unit of fee.The old weight type.

The weight of database operations that the runtime can invoke.

Meters consumed weight and a hard limit for the maximal consumable weight.

One coefficient and its position in the

`WeightToFee`

.## Traits

ClassifyDispatchDeprecated

GetDispatchInfoDeprecated

OneOrManyDeprecated

PaysFeeDeprecated

WeighDataDeprecated

A trait that describes the weight to fee calculation.

A trait that describes the weight to fee calculation as polynomial.

WithPostDispatchInfoDeprecated

## Functions

extract_actual_pays_feeDeprecated

extract_actual_weightDeprecated

## Type Definitions

DispatchClassDeprecated

DispatchInfoDeprecated

PaysDeprecated

PerDispatchClassDeprecated

PostDispatchInfoDeprecated

A list of coefficients that represent a polynomial.