Constants

Git Source

uMAX_UD50x28

Max UD50x28 value

uint256 constant uMAX_UD50x28 = type(uint256).max;

uUNIT

The unit number, which gives the decimal precision of UD50x28.

uint256 constant uUNIT = 1e28;

UNIT

UD50x28 constant UNIT = UD50x28.wrap(uUNIT);

SCALING_FACTOR

uint256 constant SCALING_FACTOR = 1e10;