YieldOracle constants

Git Source

APY_PRECISION

uint8 constant APY_PRECISION = 8;

PROVIDER_PRECISION

uint8 constant PROVIDER_PRECISION = 18;

LOOK_BACK

uint32 constant LOOK_BACK = 7;

PERIODS

uint256 constant PERIODS = 365 * (10 ** APY_PRECISION) / LOOK_BACK;

ILK_COUNT

uint32 constant ILK_COUNT = 3;

UPDATE_LOCK_LENGTH

uint256 constant UPDATE_LOCK_LENGTH = 84_600;