git.delta.rocks / unique-network / refs/commits / 59d14236650e

difftreelog

chore update price coefficients

Yaroslav Bolyukin2022-12-26parent: #2fb8176.patch.diff
in: master

1 file changed

modifiedprimitives/common/src/constants.rsdiffbeforeafterboth
43pub const UNIQUE: Balance = 100 * CENTIUNIQUE;43pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
4444
45// Targeting 0.1 UNQ per transfer45// Targeting 0.1 UNQ per transfer
46pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_083_524_944_487_510/*</weight2fee>*/;46pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_071_069_464_131_590/*</weight2fee>*/;
4747
48// Targeting 0.15 UNQ per transfer via ETH48// Targeting 0.15 UNQ per transfer via ETH
49pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_014_919_313_914/*</mingasprice>*/;49pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_014_754_530_878/*</mingasprice>*/;
5050
51/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.51/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
52/// This is used to limit the maximal weight of a single extrinsic.52/// This is used to limit the maximal weight of a single extrinsic.