Skip to main content

carriage_fee_from_meters

Function carriage_fee_from_meters 

Source
pub fn carriage_fee_from_meters(
    reading: &MeterReading,
    cents_per_unit_micro: u64,
) -> u64
Expand description

Computes the carriage compensation for observed resource meters based on allowed carriage rates (cents per unit), strictly bounded by production ROI caps.