pub const MSM_MULTIPLIER: u64 = 1000;
Expand description
MSM_MULTIPLIER specifies the division constant that is used to determine the gas needed to compute an MSM.
The cost to do an MSM is determined by the formula: (k * MSM_BASE_GAS_FEE * DISCOUNT[k]) // MSM_MULTIPLIER where k is the number of point-scalar pairs.
Note: If k
is more than the size of the discount table, then
the last value in the discount table is chosen.