Constants

Git Source

ZERO

UD60x18 constant ZERO = UD60x18.wrap(0);

ONE_HALF

UD60x18 constant ONE_HALF = UD60x18.wrap(0.5e18);

ONE

UD60x18 constant ONE = UD60x18.wrap(1e18);

TWO

UD60x18 constant TWO = UD60x18.wrap(2e18);

THREE

UD60x18 constant THREE = UD60x18.wrap(3e18);

FIVE

UD60x18 constant FIVE = UD60x18.wrap(5e18);

iZERO

SD59x18 constant iZERO = SD59x18.wrap(0);

iONE

SD59x18 constant iONE = SD59x18.wrap(1e18);

iTWO

SD59x18 constant iTWO = SD59x18.wrap(2e18);

iNINE

SD59x18 constant iNINE = SD59x18.wrap(9e18);

UD50_ZERO

UD50x28 constant UD50_ZERO = UD50x28.wrap(0);

UD50_ONE

UD50x28 constant UD50_ONE = UD50x28.wrap(1e28);

UD50_TWO

UD50x28 constant UD50_TWO = UD50x28.wrap(2e28);

SD49_ZERO

SD49x28 constant SD49_ZERO = SD49x28.wrap(0);

SD49_ONE

SD49x28 constant SD49_ONE = SD49x28.wrap(1e28);

SD49_TWO

SD49x28 constant SD49_TWO = SD49x28.wrap(2e28);

WAD

uint256 constant WAD = 1e18;

ONE_YEAR

uint256 constant ONE_YEAR = 365 days;

ONE_HOUR

uint256 constant ONE_HOUR = 1 hours;