Function gas_calc

pub fn gas_calc<const MIN_PRICE: u64, const MULTIPLIER: u64, const GAS_DIVISOR: u64, F>(
    base_len: u64,
    exp_len: u64,
    mod_len: u64,
    exp_highp: &Uint<256, 4>,
    calculate_multiplication_complexity: F,
) -> u64
where F: Fn(u64) -> Uint<256, 4>,
Expand description

Calculate gas cost.