fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
		// extrinsic base weight (smallest non-zero weight) is mapped to 1/10 CENT
		let p = CENTS; // 100_000_000_000
		let q = 10 * Balance::from(ExtrinsicBaseWeight::get()); // 8_079_830_000
		smallvec![WeightToFeeCoefficient {
			degree: 1,
			negative: false,
			coeff_frac: Perbill::from_rational(p % q, q),
			coeff_integer: p / q, // 12
		}]
	}
/// Handles converting a weight scalar to a fee value, based on the scale and granularity of the
/// node's balance type.
///
/// This should typically create a mapping between the following ranges:
///   - [0, MAXIMUM_BLOCK_WEIGHT]
///   - [Balance::min, Balance::max]
///
/// Yet, it can be used for any other sort of change to weight-fee. Some examples being:
///   - Setting it to `0` will essentially disable the weight fee.
///   - Setting it to `1` will cause the literal `#[weight = x]` values to be charged.
Handles converting a weight scalar to a fee value, based on the scale and granularity of the
node's balance type.



Yet, it can be used for any other sort of change to weight-fee. Some examples being:
Setting it to `0` will essentially disable the weight fee.
Setting it to `1` will cause the literal `#[weight = x]` values to be charged.
Handles converting a weight scalar to a fee value based on the scale and granularity of the node ' s balance type . Yet it can be used for any other sort of change to weight - fee . Some examples being : Setting it to ` 0 ` will essentially disable the weight fee . Setting it to ` 1 ` will cause the literal ` # [ weight = x ] ` values to be charged .
fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
		// extrinsic base weight (smallest non-zero weight) is mapped to 1/10 CENT
		let p = CENTS; // 100_000_000_000
		let q = 10 * Balance::from(ExtrinsicBaseWeight::get()); // 8_079_830_000
		smallvec![WeightToFeeCoefficient {
			degree: 1,
			negative: false,
			coeff_frac: Perbill::from_rational(p % q, q),
			coeff_integer: p / q, // 12
		}]
	}
fn polynomial ( ) -> WeightToFeeCoefficients < Self :: Balance > { // extrinsic base weight (smallest non-zero weight) is mapped to 1/10 CENT let p = CENTS ; // 100_000_000_000 let q = 10 * Balance :: from ( ExtrinsicBaseWeight :: get ( ) ) ; // 8_079_830_000 smallvec ! [ WeightToFeeCoefficient { degree 1 negative false coeff_frac Perbill from_rational ( p q q ) coeff_integer p q // 12 } ] }
Handles converting a weight scalar to a fee value, based on the scale and granularity of the
node's balance type.
Handles converting a weight scalar to a fee value based on the scale and granularity of the node ' s balance type .